/**
 * Theme Name:  AEx
 * Author:      Moonzaki
 * Author URI:  https://moonzaki.ru/
 * Description: 
 * License:     
 * License URI: 
 * Tags:        
 * Text Domain: 
 * Version:     1.0
 */
.wpcf7-list-item {margin: 0;}
.wpcf7-list-item input[type="checkbox"]:checked {background-color: var(--brand-color);border-color: var(--brand-color);color: var(--brand-color);}
.modal-form__checkbox {font-family: var(--base-font);font-size: 12px;color: var(--black-color);}
.modal-form__checkbox a {color: var(--brand-color);}
.modal-form__checkbox a:visited {color: var(--brand-color);}
.form, .modal__overlay {max-height: unset !important;}
.form-section__form {flex-wrap: wrap;}
.form-section__form .modal-form__checkbox {color: var(--white-color); margin: 0 auto;}
.form-section__form .modal-form__checkbox a {color: var(--light-color);}
.form-section__form .modal-form__checkbox a:visited {color: var(--light-color);}
.map-adress {max-width: 494px !important;}
.bitrix-section .b24-form .b24-form-wrapper {
    max-width: 100%;
    background-color: #084370;
    color: #fff;
    padding: 25px 0px;
}

.bitrix-section .b24-form-field {
    margin-bottom: 0;
}

.bitrix-section .b24-form .b24-form-wrapper.b24-form-border-bottom {
    border: unset;
}

.bitrix-section .b24-form input,
.bitrix-section .b24-form input:active {
    background-color: #084370 !important;
    border-color: #fff !important;
}

.bitrix-section .b24-form .b24-form-control-desc,
.bitrix-section .b24-form .b24-form-field-agreement-link,
.bitrix-section .b24-form .b24-form-control-label {
    opacity: 1 !important;
    color: #fff !important;
}

.bitrix-section .b24-form span,
.bitrix-section .b24-form input,
.bitrix-section .b24-form input::placeholder {
    color: #fff !important;
}

.bitrix-section .b24-form .b24-form-sign .b24-form-sign-abuse-link {
    color: #fff !important;
    border-bottom-color: #fff;
}

.bitrix-section .b24-form .b24-form-sign .b24-form-sign-abuse span {
    mix-blend-mode: plus-lighter;   
} 

.bitrix-section .b24-form .b24-form-sign,
.bitrix-section .b24-form .b24-form-content,
.bitrix-section .b24-form .b24-form-header {
    max-width: 990px;
    margin: 0 auto;
}

.bitrix-section .b24-form .b24-form-content * {
    font-family: var(--base-font) !important;
}

.bitrix-section .b24-form form  {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.bitrix-section .b24-form form > div:has(.b24-form-field-phone) {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    width: calc(75% - 30px);
}

.bitrix-section .b24-form form > div:has(button[type="submit"]) {
    order: 2;
    width: calc(25% - 15px);
    align-items: flex-start;
    margin: 0;
    flex-grow: 1;
}

.bitrix-section .b24-form form button[type="submit"] {
    background-color: #EAEFF4;
    color: #084370;
}

.bitrix-section .b24-form form > div:has(.b24-form-field-agreement-link) {
    order: 3;
}

.bitrix-section .b24-form .b24-form-wrapper {
    max-width: 100%;
}

.bitrix-section .b24-form-btn-block {
    padding: 0;
    width: 100%;
}

.bitrix-section .b24-form .b24-form-header-title {
    font-weight: 800;
    line-height: 116.523%;
    text-transform: uppercase;
    font-family: var(--second-font);
    font-size: clamp(1.625rem, 1.375rem + 1.25vw, 2.5rem) !important;
/*     font-weight: 400; */
    line-height: 117%;	
	
}

.bitrix-section .b24-form .b24-form-header-description{
	font-family: var(--base-font);
}

.bitrix-section .b24-form .b24-form-header-title,
.bitrix-section .b24-form .b24-form-header-description{
    color: #fff;
    opacity: 1;
}

@media (width <= 768px) {
    .bitrix-section .b24-form form > div:has(.b24-form-field-phone) {
        width: 100%;
    }

    .bitrix-section .b24-form form > div:has(.b24-form-field-phone) {
        flex-wrap: wrap;
        justify-content: center;
    }

    .bitrix-section .b24-form form > div:has(.b24-form-field-phone) .b24-form-field {
        width: 100%;
    }

    .bitrix-section .b24-form form > div:has(.b24-form-field-phone) input {
        width: 100%;
    } 
}
