@media (max-width: 1170px) {
#header #header_main_alternate #avia-menu li {
    min-width: 0px!important;
}
}

/*  Custom CSS Here
#top.home #header #header_main #headerwidget a.booking-btn1{display:none;}
*/
#top #header #header_main { background: url("https://mbhealth.com.au/wp-content/uploads/2015/08/strip.png") repeat-x scroll 0% 0% / 800px auto;    border-top: medium none;  border-bottom: medium none;}
#header #header_main_alternate{background: #5f798e;}
#top #av_section_2 .av-special-heading h3{font-size: 30px; font-weight: 700;}
#header #header_main #header_main_alternate a .avia-menu-text{text-transform: uppercase; font-weight: 300;}
#header #header_main #header_main_alternate a .avia-menu-text{text-transform: uppercase; font-weight: 500;}
#header #header_main_alternate #avia-menu{float:none; clear: both; display: block; width: auto; display: inline-block;}
#header #header_main_alternate .avia-menu{text-align: center;}
#header #header_main_alternate #avia-menu li{min-width: 135px;}
#header #header_main #headerwidget{float: right; font-size: 38px; font-weight: 300; color: #5f798e;}
#header #header_main #headerwidget a{color: #5f798e;}
#header #header_main #headerwidget .textwidget{background: url('/wp-content/uploads/2015/08/phone-icon.png') no-repeat 0% 49%; padding-left: 50px;}
#header #header_main_alternate #avia-menu .sub-menu li a{border: none;}

#header #header_main #headerwidget a.booking-btn1{position: absolute; top: 120px; font-size: 18px; left: 50px; right: 0px; margin: 0px auto; display: inline-block; width: 150px; background: #1C3B58; line-height: 1; text-align: center; color: #fff; padding: 10px; border-radius: 5px; text-decoration: none; transition: background .5s; font-weight: 900; text-transform: uppercase;}
#header #header_main #headerwidget a.booking-btn1:hover{background: #5F798E;}
#header #header_main_alternate #avia-menu .sub-menu li{border-top: 5px solid #fff;}
#header #header_main_alternate #avia-menu .sub-menu li:hover{border-top: 5px solid #1C3B58;}

#headerwidget{position: relative;}

.hpbookbtn .avia_iconbox_title{font-size: 24px;}
#popmake-160 #wpcf7-f163-o1 .wpcf7-submit{float: right; background: #5F798E; color: #fff; font-weight: 700; font-family: 'proxima-nova'; font-size: 18px; padding: 8px 20px; transition: background .5s;}
#popmake-160 #wpcf7-f163-o1 .wpcf7-submit:hover{background: #1E3C58;}
#top .popmake-overlay{background: rgba(0,0,0,0.5);}
#popmake-160, #popmake-226{background: #cfcfcf; padding: 30px; box-shadow: 9px 10px 10px #000; border: 10px solid #5F798E; border-radius: 10px;}
#popmake-160 .popmake-title, #popmake-226 .popmake-title{font-weight: 700; font-size: 30px; background: #5F798E; display: inline-block; padding: 10px; color: #fff; border-radius: 3px;}
.img-clickhere img{width: 240px;}
.img-clickhere{margin-top: 15px; display: inline-block;}
#popmake-160 .popmake-close, #popmake-226 .popmake-close{top: 15px; right: 15px; font-weight: bold; background: #1C3B58; border-radius: 50%; color: #fff;}

