/***/
/*single doctor*/
/***/
.single-d2g_doctor .sidebar_inner {
    position: relative;
}

.single-d2g_doctor #doctor_wrapper .sidebar{
    box-sizing: border-box;
    padding: 0 15px;
}

.single-d2g_doctor #doctor_wrapper .sidebar .button{
    width: 100%;
    margin-bottom: 10px;
}

.single-d2g_doctor .fc .fc-toolbar-title {
    font-size: 20px;
    margin: 0;
}

.single-d2g_doctor .sidebar img {
    margin-bottom: 20px;
}

.single-d2g_doctor #info {
    position: relative;
}

.single-d2g_doctor .languages span:after {
    content: ', ';
}

.single-d2g_doctor .languages span:last-child:after {
    content: '';
}

body.single-d2g_doctor h1.entry-title {
    font-size: 36px;
    margin-bottom: 10px;
    
    text-align: left;
}

.single-d2g_doctor h2 {
    font-size: 24px;
}

.single-d2g_doctor div.content_inner_wrapper {
    background: #fff;
    padding: 20px 15px;
    border:1px solid #c2c2c2;
}
body.single-d2g_doctor article#doctor_wrapper.doctor_detail_v1 {
    header {
        margin-bottom: 20px;
    }
}
.doctor_detail_v1 > .row{
    ul.icon_list {
        padding: 0;
        margin-bottom: 30px;
        
    }
    .sidebar{
        .consult_buttons{
            display: block!important;
            padding: 10px 0;
            li{
                padding: 5px 0;
                img{
                    margin: 0;
                }
            }
        }
        figure {
            padding: 20px;
            background: #031925;
            border-radius: 10px;
            img {
                margin: 0 auto;
                display: block;
                max-width: 200px;
                border-radius: 100%;

            }
            button.like-button {
                top: 10px !important;
                right: 10px;
                z-index: 1;
            }
        }
    }
}

.single-d2g_doctor .doc_image img {
    border: 4px solid #e1e3e5;
}
body.single-d2g_doctor #doctor_wrapper_v2{
     .top {
        margin-top: 50px;
        background: #fff;
        overflow: hidden;
    }
    div#calendar_wrapper {
        background: transparent!important;
        #calendar{
            padding: 20px!important;
            border-radius: 10px!important;
            overflow: hidden;
            background: #fff;
        }
    }
}

.single-d2g_doctor .doctor_detail_v2 {
    .consult_buttons{
        border-top: 3px solid #031925;
    }
    ul.icon_list {
            background: #f7f8f9;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        position: absolute;
        bottom: 0;
        left: -15px;
        width: 100%;
    }
}

.single-d2g_doctor ul.icon_list li:first-child,.single-d2g_doctor ul.icon_list li:nth-child(3) {
    border-right: 2px solid #fff;
}

.single-d2g_doctor ul.icon_list li:before {
    position: absolute;
    top: 50%;
    left: 8px;
    margin-top: -9px;
}

.single-d2g_doctor ul.icon_list li {
    position: relative;
    padding: 7px 7px 7px 40px;
    line-height: 20px;
    font-size: 16px;
    border-bottom: 2px solid #fff;
    width: 50%;
    display: inline-block;
}

.single-d2g_doctor #info header{
    margin-bottom: 50px;
}

.single-d2g_doctor ul.icon_list td.my-col-sm-3,.single-d2g_doctor ul.icon_list th.my-col-sm-3 {
    width: 25%;
}

.single-d2g_doctor .row.exp_exp:first-child,.single-d2g_doctor .row.exp_edu:first-child {
    border-top: none;
}

.single-d2g_doctor .row.exp_exp:last-child,.single-d2g_doctor .row.exp_edu:last-child {
    border-bottom: none;
}

.single-d2g_doctor .row.exp_exp,.single-d2g_doctor .row.exp_edu {
    background: #f7f8f9;
    border-top: 2px solid #fff;
    line-height: 33px;
    margin: 0;
    border-bottom: 1px solid #c2c2c2;
}

