/* start - .offer-page */

.offer-page {}

.offer-page__banner {
    background-color: #CCC878;
    margin-bottom: 20px;
    position: relative;
}

.offer-page__banner-balloon {
    width: 670px;
    position: absolute;
    bottom: 5px;
    right: 10%;
    padding: 35px 45px 35px 35px;
    color: #00b3ba;
    font-size: 43px;
    backdrop-filter: blur(7px);
    letter-spacing: 1px;
}

.offer-page__banner-balloon p {
    text-transform: uppercase;
    background-color: #0f75bd;
    color: #fff;
}

.offer-container {
    max-width: 1170px;
    padding: 0 15px;
    margin: 0 auto;
}

.offer-page__calc {}

.calc-offer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.calc-offer-bl {
    width: 450px;
}

.calc-offer__caption {
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin: 10px 0 20px;
}

.calc-offer__caption span {
    border-bottom: 1px dashed #585f69;
    cursor: pointer;
}

.calc-offer__img {}

.calc-offer__price {
    text-align: center;
    font-size: 20px;
    margin-top: 10px;
}

.calc-offer__form {}

.calc-offer-br {
    width: 385px;
}

.offer-form-callback {
    margin: 30px 0;
    border: 1px solid;
    padding: 10px 20px 15px;
}

.offer-form-callback__caption {
    font-size: 22px;
    margin-bottom: 10px;
}

.offer-form-callback__desc {
    font-size: 16px;
}

.calc-offer__form.offer-form-callback .scorer .inputs input {
    width: 33%;
    margin: 0;
}

.calc-offer-size {}

.calc-offer__subtitle {
    position: relative;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0695b3;
}

.size-table-overlay {
    height: 300px;
    overflow: hidden;
}

.size-table {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.size-table__more-txt {
    display: inline-block;
    font-size: 13px;
    padding: 5px 0;
    cursor: pointer;
}

.size-table__more-txt:after {
    content: "\2193";
    display: inline-block;
    margin-left: 3px;
    vertical-align: text-bottom;
}

.size-table__more-txt.down:after {
    transform: rotate(180deg);
}

.size-table__header {}

.size-table__header th {
    padding: 5px;
    background-color: #0695b3;
    border: 0;
    color: #fff;
}

.size-table__body {}

.size-table__body tr:first-child td {
    padding-top: 10px;
}

.size-table__body td {
    padding: 2px;
}

.calc-offer__bottom-label span {
    font-size: 15px;
    color: #333367;
    border-bottom: 1px dashed #333367;
    cursor: pointer;
}

.calc-offer__bottom-label {
    text-align: right;
}

.calc-offer-color {
    margin-bottom: 15px;
}

.calc-offer-color__list,
.calc-offer-params__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.calc-offer-color__item {
    width: 72px;
    height: 45px;
    background-color: #440000;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 3px;
    position: relative;
    cursor: pointer;
}

.calc-offer-color__item:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: transparent;
    border: 4px solid #f9ad09;
}

.calc-offer-color__item.calc-offer-color__item_active:before {
    visibility: visible;
}

.calc-offer-color__item:before,
.calc-offer-params__item:before {
    visibility: hidden;
}

.calc-offer-params {
    margin-bottom: 15px;
}

.calc-offer-params__list {}

.calc-offer-params__item {
    cursor: pointer;
    margin-bottom: 10px;
}

.calc-offer-params__item .check_size {
    margin: 0;
}

.calc-offer-params__txt {
    position: absolute;
    top: 0;
    left: 60px;
    width: 146px;
}


/* end - .offer-page */

.check_size {
    display: block;
    width: 43px;
    margin: auto;
}

.check_size label {
    display: block;
    position: relative;
    cursor: pointer;
}

.check_size .check {
    position: relative;
    display: block;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    height: 20px;
    -webkit-transition: all 0.4s linear 0.1s;
    -o-transition: all 0.4s linear 0.1s;
    transition: all 0.4s linear 0.1s;
}

.check_size input:checked+.check span {
    left: 100%;
    margin-left: -19px;
}

