/* Стили раздела «Сервис», перенесены из ext.css kfork.ru */
@media (min-width: 768px) {
    .col-md-6 {
        max-width: 50%;
        flex: 0 0 50%;
        padding-right: 15px;
        padding-left: 15px;
    }
}
.mb-3, .my-3 {
    margin-bottom: 1rem !important;
}
.mt-1, .my-1 {
    margin-top: 0.25rem !important;
}
.to-remont-price-hint {
    font-size: 13px;
}

.to-remont-price .container:first-child {
    border-top: 1px solid #e7e9e8;
}

.to-remont-price .container {
    border-bottom: 1px solid #e7e9e8;
    margin-left: 0;
}

.to-remont-price .container>div>div:first-child {
    border-left: 1px solid #e7e9e8;
}
.to-remont-price .container>div>div {
    border-right: 1px solid #e7e9e8;
    padding: 15px 20px;
}

.to-remont-price .container>div>div {
    border-right: 1px solid #e7e9e8;
    padding: 15px 20px;
}

.to-remont-price-value {
    font-weight: 700;
}

.h3, .h4, .h5, .h6 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}

.h3 {
    font-size: 1.75rem;
}

@media (min-width: 576px) {
    .col-sm-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-sm-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

.service-sub-page {
    display: block;
    position: relative;
    text-transform: uppercase;
    color: black;
    font-weight: bold;
    transition: all 0.2s;
    text-decoration: none !important;
}

.service-sub-page img {
    width: 100%;
}

.service-sub-page-name {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 40%;
    min-width: 250px;
    background: rgb(242, 241, 242);
    padding: 31px 0px 6px 35px;
}

.service-sub-page-name-text {
    font-size: 85%;
}

.service-sub-page-name-hover {
    font-weight: bold;
    font-size: 65%;
    display: inline-block;
    height: 0px;
    padding-bottom: 0px;
    position: relative;
    color: black;
    margin-top: 0px;
    overflow: hidden;
}

.service-sub-page-name-hover::after {
    content: "";
    width: 0px;
    height: 3px;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background: #da062b;
    transition: all .2s;
}


/* Мобильная таблица цен: col-12 на всю ширину (на kfork.ru класса нет, строки ломались) */
@media (max-width: 575.98px) {
    .to-remont-price .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .to-remont-price .container>div>div:first-child {
        padding-bottom: 0;
    }
    .to-remont-price .container>div>div+div {
        border-left: 1px solid #e7e9e8;
        padding-top: 4px;
    }
}