.single-d2g_doctor .row.exp_exp > div,.single-d2g_doctor .row.exp_edu > div {
    padding: 0 10px;
    border-right: 2px solid #fff;
}

.single-d2g_doctor .row.exp_exp > div:last-child,.single-d2g_doctor .row.exp_edu > div:last-child {
    border-right: none;
}

.single-d2g_doctor table.no_pad_left th,.single-d2g_doctor table.no_pad_left td {
    padding: 7px 10px !important;
}

.single-d2g_doctor .section_title {
    margin-top: 0;
    border-top: 5px solid #f7f8f9;
    line-height: 2em;
    font-size: 26px;
    margin-bottom: 20px;
}

.single-d2g_doctor .section {
    border-top: 1px solid #c2c2c2;
    margin-top: 40px;
}

.single-d2g_doctor .anchor_links {
    list-style: none;
    font-size: 20px;
    color: #4d4339;
    padding: 0;
    margin-left: 0;
}

.single-d2g_doctor .anchor_links li{
    margin-bottom: 12px;
}

.single-d2g_doctor .anchor_links li:before {
    font-size: 20px;
}

.single-d2g_doctor .anchor_links a {
    color: #4d4339;
    
}

header#masthead nav.primary-navigation ul .lang-item a{
    padding-left: 30px;
    padding-right: 0;
}

.fixed_state{
    .sidebar {
        position: fixed;
        top: 65px;
        padding: 20px 15px; 
        figure,
        button.like-button.icon-heart {
            display: none;
        }
        .consult_buttons img{
            display: block;
        }
    }
}

#doctor-extra {
    position: fixed;
    left: -2000px;
}

div.extra_doctor_info {
    background: #fff;
}

.d2g_tab_content_wrapper.hide {
    opacity: 0;
    height: 0;
    z-index: -1;
    border: none; 
}
  
.d2g_tab_content_wrapper {
    opacity: 1;
    height: auto;
    z-index: 1;
    background: #fff;
    border: 2px solid #c2c2c2; 
}

.d2g_tab_content_wrapper .inner_wrapper {
    padding: 20px; 
}

.d2g_tab_content_wrapper .inner_wrapper h3 {
    margin-bottom: 10px; 
}

.d2g_tab_content_wrapper .inner_wrapper h4 {
    margin-bottom: 10px; 
    font-size: 20px;
}

.no_pad_right {
    padding-right: 0; 
}

.address_wrapper {
    margin-bottom: 20px; 
}

.extra_info p,
.address_wrapper p {
    
    line-height: 25px; 
}

.fixed_state .sidebar img {
    display: none; 
}

.fixed_state .sidebar a.fancybox.btn.btn-default.block_btn.center {
    margin-top: 20px; 
}

ul.location_tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0; 
}

ul.location_tabs li {
    border-radius: 5px 5px 0 0;
    border-right: 1px solid #c2c2c2;
    border-left: 2px solid #c2c2c2;
    border-top: 2px solid #c2c2c2;
    padding: 10px 20px;
    max-width: 300px;
    line-height: 22px;
    cursor: pointer; 
    font-size: 18px;
    font-weight: 700;
    background-color: #fff;
}

form#booking_form {
    position: relative;
}

.single-d2g_doctor #booking_form.loading {
    background: transparent;
    background-position-y: calc(100% - 3px);
    background-position-x: 110px;
    background-size: 41px;
}

#doctor_wrapper_outer.loading:before, 
#booking_form.loading:before {
    width: 100%;
    height: 100%;
    content: ' ';
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9;
}

.shit{
    max-width: 100px;
}

#doctor_wrapper_outer.loading:after, 
#booking_form.loading:after {
    width: 110px;
    height: 110px;
    content: ' ';
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -60px;
    background: url(images/myloader.gif) center #fff;
    border: 10px solid #fff;
    background-size: 100%;
    z-index: 10;
    border-radius: 100%;
}

ul.location_tabs li:hover {
    color: #666; 
}

ul.location_tabs li:last-child {
    border-right: 2px solid #c2c2c2; 
}

#location_wrapper .d2g_tab_content h3 {
    font-size: 20px;
    font-weight: 700;
}

