#docs_step1 {
    width: 100%;
    margin: 48px 0;
}

#telefon_form label {
    font-size: 18px;
    margin-bottom: 18px;
    display: block;
}

#telefon_form .form-input-box {
    position: relative;
    margin-bottom: 28px;
}

.preload_text_selecter {
    position: absolute;
    margin: 10px auto;
    display: block;
    bottom: 30%;
    left: 38%;
    z-index: 1000000;
/* background: #fff; */
    color: #cecece;
}

#telefon_form .form-input {
    border: 1px solid #9C9C9C;
    color: #36383C;
    font-size: 18px;
    line-height: 21.97px;
    border-radius: 6px;
    max-width: 394px;
    padding: 18px;
    height: 58px;
}

#telefon_form .form-input.valid {border: 1px solid #5AC37D;}

#telefon_form .form-input.invalid {
    color: #EF4124;
    border: 1px solid #EF4124;
}

#telefon_form .form-input.invalid::placeholder {color: #EF4124;}

#telefon_form .files-loader__item-tip {
    position: absolute;
    right: auto;
    top: 0;
    left: 394px;
    margin-left: 18px;
    background-image: url("/local/templates/delement/frontend/assets/icons/icon-circle-help.svg");
    width: 24px;
    height: 24px;
    align-self: flex-start;
    margin-top: 17px;
}

#telefon_form .files-loader__item-tip:hover {background-image: url("/local/templates/delement/frontend/assets/icons/icon-circle-help-hover.svg");}

/*#telefon_form .files-loader__item-tip img {display: none;}*/

#telefon_form .files-loader__item-tip.files-loader__item-tip-sm {display: none;}

#telefon.error {
    border-color: #ff0000 !important;
    box-shadow: 0 0 5px rgba(255,0,0,0.5) !important;
}
#telefon.success {
    border-color: #4CAF50 !important;
}

#captcha-container {
    margin-bottom: 18px;
}

.MultiFile__list-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 225px !important;
    margin-right: auto;
}

.some-form__captcha span {
    font-size: 18px;
    margin-bottom: 18px;
    display: block;
}

.some-form__submit {margin: 0;}

.btn.button_submit {
    width: 300px;
}

#btnsubmitdocs.btn.button_submit {width: 345px;}

.btn.button_submit.button_wide {
    background: #CACACA;
    color: #fff;
    pointer-events: none;
}

.btn:focus {background-color: #5ac37d;}

.error-box {
    width: 489px;
    height: 92px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    border: 2px solid #9F3E3E;
    padding: 0 18px;
    background: #FEECEC;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 48px;
    gap: 22px;
}

.error-box .icon-exclamation {
    width: 50px;
    height: 50px;
    background-image: url("/peredacha-pokazaniy-onlayn/img/icon-exclamation.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.error-box .text-info {
    width: 83%;
    font-size: 18px;
    font-weight: 600;
    line-height: 110%;
}

#docs_step2 {
    width: 100%;
    margin: 0 0 48px;
}

.form-section-header {margin-bottom: 28px;}

.form-section-header h3.h4 {
    font-size: 22px;
    line-height: 35.2px;
    margin-bottom: 18px;
}

.form-section-header p {
    font-size: 18px;
    margin-bottom: 0;
    line-height: 28.8px;
}

#docs_step2 .files-loader__item {
    display: flex;
    align-items: center;
}

#docs_step2 .files-loader__item:not(:last-child) {
    margin-bottom: 38px;
    padding-bottom: 0;
    border-bottom: none;
}

