/* формы и инпуты */
.form_input {
    border: 0;
    background: none;   
    border-bottom: 1px solid var(--black600);
    line-height: 110%;
    font-family: var(--font_inter_tight);
    width: 100%;
    display: flex;
}
.form_input::placeholder { color: var(--black200); }
.form_input:focus::placeholder, .form_input { color: var(--black900); }
.form_input:focus { border-bottom: 1px solid var(--blue500); }
.form-error.form_input { border-bottom: 1px solid var(--red700); }
.form-error.form_clue { color: var(--red700); }
.form-label {
    font-family: var(--font_inter_tight);
}
.form_block_pass .form_input_showpass, .form_block_search .form_input_search {
    position: absolute;
    height: 100%;
    left: 0;
    display: flex;
    align-items: center;
}
.form_block_pass .form_input, .form_block_search .form_input { padding-left: 28px; }
.form_input_showpass svg, .form_input_search svg{
    pointer-events: none;
    width: 20px;
    height: 20px;
}
.form_clue {
    line-height: 130%;  
    font-family: var(--font_inter_tight);
    color: var(--black200);
}
.form__inputclear{
    display:none;
}
.form_textarea{
  padding:10px 0;
}

.form-outer{
    padding:24px;
    background: var(--white0);
}

/*file*/
.form__file > input[type="file"]{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    border:0
}
.form__file{
    position:relative;
    width:auto;
    cursor:pointer;
    display: inline-flex;
    align-items: center;
    min-width: 0;
    flex:1;
}
.form__filetext{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
}
.form__file:hover .form__filetext{
    color: var(--black);
} 
.form__file > .form__fileclear {
    display: none;
    margin-left: 16px;
    min-width: 32px;
}

.form__answer{
    display:none;
}

.form__file_add > .form__fileclear {
    display: inline-flex;
}

.form__file:before {
    content: var(--upload_file);
    padding-left: 55px;
    background: url('i/icon-file.svg') calc(50% - 68px) center no-repeat;
    height: 52px;
    line-height: 52px;
    
    text-decoration: none !important;
    text-align: center;
    white-space: nowrap;
    font-family: var(--font_inter_tight);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    
    cursor: pointer;
    border: 1px solid var(--black900);
    color: var(--black900);
    background-color: transparent;
    width:100%;
}
.form__file:hover:before{
    border-color: var(--black500);
    color: var(--black700);
}

.form__file_add:before {
    display:none;
}

.form__sub{
    display:flex;
    align-items: center;
    margin-top: 8px;
    min-height:19px;
}
.form__sub_show, .form__sub_error{
  display: flex;
}
.form_checkbox .form__sub{display:none}
.form__suberror{
  display: none;
}
.form_checkbox .form__sub.form__sub_error{display:inline-flex}
.form__sub_error .form__suberror{
  display: inline-flex;
}
.form__sub_error .form__subtxt{
  display: none;
}
.inline-button{
    margin-bottom:27px;
}

@media (min-width: 567px) {
    .form__file:before {
/*        width:100%;*/
        padding-left:62x;
    }
    .special-files>:nth-child(2){
        flex-basis: 220px;
    }
    .special-files>:nth-child(1){
        flex-basis: calc(100% - 220px);
    }    
    .form__file{
        margin-bottom:27px;
    }
    .form-outer{
        padding:48px;
    }
 }

/*md*/
@media (min-width: 768px) { 
    .form_block_pass.form_input, .form_block_search.form_input { padding-left: 32px; }
    .form_list_item { padding: 16px; }
    .form_textarea{
  padding:20px 0 10px;
}
    .form__file:before {
        padding:0 40px;
        padding-left:74px;
    }
    .special-files>:nth-child(2){
        flex-basis: 258px;
    }
    .special-files>:nth-child(1){
        flex-basis: calc(100% - 258px);
    }
}

/*md*/
@media (min-width: 992px) { 
    .form__file:before {
        padding:0 40px;
        padding-left:74px;
        height:64px;
        line-height:64px;
    }
    .form-outer{
        padding:64px;
    }
}