.check_size .check span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 1px solid #d7d8d9;
    border-radius: 50%;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.check_size .check span::before {
    display: block;
    content: '';
    border-radius: 10px 10px 0 0;
    background: #eaeff1;
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 10px;
    background: -webkit-gradient(linear, left top, left bottom, from(#f8f9fa), to(#e6ecef));
    background: -webkit-linear-gradient(top, #f8f9fa 0%, #e6ecef 100%);
    background: -o-linear-gradient(top, #f8f9fa 0%, #e6ecef 100%);
    background: linear-gradient(to bottom, #f8f9fa 0%, #e6ecef 100%);
}

.check_size .check span::after {
    display: block;
    content: '';
    border-radius: 0 0 10px 10px;
    background: #d8dee3;
    position: absolute;
    bottom: -1px;
    left: -1px;
    right: -1px;
    height: 10px;
    background: -webkit-gradient(linear, left top, left bottom, from(#d8dee3), to(#f6f8fa));
    background: -webkit-linear-gradient(top, #d8dee3 0%, #f6f8fa 100%);
    background: -o-linear-gradient(top, #d8dee3 0%, #f6f8fa 100%);
    background: linear-gradient(to bottom, #d8dee3 0%, #f6f8fa 100%);
}

.check_size input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.check_size input:checked+.check {
    background: #0695b3;
}

.calc-offer__form .scorer form {
    display: block;
    clear: both;
    top: 52px;
    position: static;
}

.calc-offer__form .scorer input[type="text"] {
    width: 46px;
    height: 24px;
    margin: 0 7px 11px;
    text-align: center;
    font-size: 14px;
    border: 1px solid #ccc;
    padding: 0px 5px;
    border-radius: 3px;
}

.calc-offer__form .p-otkatn .scorer .avgr {
    margin-top: 8px;
}

.calc-offer__form .avgr input[type="checkbox"],
.mont input[type="checkbox"] {
    margin: 0;
}

.calc-offer__form label[for="size-x"],
.calc-offer__form label[for="size-y"] {
    display: inline-block;
    width: 62px;
}

.calc-offer__form .scorer .zakaz {
    margin-top: -5px;
    width: 360px;
    position: relative;
}

.calc-offer__form .scorer .price {
    width: 246px;
    margin: 10px 0 7px;
    font-size: 18px;
    text-align: left;
}

.calc-offer__form .scorer input[type="text"] {
    width: 49%;
    height: 40px;
    padding: 0 0;
    display: block;
    margin: 8px 0 12px;
    text-align: center;
    font-size: 16px;
}

.calc-offer__form .dop-fan {
    margin-top: -5px;
    margin-left: 17px;
}

.calc-offer__form .scorer input[type="submit"] {
    width: 200px;
}

.calc-offer__form .scorer input[type="submit"]:disabled {
    opacity: .7;
}

.notification_ok {
    font-weight: bold;
}

.calc-offer__form .scorer input[type="submit"] {
    height: 40px;
    text-transform: uppercase;
    color: #fff;
    background: #ff6948;
    border: 0;
    outline: 0;
    cursor: pointer;
    z-index: 9;
    font-size: 16px;
    transition: all .25s ease-in-out;
}

input[type="submit"]:hover {
    cursor: pointer;
    background: #d2562e;
}

.calc-offer__form .scorer .inputs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.calc-offer__form input[type="checkbox"] {
    display: inline-block!important;
    margin-right: 12px!important;
    margin-top: 10px;
}

.offers-section {}

.offers-section__title {
    font-weight: 700;
    font-size: 25px;
    margin-bottom: 15px;
}

.works {
    margin-bottom: 30px;
}

.works__slider {}

.works__slide {
    width: 100%;
    height: 200px;
}

.works__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works__slider .owl-prev {
    float: left;
}

.works__slider .owl-nav {
    font-size: 33px;
    overflow: hidden;
}

.works__slider .owl-next {
    float: right;
}

.advantage {}

.offers-section__title {}

.advantage__line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 15px;
}

.advantage__item {
    width: 25%;
    text-align: center;
}

.advantage__pic {
    margin-bottom: 5px;
}

.advantage__note {}

.garant {
    position: relative;
    margin-bottom: 20px;
}

.garant__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.garant__text {
    position: absolute;
    left: 0;
    top: 0;
    backdrop-filter: blur(7px);
    max-width: 430px;
    height: 100%;
    color: #f96433;
    padding: 30px;
    font-size: 45px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.help-icon {
    display: inline-block;
    height: 20px;
    width: 20px;
    background: url("/special-offer/img/icons.png") no-repeat;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    vertical-align: bottom;
    cursor: pointer;
}

.help_drop {
    position: absolute;
    bottom: 100%;
    left: 38%;
    z-index: 90;
    width: 185px;
    height: 0;
    overflow: hidden;
}

.help_drop.active {
    height: auto;
    overflow: visible;
}

.help_drop.active .help_drop_box {
    opacity: 1;
}

.help_drop.right {
    left: auto;
    right: 0;
}

.help_drop.right .help_drop_box::before {
    left: auto;
    right: -1px;
    background: url("../img/bg_help_right.png") no-repeat;
}

.help_drop.bottom {
    bottom: auto;
    top: 200%;
}

.help_drop.bottom .help_drop_box {
    margin: 13px 0 0;
}

.help_drop.bottom .help_drop_box::before {
    background: url("/special-offer/img/bg_help.png") no-repeat;
    bottom: auto;
    top: -11px;
    -webkit-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
}

.help_drop.bottom.active {
    top: 100%;
}

.help_drop_box {
    position: relative;
    background: #f5f7f8;
    border: 1px solid #dbe1e6;
    color: #333367;
    font: 14px/19px 'Roboto', Arial, Tahoma, Geneva, sans-serif;
    padding: 15px 15px 10px;
    margin-bottom: 13px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    opacity: 0;
}

.help_drop_box::before {
    display: block;
    content: '';
    height: 11px;
    width: 12px;
    background: url("/special-offer/img/bg_help.png") no-repeat;
    position: absolute;
    bottom: -11px;
    left: -1px;
}

.close_drop {
    display: block;
    height: 9px;
    width: 9px;
    background: url("/special-offer/img/icons.png") no-repeat -21px 0;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

.is-mobile {
    display: none;
    float: right;
}

@media (max-width: 1700px) {
    .offer-page__banner-balloon {
        font-size: 2.9vw;
        width: 51vw;
        bottom: 0;
        top: 0;
        right: 0;
    }
}

@media (max-width: 1170px) {
    .offer-container {
        padding: 0 25px;
    }
}

@media (max-width: 940px) {
    .calc-offer__form.offer-form-callback .scorer .inputs input {
        width: 48%;
    }
    .calc-offer__form.offer-form-callback .scorer .inputs input[type=submit] {
        margin-top: 10px;
        width: 100%;
    }
    .garant__text {
        width: 44%;
        font-size: 4vw;
    }
}

@media (max-width: 850px) {
    .calc-offer {
        position: relative;
        justify-content: space-around;
    }
    .calc-offer__caption {
        text-align: left;
        display: inline-block;
    }
    .calc-offer-br .calc-offer__caption {
        display: none;
    }
}

@media (max-width: 650px) {
    .offer-page__banner-balloon {
        padding: 12px;
    }
    .advantage__item {
        width: 46%;
        margin: 0 2%;
    }
    .garant__text {
        padding: 10px;
        width: 50%;
        font-size: 4vw;
    }
}

@media (max-width: 415px) {
    .calc-offer__caption {
        font-size: 20px;
    }
    .offer-form-callback {
        padding: 10px 10px 15px;
    }
    .advantage__item {
        width: 100%;
        margin: 0;
    }
}

tbody.js-alutech.size-table__body tr {
    overflow: hidden;
}

li.calc-offer-color__item {
    overflow: hidden;
}


/* .check_size {
    position: relative;
    overflow: hidden;
} */

.calc-offer-params {
    overflow: hidden;
}

@media (max-width: 768px) {
    .check_size {
        display: block;
        width: 43px;
        margin: auto;
        position: relative;
    }
}

ul.js-hormann.calc-offer-color__list li.calc-offer-color__item {
    overflow: unset;
}


/* 
@media (max-width: 768px) {
    li.calc-offer-color__item a span {
        opacity: 1;
        position: absolute;
        z-index: 2;
        bottom: 0;
        top: unset;
        left: 5px;
        width: calc(100% - 10px);
        transform: none;
        border-radius: 5px 5px 0px 0px;
        white-space: break-spaces;
        font-size: 11px;
        text-align: center;
    }
    li.calc-offer-color__item._color {
        width: calc(50% - 4px);
    }
} */

@media (max-width: 768px) {
    li.calc-offer-color__item a span {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        white-space: break-spaces;
        font-size: 12px;
    }
    li.calc-offer-color__item._color {
        width: calc(33% - 4px);
    }
}

ul.js-hormann.calc-offer-color__list._ferma li.calc-offer-color__item._ferma {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

li.calc-offer-color__item._ferma b {
    height: 40px;
    position: relative;
    transform: none;
    top: unset;
    left: unset;
    min-width: 90%;
    width: 90%;
    display: block;
    margin: 13px auto 5px;
    min-height: 40px;
}

ul.js-hormann.calc-offer-color__list._ferma li.calc-offer-color__item._ferma>span {
    display: block;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 8px;
}

ul.js-hormann.calc-offer-color__list._ferma {
    display: flex;
    flex-wrap: wrap;
}

li.calc-offer-color__item a {
    position: absolute;
    top: 0;
    left: 0;
}

ul.js-hormann.calc-offer-color__list._ferma {
    overflow: hidden;
}

@media (max-width: 768px) {
    ul.js-hormann.calc-offer-color__list._ferma li.calc-offer-color__item._ferma>span {
        font-size: 12px;
    }
}