

/* Start:/local/templates/red-gray/components/bitrix/news/page_services/bitrix/news.detail/.default/style.css?17744327336399*/
.news-detail ul,
.news-detail ol {
    width: calc(100% - 20px);
}

.news-detail__promo {
    position: relative;
    overflow: hidden;
    /*padding: 0 0 calc(500px / 1920px * 100%) 0;*/
    width: 100%;
    height: 500px;
    margin: -20px 0 0;
    padding: 60px 0;
}

.news-promo__container {
    z-index: 5;
    position: relative;
}

.news-detail__title {

}

.news-detail__promo-text {
    max-width: 720px;
    margin-top: 40px;
}

/*.news-detail__picture {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}*/
.news-detail__picture img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.news-detail__prop {
    padding: 20px 0;
    margin-bottom: 50px;
    margin-top: -50px;
}

.news-detail__prop-name {
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 20px;
}

.news-detail__text h3 {
    margin: 20px 0 10px;
}

.news-detail__text p {
    padding: 2px 0;
}

.slider-doctors__main h2._title {
    font-family: unset;
    transform: unset;
    max-width: unset;
    text-transform: unset;
}


/* ACCORDION */
.accordion {

}

.accordion__item {
    position: relative;
    margin-bottom: 20px;
    border: 1px solid var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    background-color: var(--bg-color);

}

.accordion__item.active {

}

.accordion__header {
    position: relative;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
}

.accordion__header i {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: var(--transition);
    transform-origin: center;
    pointer-events: none;
}

.accordion__header i.rotate {
    transform: rotate(180deg);
}

.accordion__body {
    padding: 10px 20px 10px;
    display: none;
    border-radius: 8px;
    background-color: #fff;
    color: #74828d;
    max-width: calc(100% - 10px);
    margin: 0 auto 5px;
}

/* /ACCORDION */
/* PRICE LIST */
.pricelist__item {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    grid-gap: 20px;
    justify-content: space-between;
    align-items: end;
    background: #fff;
    position: relative;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    border: 1px solid transparent;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-color);
}

.pricelist__item:hover {
    background: var(--bg-color);
    border-radius: 8px;
}

.pricelist__price {
    text-align: right;
}

/* /PRICE LIST */
/* DOCTOR */
.prop-doctor {

}

.prop-doctor__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-columns: repeat(auto-fit, minmax(516px, 1fr));
    grid-gap: 20px;
    justify-content: center;
    align-items: center;
}

.prop-doctor__card {
    border: 1px solid var(--border-color);
    background: #fff;
    display: flex;
    position: relative;
    overflow: hidden;
    max-width: 600px;
    box-shadow: var(--box-shadow);
    min-height: 245px;
    margin: 0 auto;
    min-width: 516px;
    border-radius: 5rem;
    corner-shape: squircle;
    padding: 24px 30px 0;
}

.prop-doctor__image {
    position: relative;
    flex: 0 0 170px;
    padding: 0 0 calc(230px / 170px * 100%) 0;
    padding-bottom: 20.5%;
    overflow: hidden;
}

.prop-doctor__image img {
    object-fit: contain;
    object-position: bottom;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding-top: 5px;
}

.prop-doctor__body {
    width: 100%;
    padding: 20px 20px 30px;
}

.prop-doctor__name {
    font-size: 24px;
    line-height: 30px;
    display: block;
    white-space: nowrap;
    word-wrap: normal;
    text-overflow: ellipsis;
    overflow: hidden;
}

.prop-doctor__spec {
    display: block;
    padding: 20px 0;
    font-size: 14px;
    line-height: 1.42;
    white-space: nowrap;
    word-wrap: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #74828d;
}

.prop-doctor__exp {
    font-size: 14px;
    line-height: 1.42;
    color: #74828d;
    padding-top: 15px;
    border-top: 1px solid var(--bg-color);
}

.prop-doctor__hover {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    background: linear-gradient(133deg, #db8d8d91 0%, #ff00089e 100%);
    background: var(--bg-color);
    background: #ffffffbd;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.prop-doctor__card:hover .prop-doctor__hover {
    opacity: 1;
    pointer-events: initial;
}

/* /DOCTOR */
/* кнопка "Возврат к списку"*/
.return {
    text-align: center;
    padding: 40px 0;
}

.return a {
    background-color: var(--bg-color);
    border: 2px solid transparent;
    font-weight: 400;
}

.return a:hover {
    background-color: #fff;
    font-weight: 600;
    border-color: var(--main-color);
}

.news-detail__ul {
    border-radius: 5rem;
    corner-shape: squircle;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .news-detail__text li,
    .news-detail__text p {
        font-size: 14px;
    }

    .pricelist__item .pricelist__code {
        grid-area: code;
    }

    .pricelist__item .pricelist__name {
        grid-area: name;
    }

    .pricelist__item .pricelist__price {
        grid-area: price;
    }

    .news-detail__ul .pricelist__item {
        grid-template-areas:
        "code price"
        "name name";
        width: 100%;
        font-size: 12px;
        position: relative;
        overflow: hidden;
        grid-template-rows: auto;
        grid-gap: 10px;
        grid-template-columns: 1fr 1fr;
        padding: 10px 0;
    }
}

@media (max-width: 560px) {
    .prop-doctor__card {
        min-width: unset;
        min-height: unset;
        width: 100%;
    }

    .prop-doctor__image {
        display: none;
    }

    .prop-doctor__list {
        display: flex;
        flex-direction: column;
    }

    .prop-doctor__name {
        font-size: 22px;
    }
}

.page .news-detail ul li,
.page .news-detail ol li {
    left: 22px;
}

.page .news-detail ul li::before,
.page .news-detail ol > ul li::before {
    margin-left: -22px;
}
/* End */
/* /local/templates/red-gray/components/bitrix/news/page_services/bitrix/news.detail/.default/style.css?17744327336399 */