#top.page-id-57 h3.av-special-heading-tag{font-weight: bold; padding-bottom: 15px;}
#rates-section{max-width: 1310px; margin: 0px auto; box-shadow: 0px 5px 7px #555;margin-bottom: 15px;}
#after_submenu{border:none;}
#rates-section .ratesec1 .avia_textblock{background: #83A4B8; color: #fff;}
#rates-section .ratesec2 .avia_textblock{background: #5D798F; color: #fff;}
#rates-section .ratesec3 .avia_textblock{background: #1C3B58; color: #fff;}
#rates-section .ratesec2{box-shadow: 0px 6px 16px #222; z-index: 99; overflow: visible;}
#rates-section .ratesec2{z-index: 98; overflow: visible; position: relative;}
#rates-section .avia_textblock p{margin-top: 0px; padding: 15px; display: table-cell; height: auto; vertical-align: middle;}
#rates-section .avia_textblock{vertical-align: middle; display: table; width: 100%; min-height: 90px; height: 90px;}
.approaches .av_toggle_section .toggler{background: #5D798F; color: #fff;}
.approaches .av_toggle_section .toggle_content{background: #cfcfcf; margin: 0px;}
.approaches .av_toggle_section .toggler.activeTitle{background: #1C3B58; color: #fff;}
#top:not(.home) #main .entry-content-wrapper h1{font-weight: 300!important;}
#top.page-id-54 #main .servicefee h1.av-special-heading-tag{font-weight: 700!important; border-bottom: 1px solid; max-width: 210px; margin: 0px auto;}
.html_header_top.html_header_sticky #top.page #wrap_all #main{padding-top: 255px;}
#header #header_main #header_main_alternate{padding: 15px 0px;}
#footer #text-2 h3{text-transform: none; font-size: 30px;}
#footer #text-2{float: right;}
#footer #text-2 strong{min-width: 20px; display: inline-block;}
#footer  .textwidget{font-size: 20px;}
#footer #text-2 .widgettitle{margin-top: 0px;}
#footer #text-2 .textwidget{line-height: 2.35;}
#socket{font-size: 15px;}
#socket .avia3-menu li:not(:first-child){border-left: 1px solid #1E3C58;}
#socket .container{max-width: 1000px;}
#top.page-id-62 #main .entry-content-wrapper .av_one_half{margin-top: 0px;}
#top.page-id-54 .av_one_third .av-special-heading-h1{margin-top: 15px;}
.treatment-box{background: #CAD2D9; color: #333; padding: 10px; margin-bottom: 10px; font-weight: bold; transition: background .5s;}
.treatment-box:hover{background: #5F798E; color: #fff;}
#top #main .servicefee h1.av-special-heading-tag{font-weight: 700; font-size: 56px;}
.page-id-57 .avia-content-slider{min-height: 100px;}
.page-id-57 .avia-content-slider h3{font-weight: 300; font-size: 18px;}
#top.page-id-57 .iconbox h3.iconbox_content_title{font-weight: normal; text-transform: none; font-size: 16px; height: 74px; vertical-align: middle; display: table-cell;}

#text-7 .ref-ad{font-size: 28px; font-weight: 700; padding: 5px; background: #1C3B58; color: #fff;}
#text-7 .ref-ad .adhl{color: #96A5B3;}
#text-7 .ref-ad{display: block; border: 2px solid #fff; width: 270px; min-height: 170px; box-shadow: 4px 4px 4px #000; margin-bottom: 15px;}

#top.page-id-54 #after_section_1{border-top: 0px;}
#top.page-id-54 #after_section_1 .template-page{margin-top: 0px; padding-top: 0px;}
#av_section_2 .av_one_third .avia-builder-widget-area{height: auto; vertical-align: middle;}
#av_section_2 .av_one_third .avia-builder-widget-area #text-7{padding:0px; vertical-align: middle;}
#av_section_2 .av_one_third .avia-builder-widget-area #text-7 .textwidget{margin:0px;}
#av_section_2 .av_one_third.adsection2{vertical-align: middle;}
#av_section_2 .av_one_third .avia-builder-widget-area #text-7 .ref-ad{width: 350px; font-size: 32px; line-height: 1;}
#av_section_2 .av_one_third .avia-builder-widget-area #text-7 .ref-ad img{width: 95%;}
.timg{bottom: -1px; border-top: 1px solid #fff; transition: background 0.75s;}
.timg.activated{background: #1C3B58!important;}
.page-restrict-output{padding-top: 30px; min-height: 500px;}

/*form CSS*/
#wpcf7-f74-o1{color: #777;}
#wpcf7-f74-o1 .form-wrapper{ border: 1px solid #ddd; padding: 30px; color: #777; background: #efefef; margin-top: 15px;}
#wpcf7-f74-o1 .file1, #wpcf7-f74-o1 .file2{border: 1px solid #ccc; padding: 2px 0px; margin-right: 15px;}
#wpcf7-f74-o1 .captcha-section #captcha-field{width: 300px; display: inline-block;}
#wpcf7-f74-o1 .captcha-section #captcha-img{vertical-align: middle;}
.form-wrapper p{width: 45%; display: inline-block; margin: 0px 15px;}
.form-wrapper .cf7bp-section{width: 100%; margin-top: 30px;}
.form-wrapper .cf7bp-section a{background: #1E3C58; color: #fff; padding: 8px 15px; display: inline-block;}
.captcha-293 .wpcf7-not-valid-tip{float: left;}
span.red{color: #f00!important;}
#top #wpcf7-f74-o1 .wpcf7-radio{display: inline-block; margin-bottom: 15px;}
#top #wpcf7-f74-o1 .wpcf7-radio span.wpcf7-list-item{width: 30%; display: inline-block; margin-left: 0px;}
#wpcf7-f74-o1 .wpcf7-validation-errors{border:none; display: inline-block !important; float: right; margin-top: -15px;}
#wpcf7-f74-o1 .captcha-293 .wpcf7-not-valid-tip{position: absolute;}

#wpcf7-f163-o1 .form-wrapper p{margin: 0px; margin-right: 15px;}
#wpcf7-f163-o1 .form-wrapper p .service{display: block;}
#wpcf7-f163-o1 .form-wrapper p .service .wpcf7-list-item{ display: inline-block; width: 45%; vertical-align: top; margin: 0px;}
#wpcf7-f163-o1 .form-wrapper p .service .wpcf7-list-item .wpcf7-list-item-label{display: inline-block; width: 89%;}
#wpcf7-f163-o1 .form-wrapper p .service .wpcf7-list-item input{vertical-align: top; margin-top: 6px;}
#top.page-id-72 #after_section_1{display:none;}

#wpcf7-f163-o2 .form-wrapper p{margin: 0px; margin-right: 15px;}
#wpcf7-f163-o2 .form-wrapper p .service{display: block;}
#wpcf7-f163-o2 .form-wrapper p .service .wpcf7-list-item{ display: inline-block; width: 46%; vertical-align: top; margin: 0px;}
#wpcf7-f163-o2 .form-wrapper p .service .wpcf7-list-item .wpcf7-list-item-label{display: inline-block; width: 89%;}
#wpcf7-f163-o2 .form-wrapper p .service .wpcf7-list-item input{vertical-align: top; margin-top: 6px;}
#wpcf7-f163-o2 .form-wrapper{margin-top: 15px;}

#top .formlink a{background: #1C3B58; color: #fff; padding: 10px; display: inline-block; border-radius: 5px; font-weight: bold; text-transform: uppercase;}
#top .formlink{display: inline-block; margin: 0px auto;}
#top #login_wid-2 ul li{margin: 0px;}
#top #wpcf7-f163-o2 .wpcf7-radio span.wpcf7-list-item{margin-left:0px;}

/*birchpress CSS */
.birs_form_field.birs_appointment_location{display:none;}
.birs_form_field.birs_appointment_staff{display:none;}
.birs_form_field.birs_appointment_service{display:none;}
#top .birs_appointment_notes{display:none;}
#top .birs_form_field label{font-size: 16px;}
#top .birchschedule-radio-buttons li{display: inline-block; margin-right: 15px; vertical-align: middle;}
#top .birchschedule-radio-buttons li input{margin: 0px 0px 2px; }
#top #popmake-226 label{font-size: 16px;}

#top.page-id-72 .birs_form_field.birs_client_section{display: none;}
#top.page-id-72 .birs_form_field.birs_client_name_first{display: none!important;}
#top.page-id-72 .birs_form_field.birs_client_name_last{display: none!important;}
#top.page-id-72 .birs_form_field.birs_client_email{display: none!important;}
#top.page-id-72 .birs_form_field.birs_client_phone{display: none!important;}

#birs_appointment_form .birs_section{margin:0px;}
#top .birs_field_9 .birchschedule-radio-buttons li{width: 45%; margin-bottom: 15px; display: inline-block; vertical-align: top; margin-bottom: 15px;}
#top .birs_field_9 .birchschedule-radio-buttons li label{display: inline-block; width: 90%;}
#top .birs_field_9 .birchschedule-radio-buttons li input{vertical-align: top; margin-top:3px;}
#top.page-id-135 #av_section_1 .template-page{padding:15px;}
#top .ui-state-active{background: #1C3B58;}
#top .birs_appointment_notes{display:none;}
#birs_booking_success h3{margin-top: 30px; margin-bottom: 15px;}
#birs_booking_success ul li:nth-child(2){display:none;}

#footerwidget{text-align: center;}
#footerwidget a{background: #83A4B8; color: #1C3B58; display: inline-block; padding: 2px 8px; border-radius: 5px;}
#footerwidget .textwidget{font-size: 14px;}
#footerwidget{max-width: 900px; margin: 0px auto;}

@media(min-width: 768px){
#footer #text-2{float: right;}
#wpcf7-f74-o1 .send-section{float: right;}
#top #wpcf7-f74-o1 .wpcf7-radio span.wpcf7-list-item{vertical-align: top; width: 49%;} 
}

@media(max-width: 990px){
#header_main #header_main_alternate{display:none;}
#header_main #advanced_menu_toggle{display: block; top: 80%}
.html_header_top.html_header_sticky #top.page #wrap_all #main{padding-top: 190px;}
#header #header_main #headerwidget a.booking-btn1{left:0px;}
#top .birs_field_9 .birchschedule-radio-buttons li{width: 100%;}
#top .birs_field_9 .birchschedule-radio-buttons li input{margin-top:6px;}
#top #wpcf7-f74-o1 .form-reset{display: inline-block;}
}

@media(max-width: 400px){
#header #header_main #headerwidget .textwidget{font-size: 30px; text-align: center; line-height: 3;}
#header #header_main #headerwidget{float: none;}
#header_main #advanced_menu_toggle{display: block; top: 25%}
#header #header_main #headerwidget a.booking-btn1{top: 72px;}
#top #popmake-160{position: absolute;
top: 240px !important;}
.form-wrapper p{width: 100%; display: inline-block; margin: 0px;}
.form-wrapper .cf7bp-section{text-align: center;}
#top #wpcf7-f74-o1 .wpcf7-radio span.wpcf7-list-item{width: 100%;}
#top #wpcf7-f74-o1 .wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label{display: inline-block; width: 85%;}
#wpcf7-f74-o1 #wpcf-redirect {width: 100%; word-wrap: break-word; margin-bottom: 15px; white-space: normal; margin-top: 30px;}
#top #wpcf7-f74-o1 .form-reset{display: inline-block;}
#top #wpcf7-f74-o1 .ajax-loader{display:none;}
#popmake-226{padding: 0px;}
#popmake-160 .popmake-title, #popmake-226 .popmake-title{ border-radius: 0px;}
#popmake-226 .popmake-close{top: 0px; right: 0px; }
#top #wpcf7-f163-o2 .wpcf7-radio span.wpcf7-list-item{width: 100%;}
#top #wpcf7-f163-o2 .wpcf7-radio span.wpcf7-list-item .wpcf7-list-item-label{display: inline-block; width: 85%;}
}