/*
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: 60px;
}
/* Blog Posts text size adjustment */
.post-template-default .single.post p {
    font-size: 18px;
    line-height: 1.8;
}
/* verify insurance button*/
.sf-menu li.menu-call a {
  background: #F2BD00;
  color: white;
  font-weight: bold;
  letter-spacing: 1.5px;
}
.sf-menu li.selected a,
.sf-menu li.current-menu-item a,
.sf-menu li.current-menu-ancestor a {
  color: inherit;
  background: inherit;
}

/* verify insurance current page*/


.home-box .more.light {
    background: #f2bd00;
    font-weight: bold;
    box-shadow: 0px 6px 20px 0px #396ca7;
    border: 1px solid #636362;
    color: #1b1169;
    font-size: initial;
    vertical-align: middle;
}
.home-box .more.light:hover {
    background-color: #f2bd00;
    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: #f2bd00;
}

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

/* ----  TOP BAR ---- */
/* Update background color */
.header-top-sidebar-container {
    background: linear-gradient(
90deg
, #417FC6 0%, #00ABE7 35%, #2DC7FF 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;
}

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

/* "OR CHAT WITH US" button color: */
.more.dark-color, .more.light-color:hover {
    background-color: #417FC6;
    border: 1px solid #264F7E;
}
.more.light-color, .more.dark-color:hover {
    background-color: #3467A2;
    border-color: #3467A2;
}
/* HOME PAGE */
/* 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;
}

/* Google reviews place holder home */

.google-rating-hr {
  border-top: none;
}
.google-rating-testimonial{
	color: #fff;
}
.gr-testimonial-name {
    padding-top: 12px;
}
.wp-google-list .wp-google-right .wp-google-rating {
    color: white !important;
}
.wp-gr.wpac .wp-google-stars .wp-star svg path {
    fill: white;
}
.wp-gr .wp-google-place .wp-google-powered {
    color: white !important;
}
.wp-gr .wp-google-place .wp-google-right {
    display: flex !important;
    align-items: center;
    width: auto !important;
    flex-wrap: wrap;
}

.wp-google-right .wp-google-stars {
    margin-right: 15px !important;
}

.wp-gr.wpac .wp-google-place .wp-google-right .wp-google-name:nth-child(1){
	display: none !important;
}
.wp-gr .wp-google-place .wp-google-left {
    display: none !important;
}
.wp-gr .wp-google-powered img {
    display: none;
}

/* CTA emergency home */
.emergency-case-action-wrapper {
  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 */
.gform_wrapper .contact-form select.gfield_select {
  width: 100%;
  padding: 13px 22px;
  color: #000;
  margin: 0;
  background: #f0f0f0;
  border: none;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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

/* FAQ accordion old css*/
.home-faq-accordion {
    box-shadow: 0px 9px 48px -25px;
}
.home-faq-accordion .vc_tta-panel-heading{
    padding: 16px 0;
}
.home-faq-accordion .vc_tta-panel-heading h4 {
    font-size: 1.2em;
}
.home-faq-accordion .vc_tta-panel-body p {
    font-size: 1.2em;
}
.home-faq-accordion .vc_tta-panel-body .wpb_wrapper {
    padding: 0 50px
}

// ACCORDION NEW CSS

.accordion .ui-accordion-content {
    padding: 30px 21px;
    color: #666;
    line-height: 150%;
    background-color: #fff;
    border-left: 6px solid #00abe7 !important;
}

.wpb_content_element .accordion .ui-accordion-header.ui-state-active, .accordion .ui-accordion-header.ui-state-active {
    border-left: 6px solid #00abe7 !important;
    background-color: #ffffff;
    padding: 15px 17px 16px;
    margin-top: -1px;
    border-radius: 10px 10px 0px 0px;
}

.accordion .ui-accordion-header.ui-state-hover h3 {
    color: #00abe7;
}

.accordion .ui-accordion-header h3 {
    color: #666;
    line-height: 1;
    font-size: 1.3em;
}

.accordion .ui-accordion-header.ui-state-active h3, .accordion .ui-accordion-header.ui-state-active h3::after {
    color: #00abe7 !important;
    font-weight: 600;
}


/* ---- TABBED SECTION ---- */
.tabs.bh-home-tabs {
    background: #00abe7;
}
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;
}



/* Footer */
.testimonials li.vc_col-sm-6 .sentence {
    font-size: 18px;
    margin-top: 0;
}
.footer h2.box-header.animation-slide.slide {
    font-size: 18px;
}
.footer-box-container strong {
  color: #bac0c5;
}

.footer .menu li {
  width: initial;
}

/* Footer icons */
.footer-icon {
    width: 45px;
    display: inline-block;
}
/*.footer-facebook-icon .aio-icon.circle{
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-facebook-icon .aio-icon.circle:hover{
    color: #2e3033 !important;
    background: #fff !important;
    transition: 0.2s;
}*/
.footer-legal-seals {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}
/* Individual pages */
.site-container .double-row-top-page {
    margin-bottom: 70px;
}

/* MOBILE HEADER */
.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;
}

/* zinnia locations footer */
.zn-locs{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 20px;
  font-size: 9px;
}
.zn-locs__title{
  font-size: 1.2em;
  font-weight: 800;
}
.zn-locs__group{
  width: 20%;
}
.zn-locs__group .zn-locs__state:first-child {
  margin-top: 0;
}
.zn-locs__state{
  margin: 10px 0;
  font-weight: 800;
  font-size: 1.2em;
}
.zn-locs__location{
  line-height: 1.4;
}
/* zinnia locations footer */

@media screen and (max-width: 767px){
  .zn-locs__group{
    width: 50%;
    margin-top: 20px;
  }
}
@media screen and (max-width: 479px){
  .zn-locs__group{
    width: 100%;
  }
}

@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: #09475e;
	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 */
  .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;
  }
}

