/***/
/*overview page d2g_doctors*/
/***/

/*general styles for doctor overview page*/
#error:empty {
    display: none;
}
div#doctor_wrapper_outer {
    max-width: 100%;
}
ul#doctor_filters {
    list-style: none;
    padding:0;
    li.filter_wrap {
        min-width: 180px;
    }
}
ul#doctor_filters .select2-container{
    margin-bottom: 10px;
}
div.extra_d2g_doctor_info .inner_wrapper {
    padding: 15px;
}
.like-button {
    background: #534e4e !important;
    border: none !important;
    color: #fff !important;
    font-size: 30px;
    line-height: 50px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    text-align: center;
    position: absolute;
    z-index: 10;
    top: 17px;
    right: 32px;
        padding: 0;
}
span.select2-selection.select2-selection--single {
    border-radius: 5px;
}
.like-button::before {
    margin: 0;
}
.like-button.icon-heart-filled {
    color: #ff6979 !important;
}
.icon-cc-mastercard span.tariff{
    margin-right: 5px;
}
span.tariff:first-child:before {
    content: ''!important;

}
li.icon-globe {
    span:after{
        content: ', '
    }
    span:last-child:after{
        content: ''
    }
}
.consult_buttons {
    li a.btn{
        box-shadow: 1px 1px 7px rgba(0,0,0,0.8);
        border: none !important;
        border-radius: 5px;
        color: #fff !important;
    }
    li a.variant {
        background: #68C0D2 !important;
        color: #fff !important;
    }
    li.written_con_button a.btn {
        background: #951b1b !important;
    }
    li.video_con_button a.btn {
        background: #BAD873 !important;
    }
    li a.walk_in_link {
        background: #ff9700 !important;
    }

    li a.show_doc_link {
        background: #197adb !important;
    }

    li a.btn:hover {
        opacity: 0.75;
        cursor: pointer !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 0 0 rgba(0,0,0,0.8);
    }
}



/*** doctor article styles ***/
article.type-d2g_doctor{
    .extra_d2g_doctor_info h3.entry-title {
        font-size: 30px; 
    }
    .btns {
        margin-bottom: 10px;
    }
    > .inner_wrapper {
        position: relative;
        border: 2px solid #c2c2c2;
        figure {
            background: #fff;
        }
        figure img {
            display: block;
        }
    }
    h3,
    h4 {
        margin-bottom: 10px;
    }
    h3{
        font-size: 24px;
    }
    h4 {
        font-size: 16px;
    }
    .icon_list {
        list-style: none;
        padding: 10px 0;
        background: #f7f8f9;
        
    }
    .icon_list{
        margin: 0 -15px;
    }
    .icon_list li {
        position: relative;
        padding-left: 50px;
        padding-right: 15px;
        line-height: 20px;
        font-size: 16px;
        padding-bottom: 7px;
        margin-bottom: 7px;
        border-bottom: 2px solid #fff;
    }
    .icon_list li:before {
        position: absolute;
        top: 50%;
        left: 15px;
        margin-top: -9px;
    }
    .specialties span,article.type-d2g_doctor .specs span {
        padding-right: 5px;
        margin-right: 5px;
        display: inline-block;
        position: relative;
    }
    .specialties span:after,article.type-d2g_doctor .specs span:after {
        content: '|';
        position: absolute;
        right: -5px;
    }
    .specialties span:last-child:after,article.type-d2g_doctor .specs span:last-child:after {
        content: '';
    }
} 


/*** list specific ***/
article.d2g_doctor.list{
    margin-bottom: 30px;
    font-size: 16px!important;
    h3{
        font-size: 36px;
    }
    h4{
        font-size: 20px;
    }
    .col-sm-8{
        position: relative;
        table{
            position: absolute;
            bottom: 0;
            left: -15px;
            width: 100%;
        }
    }
    .promo {
        font-size: 14px;
        margin-bottom: 7px;
    }
    .row {
        margin: 0 -10px; 
    }
    .row > div {
        padding: 0 10px;
    }
    .btn_wrap {
        position: absolute;
        border-radius: 10px 0 0 10px;
        top: 12px;
        right: 160px;
    }
    header {
        padding-top: 15px;
    }
    img {
        border: 0;
        border-right: 3px solid #031925;
    }
    .inner_wrapper {
        border: 3px solid #031925;
        background: #fff!important;
        padding-bottom: 66px;
        border-radius: 10px;
        overflow: hidden;
    }
    .promo {
        font-size: 14px;
        margin-bottom: 7px;
    }
    header {
        h3{
            border-bottom: 2px solid #031925;
            margin-bottom: 3px;
        }
        h4{
            font-size: 20px;
        }
        a {
            background-color: transparent;
            text-decoration: none;
        }
    }
    .row{
        margin-bottom: 0;
    }
    ul.icon_list.specs.row {
        position: absolute;
        left: -10px;
        bottom: 18px;
        width: 100%;
        border-top: 2px solid #031925;
        padding: 0;
        margin: 0 !important;
        .icon-clock.col-sm-6{
            max-width: 100%;
            flex: 0 0 100%;
        }
        li,
        .icon-clock.col-sm-6,
        span{
            font-size: 14px;
        }
        li{
            margin: 0;
            padding-top: 7px;
            padding-bottom: 7px;
        }
        
        li:nth-child(even){
            border-left: 2px solid #fff!important;
        }
    }
    .consult_buttons{
        border-top: 2px solid #031925;
        margin: 0 !important;
        padding: 5px;
        width: 100%;
        position: absolute;
        bottom: 0;
        background: #fff;
        display: flex;
        left: 0;
        li {
            padding: 6px 4px !important;
            margin: 5px;
            text-decoration: none;
            list-style: none;
        }
        
        img {
            background: transparent !important;
            border: none !important;
            width: 40px;
            display: block;
        }
        a.btn {
            padding: 5px 5px !important;
            border-radius: 5px !important;
            height: 54px;
            overflow: hidden;
            color:#fff;
        }
        a.btn:hover{
            opacity: 1.0;
        }
        .price,
        .name {
            width: 0;
            font-size: 0;
            padding: 0;
            transition: all 0.3s;
        }
        .btn:hover .price,
        .btn:hover .name {
            width: auto;
            padding: 0 7px;
            transition: all 0.5s;
        }
        .btn:hover .name {
            font-size: 14px;
            line-height: 16px;
        }
        .btn:hover .price {
            font-size: 14px;
            text-align: right;
        }
        > li a {
            display: flex !important;
            align-items: center;
        }
    }
}