#docs_step2 .files-loader__item .files-loader__item-block {
    flex-basis: auto;
    margin: 0;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher {
    border: 1px solid #36383C;
    width: auto;
    height: 46px;
    border-radius: 6px;
    color: #36383C;
    font-size: 18px;
    margin: 0;
    flex-basis: auto;
    max-width: max-content;
    display: flex;
    align-items: center;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher label {padding: 12px 28px;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher label:hover {cursor: pointer;}

#docs_step2 .files-loader__item .files-loader__item-block .fp_files {margin: 0 !important;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher .file-attacher__input_multifile {display: none;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher.has-files {
    margin: 0 0 18px;
    border: 1px solid #5AC37D;
    max-width: 345px;
    padding: 12px 26px;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher img {
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher .i-icon-clip {display: none;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher.has-files .i-icon-clip {
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher.has-files .i-icon-upload {display: none;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher.has-files .file-attacher__remove-btn {
    width: 14px;
    height: 14px;
    margin-left: 26px;
    color: #788691;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new {
    border: 1px solid #36383C;
    width: auto;
    height: 46px;
    border-radius: 6px;
    color: #36383C;
    font-size: 18px;
    margin: 0;
    flex-basis: auto;
    max-width: max-content;
    display: flex;
    align-items: center;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new label {padding: 12px 28px;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new label:hover {cursor: pointer;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new .file-attacher__input_multifile {display: none;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new.has-files {
    margin: 0 0 18px;
    /*border: 1px solid #5AC37D;*/
    max-width: 345px;
    padding: 12px 26px;
}

#docs_step2 .files-loader__item .files-loader__item-block .fp_files .MultiFile__list-item span:not(.MultiFile__list-label, .MultiFile__list-title) {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
}

#docs_step2 .files-loader__item .files-loader__item-block .fp_files .MultiFile__list-item .MultiFile__list-label {
    margin: 18px 0 0;
    max-width: max-content;
    border: 1px solid #5AC37D;
    padding: 12px 26px;
    height: 46px;
    /*border: none;
    padding: 0;
    height: 22px;*/
    width: auto;
    border-radius: 6px;
    font-size: 18px;
    flex-basis: auto;
    display: flex;
    align-items: center;
    min-width: 100%;
    box-sizing: border-box;
}

#docs_step2 .files-loader__item .files-loader__item-block .fp_files .MultiFile__list-item .MultiFile__list-label.invalid .file-attacher__icon.i-icon path {fill: #EF4124;}

#docs_step2 .files-loader__item .files-loader__item-block .form-block__error {
    color: #EF4124;
    font-size: 14px;
    font-weight: bold;
    display: none;
    margin-bottom: 18px;
    opacity: 1;
}

#docs_step2 .files-loader__item .files-loader__item-block .fp_files .MultiFile__list-item .MultiFile__list-label .MultiFile__list-title {
    max-width: calc(100% - 66px);
    hyphens: none;
    word-break: break-all;
    overflow-wrap: break-word;
}

#docs_step2 .files-loader__item .files-loader__item-block .fp_files .MultiFile__list-item .MultiFile__list-label .MultiFile__remove {margin-left: 26px;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new img {
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new .i-icon-clip {display: none;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new.has-files .i-icon-clip, #docs_step2 .files-loader__item .files-loader__item-block .fp_files .MultiFile__list-item .MultiFile__list-label .file-attacher__icon.i-icon {
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new.has-files .i-icon-upload {display: none;}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher_new.has-files .file-attacher__remove-btn {
    width: 14px;
    height: 14px;
    margin-left: 26px;
    color: #788691;
}

#docs_step2 .files-loader__item .files-loader__item-block .file-attacher__label {
    color: #36383C;
    font-size: 18px;
    line-height: 1.2;
}

br.br-mob {display: none;}

/* модальное окно */

.window_otv_box {
    -webkit-backface-visibility: hidden;
    height: 100%;
    left: 0;
    outline: none;
    position: fixed;
    -webkit-tap-highlight-color: transparent;
    top: 0;
    touch-action: manipulation;
    transform: translateZ(0);
    width: 100%;
    z-index: 99992;
    display: none;
}

.window_otv_bg {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
}

.window_otv {
    width: 624px;
    position: fixed;
    right: 26%;
    top: 30%;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ccc;
    z-index: 99999;
    height: auto;
    /*box-shadow: 0px 1px 16px 5px #ccc;*/
}

.window_otv .window_otv_body {
    margin: 90px 60px 69px;
    overflow: auto;
    max-height: 79vh;
}

.window_otv .window_otv_body .h3 {
    font-size: 22px;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: center;
}


.window_otv .window_otv_body .highlighted-text {width: 98%;}

.window_otv .fancybox-close-small-otv {
    top: -13px;
}

.window_otv_box.window_otv_box_25 .fancybox-button.fancybox-close-small.fancybox-close-small-otv {background-color: transparent !important;}

.window_otv .window_otv_body .btn-box-docs {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.window_otv .window_otv_body .btn-box-docs .btn {
    width: 419px;
    height: 49px;
    font-size: 22px;
}

#modal-error-docs .window_otv .window_otv_body .h3 {margin-bottom: 0;}

#modal-error-docs .window_otv .window_otv_body .h3 br:last-child {display: none;}

@media screen and (max-width: 1920px) {

    .window_otv {right: 34%;}

}

@media screen and (max-width: 1600px) {

    .window_otv {right: 31%;}

}

@media screen and (max-width: 1440px) {

    .window_otv {right: 28%;}

}

@media screen and (max-width: 1366px) {

    .window_otv {right: 27%;}

}

@media screen and (max-width: 1280px) {

    .window_otv {right: 26%;}

}

@media screen and (max-width: 1024px) {

    .window_otv {right: 18%;}
    .preload_text_selecter { left: 25% !important;
        width: 80% !important;
        padding: 20px !important;
        bottom: 3% !important;
    }

}

@media screen and (max-width: 888px) {

    .window_otv {right: 15%;}

}

@media screen and (max-width: 768px) {

    .window_otv {right: 9%;}
    .preload_text_selecter { left: 20% !important;
        width: 80% !important;
        padding: 20px !important;
    bottom: 10% !important;
    }

}

@media screen and (max-width: 600px) {

    .text-info-docs {font-size: 20px;}

    #docs_step1 {width: 100%;}

    #telefon_form .files-loader__item-tip.files-loader__item-tip-lg {display: none;}

    #telefon_form .files-loader__item-tip.files-loader__item-tip-sm {
        display: block;
        margin-left: 10px;
    }

    #captcha-container {margin-bottom: 24px;}

    .btn.button_submit {
        width: 100%;
        height: 64px;
        font-size: 22px;
    }

    .error-box {width: 100%;}

    .error-box .text-info {font-size: 20px;}

    br.br-mob {display: block;}

    #second_warning.error-box {height: 136px;}

    .form-section-header h3.h4 {
        font-size: 24px;
        margin-top: 48px;
    }

    .form-section-header p {font-size: 20px;}

    #btnsubmitdocs.btn.button_submit {width: 100%;}

    .window_otv {
        width: 420px;
        right: 4.5%;
    }

    .window_otv .window_otv_body {margin: 72px 30px 50px;}

    .window_otv .window_otv_body .h3 {font-size: 24px;}

    .window_otv .window_otv_body .btn-box-docs .btn {
        width: 100%;
        height: 64px;
    }

}

@media screen and (max-width: 425px) {

    #telefon_form .form-input {max-width: 91%;}

    #telefon_form .files-loader__item-tip.files-loader__item-tip-sm {left: 91%;}

    .window_otv {
        width: 400px;
        right: 3%;
    }

    .window_otv .window_otv_body {margin: 50px 30px 50px;}

    .window_otv .window_otv_body .h3 {font-size: 22px;}

    .MultiFile__list-title {max-width: 285px !important;}
    .preload_text_selecter { left: 10% !important;
        width: 80% !important;
        padding: 20px !important; line-height: 15px; font-size: 11pt; bottom: 15% !important;}

}

@media screen and (max-width: 415px) {
    .window_otv {right: 2%;}
}

@media screen and (max-width: 375px) {

    #second_warning.error-box .text-info {font-size: 18px;}

    .window_otv {
        width: 350px;
        right: 3.5%;
    }

    .window_otv .window_otv_body .h3,
    .window_otv .window_otv_body .btn-box-docs .btn {font-size: 19px;}

    .MultiFile__list-title {max-width: 235px !important;}

}

@media screen and (max-width: 370px) {

    .window_otv {
        width: 350px;
        right: 3%;
    }

    .MultiFile__list-title {max-width: 230px !important;}

}

@media screen and (max-width: 360px) {

    #second_warning.error-box .text-info {font-size: 17px;}

    .window_otv {
        width: 340px;
        right: 3%;
    }

    .window_otv .window_otv_body .h3,
    .window_otv .window_otv_body .btn-box-docs .btn {font-size: 18px;}

    .MultiFile__list-title {max-width: 220px !important;}

}

@media screen and (max-width: 320px) {

    #telefon_form .form-input {max-width: 89%;}

    #telefon_form .files-loader__item-tip.files-loader__item-tip-sm {left: 89%;}

    #captcha-container,
    #captcha-container iframe {width: 100% !important;}

    .error-box .text-info {font-size: 18px;}

    .window_otv {
        width: 300px;
        right: 3%;
    }

    .window_otv .window_otv_body {margin: 50px 10px 50px;}

    .MultiFile__list-title {max-width: 175px !important;}

}