/*
 Theme Name:   Шаблонер тема № 3145
 Template:     shabloner_3145
 Version:      1.0.0
*/

.button,
#page-menu ul ul {
    background-color: #c12929;
}
.button.button-3d:hover {
    background-color: #c12929!important;
}
.color {
    color: #c12929!important;
}
a,
.team-title span,
.feature-box.fbox-border .fbox-icon i,
.feature-box.fbox-border .fbox-icon img {
    color: #c12929;
}
.more-link {
    border-bottom: 1px solid #c12929;
}

.feature-box.fbox-border .fbox-icon {
    border: 1px solid #c12929;
}

.fancy-title.title-bottom-border h1,
.fancy-title.title-bottom-border h2,
.fancy-title.title-bottom-border h3,
.fancy-title.title-bottom-border h4,
.fancy-title.title-bottom-border h5,
.fancy-title.title-bottom-border h6 {
    border-bottom: 2px solid #c12929;
}

.emphasis-title h1, .emphasis-title h2 {
    line-height: 120%;
}

.heading-block {
    max-width: unset!important;
}

/* menu */
#page-menu-wrap {
    background-color: #c12929;
}
#page-menu nav li a {
    display: flex;
    align-items: center;
}
#page-menu nav ul li a [class^="icon-"] {
    margin: 0;
}
.menu-item .fa-brands {
    font-size: 28px;
}

#page-menu nav {
    background-color: #c12929!important;
}

.menu-item-73,
.menu-item-74 {
    display: inline-block;
    width: fit-content;
}

/* slider */
.testimonial .flex-control-nav li a {
    background-color: #c12929;
}


/* form-consult */
.content-form_wrap {
    max-width: 600px;
}
.content-form {
    position: relative;
    background: #212550;
    border-radius: 14px;
    overflow: hidden;
    padding: 40px;
    margin: 25px 0px;
}
.content-form__title {
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    line-height: 100%;
    margin: 0px 0px 14px 0px;
}
.content-form__descr {
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0px 0px 14px 0px;
}
.content-form__form {
    max-width: 400px;
    width: 100%;
}
.content-form__form br {
    display: none;
}
.content-form__form .wpcf7-form-control-wrap {
    display: flex;
    margin: 0 0 12px;
}
.content-form__form input {
    width: 100%;
    color: #333333;
    font-size: 16px;
    line-height: 24px;
    background: #ffffff;
    border: none;
    box-shadow: none;
    border-radius: 40px;
    padding: 16px 24px;
}
.wpcf7-response-output {
    color: #fff;
}
.wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}
.wpcf7-acceptance a {
    color: #fff;
    text-decoration: underline!important;
}
.wpcf7-acceptance label {
    margin: 0;
}
.wpcf7-acceptance input {
    position: absolute;
    opacity: 0;
}
span.wpcf7-not-valid-tip {
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 0.8em;
}
.wpcf7-acceptance .wpcf7-list-item-label {
    display: flex;
    gap: 5px;
    position: relative;
    flex-wrap: wrap;
    color: #ffffff;
    font-size: 0.8em;
    /* padding: 0px 0px 0px 30px; */
}
.wpcf7-acceptance .wpcf7-list-item-label:before {
    content: '';
    /* position: absolute;
    top: 0px; */
    display: block;
    width: 18px;
    height: 18px;
    font-size: 0;
    box-sizing: border-box;
    border-radius: 100%;
    background: #fff;
    border: 1px solid #CDCDCD;
    margin: 0px 12px 0px 0px;
}
.wpcf7-acceptance .wpcf7-list-item-label:after {
    content: '';
    display: none;
    position: absolute;
    top: 50%;
    left: 0px;
    width: 8px;
    height: 13px;
    border-radius: 0px;
    border-bottom: 2px solid #000000;
    border-right: 2px solid #000000;
    transform: rotate(35deg) translateY(-80%);
}
.wpcf7-acceptance input[type="checkbox"]:checked + .wpcf7-list-item-label:after {
    display: block;
}

.content-form__form .btn {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    background: #F3F4F4;
    box-shadow: 0px 1px 3px rgba(166, 175, 195, 0.4), 0px 5px 12px rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    transition: 0.3s;
    border: none;
    padding: 12px 16px;
}
.btn-white {
    color: #000;
    background-color: #fff;
}
.content-form__image {
    position: absolute;
    right: 0px;
    bottom: 0px;
    /* max-width: 200px; */
}
.content-form__image picture {
    display: block;
    width: 100%;
    height: 100%;
}
.content-form__image picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-form {
    /* padding: 120px 60px 0; */
    background: #000;
}
.footer-form__form {
    max-width: 350px;
}
.footer-form .form__input {
    display: block;
    color: #f5f5f5;
    font-size: 1rem;
    line-height: 1.5;
    width: 100%;
    padding: 0.375rem 0.75rem;
    /* margin-bottom: 1rem; */
    background-clip: padding-box;
    background-color: #222;
    border-radius: 3px;
    border: 1px solid #222;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-note_policy {
    display: block;
    font-size: 12px;
    color: #6c757d;
}
.form-note_policy a {
    color: #fff;
}

