/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */


.button-stroke a.button:not(.action_button).button.vacancies_link {
    background-color: #13bfb1!important;
    box-shadow: 0px 0px 0 #ccc;
    transition: all 0.5s;
}
.button-stroke a.button:not(.action_button).button.vacancies_link:hover {
    box-shadow: -1px 7px 16px #ccc;
    transition: all .3s;
}
.table-condensed td,
.table-condensed th {
    text-align:left;
    border:none;
}
.table-condensed>tbody>tr>td,
.table-condensed>tbody>tr>th,
.table-condensed>tfoot>tr>td,
.table-condensed>tfoot>tr>th,
.table-condensed>thead>tr>td,
.table-condensed>thead>tr>th {
    padding: 5px;
}
.table-condensed>thead>tr>th {
    background: #13bfb1;
    color: #ffffff;
    font-weight: 700;
    padding-left: 6px !important;
    text-transform: uppercase;
}
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #f5f8fa;
}

.custom-counter .counter{
    padding: 20px 10px;
}
.custom-counter .counter.counter_horizontal .icon_wrapper {
    left: 70px;
}
.custom-counter .counter .desc_wrapper .number-wrapper {
    margin-left: 100px;
}
.no-icon .counter .desc_wrapper .number-wrapper {
    margin-left:40px;
}
.question {
    color: #4b9d97;
    font-size: 125%;
}

.home .page-menu,
.home .page-breadcrumb {
    display: none;
}
.page-menu {
    background-color: #4c9b95;
}
.page-menu .column {
    margin-bottom: 0;
}


#Top_bar .menu > li.hover > a span {
    background-color: #418f88;
}
#Top_bar .menu > li.hover > a {
    color: #fff !important;
}



#menu-secondary-menu {
    margin:0;
    padding:0;
    list-style: none;
    position: relative;
}
#menu-secondary-menu:after {
    content:"";
    display:table;
    clear:both;
}
#menu-secondary-menu>li {
    float: left;
}
#menu-secondary-menu>li:first-child {
    margin-left: -10px;
}

#menu-secondary-menu>li a {
    color: #fff;
    font-size: 16px;
    display: block;
    white-space: nowrap;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    padding:10px;
}

#menu-secondary-menu>li a:hover {
    text-decoration: none;
    background-color: #3b8a84;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
#menu-secondary-menu>li.menu-item-has-children ul.sub-menu {
    display: none;
    position:absolute;
    top: 45px;
    z-index: 99;
    background-color: #fff;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.16),
                0 3px 12px 0 rgba(0, 0, 0, 0.12);
}
#menu-secondary-menu>li.menu-item-has-children:hover ul.sub-menu {
    display: block;
}
#menu-secondary-menu ul.sub-menu li{
    width: 100%;
    float:none;
    display:list-item;
    position: relative; 
}
#menu-secondary-menu ul.sub-menu li a {
    color: #3a3a3c;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 20px;
    padding-right: 20px;
    border-bottom: 1px solid #e5e5e5;
}
#menu-secondary-menu ul.sub-menu li a:hover {
    background-color: #e1f2f0;
}
#menu-secondary-menu>li.menu-item-has-children>a {
    padding-right: 25px;
}
#menu-secondary-menu>li.menu-item-has-children>a:after {
    content:'\e891';
    font-family: "mfn-icons";
    font-style: normal;
    font-weight: 400;
    speak: none;
    display: inline-block;
    text-decoration: none!important;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    -webkit-transform: rotate(-30deg);
    -moz-transform: rotate(-30deg);
    -ms-transform: rotate(-30deg);
    -o-transform: rotate(-30deg);
    transform: rotate(-30deg);
    position: relative;
    top: -2px;
    left: 13px;
    font-size: 12px;
}


.page-breadcrumb .column {
    margin-bottom: 2.5px;
    margin-top: 2.5px;
}
.breadcrumbs {
    list-style: none;
}
.breadcrumbs .icon-right-open:before {
    content: '/';
    font-weight: 900;
}
.breadcrumbs>li {
    display: none;
}
.breadcrumbs>li:nth-child(1),
.breadcrumbs>li:nth-child(2),
.breadcrumbs>li:nth-child(3) {
    display: inline-block;
}
.breadcrumbs>li:nth-child(3) span {
    display:none;
}
.breadcrumbs>li:last-child a,
.breadcrumbs>li:nth-child(3) a {
    font-weight: bold;
}


