/* Add custom styles here */
.product-color-item {
    cursor: pointer;
}

.product-color-item__inner {
    transition: 0.3s ease;
    box-shadow: 0 0 8px 2px rgba(0,0,0,0);
    padding-top: 8px;
    padding-bottom: 8px;
}

.product-color-item:hover .product-color-item__inner {
    box-shadow: 0 0 8px 2px rgba(0,0,0,.1);
}

@media (max-width:900px) {
    .product-color-item {
        flex: 0 0 25%;
        max-width: 25%;
    }   
}

@media (max-width:750px) {
    .product-color-item {
        flex: 0 0 33.3%;
        max-width: 33.3%;
    }   
}

@media (max-width:600px) {
    .product-color-item {
        flex: 0 0 50%;
        max-width: 50%;
    }   
}

.contact-block {
    align-items: stretch;
}

.contact-block__map .contact-map-wrap {
    width: 100%;
    /* height: 100%; */
    height: 364px;
}

.advantages .advantage-block__text {
    line-height: 1.5;
    color: #000;
}

.section-advantages::before {
    background-color: rgba(0,0,0,.35);
}

.offer-block__img {
    max-width: 350px;
}

.offer-block__content {
    position: relative;
}

.offer-block__content::after {
    content: '';
    display: block;
    width: 120px;
    height: 120px;
    background: url('../img/present.png') no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    bottom: -20px;
    right: 0;
}

/* @media (max-width: 900px) {
    .page-header--fixed .page-header__main {
        display: none;
    }
} */

.page-header--fixed .page-header__main {
    display: none;
}

#additional-text-field {
    display: none !important;
}

.page-header__slogan {
    font-size: 22px;
}

.certificates {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}

.certificate-image-wrap {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 12px;
    cursor: pointer;
}

.certificate-image-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
    box-shadow: 0px 6px 5px rgba(0,0,0,.12);
    transform: scale(1);
    transition: 0.3s ease;
}

.certificate-image-wrap:hover img {
    transform: scale(1.1);
}

@media (max-width: 750px) {
    .certificate-image-wrap {
        flex: 0 0 33.3%;
        max-width: 33.3%;
    }
}

@media (max-width: 550px) {
    .certificate-image-wrap {
        flex: 0 0 50%;
        max-width: 50%;
    }
}



.promo-video {
    margin-top: 60px;
}

.promo-video__title {
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

.promo-video__item {
    display: block;
    width: 650px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Inner page banner block-slider */
.banner-block {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    box-shadow: 0px 1px 10px 0px rgba(1, 1, 1, 0.25);
}

.banner-block__content {
    width: 45%;
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    justify-content: space-between;
    padding: 20px;    
    margin: 0 auto 0 0;
}

.banner-block__title-text {
    padding: 20px;
    text-align: center;
    background-color: rgba(178, 83, 69, .75);      
    color: #FFF;
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
}

.banner-block__title-text p {
    margin-bottom: 15px;
}

.banner-block__title-text p:last-child {
    margin-bottom: 0;
}

.banner-block__title-text .text-lg {
    font-size: 35px;
    font-weight: 800;
    text-transform: uppercase;
}

.banner-block__text {
    margin: 40px 0;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-block__text .text-line-item {
    color: #FFF;
    font-weight: 300;
    font-size: 34px;
    line-height: 1;
}

.banner-block__text .text-line-item:nth-child(2) {
    font-size: 50px;
    font-weight: 700;
    margin: 0 10px;
}

.banner-block__text .text-line-item:nth-child(2) del {
    text-decoration: none;
    display: inline-block;
    position: relative;
    top: -12px;
    font-weight: 400;
    font-size: 32px;
}

.banner-block__text .text-line-item:nth-child(2) del::before {
    content: '';
    display: block;
    position: absolute;
    top: 12px;
    left: -12px;
    width: calc(100% + 20px);
    height: 2px;
    background-color: #ff0000;
    transform: rotate(-20deg);
}

.banner-block__text .text-line-item:last-child {
    position: relative;
    top: -6px;
}

.banner-block__form {
    padding: 20px;
    text-align: center;
    background-color: rgba(178, 83, 69, .75);      
    color: #FFF;
}

.banner-block__form .wpcf7-form > p {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: center;
}

.banner-block__form .wpcf7-form-control-wrap {
    flex: 0 0 242px;
    max-width: 242px;
    padding-right: 12px;
}

.banner-block__form .wpcf7-form-control-wrap::before {
    content: '';
    display: block;
    width: 10px;
    height: 12px;
    background-image: url('../img/icons/input-tel.png');
    background-repeat: no-repeat;
    background-position: center center;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translate(0,-50%);
}

.banner-block__form .wpcf7-form-control-wrap input {
    width: 100%;
    padding: 5px 5px 5px 30px;
    box-shadow: 0px 1px 10px 0px rgba(1, 1, 1, 0.25);
    border: 1px solid #FFF;
    color: #FFF;
    font-size: 14px;      
    background: transparent;
}

.banner-block__form .wpcf7-form-control-wrap input::placeholder {
    color: #FFF;
}

.banner-block__form .wpcf7-submit {
    width: calc(100% - 242px);
    height: 44px;
    background: #FFF;
    color: #000;
    border: none;
    padding: 5px;
    margin: 0;
    box-shadow: 0px 1px 10px 0px rgba(1, 1, 1, 0.25);
}

.banner-block__form .wpcf7-submit:hover {
    color: #FFF;
}

.banner-block__form .form-title {
    font-weight: 300;
    font-size: 18px;
    margin: 0 0 15px 0;
}

.slide-gradient-text {
    background-image: none;
    background: linear-gradient(90deg, #DB4834 0%, rgba(219, 72, 52, 0.5) 50%, rgba(219, 72, 52, 0) 100%);
    padding: 20px 20px 20px 200px;
    color: #FFF;
    font-weight: bold;
    font-size: 42px;
    line-height: 50px;
}

.section-slider .slide-item__content--dark-red {
    background: rgba(90, 25, 16, 0.85);
    border-right: 5px solid #DB4834;
    padding: 120px 40px 120px 0;
}

.section-slider .slide-item__content--dark-red .slide-text {
    margin: 20px 0 0 0;
}

.section-slider .slide-item__content--dark-red .slide-text {
    padding-left: 200px;
}

@media (max-width: 1100px) {
    .banner-block {
        background-position: center center;
    }

    .banner-block__content {
        width: 60%;
    }

    .slide-gradient-text {
        font-size: 20px;
        padding: 20px;
    }

    .section-slider .slide-item__content--dark-red .slide-text {
        padding-left:0;
    }
}

@media (max-width: 900px) {
    .banner-block__content {
        width: 100%;
    }

    .banner-block__form .wpcf7-form-control-wrap {
        flex: 0 0 60%;
        max-width: 60%;
    }

    .banner-block__form .wpcf7-submit {
        width: 40%;
    }
}

@media (max-width: 650px) {
    .banner-block__title-text {
        font-size: 18px;
    }

    .banner-block__title-text .text-lg {
        font-size: 26px;
    }

    .banner-block__form .form-title {
        font-size: 16px;
    }

    .banner-block__form .wpcf7-form-control-wrap,
    .banner-block__form .wpcf7-submit {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }

    .banner-block__form .wpcf7-submit {
        margin-top: 10px;
    }

    .slide-gradient-text {
        font-size: 16px;
    }
}
