/*
Theme Name: wind
Version: 1.0.0
Author: Burlet Mikhail
Author URI: https://burlet-mikhail.ru/
*/
.btn-b:hover {
    color: #ffffff;
}

/* Contact Form 7 - Кастомный чекбокс */
label.checkbox {
    position: relative;
}

/* Скрываем весь блок с input */
label.checkbox .wpcf7-form-control-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
}

label.checkbox .checkbox__text {
    display: block;
    padding-left: 32px;
    font-size: 12px;
}

/* Рамка чекбокса */
label.checkbox .checkbox__text:after {
    content: "";
    position: absolute;
    border-radius: 2px;
    border: 1px solid rgba(17, 17, 17, .24);
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

/* Галочка */
label.checkbox .checkbox__text:before {
    content: "";
    position: absolute;
    border-radius: 2px;
    background: url(assets/img/site/check.svg) center center no-repeat;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    opacity: 0;
}

/* Показываем галочку при checked */
label.checkbox .wpcf7-form-control-wrap:has(input:checked) ~ .checkbox__text:before {
    opacity: 1;
}

label.checkbox a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #216397;
}

.hero-production .img video {
    width: 100%;
    object-fit: cover;
}

.flex-cap {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.flex-cap .item {
    margin-right: 15px;
}

.flex-cap .item input {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.35;
    color: #111111a3;
    padding-top: 8px;
    padding-bottom: 8px;
    border: none;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(17, 17, 17, .24);
    background: none;
}

.all-product .desc {
    box-shadow: 0 0 20px 2px rgba(17, 17, 17, 0.04);
    background: #f5f5f5;
    border-radius: 8px;
    padding: 32px;
}

.all-product .desc svg {
    margin-bottom: 12px;
}

.all-product .desc .flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.all-product .desc .h3-title {
    margin-bottom: 16px;
    margin-right: 15px;
}

.all-product .desc .text {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
}

@media (max-width: 767px) {
    .all-product .desc {
        padding: 16px;
    }

    .all-product .desc .flex {
        flex-direction: column-reverse;
    }

    .all-product .desc .text {
        font-size: 16px;
    }
}

.cities-hide {
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* Hover-эффект для городов на карте */
[class*="city-"].active.cities-hide {
    opacity: 1;
}

/* Hover-эффект для городов на карте */
rect[class*="city-"][fill="#216397"].active,
path[class*="city-"][fill="#216397"].active {
    fill: #1b527e;
}

/* Hover-эффект для городов на карте */
rect[class*="city-"][fill="#216397"],
path[class*="city-"][fill="#216397"] {
    -webkit-transition: all 0.3s !important;
    -moz-transition: all 0.3s !important;
    -ms-transition: all 0.3s !important;
    -o-transition: all 0.3s !important;
    transition: all 0.3s !important;
}
