/* doctors slider */
.doctors__slider-btns {
    width: 100px;
    display: flex;
    justify-content: space-between;
}

.service__doctors .doctor__card {
    max-width: 255px;
}

.doctor__card {
    border: 1px solid #E6EDF3;
    padding: 15px;
    background: #fff;
    border-radius: 20px;
    align-self: stretch;
    height: auto;
    display: flex;
    flex-direction: column;
}

.doctor__card-img {
    position: relative;
    max-width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f0f3;
    transition: .2s all ease-in-out;
    transform: scale(1);
}

.doctor__card:hover .doctor__card-img {
    transform: scale(1.1);
}

.doctor__card-img:before {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    content: '';
    display: block;
    width: 100%;
    height: 75px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
}

.doctor__card-img img {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.doctor__card-title {
    padding: 10px 0;
    text-align: center;
    min-height: 90px;
}

.doctor__card-prof {
    padding: 10px 0;
    border-top: 1px solid #E6EDF3;
    border-bottom: 1px solid #E6EDF3;
    flex-grow: 1;
}

.doctor__card-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0 0 0;
}

.doctor__card-arrow svg {
    transform: translateX(0);
}

.doctor__card:hover .doctor__card-arrow svg {
    transform: translateX(5px);
}

/* doctors list page */
.doctors__list {
    display: flex;
    flex-wrap: wrap;
}

.doctors__list .doctor__card {
    width: 48%;
    padding-bottom: 20px;
    margin: 0 1.3% 20px 0;
}

@media (min-width: 1024px) {
    .doctors__list .doctor__card {
        width: 32%;
    }    
}

/* doctor page */
.doctor__wrap {
    padding-bottom: 40px;
}

.doctor__left {
    display: none;
}

.docs__back {
    position: absolute;
    left: 0;
    top: 0;
}

.doctor__back {
    display: block;
    padding: 8px 20px 6px 20px;
    border: 1px solid #E6EDF3;
    border-radius: 20px;
    width: auto;
    max-width: 165px;
}

.doctor__back svg {
    display: inline-block;
    position: relative;
    top: -1px;
}

.doctor__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 20px 0;
    position: relative;
}

.doctor__photo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.doctor__img {
    left: 0;
    width: 270px;
    height: 270px;
    padding-top: 10px;
    border-radius: 50%;
    overflow: hidden;
    background: #f2f0f3;
}

.doctor__img img {
    height: 120%;
}

.doctor__recommend {
    margin-top: -30px;
    padding: 7px;
    text-align: center;
    width: 240px;
    background: #fff;
    border: 1px solid #E6EDF3;
    border-radius: 10px;
}

.doctor__recommend_stars {
    width: 108px;
    height: 18px;
    margin: 0 auto;
    position: relative;
}

.doctor__recommend_stars svg {
    position: relative;
    z-index: 1;
}

.doctor__recommend_star {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}

.doctor__info {
    display: none;
}

.doctor__info_header-mob {
    padding-bottom: 10px;
}

.doctor__otzovik_warp {
    padding-top: 30px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    display: none;
}

.doctor__otzovik-mob {
    margin-top: 20px;
}

.doctor__otzovik {
    padding: 10px;
    border-radius: 15px;
    background: #FFFAE7;
    color: #392D00;
    width: 100%;
}

.doctor__otzovik_item {
    padding: 5px;
}

.doctor__otzovik_logo {
    min-width: 120px;
    max-width: 120px;
}

.doctor__appointment {
    width: calc(100% + 30px);
    padding: 15px;
    background: radial-gradient(40.58% 40.58% at 50% 59.42%, #CFE7DF 0%, #F8FCFA 100%);
    border-radius: 20px;
    margin: -45px 0 0 -15px;
}

.doctor__info_title {
    padding: 1em 0 .3em 0;
}

.doctor__shedule {
    width: 100%;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #E6EDF3;
    background: #fff;
    box-shadow: 0px 4px 13px 0px #DDEEE8;
}

.doctor__shedule_title {
    padding: 0 0 20px 0;
}

.doctor__shedule  .appointment-day-shedule__item {
    border-bottom: none;
}

.appointment_shedule-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #8798A5;
}

.doctor__shedule .appointment_next-step {
    text-align: left;
    padding-bottom: 0;
}

.doctor__contacts {
    padding: 20px 0 0 20px;
    display: flex;
}

.doctor__contacts_map {
    width: 30px;
    padding-right: 10px;
}

.doctor__contacts_address {
    padding-bottom: 5px;
}

.tabs_container {
    display: none;
}

.tabs_container.active {
    display: block;
}

.doctor__price {
    padding-bottom: 20px;
    display: flex;
    overflow-x: auto;
    align-items: stretch;
    flex-wrap: wrap;
}

