/** custom s_omel */

/** Определение используемых переменных **/
:root{
    --section_title_elements_color: #444444;
    --table_top_row_color: #0070af;
    --table_background_color: #f4f8f9;
    --table_border_color: #ffffff;
    --table_stock-color: #01A2A2;
}

body{
    --header__img_height: 150px;
}
/** ---------- END ----------  **/

.underline{
    text-decoration: underline;
}

.wrapper-img{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/** Шапка сайта **/
header.wave-style {
    background-image: url('/upload/bg/bg3resize.webp');
    background-size: cover;
    background-repeat: no-repeat;
}
header.wave-style .header__main-row {
    position: relative;
    background-color: unset;
}
header.wave-style::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(255, 255, 255, 0.75);
}
@media(min-width: 300px) {
    header.wave-style {
        background-position-y: 0%;
    }
}
@media(min-width: 425px) {
    header.wave-style {
        background-position-y: 10%;
    }
}
@media(min-width: 1024px) {
    header.wave-style {
        background-position-y: 30%;
    }
}


.header__logo-img.change-img-size {
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.header__logo-img.change-img-size  img{
    height: var(--header__img_height);
}

.header__phone-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media(max-width: 768px){
    body{
        --header__img_height: 100px;
    }
}
@media(max-width: 400px){
    body{
        --header__img_height: 80px;
    }
}
.mock{
    min-height: 5px;
    min-width: 5px;
}

/** Изображение карточки слайдера на главной **/
.slider-img-circle .service__slider__card__img img{
    border-radius: initial;
}

/** Акция - детальная страница **/
.stock-block .stock-block-item{
    margin-bottom: 32px;
}
.stock-block-item img{
    border-radius: 16px;
}
.stock-block-item.stock-block__validity-period {
    margin-bottom: 48px;
}
.stock-block-item.stock-block__validity-period .columns p{
    text-align: center;
    font-weight: 700;
    line-height: 52px;
    font-size: 48px;
}
@media(max-width: 991px){
    .stock-block-item.stock-block__validity-period .columns p{
        line-height: 38px;
        font-size: 36px;
    }
}

/* .main__news__card-img a img,
.ct__bnl-blog_card .news__card-img a img {
    object-fit: initial;
} */

.title_h3{
    text-align-last: center;
}
.title_h3 .block__title{
    position: relative;
    display: inline-block;
    max-width: 85%;
    text-align: center;
    color: var(--section_title_elements_color);
    font-size: 44px;
    font-weight: 400;
    line-height: 115%;
    text-transform: uppercase;
}
.title_h3 .block__title::before {
    content: '';
    position: absolute;
    left: -70px;
    top: 22px;
    width: 50px;
    height: 2px;
    background-color: var(--section_title_elements_color);
}
.title_h3 .block__title::after {
    content: '';
    position: absolute;
    right: -70px;
    top: 22px;
    width: 50px;
    height: 2px;
    background-color: var(--section_title_elements_color);
}

/** Таблица цен услуг **/
.stock-block-item .service_price_table table{
    margin-bottom: 15px;
}
.stock-block-item .service_price_table table{
    margin-bottom: 15px;
}

.stock-block-item .service_price_table table tr.th_price_service {
    border-radius: 5px;
}
.service_price_table table tr {
    margin: 10px 0;
    border-radius: 5px;
    background-color: var(--table_background_color);
    border-top: 10px solid var(--table_border_color);
    border-bottom: 10px solid var(--table_border_color);
}
.service_price_table table th:first-child{
    width: 50%;
}
.service_price_table table th:first-child,
.service_price_table table tr td.service_title_td{
    text-align: left;
}
.service_price_table table tr.th_price_service th {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    font-weight: 700;
}
.service_price_table table tr.th_price_service th:first-child {
    text-align: left;
}
.service_price_table th.table_bcg {
    padding: 15px !important;
    background-color: var(--table_top_row_color);
    color: var(--table_border_color);
}
.service_price_table .service_title_td {
    padding: 15px;
}
.service_price_table table td {
    color: var(--section_title_elements_color);
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
}
.service_price_table table td{
    text-align: center;
}
.service_price_table td u {
    text-decoration: line-through;
}
.service_price_table tr td:nth-child(3), .service_price_table tr td:last-child {
    color: var(--table_stock-color);
    font-weight: 700 !important;
}

.blog__card-text{
    --gren-bg-color: #01a2a2;
    --gray-bg-color: #F5F5F5;
    --blue-bg-color: #0070af;
    --white-text-color: #fff;
}

.blog__card-text .green-bg__block{
    background-color: var(--gren-bg-color);
    color: var(--white-text-color);
}
.blog__card-text .gray-bg__block{
    background-color: var(--gray-bg-color);
}
.blog__card-text .blue-bg__block{
    background-color: var(--blue-bg-color);
}
.blog__card-text .green-bg__block p,
.blog__card-text .blue-bg__block p,
.blog__card-text .green-bg__block h4,
.blog__card-text .blue-bg__block h3,
.blog__card-text .green-bg__block h3,
.blog__card-text .blue-bg__block h4{
    color: var(--white-text-color);
}
.blue-bg__block .title_h3 .block__title::before,
.blue-bg__block .title_h3 .block__title::after,
.green-bg__block .title_h3 .block__title::before,
.green-bg__block .title_h3 .block__title::after{
    background-color: var(--white-text-color);
}
.blog__card-text h4{
    color: var(--section_title_element);
}
.stock-block-item{
    padding: 1.5rem;
}
.stock-block-item .flex{
    display: flex;
    flex-direction: row;
}
.blog__card-text .stock-block-item h4{
    color: var(--section_title_elements_color);
}
.stock-block-item .include-block{
    padding: 1rem;
    border-radius: 16px;
}
@media(max-width: 768px){
    .stock-block-item .flex{
        flex-direction: column;
        gap: 16px;
    }
}

/** Статья - детальная страница **/
.article__detail .article__block{
    margin-bottom: 32px;
}
.article__detail .important-info .paragraph{
    padding: 16px;
    background-color: var(--main_elem_base_color);
    color: var(--main_elem_text_color);
}
.article__detail .list{
    list-style-type: none;
    counter-reset:  item;
    padding: 0;
}
.article__detail .list li::before{
    margin-right: 8px;
}
.article__detail .list.article__list_checkmark li::before{
    content: "✓";
}
.article__detail .list.article__list_numbers li::before{
    content: counter(item) ') ';
    counter-increment: item;
}

/** Раздел "Услуги" **/
.ct__bnl-direction .direction__card-img img {
    border-radius: initial;
}

/** Переопределение цвета чекбокса запроса согласия пользователя **/
.contacts-feedback input[type="checkbox"]+label:before,
.footer-feedback input[type="checkbox"]+label:before,
.modal-content input[type="checkbox"]+label:before {
    /* border-color: var(--site_footer_border_color); */
    border-radius: 2px;
    background-color: #f0f3f8;
    box-shadow: inset 2px 2px 4px #e7eaf1;
    border: 1px solid #e3e6ef;
}

/** Список врачей **/
.people__card-experience{
    display: flex;
    justify-content: start;
    margin-bottom: 8px;
}
.people__card-experience_value{
    color: var(--page_title_color);
    font-weight: var(--header__font_weight);
    background-color: var(--auxiliary_elem_bg);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
}

.ct__bnl-people .people__card-text,
.ct__bcst-people .people__card-text{
    margin-bottom: .3125rem;
}
.ct__bnl-people .people__card-rank,
.ct__bcst-people .people__card-rank{
    font-size: 14px;
    line-height: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.main__specialists__slider__card .main__specialists__slider__card-text{
    margin-bottom: .3125rem;
}
.main__specialists__slider__card .main__specialists__slider__card-rank{
    color: var(--page_title_light_color);
    font-size: 14px;
    margin-bottom: 20px;
}

/** Детальная странциа направления **/
.page__direction-specialists__wrap .specialists__card-text__wrap{
    margin-bottom: 8px;
}

/** Кнопка скролла вверх **/
a#scrollUp{
    bottom: 100px;
    right: 32px;
}

/** Виджет обратной связи Whatsapp **/
@keyframes tossing{
    0% {
        -webkit-transform: rotate(-12deg);
    }
    50% {
        -webkit-transform: rotate(12deg);
    }
    100% {
        -webkit-transform: rotate(-12deg);
    }
}

#whatsapp-help{
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    z-index: 1000;
}
#whatsapp-help .whatsapp-help__link{
    width: 50px;
    height: 50px;
    order: 2;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
    overflow: hidden;
    box-shadow: rgb(0 0 0 / 40%) 2px 2px 6px;
    transition: all 0.5s ease 0s;
    position: relative;
    z-index: 200;
    display: block;
    border: 0px;
    background: rgb(77, 194, 71) !important;
    animation: tossing 1.5s linear infinite;
}

/**  **/
.banner_public_offer{
    border: 1px solid var(--main_elem_base_color);
    border-radius: 0.25rem;
}
.banner_public_offer .content{
    padding: 1.375rem 0;
    font-size: 1.275rem;
    line-height: 1.25;
    text-align: center;
}
@media (max-width: 1199px) {
    .banner_public_offer .content {
        padding: 1rem 0;
        font-size: 0.975rem;
    }
}
@media (max-width: 991px) {
    .banner_public_offer .content {
        padding: .75rem 0;
        font-size: 0.725rem;
    }
}

/** Виджет цен medflex */
#medflexPricesWidgetData {
    margin-left: -16px;
    margin-right: -16px;
}
#medflexPricesWidgetData .medflex-prices-widget {
    max-width: 100%;
}

/** Детальная страница услуги */
.prices__card .prices__card-price.--has-old-price {
    color: #FF0000;
    font-weight: 500;
}
.prices__card .prices__card-price.--has-old-price .prices__card-oldprice {
    color: var(--page_text_color);
    font-weight: 400;
}