/*
Theme Name:   MediCenter Child
Theme URI: https://1.envato.market/medicenter-responsive-medical-wordpress-theme
Description:  MediCenter Child Theme
Author: QuanticaLabs
Author URI: https://1.envato.market/quanticalabs
Template:     medicenter
Version:      1.1
Text Domain:  medicenter
*/
.emergency-case-action {
  text-align: right;
  font-size: 20px;
  padding: 16px 30px;
}

.emergency-case-action p {
  padding: 0;
}
.emergency-case-action-button button#call-with-us-home {
    font-size: 20px;
}
.legitscript-bottom {
  padding: 40px 0;
}

/* MENU*/
.header-left a img {
  height: 90px;
}
.sf-menu li.menu-call a {
  background: #32C912;
  color: white;
  font-weight: bold;
  letter-spacing: 1.5px;
}

.home-box .more.light {
  background: #32C912;
  font-weight: bold;
  box-shadow: 0px 6px 20px 0px #053544;
  border: 1px solid #20598E;
  font-size: larger;
}
.home-box .more.light:hover {
  background-color: #1681C5;
  color: #fff;
  border-color: #fff;
}
.current-menu-item {
    color: #fff;
}
.menu-main-menu-left-container .sf-menu>li.menu-item-has-children.current-menu-ancestor {
    color: #fff;
}
/* phone on cta hero */
.home-box a.mc-button.more.template-arrow-horizontal-1-after.light::before {
    content: url(https://serenitylodges.wpengine.com/wp-content/uploads/2021/05/phonecta.svg);
}

.sf-menu li:hover a {
  color: #fff;
  background: #42b3e5;
}

.menu-call.cta-call-button {
  margin-left: 20px;
}

/* ----  TOP BAR ---- */
/* Update background color */
.header-top-sidebar-container {
    background: linear-gradient(90deg,#253D5F 0%,#20598E 35%,#1681C5 100%);
}
/* Increase Top Bar font size */
.header-icon {
    font-size: 15px;
	color: white;
}
/* Increase Top Bar icon size */
.header-icon::before {
    font-size: 17px;
	color: white;
}
/* Adjust Top Bar icon margin */
.template-phone::before, body .site-container li.template-phone::before {
    margin-top: -2px;
}
/* LIST CHECKS */
.site-container .simple-list li.template-tick-2::before {
background-color: #1681C5;
}

.single-ql_services .vertical-menu li:hover>a, .single-ql_services .vertical-menu li:hover>a::after, .single-ql_services .vertical-menu li ul li:hover>a, .single-ql_services .vertical-menu li ul li:hover>a::after, .single-ql_services .vertical-menu li ul li ul li:hover>a, .single-ql_services .vertical-menu li ul li ul li:hover>a::after, .mc-icon, .mc-features-style-light .hexagon span::before, .hexagon.style-light span:before, .site-container .simple-list li::before, .single .post-content ul li:not([class^="template-"])::before, .single-page ul li:not([class^="template-"])::before, .info-box::before {
    color: #fff !important;
	/*border: 1px solid #1681C5 !important;*/
}

/* ---- PROGRESS BARS ---- */
/* Change color to #0B6986 */
/* Increase progress bar height to 3px */
body .vc_progress_bar .vc_single_bar .vc_bar {
    height: 3px;
    background: #0B6986;
}
body .vc_progress_bar .vc_single_bar .vc_bar+.vc_label_units {
    background: #0B6986;
}

/* "OR CHAT WITH US" button color: */
.more.dark-color, .more.light-color:hover {
    background-color: #0E85AA;
    border: 1px solid #084C61;
}
.more.light-color, .more.dark-color:hover {
    background-color: #084C61;
    border-color: #0E85AA;
}
/* HOME PAGE */
/* Insurance and accreditation */
.bh-accreditation-home .seals {
    margin-top: 70px
}

/* Center insurance logos on homepage */
.our-clients-list-container .our-clients-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.our-clients-list li img {
  width: 200px;
}
a:hover img, .gallery-box:hover img {
	opacity: 0.8;
	background: #0000;
}
/* Fix lists with h3 */
ul li h3{
	display: inline-block;
}
ul.accordion li h3{
	display: block;
}

/* CTA emergency home */
.emergency-case-action-wrapper,
.emergency-case-action p{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}


/* Sales force chat invite */
/* I use important because it is set as inline by a js script downloaded from Salesforce  */
#snapins_invite.embeddedServiceInvitation {
  position: fixed !important;
}

/* CONTACT FORM */
.bh-contact-form input, .bh-contact-form textarea, .gform_wrapper .bh-contact-form select.gfield_select{
    padding: 13px 22px;
    color: #000;
    margin: 0;
    background: #f0f0f0;
    border: none;
}

.gform_wrapper .bh-contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
    padding: 13px 22px;
}