#location_wrapper  p.lightGrey {
    color: #666;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 20px;
    
}

.fancybox-inner #doctor-extra {
    position: relative;
    left: 0;
}

#doctor-extra {
    position: fixed;
    left: -2000px;
}
#doctor-extra h3{
    font-size: 36px;
}
div.extra_doctor_info {
    background: #fff;
}

.fancybox-margin {
    margin-right: 0px;
}

.sidebar a.fancybox.btn.btn-default.button.center {
    width: 100%;
    margin: 10px 0 5px;
}
article.type-d2g_doctor.single > .button {
    width: 100%;
}
.single-d2g_doctor .consult_buttons {
    display: flex;
    list-style: none;
    margin-bottom: 30px;
    padding: 10px 5px;
    li{
        padding: 5px 10px;
    }
}
.consult_buttons > li {
    padding: 0 5px;
}
span.tariff{
    display:none;
}
span.tariff:first-child,
span.tariff:last-child{
    display: inline-block;
}
span.tariff:last-child:before{
    content: ' ~ ';
}
span.tariff:after{
    content: ''!important;
}
.single-d2g_doctor .consult_buttons > li a {
    display: flex !important;
    align-items: center;
    padding: 10px;
}
.single-d2g_doctor .consult_buttons > li a:hover{
    color: #fff;
}
.single-d2g_doctor .consult_buttons > li a img {
    width: 50px;
}

.single-d2g_doctor .consult_buttons > li a .name {
    width: 100px;
    line-height: 20px;
    padding-left: 17px;
}
.single-d2g_doctor .consult_buttons > li a .price{
    text-align: right;
}
.walkin_form_wrapper {
    position: relative;
        padding: 10px 20px;
}

span.price_wrapper {
    padding: 10px 20px;
    background: #ff6979;
    position: absolute;
    right: 0;
    top: 0;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea {
    border: none;
    width: 100%;
    padding: 10px;
    display: block;
    line-height: 23px;
    margin-bottom: 14px;
    background: #f7f8f9 !important;
        border: var(--form--border-width) solid var(--form--border-color);
    border-radius: var(--form--border-radius);
    color: var(--form--color-text);
    line-height: var(--global--line-height-body);
}

span.price_wrapper {
    padding: 4px 20px 18px;
    background: #000;
    position: absolute;
    right: 0px;
    top: 0;
    line-height: 11px;
    color: #fff;
}

#inloop .select2-container{
    margin-bottom: 0!important;
}
.single-d2g_doctor .consult_buttons > li a{
    height: 100%;
}
.single-d2g_doctor .consult_buttons > li a .name {
    width: 130px;
    line-height: 20px;
    padding-left: 17px;
}
.single-d2g_doctor .consult_buttons > li a .price {
    text-align: right;
    width: 80px;
    font-weight: 700;
}
.single-d2g_doctor .consult_buttons > li a img {
    width: 33px;
}
body.single-d2g_doctor{
    .content_inner_wrapper,
    .top{
        border: 3px solid #031925;
        border-radius: 10px;
        figure img{
            border-right: 3px solid #031925;
        }
        header {
            padding-top: 10px;
            h1{
                border-bottom: 2px solid #031925;
                margin-bottom: 3px;
                font-size: 28px;
            }
            h2{
                font-size: 20px;
                font-weight: 700;
            }
            a {
                background-color: transparent;
                text-decoration: none;
            }
        }
    }
    div#bio{
        margin-top: 0;
    }
    div#calendar_wrapper, div#booking_form_wrapper {
        padding: 0;
        background: #fff;
    }
    .consult_buttons {
        margin: 0;
    }
     
}

.walkin_form_wrapper {
    position: relative;
}

.walkin_form_wrapper {
    padding: 15px;
    background: #031925;
    color: #fff;
    border-radius: 10px;
    .app_row{
        color: initial;
    }
    header.section_header.mb-m {
        display: flex;
        img{
            width: 80px;
            height: 80px;
            border-radius: 100%;
            margin-right: 15px;
        }
        h3{
            padding-left: 15px;
        }
    }
}