/* Start custom CSS */.form-block {
    padding: 5rem 0;
}

#advantages h2,
.form-block h2 {
    font-size: 2.25rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
}
form br {
    display: none;
}

form {
    position: relative;
    border: 0 !important;
}
.form-row {
    text-align: center;
}
form fieldset {
    padding-top: 5rem !important;
}
.cf7mls_progress_bar_percent_wrap > div:not(.cf7mls_progress_percent) {
    display: none;
}
fieldset:nth-child(1) .cf7mls_progress_barinner {
    width: 25% !important;
}
form .wpcf7-form-control.wpcf7-radio {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}
form .wpcf7-list-item label {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}
form .wpcf7-list-item {
    margin: 0;
    flex: 0 0 31%;
    height: 16rem;
    display: flex;
    align-items: flex-end;
    padding: 0.25rem 0.25rem 1rem;
    border: 1px solid #2091F9;
    border-radius: 1rem;
    position: relative;
}
form .wpcf7-list-item input {
    margin-left: 0.5rem !important;
    margin-bottom: 0.25rem !important;
}
form .wpcf7-list-item .wpcf7-list-item-label {
    font-size: 1rem;
    color: #252B42;
}
form .wpcf7-list-item input:before {
    content: '';
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    border-radius: 1rem;
}
form .wpcf7-list-item input:after {
    content: '';
    display: block;
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 4.5rem);
    border-radius: 1rem 1rem 0px 0px;
    background: url(/wp-content/uploads/2023/02/step_1_1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
form .wpcf7-list-item:nth-child(2) input:after {
    background: url(/wp-content/uploads/2023/02/step_1_2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
form .wpcf7-list-item:nth-child(3) input:after {
    background: url(/wp-content/uploads/2023/02/step_1_3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
form .wpcf7-list-item:nth-child(4) input:after {
    background: url(/wp-content/uploads/2023/02/step_1_4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
form .wpcf7-list-item:nth-child(5) input:after {
    background: url(/wp-content/uploads/2023/01/step_1_5.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
form fieldset[data-cf7mls-order="1"] .wpcf7-list-item:nth-child(1) input:after {
    background: url(/wp-content/uploads/2023/01/step_2_1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
form fieldset[data-cf7mls-order="1"] .wpcf7-list-item:nth-child(2) input:after {
    background: url(/wp-content/uploads/2023/01/setp_2_2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(180deg);
}
form fieldset[data-cf7mls-order="1"] .wpcf7-list-item:nth-child(3) input:after {
    background: url(/wp-content/uploads/2023/02/step_2_3.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.cf7mls_next,
.cf7mls_back {
    border: 2px solid !important;
    border-radius: 2rem !important;
    font-size: 1rem;
    line-height: 1.3;
    padding: 1rem 1.5rem !important;
}
.cf7mls_next {
    background: #2091F9 !important;
}
.cf7mls_next:after {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    position: relative;
    top: 2px;
    margin-left: 0.75rem;
    background: url(/wp-content/uploads/2023/01/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.cf7mls_back {
    background: #0000 !important;
    color: #2091F9 !important;
    border:2px solid #2091F9 !important;
}
.cf7mls_back:before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    position: relative;
    top: 2px;
    margin-right: 0.75rem;
    background: url(/wp-content/uploads/2023/01/aroow_back.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.cf7mls_progress_bar_percent_wrap {
        position: absolute;
    top: 0;
    width: 100%;
    left: 0;
}
.cf7mls-btns,
fieldset > p:nth-child(4){
    width: 50%;
    margin: 4rem auto 0 !important;
}
.cf7mls_progress_bar_percent_wrap .cf7mls_progress_percent {
    margin: 0 !important;
    height: 4px;
    background: #E4E4E4;
}
.form-row label {
    display: block;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    text-align: center;
    color: #2091F9;
    margin-bottom: 3rem;
}
.form-row label .required {
    color: #EC007F;
}
.wpcf7 .wpcf7-form-control-wrap {
    text-align: center;
}
.wpcf7-tel,
.wpcf7-text {
    width: 50% !important;
    margin: auto !important;
    border-radius: 2rem !important;
    padding: 1rem 1.5rem !important;
    background: #0000 !important;
    border: 2px solid #E8E8E8;
    color: #000 !important;
}
.wpcf7-text:after {
    content: 'м2';
    display: inline-block;
}
form p {
    margin-bottom: 0 !important;
}
.form-row.submit p {
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.wpcf7-submit {
    border: 2px solid !important;
    border-radius: 2rem !important;
    font-size: 1rem;
    line-height: 1.3 !important;
    padding: 1rem !important;
    width: 50% !important;
    background: #2091F9 !important;
    display: block;
    margin: 3rem auto 1rem !important;
}
.form-row img {
    width: 40%;
    margin-bottom: 2rem
}

#advantages {
    padding-bottom: 5rem;
}
#advantages h2 {
    width: 65%;
    margin: 0 auto 5rem;
}
.advatages {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.advantages__col {
    flex: 0 0 24%;
}
.advantages__header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.advatages .icon {
    background: linear-gradient(39.97deg, #00F3B9 0.79%, #2187FF 79.29%);
    color: #fff;
    display: flex;
    align-items: center;
    width: 4rem;
    height: 4rem;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    
}
.advatages .text {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #252B42;
}
.advantages__info {
    color: #737373;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0 !important;
}
.wpcf7-response-output {
    text-align: center;
    font-weight: 500;
    font-size: 1.25rem;
}
@media (max-width: 768px) {
    form .wpcf7-list-item {
        flex: 0 0 45%;
        height: 18rem;
    }
    #advantages h2,
    .form-block h2 {
        width: 100%;
        font-size: 1.75rem !important;
    }
    .advantages__col {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
}
@media (max-width: 500px) {
    form .wpcf7-list-item {
        flex: 0 0 100%;
    }
    .cf7mls-btns, fieldset > p:nth-child(4) {
        width: 100% !important;
    }
    .form-row img {
        width: 75%;
    }
    .wpcf7-tel, .wpcf7-text {
        width: 80% !important;
    }
    .wpcf7-submit {
        width: 80% !important;
    }
    .cf7mls-btns, fieldset > p:nth-child(4) {
        margin: 1rem auto 0 !important;
    }
}/* End custom CSS */