/* accordeon */
.spoiler__answer p {
    margin: 0;
}

.hero-block_section {
    position: relative;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(./images/hero.jpg);
    padding: 140px 0;
    overflow: hidden;
}
.hero-block_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* filter: blur(320.61688232421875px); */
    opacity: .5;
    background: linear-gradient(180deg, #000 105%, rgba(121, 75, 76, 0.00) 106.2%);
}
.hero-block_section_text {
    position: relative;
    margin: auto 0;
    text-align: center;
}
.hero-block_section h1 {
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    font-size: 4rem;
    line-height: 1;
    font-weight: 800;
    margin: 0 0 30px;
}
.hero-block_description {
    font-size: 24px;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    margin: 0 0 30px;
}

div.team-image img {
    max-height: 422px;
    object-fit: cover;
    /* object-position: top; */
}

.fancybox-content {
    background: unset;
}
.modal {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 0!important;
    margin: 0;
}
.modal-form__close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    transform: rotate(45deg);
    transition: 0.3s;
}

/* plus icon */
.plus-icon {
    position: relative;
    max-width: 15px;
    width: 100%;
    height: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.plus-icon::before,
.plus-icon::after {
    content: '';
    position: absolute;
    background-color: #fff;
    /* border-radius: 1px; */
}
.plus-icon::before {
    width: 15px;
    height: 2px;
}
.plus-icon::after {
    width: 2px;
    height: 15px;
}

.modal-form__close {
    position: absolute;
    right: 14px;
    top: 40px;
    cursor: pointer;
    transform: rotate(45deg);
    transition: 0.3s;
    z-index: 9;
}

.modal-form__form .content-form__image {
    display: none;
}

.wpcf7-response-output {
    display: none;
}
.wpcf7-not-valid {
    position: relative;
}
span.wpcf7-not-valid-tip {
    position: absolute;
    top: 0;
    bottom: 18px;
    left: unset;
    display: flex;
    align-items: center;
    right: 10px;
    font-size: 24px;
    font-weight: 600;
}
.wpcf7 form div.wpcf7-response-output {
    font-size: 13px;
    margin: 0 0 -27px;
    padding: 10px 0 0;
    color: #6CD817;
    border: none;
}
.wpcf7 form.invalid .wpcf7-response-output {
    color: #CA1A1A;
}
.submitting button {
    color: transparent;
    pointer-events: none;
} 
.submitting button:hover {
    transform: none;
}
.submitting button:before {
    content: '';
    position: absolute;
    top: 41%;
    left: 0;
    right: 0;
    display: block;
    width: 45px;
    height: 12px;
    background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDQzLjkxOCA1Mi4wOTkgMTIuMTY0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxjaXJjbGUgY3g9IjYiIGN5PSI1MCIgcj0iNiIgZmlsbD0iI2NjYyI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBiZWdpbj0iLjEiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjA7MTswIi8+CiAgPC9jaXJjbGU+CiAgPGNpcmNsZSBjeD0iMjYiIGN5PSI1MCIgcj0iNiIgZmlsbD0iI2NjYyI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBiZWdpbj0iLjIiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjA7MTswIi8+CiAgPC9jaXJjbGU+CiAgPGNpcmNsZSBjeD0iNDYiIGN5PSI1MCIgcj0iNiIgZmlsbD0iI2NjYyI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJvcGFjaXR5IiBiZWdpbj0iLjMiIGR1cj0iMXMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiB2YWx1ZXM9IjA7MTswIi8+CiAgPC9jaXJjbGU+Cjwvc3ZnPg==') no-repeat;
    background-size: 100%;
    margin: 0 auto;
    z-index: 5;
} 
.form__control .wpcf7-spinner {
    display: none;
}

@media (max-width: 768px) {
    .content-form__image {
        display: none;
    }

    .hero-block_section {
        padding: 70px 0;
    }
    .hero-block_section h1 {
        font-size: 2rem;
    }
    .hero-block_description {
        font-size: 18px;
    }
    .hero-block_section::before {
        opacity: .7;
    }

    .modal-form__form .content-form {
        border-radius: 0;
    }
}