/*
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.2
Text Domain:  medicenter
*/
:root {
  --primary-color: #7e1518;
}

.services-list ul {
  display: flex;
  justify-content: space-between;
}

.services-list li {
  float: none;
  display: flex;
  flex-direction: column;
  width: 390px;
}

.services-list li .service-details {
  flex-grow: 1;
  border-right: 0 none;
  color: var(--primary-color);
}
.services-list li, .services-list.single .service-box{
    background-color: #fff;
}

.services-list.services-icons li {
  flex-direction: row;
}

.footer .menu li {
  float: none;
  flex-basis: 50%;
}

.footer .menu {
  display: flex;
  flex-wrap: wrap;
}

.header-left {
  width: 275px;
}
.header-top-sidebar a, .header-top-sidebar, .header-top-sidebar a:before, .header-top-sidebar .header-icon, .header-top-sidebar .header-icon:before, /*.slider-navigation .slider-control a, */.sf-menu li.current-menu-item a, .primary_button{
    color: var(--primary-color);
}
/*.slider-navigation .top-border, .slider-navigation .slider-control .slider-control-bar, .slider-navigation .slider-bar, */.single .post-content .slider-navigation .slider-bar, .sf-menu li.current-menu-item a:after{
    background-color: var(--primary-color);
}
.home-box-container:nth-child(3n+2), .footer-banner-box-container .footer-banner-box:nth-child(3n+2){
    background-color: #ed2127 !important;
}
.home-box-container:nth-child(3n+3), .footer-banner-box-container .footer-banner-box:nth-child(3n+3){
    background-color: #c5ae9b !important;
}
.sf-menu li.current-menu-item a{
    background-color: transparent !important;
    poosition: relative;
}
.sf-menu li.current-menu-item a:after{
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
}
.home-box-container-list.for-home-slider, .home-box-container-list.for-home-slider.no-widgets{
    bottom: -65px;
}
.info-box.small_padded{
    padding: 33px 25px 47px;
    height: 100%;
}
.full_height_info_box.vc_row-o-equal-height .vc_column-inner, .full_height_info_box.vc_row-o-equal-height .vc_column-inner .wpb_wrapper{
    flex-grow: 1;
}
.info_box_with_image img{
    margin: 0 auto;
    display: block;
}
.product_landing_entry{
    padding-top: 0;
    padding-bottom: 0;
}
.product_landing_entry .vc_row-has-fill>.vc_column_container>.vc_column-inner{
    padding-top: 0;
}
.product_landing_entry .vc_row-has-fill{
    padding-top: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #E5E5E5;
}
.product_landing_entry:last-child .vc_row-has-fill{
    border-bottom: 0 none;
}
.product_page_header.product_page_header{
    padding-top: 180px;
    padding-bottom: 180px;
    background-position: top center !important;
}
.product_page_header.product_page_header.product_page_big_header{
    padding-top: 280px;
    padding-bottom: 280px;
    background-position: bottom center !important;
}
.image_with_text_centered *{
    text-align: center;
}
.image_with_text_centered .box-header{
    position: relative;
}
.image_with_text_centered .box-header::after{
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
}
.primary_button{
     padding-top: 15px;   
}
.primary_button a{
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.primary_button a:hover{
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.white_overlay_title{
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
}
.sr7-layer.slider-heading.mc-colored a, .hp_slider .sr7-layer.slider-heading.mc-colored, .hp_slider .sr7-layer.slider-subheading.slider-subheading-alternative{
    color: #fff !important;
    backdrop-filter: blur(2px);
background: rgba(0, 0, 0, 0.15);
border-radius: 4px;
padding: 4px 6px;
}
.hp_slider .sr7-layer.slider-heading.mc-colored.primary_colored, .sr7-layer.slider-heading.mc-colored.primary_colored a{
    color: var(--primary-color) !important;
}
.sf-menu li a, .sf-menu li a:visited{
    font-size: 18px;
}

.sr7-layer.slider-heading.mc-colored.primary_colored a, .hp_slider .sr7-layer.slider-heading.mc-colored.primary_colored{
    background: transparent;
    
}
@media screen and (max-width: 767px) {
    .services-list ul {
      display: block;
    }
    .header-left a img{
        max-width: 200px;
    }
    .mc-features-circle.circle-small .circle span::before{
        margin-left: 0;
        margin-top: 0;
    }
    .counters-group .wpb_single_image img{
        max-width: 50%;
        
    }
    .rev_slider h1, .rev_slider h2, .rs-layer.slider-heading, .sr7-layer.slider-heading{
        font-size: 26px !important;
    }
    .rs-layer.slider-heading.mc-colored, .sr7-layer.slider-heading.mc-colored{
        margin-top: -50px !important;
    }
}
.map_iframe_holder{
    overflow: hidden;
}
.map_iframe_holder iframe{
    margin-top: -60px;
}