/* Nav Logo Mobile Adjustment */
.header-left {
    width: 220px !important;
}
@media screen and (max-width: 1009px) {
.header-left {
    width: 100% !important;
}
}

/* Homepage Check Adjustment */
@media screen and (max-width: 767px) {
.vc_row .wpb_column {
    margin-top: 15px !important;
}
}
/* 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: 86%
		}
		body .vc_progress_bar .vc_single_bar:nth-of-type(2) .vc_bar+.vc_label_units{
			left: 88%
		}
		body .vc_progress_bar .vc_single_bar:nth-of-type(3) .vc_bar+.vc_label_units{
			left: 52%
		}
     }
}

// H3 ::AFTER LINE

.box-header::after, .box_header::after {
    content: "";
    display: block;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #2DC7FF;
    margin-top: 7px;
}

// LIST CHECK MARKS COLOR

.site-container .simple-list li::before {
    display: inline-block;
    color: #00abe7;
    margin-right: 8px;
    margin-top: -1px;
}

/**social icons aligned footer**/

.footer-social-icons .wpb_wrapper {
    display: flex;
}

/**footer**/
.footer .menu li {
    float: left;
    width: 100% !important;
    padding: 5px 0;
}

/**Hero widget box**/
li.home-box-container.clearfix.animated-element.animation-fadeIn.duration-500.fadeIn {
    background-color: #417FC6 !important;
}

li.home-box-container.clearfix.animated-element.animation-slideRight.duration-800.delay-250.slideRight {
    background-color: #6397D0;
}

li.home-box-container.clearfix.animated-element.animation-slideRight200.duration-800.delay-500.slideRight200 {
    background-color: #7DB1E0 !important;
}

/**Footer Hero widget box**/


.footer-banner-box-container .footer-banner-box:nth-child(3n+1) {
    z-index: 3;
    background: #417FC6;
}

.footer-banner-box-container .footer-banner-box:nth-child(3n+2) {
    background: #6397D0;
}

.footer-banner-box-container .footer-banner-box:nth-child(3n+3) {
    z-index: 1;
    background: #7DB1E0;
}


/**Button contact form**/

.more.dark-color, .more.light-color, .more.light, .more.mc-button {
    background-color: #7DB1E0;
    padding: 12px 19px;
    color: #FFF;
    border: 1px solid #FFF;
    transition: color 0.2s ease 0s, background 0.2s ease 0s, border 0.2s ease 0s;
    -webkit-transition: color 0.2s ease 0s, background 0.2s ease 0s, border 0.2s ease 0s;
    -moz-transition: color 0.2s ease 0s, background 0.2s ease 0s, border 0.2s ease 0s;
}

.testimonials li.vc_col-sm-6 {
    margin-top: -4px;
}

/**Align logos footer**/
.textwidget {
    display: flex;
}

/**Google testimonial italic**/
.google-rating-testimonial {
    color: #fff;
    font-style: italic;
}

/**remove phone button from profile button**/
.gallery-item-details-list .details-box .item-footer .mc-button:first-child {
    margin-right: 10px;
    display: none;
}

.yt-video-container {	
	display: flex;
    justify-content: center;
    margin: 20px 0;
}
/* google maps iframe adjustment */
@media screen and (max-width: 767px) {
.footer iframe {
	width: 280px;
}
}
@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;
	}
}

/**Correct error list in safari**/

.bh-welcome-list .vc_col-sm-6 {
    margin-left: 0px;
}


/**correct missing arrow on current item menu**/
.sf-menu>li.menu-item-has-children.current-menu-item>a::after, .sf-menu>li.menu-item-has-children.current-menu-ancestor>a::after {
    color: #777;
}

/**border solid footer credit items**/


li#menu-item-5363 {
    border-left: 1px #ffffff solid;
    border-right: 1px #ffffff solid;
    margin-left: 5px;
    padding: 0px 5px 0px 5px;
}

li#menu-item-5407 {
    border-right: 1px #ffffff solid;
    padding: 0px 5px 0px 5px;
	margin-left: 0px;
}

li#menu-item-5405 {
    border-right: 0px #fff solid !important;
    padding: 0px 5px 0px 5px;
    margin-left: 0px;
}

li#menu-item-5465 {
	border-right: 1px #ffffff solid;
    padding: 0px 5px 0px 5px;
	margin-left: 0px;
}

.footer-menu li {
    float: center !important;
    margin-left: 6px !important;
}

/**text box line-height staff members page**/

.details-box {
    line-height: 1.8 !important;
}

/**color header mobile**/
@media only screen and (max-width: 768px){
.home-fixed-cta-mobile {
    display: block;
    position: sticky;
    z-index: 100;
    width: 100%;
    top: -1px;
    background-color: #407FC6;
    color: white;
    padding: 17px 0;
}
	}

@media screen and (max-width: 1009px) {
.header-right {
    clear: both;
    float: right !important;
	padding-right: 60px;
}
	}

/**Testimonials botton Height**/

.caroufredsel_wrapper { 
    height: 250px !important;
}

/**align footer links**/
.copyright-text {
    float: none !important;
    text-align: center;
}