.bh-contact-form input[type='submit'] {
    float: right !important;
    cursor: pointer !important;
}

.bh-contact-form .mc-button{
    background-color: #0E85AA !important;
}

.bh-contact-form .mc-button:hover{
    background-color: #42B3E5 !important;
}

/* FAQ accordion */
.bh-home-faq {
    background-color: transparent;
    margin-top: 40px;
}
.wpb_content_element .accordion .ui-accordion-header.ui-state-active, .accordion .ui-accordion-header.ui-state-active {
    border-bottom: 1px solid #0696a5;
    background-color: #0696a5;
    padding: 20px;
    margin-top: -1px;
    border-radius: 10px 10px 0px 0px;
}

.wpb_content_element .accordion .ui-accordion-header.ui-state-active, .accordion .ui-accordion-header.ui-state-active {
    border-bottom: 1px solid #1da0a8;
    background-color: #1da0a8;
    padding: 20px;
    margin-top: -1px;
    border-radius: 10px 10px 0px 0px;
}

.accordion .ui-accordion-header, .wpb_content_element .accordion div.ui-accordion-header {
    cursor: pointer;
    padding: 20px;
    border-bottom: 1px solid #E5E5E5;
    background: transparent;
    color: #000;
    transition: none !important;
    -o-transition: none !important;
    -ms-transition: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    border-radius: 10px;
    background-color: white;
    font-size: 20px;
    font-weight: 500;
}

.accordion .ui-accordion-header.ui-state-active h3, .accordion .ui-accordion-header.ui-state-active h3::after {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 600;
}

.accordion .ui-accordion-content {
    padding: 30px;
    color: #666;
    line-height: 150%;
    border: 1px solid #0696a5;
    border-radius: 0px 0px 10px 10px;
    background-color: #fff;
    font-size: 17px;
}

.accordion .ui-accordion-header, .wpb_content_element .accordion div.ui-accordion-header {
    cursor: pointer;
    padding: 20px;
    border-bottom: 1px solid #E5E5E5;
    background: transparent;
    color: #000;
    transition: none !important;
    -o-transition: none !important;
    -ms-transition: none !important;
    -moz-transition: none !important;
    -webkit-transition: none !important;
    border-radius: 10px;
    background-color: white;
    font-size: 20px;
    font-weight: 500;
}

.accordion .ui-accordion-header.ui-state-hover h3 {
    color: #0D6F80;
    font-size: 20px;
    font-weight: 600;
}

.accordion .ui-accordion-header h3 {
    line-height: 1;
    color: #0D6F80;
    font-size: 20px;
    font-weight: 500;
}
/* ---- TABBED SECTION ---- */
.tabs.bh-home-tabs {
    background: #0b6986;
}
div.type-big>.tabs-navigation li a {
    color: #fff;
}
.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab.ui-state-hover a {
    color: white;
    text-decoration: underline
}

.ui-tabs-tab.ui-corner-top.ui-state-default.ui-tab.ui-state-hover.ui-state-active a {
    color: initial;
    text-decoration: initial;
}
div.type-big>.tabs-navigation li.ui-tabs-active {
    background: #FFF;
   border-radius: 10px 10px 0px 0px;
}

/* ---- FAQ Section: ---- */
.wpb-js-composer .home-faq-accordion.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel.vc_active .vc_tta-panel-heading {
    border-color: #f0f0f0;
    background-color: #fff;
    border-left: solid 5px #2E9D95;
}
.wpb-js-composer .home-faq-accordion.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body, .wpb-js-composer .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body::after, .wpb-js-composer .vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body::before {
    border-color: #f0f0f0;
    border-left: solid 5px #2E9D95;
	background-color: #fff;
}

