
/* Pop-up form */
form.wpcf7-form{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.pop_up__inputs_wrap,
.form__inputs_wrap{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 16px 10px 30px;
    box-sizing: border-box;
}
.step .form__inputs_wrap .form__inputs_label,
.form__inputs_label,
.pop_up__label{
    width: 49% !important;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form__radio_label,
.form__inputs_label span,
.form__label,
.pop_up__label span{
    width: 100%;
    display: block;
    text-align: left;
    color: #313131;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
}
.form__select,
.form__input,
.pop_up__input{
    width: 100%;
    max-width: 100%;
    color: #303030;
    font-size: 1em;
    padding: 1em;
    box-sizing: border-box;
    border: none !important;
    background-color: #f0f0f0;
}
.form__select:focus,
.form__select:hover,
.form__input:focus,
.pop_up__input:focus{
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.submit_wrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 16px 0 0;
    box-sizing: border-box;
}
.submit_wrap::after{
    content: '';
    width: 100%;
    height: 1px;
    background: #d6d6d6;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
}
.cf7mls_next,
.cf7mls_back,
.form__submit,
.pop_up__submit{
    background: #ff8c00 !important;
    color: #313131 !important;
    font-size: 1em !important;
    font-weight: bold !important;
    padding: 11px 25px !important;
    box-sizing: border-box !important;
    border-width: 2px !important;
    border-radius: 50px !important;
    border-style: double !important;
    border-color: #fff !important;
    cursor: pointer !important;
    transition: 0.2s ease-in !important;
}
.cf7mls_next:hover,
.cf7mls_back:hover,
.form__submit:hover,
.pop_up__submit:hover{
    color: #000 !important;
    border-color: #000 !important;
}
.wpcf7-not-valid-tip{
    color: red !important;
}

/* Форма Авторський нагляд */

.form__checkbox_wrap{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form__checkbox_line{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.form__checkbox_item{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}
.checkbox_two_col .form__checkbox_item .wpcf7-list-item{
    width: 45%;
}
.form__checkbox_item .wpcf7-list-item{
    margin-right: 10px;
    overflow: hidden;
    min-height: 37px;
    padding: 15px 0;
    box-sizing: border-box;
}
.form__checkbox_input{
    position: absolute;
    top: -100px;
    left: -100px;
    width: 0;
    height: 0;
    opacity: 0;
}
.wpcf7-checkbox .wpcf7-list-item-label{
    width: 100%;
    text-align: left;
    position: relative;
    padding: 10px 0 10px 43px;
    box-sizing: border-box;
    color: #303030;
    font-size: 1em;
    cursor: pointer;
}
.wpcf7-checkbox .wpcf7-list-item-label::after{
    content: '\2713\fe0e';
    width: 33px;
    height: 37px;
    position: absolute;
    top: 0;
    left: 0;
    background: #f0f0f0;
    border: #303030 1px solid;
    border-radius: 2px;
    opacity: 0.5;
    text-align: center;
    line-height: 37px;
    font-family: sans-serif, Segoe UI Symbol;
    font-weight: 700;
    font-size: 1em;
    color: #303030;
}
.wpcf7-checkbox input:checked+.wpcf7-list-item-label::after{
    color: #2ea3f2;
    border: none;
    opacity: 1 !important;
}
.checkbox_row .form__inputs_label{
    max-width: 31%;
    margin-top: -26px;
}
.step .checkbox_row .form__inputs_label{
    margin-top: -26px !important;
}
.checkbox_row{
    margin-bottom: 40px;
}
.checkbox_row .wpcf7-form-control-wrap{
    width: 65%;
}
.checkbox_row .form__inputs_label .wpcf7-form-control-wrap{
    width: 100% !important;
}

/* Форма Строительная амнистия */
.fieldset-cf7mls,
.step{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.step__head{
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
    box-sizing: border-box;
    border-bottom: 1px solid #d6d6d6;
}
.step__head_title{
    display: inline-block;
    margin-right: 30px;
    opacity: 0.2;
}
.step__head_title_current{
    opacity: 1 !important;
}
.step__head_title .step__head_title_num{
    display: inline-block;
    font-size: 1.5em;
    font-weight: 700;
}
.step__head_title .step__head_title_text{
    display: inline-block;
    font-size: 1em;
    margin-left: 5px;
}
.form_two_cols{
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.step__left,
.step__right{
    width: 49%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.step .form__inputs_label{
    width: 100% !important;
}
.form__select{
    cursor: pointer;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    position: relative !important;
    z-index: 1;
    outline: none;
}
.select_wrap .wpcf7-form-control-wrap{
    display: inline-block;
    position: relative;
}
.select_wrap .wpcf7-form-control-wrap:after{
    content: '▼';
    padding: 0 8px;
    font-size: 12px;
    position: absolute;
    right: 10px;
    top: 17px;
    z-index: 2;
    text-align: center;
    width: 5px;
    height: 5px;
    pointer-events: none;
    box-sizing: border-box;
    color: #000;
}
.step .form__label,
.step .form__inputs_label,
.step .form__radio_wrap{
    margin-top: 1.5em;
}
.wpcf7-radio .wpcf7-list-item{
    padding-left: 30px;
    box-sizing: border-box;
    position: relative;
}
.wpcf7-radio .wpcf7-list-item-label{
    cursor: pointer;
}
.wpcf7-radio .wpcf7-list-item-label::before{
    content: '';
    width: 15px;
    height: 15px;
    border-radius: 100%;
    border: 1px solid #2ea3f2;
    position: absolute;
    top: 2px;
    left: 10px;
    z-index: 1;
}
.wpcf7-radio input:checked+.wpcf7-list-item-label::after{
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background: #2ea3f2;
    z-index: 2;
    position: absolute;
    top: 5.5px;
    left: 13.5px;
}
.cf7mls_back{
    margin-top: -72px !important;
}

/* Форма Перевод из жилого в нежилое */
.form_two_cols .wpcf7-list-item{
    width: 49%;
    display: block;
    margin: 0 !important;
}
.form_two_cols .wpcf7-form-control-wrap{
    width: 100%;
}
.step h4{
    margin-top: 20px;
}
.form_three_cols{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.form_three_cols .form__col{
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form__radio{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.form__radio .wpcf7-list-item{
    margin: 10px 0 0 !important;
}

/* Форма Приватизация земли */
.form_col_wide{
    width: 66% !important;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.form_col_wide .form__radio{
    width: 100% !important;
    display: flex;
    flex-direction: row !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}
.form_col_wide .form__radio .wpcf7-list-item{
    width: 49% !important;
}
.form_col_narrow{
    width: 32% !important;
}
.form_col_narrow .form__checkbox_item{
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}
.form_col_narrow .wpcf7-list-item{
    width: 100% !important;
}

/* Форма Проект дома */
.form__checkbox_line .form__checkbox_item{
    padding: 0 !important;
}
.form_three_cols .form__checkbox_line .wpcf7-list-item{
    margin: 0 10px 0 0 !important;
}

.form_one_col{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.post-phone,
.post-name{
    width: 30%;
}
.post-phone input,
.post-name input{
    width: calc(100% - 30px);
}
.form-counsult-main .ajax-loader{
    display: none !important;
}
.form_consult_send{
    margin-left: 15px;
}

@media(max-width: 755px){
    
    /* Pop-up form */
    .pop_up__inputs_wrap,
    .form__inputs_wrap{
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
    }
    .step .form__inputs_wrap .form__inputs_label,
    .form__inputs_label,
    .pop_up__label{
        width: 100% !important;
    }

    /* Форма Авторський нагляд */

    .checkbox_row .form__inputs_label{
        max-width: 100%;
        margin-top: 0;
    }
    .step .checkbox_row .form__inputs_label{
        margin-top: 0 !important;
    }
    .checkbox_row .wpcf7-form-control-wrap{
        width: 100%;
    }

    /* Форма Строительная амнистия */
    
    .step__head_title{
        display: flex;
        align-items: flex-end;
    }
    .form_two_cols{
        flex-direction: column !important;
        align-items: center;
        justify-content: flex-start;
    }
    .step__left,
    .step__right{
        width: 100% !important;
    }
    .step .form__label,
    .step .form__inputs_label,
    .step .form__radio_wrap{
        margin-top: 1em;
    }
    .cf7mls_back{
        margin-top: 0 !important;
    }

    /* Форма Перевод из жилого в нежилое */
    .form_two_cols .wpcf7-list-item{
        width: 100%;
    }
    .form_three_cols{
        width: 100%;
        display: flex;
        flex-direction: column !important;
        justify-content: flex-start;
        align-items: center;
    }
    .form_three_cols .form__col{
        width: 100% !important;
    }

    /* Форма Приватизация земли */
    .form_col_wide{
        width: 100% !important;
        flex-direction: column !important;
        justify-content: flex-start;
    }
    .form_col_narrow{
        width: 100% !important;
    }
}