.doctor__price_item {
    width: 100%;
    min-height: 125px;
    margin: 0 0 10px 0;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid var(--grey-lighter, #E6EDF3);
    background: linear-gradient(132deg, #F6F7F9 0%, #E0E3E7 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.doctor__price_item:nth-child(3n) {
    margin: 0 0 10px 0;
}

.doctor__price_bottom {
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
}

.doctor__services {
    padding: 20px 0;
}

.doctor__services_item {
    display: flex;
    padding: 5px 0;
}

.doctor__services_url {
    flex-grow: 1;
}

.doctor__services_a {
    border-bottom: 1px solid #B3C1CB;
}

.doctor__services_score {
    width: 70px;
    display: flex;
    justify-content: end;
    padding-top: 4px;
}

.doctor__services_round {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-left: 4px;
}

.doctor__proof {
    padding: 1px 0 20px 0;
    border-radius: 10px;
    width: calc(100% + 30px);
    max-width: 900px;
    margin-left: -15px;
}

.doctor__proof_header {
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
}

.doctor__proof_score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
}

.doctor__proof_heart {
    width: 50px;
}

.doctor__proof_digit {
    font-size: 27px;
    line-height: .8em;
    padding: 10px;
    order: 1;
}

.doctor__proof_average {
    max-width: 60px;
    line-height: 1em;
    text-align: center;
}

.doctor__review {
    width: 70%;
    margin-left: 15px;
}

.doctor__review_item {
    padding: 10px;
    height: 220px;
    overflow: hidden;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #E6EDF3;
    position: relative;
    position: relative;
    z-index: 1;
}

.doctor__review_item.open {
    height: 100%;
    min-height: 220px;
    padding-bottom: 50px;
}

.doctor__review_bottom {
    padding: 5px 10px;
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
}

.doctor__review_bottom:before {
    content: " ";
    display: block;
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, #FFFFFF 100%);
    height: 50px;
}

.doctor__review_open {
    cursor: pointer;
}

.doctor__review_open svg {
    position: relative;
    top: 2px;
}

.doctor__review_client {
    padding: 0 0 0 10px;
    margin-top: -1px;
    position: relative;
    z-index: 2;
}

.reviews__slider_nav {
    padding: 10px 20px 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.reviews__slider_all {
    margin-top: 30px;
}

.reviews__slider_all svg {
    position: relative;
    top: 1px;
}

.doctor__review_tr {
    width: 20px;
    height: 15px;
    margin-left: 20px;
}

.doctor__spec,
.doctor__teach {
    padding: 20px 0;
}

.doctor__teach_tabs {
    display: flex;
    border-bottom: 1px solid #E6EDF3;
    margin: 20px 0;
    overflow: hidden;
}

.doctor__teach_tabs li {
    padding-right: 30px;
}

.doctor__teach_tabs li a {
    display: block;
    color: #B3C1CB;
    border-bottom: 2px solid rgba(179, 193, 203, 0);
    padding: 15px 0;
    margin-bottom: -1px;
}

.doctor__teach_tabs li a.active {
    color: #8798A5;
    border-bottom: 2px solid rgba(179, 193, 203, 1);
}

.doctor__serts {
    padding: 20px 0;
    cursor: pointer;
}

.doctor__sert {
    width: auto;
    padding: 5px;
}

.doctor__sert_img {
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 4px 0px #F0F2F5;
}

.doctor__sert img {
    display: block;
    height: 200px;
    width: auto!important;
}

.serts__slider-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.serts__slider-prev,
.serts__slider-next {
    margin: 0 10px;
    z-index: 5;
    left: 0;
    right: 0;
    position: relative;
}

.serts__slider-prev:after,
.serts__slider-next:after {
    content: '';
    width: 10px;
    height: 17px;
    background: url(/img/slider-btn-arrow.svg) center/contain no-repeat;
}

.serts__slider-next:after {
    transform: rotate(180deg);
}

.doctor__articles,
.doctor__videos {
    padding: 20px 0;
    max-width: 795px;
    position: relative;
}

.doctor__doctors {
    max-width: 875px;
    padding: 30px 0;
    width: 100%;
}

.doctor__doctors .doctor__card {
    max-width: 285px;
}

@media (min-width: 768px) {
    .doctor__price_item {
        width: calc(33.33% - 7px);
        margin: 0 10px 10px 0;
    }

    .doctor__services_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .doctor__services_item {
        display: flex;
        width: 46%;
    }

    .doc__services-list {
        columns: 2;
    }

    .doctor__proof {
        width: 100%;
        margin: 0;
    }

    .doctor__proof_score {
        flex-direction: row;
    }

    .doctor__proof_heart {
        width: 78px;
    }

    .doctor__proof_digit {
        font-size: 64px;
        padding: 10px;
        order: 0;
        position: relative;
        top: 5px;
    }

    .doctor__proof_average {
        font-size: 24px;
        font-weight: 500;
        max-width: 100px;
        line-height: 1.1em;
        text-align: left;
    }

    .doctor__review {
        width: 40%;
    }
}

@media (min-width: 1024px) {
    .doctor__header {
        width: calc(100% + 45px);
        margin-left: -45px;
        flex-direction: row;
    }

    .docs__back {
        display: none;
    }

    .doctor__photo {
        min-width: 330px;
        max-width: 330px;
    }
    
    .doctor__img {
        left: 0;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        overflow: hidden;
        background: #f2f0f3;
        padding-top: 30px;
        text-align: center;
    }

    .doctor__info {
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
    }

    .doctor__info_header-mob {
        padding-bottom: 10px;
    }

    .doctor__info-end {
        justify-content: end;
    }

    .doctor__info_header-mob {
        display: none;
    }

    .doctor__services-list {
        columns: 3;
    }

    .doctor__otzovik_warp {
        display: block;
    }

    .doctor__otzovik-mob {
        display: none;
    }
    
    .uslugi_indvd2:before {
        width: 120px;
        height: 100px;
        margin: 0 30px 0 -150px;
        top: 50px;
    }

    .doctor__appointment {
        width: 100%;
        padding: 20px;
        margin: 0;
    }

    .doctor__shedule {
        padding: 25px;
    }
}

@media (min-width: 1280px) {
    .doctor__left {
        display: block;
        min-width: 280px;
        max-width: 280px;
        padding-top: 40px;
    }

    .docs__sticky {
        position: sticky;
        top: 130px;
    }
}