/* Footer */
.footer iframe {
    width: 280px;
}
.footer-box-container strong {
  color: #bac0c5;
}

.footer .menu li {
  width: initial;
}
#menu-footer-1, #menu-footer-2 {
    display: flex;
    flex-direction: column;
}

/* Footer icons */
.testimonials-footer .testimonials .sentence {
    font-family: 'PT Serif', Georgia, serif;
    color: #093E5D;
    font-style: italic;
    line-height: 1.55556;
}

.footer h2.box-header.animation-slide.slide {
    font-size: 18px;
}

.footer-social-icons .wpb_wrapper {
    display: flex;
}
.footer-legal-seals {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}
/* copyright area */
.copyright-text {
    float: none;
    text-align: center;
	line-height: 22px;
}
/* Individual pages */
.site-container .double-row-top-page {
    margin-bottom: 70px;
}
.second-row-head .vc_col-sm-12.vc_column_container.wpb_column {
    margin-top: 0px !important;
}

.second-row-head .wpb_column.vc_column_container.vc_col-sm-12 {
    margin-top: 0 !important;
}
/* Every page with a content container, row or column with the class .page-large-h3 will have the h3 similar size to large h2, that way it can be edited from wysiwyg editor in one sngle block */
.page-large-h3 h3 {
    font-size: 30px;
    line-height: 1.4;
}
/* TEAM PAGE */
.team-page .gallery-box img{
	object-fit: contain;
}
.team-page .item-footer.clearfix {
    display: none;
}
/* MOBILE HEADER */
.header-left a img {
  height: 50px;
}
.home-fixed-cta-mobile {
  display: none;
  text-align: center;
}
.home-fixed-cta-mobile_link {
    padding-top: 5px;
}
.our-clients-list li {
    margin-top: 0px !important;
}
@media only screen and (max-width: 768px) {
  .header-top-sidebar .template-mail {
    display: none;
  }
  .header-top-sidebar-container {
    position: fixed;
    z-index: 100;
    width: 100%;
  }
  .header-top-sidebar-container .header-top-sidebar{
	width:100%;		
  }
  .header-container {
    padding-top: 60px;
  }
  .home-fixed-cta-mobile {
	display: block;
	position: sticky;
	z-index: 100;
	width: 100%;
	top: -1px;
	background-color: #20598e;
	color: white;
	padding: 17px 0;
  }
  .home-fixed-cta-mobile a {
	color: white;
	font-size: 1.2em;
  }
  .home-fixed-cta-desktop {
		display: none;
  }
  .menu-call.cta-call-button {
    margin-left: 0px;
  }
  /* Call to action emergency homepage */
  .cta-home {
    padding-top: 0;
  }
  .cta-home .emergency-case-action p {
    text-align: center;
  }
  .cta-home .vc_column-inner {
    display: flex;
    justify-content: center;
  }

  /* Insurance company home */
  .bh-accreditation-home .seals {
    margin-top: 40px
  }

  .our-clients-list-container .our-clients-list {
    flex-direction: column;
  }
  .our-clients-list li {
    float: left;
    width: 100% !important;
    height: 160px;
    text-align: center;
    border-left: 1px solid #E5E5E5 !important;
  }
  /* Decrease the height on mobile for the logos. */
  .our-clients-list li {
    height: 100px;
  }
  /*No margin for double rows header pages*/
  .site-container .double-row-top-page {
    margin-bottom: 0px;
  }
}
/* General */
.flex-center{
    display: flex;
	justify-content: center;
}
/* Don't show image grid titles */
.pp_pic_holder .ppt {
    display: none !important;
}
/* Nav Logo Mobile Adjustment */
.header-left {
    width: 220px !important;
}
/* Adjust double images position on individual pages */
@media screen and (max-width: 1009px){
.bh-individual-page-image .side-image+.wpb_single_image .vc_single_image-img,
.bh-individual-page-image .side-image .vc_single_image-img {
    max-width: 80%;
}
}

@media screen and (max-width: 1009px){
.bh-individual-page-image .page-margin-top{
    margin-top: 150px;
}
}
@media screen and (max-width: 767px){
.bh-individual-page-image .page-margin-top{
    margin-top: 35px;
}
}