.column_sidebar_widget .widget_mfn_menu ul li a:hover {
    background-color: #2e3745;   
}
.column_sidebar_widget .widget_mfn_menu ul li.current-menu-item:not(.current-menu-ancestor) > a,
.column_sidebar_widget .widget_mfn_menu ul li.current_page_item:not(.current_page_ancestor) > a {
    background-color:#e4f5f5;
    color: #129b97 !important;
}

a.button.button_size_3.button_stroke_custom {
    border: 1px solid #fff;
    border-radius: 0;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    box-shadow: none;
}
.button-stroke a:hover.button.enquire_button.button_stroke_custom:not(.action_button),
.button-stroke:not(.header-plain) a:hover.button.enquire_button.button_stroke_custom.action_button,
.button-stroke a:hover.tp-button.enquire_button.button_stroke_custom {
    background-color: #4b9d97 !important;
    border-radius: 0;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.16), 0 3px 12px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}
a.orange_hover:hover,
a.orange_hover:hover>* {
    color: #67c9c4;
    text-decoration: none;
    transition: all 0.25s;
}
.wpcf7-form .subscribe-button input[type="submit"].wpcf7-form-control.wpcf7-submit{
    background-color: #4b9d97 !important;
    border-radius: 0;
    color: #fff !important;
    width: 60%;
    border: 1px solid transparent;
}
.wpcf7-form .subscribe-button input[type="submit"].wpcf7-form-control.wpcf7-submit:hover {
    background-color: #67c9c4 !important;
    transition: all 0.25s;
}
#back_to_top.sticky {
    bottom: 65px !important;
    border-radius:50% !important;
    border: none;
    background-color: #13bfb1 !important;
    color: #fff !important;
    box-shadow: none;
}
#back_to_top.sticky:hover {
    background-color: #10a79a !important;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.16), 0 3px 12px 0 rgba(0, 0, 0, 0.12);
    -webkit-transition: all 0.25s;    
    transition: all 0.25s;
}

#Top_bar .search_wrapper {
    background: #ffffff !important;
    box-shadow: 0 4px 7px 0 rgba(0, 0, 0, 0.16), 0 3px 12px 0 rgba(0, 0, 0, 0.12);
    top: 220%;
}
#Top_bar .search_wrapper .icon_close {
    color: #666;
}

.column.mcb-column.one.column_promo_box.vission {
    margin-bottom: 0;
}
.column_promo_box.vission .promo_box_wrapper {
    display: flex;
    align-items: center;
}
.column_promo_box.vission .promo_box_wrapper .photo_wrapper {
    width:50%;
    margin:0;    
}
.column_promo_box.vission .promo_box_wrapper .desc_wrapper {
    width: 50%;
    margin:0;
}
.column_promo_box.vission .promo_box_wrapper .desc_wrapper .desc {
    padding: 25% 20%;
}

.promo_box_wrapper.promo_box_right .photo_wrapper {
    order:1;
}
.column_promo_box.vission .promo_box_wrapper .desc_wrapper h2 {
    font-size: 36px;
    line-height: 48px;
}
.column_promo_box.vission .promo_box_wrapper .desc_wrapper h2 span {
    display: inline-block;
    padding-right: 15px;
    border-right: 1px solid #4b9d97;
    margin-right: 12px;
    color: #4b9d97;
    line-height: 28px;
}


.copyright-menu {
    float: right;
}
.copyright-menu ul{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
}
.copyright-menu ul li{
    margin-right: 7px;
    display: inline-flex;
    align-items: center;
}
.copyright-menu ul li a{
    display: inline;
    padding: 0 0 0 7px;
}

.copyright-menu ul li:before{
    display: inline-block;
    content:"";
    height:12px;
    background-color:#ccc;
    width:1px;
}
.copyright-menu ul li:after{
    display:none;
}

