.contact_form_wrap{
    display: flex;
    gap: 64px;
}
.contact_form_title{
    margin-bottom: 16px;
}
.contact_form_text{
    font-weight: 400;
    color: #595959;
    margin-bottom: 32px;
}
.contact_form_text-block{
    max-width: 569px;
    width: 100%;
}
.contact_form_img{
    width: 30%;
}
.contact_form{
    padding: 32px;
    background: #FAFAFA;
    border-radius: 12px;
}

.contact_form .wpcf7-form-control-wrap input, .contact_form .wpcf7-form-control-wrap textarea{
    width: 100%;
    margin-bottom: 16px;
    border: 1px solid #F0F0F0;
    border-radius: 8px;
    padding: 16px;
    min-height: 24px;
}
.wpcf7-form-control-wrap textarea{
    resize: none;
}
.contact_form .wpcf7-form-control-wrap input::placeholder,
.wpcf7-form-control-wrap textarea::placeholder{
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.25px;
    text-align: left;
    color: #8C8C8C;
}

.contact_form .wpcf7-form-control-wrap input:active, .contact_form .wpcf7-form-control-wrap textarea:active{
    border: 1px solid var(--primary);
}
.contact_form .wpcf7-form-control-wrap input:focus, .contact_form .wpcf7-form-control-wrap textarea:focus{
    border: 1px solid var(--primary);
    outline: none;
}
.contact_form .wpcf7-form-control-wrap input.wpcf7-not-valid, .contact_form .wpcf7-form-control-wrap textarea.wpcf7-not-valid{
    border: 1px solid #D93737;
}
.wpcf7-not-valid-tip{
    margin-top: -15px;
    margin-bottom: 24px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    border: none;
    padding-left: 0;
}

.wpcf7-list-item{
    width: 100%;
    margin-left: 0;
}
.wpcf7-list-item label{
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.contact_form .wpcf7-form-control-wrap .wpcf7-list-item label>input[type=checkbox] {
    /*position: relative;*/
    position: absolute;
    visibility: hidden;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
}

.contact_form .wpcf7-form-control-wrap .wpcf7-list-item label>input[type=checkbox] + span:before {
    display: block;
    position: absolute;
    content: '';
    height: 16px;
    width: 16px;
    top: 4px;
    left: 0px;
    border-radius: 4px;
    border: 1px solid #D9D9D9;
}
.contact_form .wpcf7-form-control-wrap .wpcf7-list-item label>input[type=checkbox] + span:after {
    display: block;
    position: absolute;
    content: "\2713";
    height: 16px;
    width: 16px;
    top: -4px;
    left: 0;
    visibility: hidden;
    font-size: 18px;
    text-align: center;
    line-height: 30px;
}
.contact_form .wpcf7-form-control-wrap .wpcf7-list-item label>input[type=checkbox]:checked + span:before {
    background: transparent;
}
.contact_form .wpcf7-form-control-wrap .wpcf7-list-item label>input[type=checkbox]:checked + span:after {
    visibility: visible;
}

.wpcf7-list-item-label{
    color: #000;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    padding-left: 25px;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip {
    display: none;
}

.wpcf7-form-control-wrap input[type="text"] ~ .wpcf7-not-valid-tip:first-of-type,
.wpcf7-form-control-wrap input[type="email"] ~ .wpcf7-not-valid-tip:first-of-type,
.wpcf7-form-control-wrap textarea ~ .wpcf7-not-valid-tip:first-of-type {
    display: block;
}

.wpcf7-form-control-wrap[data-name="term_and_conditions"] > span:nth-child(2) {
    display: block;
}

.wpcf7-form-control.btn-primary{
    min-height: 52px;
    padding: 0 40px;
}

.wpcf7-spinner{
    display: none;
}

@media (max-width: 1024px) {
    .contact_form_wrap{
        flex-direction: column;
    }
    .contact_form_text-block, .contact_form_img{
        width: 100%;
    }
    .contact_form_text-block{
        max-width: 100%;
    }
}

.contact_info_slides{
    display: flex;
    flex-direction: column;
}
.contact_info_slides-block{
    display: flex;
    align-items: baseline;
    padding-top: 32px;
    padding-bottom: 32px;
    width: 100%;
}
.contact_info_slides-block:not(:last-child){
    border-bottom: 1px solid #F0F0F0;
}
.contact_info_img{
    max-width: 64px;
    padding-right: 22px;
}
.contact_info_slides-block_subtitle{
    color: #595959;
    font-weight: 400;
    margin: 8px 0 16px 0;
}
.contact_info_slides-block a[href^="mailto"], .contact_info_slides-block a[href^="tel"] {
    color: var(--primary);
    transition: var(--transition);
}
.contact_info_btn{
    padding: 0;
    justify-content: left;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: 0.25px;
    text-align: left;
    text-decoration: underline;
}
@media (max-width: 1024px) {
    .section-contact_form{
        padding-top: 160px;
    }
    .contact_info_slides{
        flex-direction: row;
        flex-wrap: wrap;
    }
    .contact_info_slides-block{
        width: 48%;
    }
    .contact_info_slides-block:last-child{
        width: 100%;
    }
}
@media (max-width: 640px) {
    .section-contact_form{
        padding-top: 125px;
    }
    .contact_info_slides-block{
        width: 100%;
    }
    .contact_form{
        padding: 16px;
    }
}