@media screen and (max-width: 1009px) {
.header-left {
    width: 100% !important;
}
}
/* google maps iframe adjustment */
@media screen and (max-width: 1249px) {
	.footer iframe {
    	width: 170px;
	}
  	/* Responsive youtube video */
  	.yt-video-container {
	  	position: relative;
		padding-bottom: 56.25%;
		padding-top: 30px;
		height: 0;
		overflow: hidden; 
  	}

  	.yt-video-container iframe, .video-container object, .video-container embed {
	  	position: absolute;
	  	top: 0;
	  	left: 0;
	  	width: 100%;
	  	height: 100%;
  	}
}
@media screen and (min-width: 1250px) {
	.footer iframe {
    	width: 280px;
	}
}

/* Homepage Check Adjustment */
@media screen and (max-width: 767px) {
.vc_row .wpb_column {
    margin-top: 15px !important;
}
.footer iframe {
	width: 280px;
}
.bh-post .post{
    float: none;
}
}
/* Homepage Secondary Image Hide Mobile */
@media screen and (max-width: 479px) {
#hp-image-hide-mobile {
	display: none !important;
}
.wpb_image_grid .wpb_image_grid_ul img {
    max-width: 100%;
    height: 240px !important;
    width: 100% !important;
    object-fit: contain;
}
.wpb_image_grid .wpb_image_grid_ul .isotope-item {
    width: 100% !important;
}
}

/* new features icons */
.features-bh-detox::before {
  content: "";
  width: 100%;
  height: 60px;
  background: url(./images/Detox.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.features-bh-inpatient::before {
  content: "";
  width: 100%;
  height: 60px;
  background: url(./images/Inpatient.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.features-bh-outpatient::before {
  content: "";
  width: 100%;
  height: 60px;
  background: url(./images/Outpatient.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.features-bh-php::before {
  content: "";
  width: 100%;
  height: 60px;
  background: url(./images/PHP.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* Pretty Photo mobile */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	 .pp_pic_holder{ left: 50% !important; width: 400px !important;  margin-left: -200px !important; }
	 div.pp_default .pp_content_container .pp_right{ padding-right: 21px !important; }
	 .pp_content, #pp_full_res img{ width: 100% !important; height: 100% !important; }
	 div.pp_default .pp_content_container .pp_details {margin-top: 20px !important; }
}

@media only screen and (max-width: 479px) {
	 .pp_pic_holder{ left: 0px !important; width: 100% !important;}
	 div.pp_default .pp_content_container .pp_right{ padding-right: 21px !important; }
	 .pp_content, #pp_full_res img{ width: 100% !important; height: 100% !important; }
	 div.pp_default .pp_content_container .pp_details {margin-top: 20px !important; }
}
/* SPECIFIC BROWSERS */
/* PHONE POSITION ON HERO */
/* firefox browsers */
@-moz-document url-prefix() { 
  .home-box a.mc-button.more.template-arrow-horizontal-1-after.light::before{
     position:relative;
     top: 5px;
  }
}
/* safari browsers */

@media not all and (min-resolution:.001dpcm) { 
     @supports (-webkit-appearance:none) {
        .home-box a.mc-button.more.template-arrow-horizontal-1-after.light::before{
		 position:relative;
		 top: 5px;
	    }
		 /*body .vc_progress_bar .vc_single_bar .vc_bar{
			 -webkit-transition: none;
			 transition: none !important;
		 }
		 body .vc_progress_bar .vc_single_bar::after{
			 -webkit-transition: none;
			 transition: none !important;
		 }
		 body .vc_progress_bar .vc_single_bar .vc_bar+.vc_label_units{
			position: relative;
			width: 31px;
			top: 11px;
		}*/
		 body .vc_progress_bar .vc_single_bar:nth-of-type(1) .vc_bar+.vc_label_units{
			left: 67%
		}
		body .vc_progress_bar .vc_single_bar:nth-of-type(2) .vc_bar+.vc_label_units{
			left: 94%
		}
		body .vc_progress_bar .vc_single_bar:nth-of-type(3) .vc_bar+.vc_label_units{
			left: 52%
		}
     }
}