@media only screen and (max-width: 990px) {
    .page-menu {
        display: none;
    }
}
@media only screen and (max-width: 800px) {

    /* Force table to not be like tables anymore */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    #no-more-tables thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    /*#no-more-tables tr { border: 1px solid #ccc; }*/

    #no-more-tables td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 25%;
        white-space: normal;
        text-align:left;
    }

    #no-more-tables td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align:left;
        font-weight: bold;
    }
    table tr:first-child td.no-more-tables-heading,
    table tr:nth-child(2n) td.no-more-tables-heading {
        background-color: #13bfb1;
        color: #ffffff;
        font-weight: 700;
        padding-left: 6px !important;
        text-transform: uppercase;
    }

    .no-more-tables-heading {
        background-color: #13bfb1;
        color: #ffffff;
        font-weight: 700;
        padding-left: 6px !important;
        text-transform: uppercase;
    }

    /*
    Label the data
    */
    #no-more-tables td:before { content: attr(data-title); }


    .mobile-tb-center #Top_bar .top_bar_right {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    #Top_bar .logo #logo {
        padding: 0!important;
        margin: 10px 30px;
        text-align: left;
    }
    .column_promo_box.vission .promo_box_wrapper {
        align-items: center;
        flex-flow: column wrap;
    }
    .column_promo_box.vission .promo_box_wrapper .photo_wrapper,
    .column_promo_box.vission .promo_box_wrapper .desc_wrapper {
        width: 100%;
    }
    .promo_box_wrapper.promo_box_right .photo_wrapper {
        order:0;
    }
    .column_promo_box.vission .promo_box_wrapper .desc_wrapper .desc {
        padding: 20% 25%;
    }
    .column_promo_box.vission .promo_box_wrapper.promo_box_right .desc_wrapper {
        text-align: left;
    }

}
@media only screen and (max-width: 480px) {
    .column_promo_box.vission .promo_box_wrapper .desc_wrapper .desc {
        padding: 20% 5%;
    }

    .copyright-menu {
        float: none;
    }
    .copyright-menu ul li a {
        padding: 0 0 10px 0;
    }
    .copyright-menu ul li:before{
        display: none;
    }
}

.page-breadcrumb{ background-color: #5CB8B2; color: #fff;}
.page-breadcrumb a{ color: #fff !important;}

div.wrap.mcb-wrap.four-fifth.dark.valign-bottom.clearfix {
	background-color: rgba(89, 154, 142, 0.9);
}

.page-template-template-portal div.content_wrapper.clearfix div.sections_group div.entry-content div.section.mcb-section.dark.dark-over.bg-cover div.section_wrapper.mcb-section-inner div.wrap.mcb-wrap.four-fifth.dark.valign-bottom.clearfix {
	background-color: rgba(255, 255, 255, 0.90) !important;
}

a.button.portal_button.button_full_width.button_size_4.button_stroke_custom.button_js {
	background-color: #2b2b2b !important;
	padding-top: 40px;
	padding-bottom: 40px;
	font-size: 24px;
}

a.button.portal_button.button_full_width.button_size_4.button_stroke_custom.button_js:hover {
	background-color: #2b2b2b !important;
}

.page-template-template-portal #Footer {
	background-color: #1F2833;
}

a.button.portal_button_login.button_full_width.button_size_4.button_stroke_custom.button_js {
	background-color: #2b2b2b !important;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 20px;
}

.page-template-template-portal div.wrap.mcb-wrap.four-fifth.dark.valign-bottom.clearfix {
	background-color: rgba(255, 255, 255, 0.90) !important;
}

.page-template-template-portal div.wrap.mcb-wrap.four-fifth.dark.valign-bottom.clearfix h3{
	color: #303030;
}

a.button.portal_button_login.button_full_width.button_size_4.button_stroke_custom.button_js {
	background-color: #2b2b2b !important;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 20px;
}

/* Search wrapper */
#Top_bar .search_wrapper{
    position: absolute;
    display: none;
    z-index: 201;
    width: 100%;
    max-width: 100%;
    padding: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-radius: 0;
}

#Top_bar .search_wrapper input[type="text"] {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    padding: 10px 10px 10px 35px;
    background: none;
    border-width: 0 0 1px;
    border-style: solid;
    border-color: rgba(255, 255, 255, .08) !important;
    font-size: 15px;
}

#Top_bar .search_wrapper .icon_search {
    left: 0;
    color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 50%;
    font-size: 22px;
    line-height: 22px;
    display: block;
} 

#Top_bar .search_wrapper .icon_search {
    opacity: 0.3;
}

#Top_bar .search_wrapper .icon_close {
    color: rgba(102, 102, 102, 0.3);
}

#back_to_top {
    padding: 9px 11px;
}

#back_to_top i {
    color: #fff;
}

.home.page-template-default .mcb-section .mcb-wrap .mcb-item-1e95b80d9 .button:hover span,
.home.page-template-default .mcb-section .mcb-wrap .mcb-item-1e95b80d9 .button:hover i.icon-right-open {
    color: #1C3349 !important;
}

.wpcf7 input[type="submit"] {
    border-color: #13bfb1;
    color: #13bfb1;
    border-width: 2px;
    border-style: solid;
    background-color: #ffffff;
    font-size: 14px;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #13bfb1;
    color: #ffffff;
}

.home.page-template-default .mcb-section .mcb-wrap .mfn-module-wrapper .button:hover span,
.home.page-template-default .mcb-section .mcb-wrap .mfn-module-wrapper .button:hover i.icon-right-open {
    color: #1C3349 !important;
}