/*** grid specific ***/
article.type-d2g_doctor.grid{
    margin-bottom: 30px;
    header {
        padding: 10px 15px 0;
        background: #fff;
        h3{
            border-bottom: 2px solid #031925;
            margin-bottom: 3px;
        }
        h4{
            font-size: 20px;
        }
        a {
            background-color: transparent;
            text-decoration: none;
        }
    }
    .consult_buttons.info_btn_wrapper {
        display: none !important;
    }
    figure {
        padding-top: 0 !important;
        width: 50%;
        margin: 10px auto;
        border-radius: 100%;
        overflow: hidden;
        box-shadow: 0px 0px 10px #444;
        .like-button {
            right: 17px;
        }
    }
    h4.specialties {
        min-height: 37px;
    }
    .icon_list {
        margin: 0;
        background: transparent;
        padding: 0;
        li:last-child{
            border-bottom: none;
        }
    }
    .inner_wrapper {
        border: 3px solid #031925;
        overflow: hidden;
        background: #d7f3ff;
        padding-bottom: 50px;
        border-radius: 10px;
        overflow: hidden;
    }
    .inner_content {
        min-height: 202px;
    }
    .consult_buttons{
        margin: 0 !important;
        padding: 2px 5px;
        width: 100%;
        position: absolute;
        bottom: 0;
        background: #fff;
        display: flex;
        left: 0;
        li#show_doc_button {
            display: none !important;
        }
        li {
            padding: 6px 4px !important;
            text-decoration: none;
            list-style: none;
        }
        img {
            background: transparent !important;
            border: none !important;
            width: 40px;
            display: block;
        }
        a.btn {
            padding: 5px 5px !important;
            border-radius: 5px !important;
            height: 54px;
            overflow: hidden;
            color:#fff;
        }
        .price,
        .name {
            width: 0;
            font-size: 0;
            padding: 0;
            transition: all 0.3s;
        }
        .btn:hover .price,
        .btn:hover .name {
            width: auto;
            min-width: 80px;
            padding: 0 7px;
            transition: all 0.5s;
        }
        .btn:hover .name {
            font-size: 14px;
            line-height: 16px;
        }
        .btn:hover .price {
            font-size: 14px;
            text-align: right;
        }
        > li a {
            display: flex !important;
            align-items: center;
        }
    }
} 




/*** grid2 specific ***/
article.type-d2g_doctor.grid2{
  .inner_wrapper{
     border:3px solid #031925;
     overflow: hidden;
     background: #fff;
     border-radius: 10px;
    
     .row{
      margin: 0;
     }
     header{
        background: #fff;
        margin: 0 -15px;
        padding: 10px 0 10px 15px; 
        h3{
            border-bottom: 2px solid #031925;
            margin-bottom: 3px;
        }
        h4{
            font-size: 20px;
        }
        a {
            background-color: transparent;
            text-decoration: none;
        }
     }
     .icon_list{
      background: transparent;
     }
     figure{
      position: relative;
      .like-button {
          top: 5px;
          right: 5px;
        line-height: 16px;
        width: 35px;
        height: 35px;
        z-index: 1;
      }
      .like-button::before{
        margin: 0!important;
        font-size: 20px;
      }
     }
     .info_wrapper {
        padding: 0 15px;
        
    }
    .icon_list li:last-child{
        border-bottom: none;
    }
    li.icon-cc-mastercard{
        display: none;
    }
     .consult_buttons{
      display: block!important;
      margin: 0;
      padding: 7.5px 0;
      border-top:3px solid #031925;
      li a{
        width: 100%;
        display: flex !important;
        align-items: center;
      }
      > li a div.price {
        font-size: 14px;
        line-height: 18px;
        font-weight: 700;
        text-align: right;
        width: 90px;
      }
      > li a .name {
          width: calc(100% - 125px);
          text-align: center;
      }
      li{
        padding: 7.5px 15px ;
        display: block;
      }
      li.simple_hide{
        display: none;
      }
      .image {
        line-height: 7px;
        width: 33px;
        img{
              width: 33px!important;
        }
      }
    }
  }
  .image_wrapper{
        width: 200px;
  }
  .info_wrapper{
        width: calc(100% - 200px);
  }
  .show_doc_button {
    display: none!important;
  }
  margin-bottom: 30px;
}

@media only screen and (max-width:820px){
    .d2g-doctor-overview .top ul#doctor_filters {
        display: block;
    }
    article.type-d2g_doctor.grid2 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}