div.bx-system-auth-form span.bx-auth-secure {background-color:#FFFAE3; border:1px solid #DEDBC8; padding:2px; display:inline-block; vertical-align:bottom; margin-top:-1px;}
div.bx-system-auth-form div.bx-auth-secure-icon {background-image:url(images/sec.png); background-repeat:no-repeat; background-position:center; width:19px; height:18px;}
div.bx-system-auth-form div.bx-auth-secure-unlock {background-image:url(images/sec-unlocked.png);}


body {
    position: relative;
}


.form_wrap::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #CCE4FB;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    opacity: 0.5;
}


.form_wrap{
    display: none;
}
.active {
    display: block;
}
.modal_form {

    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 300px;
    max-width: 740px;
    width: 740px;
    height:456px;
    z-index: 111;
    border-radius: 10px;
    background-color: #3E454F;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    transition: opacity 0.2s linear 0s;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.btn_form_auth{
    width: 193px;
    height: 50px;
    border: 1px solid transparent;
    background: #ffff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    transition: 0.25s ease-in-out;
    cursor: pointer;
    border-radius: 24px;
    border-bottom-right-radius: 5.75px;
    border-top-left-radius: 5.75px;
    transform: skewX(-30deg);
}
input.form_input::-webkit-input-placeholder { /* WebKit browsers */
    color:   white;
}
input.form_input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    white;
}
input.form_input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    white;
}
input.form_input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    white;
}

.btn_wrap_form_auth a{
    text-decoration: none;
}

.btn_wrap_form_auth{
    padding-left: 30px;

}
.btn_form_auth span{
    transform: skew(30deg);
    cursor: pointer;
}

/*.btn_form_auth span:hover{*/
/*    color: #ffff;*/
/*    background-color: crimson;*/
/*    transition: 0.2s linear;*/
/*}*/
.btn_form_auth:hover{
    color: #ffff;
    background-color: crimson;
    transition: 0.2s linear;
}
.ssilka{
cursor: pointer;
    padding-top: 50px;
    padding-right: 30px;
    color: #ffff;
    text-decoration-line: underline;
}
.cont{

    position: relative
}
.cont:hover .exit{
    transition: 0.3s;
    opacity: 1;
}
.exit{
    padding-top: 5px;
    position: absolute;
    opacity: 0;
}

.form_input{
    border: none;
    border-bottom: 1px solid white;
    background-color: transparent;
    color: inherit;
    outline: none;
    width: 400px;
    font-size: 16px;
    padding-bottom: 10px;
}
.modal_form_relative {
    z-index: 1;
    position: relative;

}

.modal_form_content {
    padding: 84px 156px 120px;
    justify-content: center;

}


.modal_form_header {
    margin-bottom: 43px;

}

.modal_form_content__callback .modal_form_header {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    height: 100%;
    grid-area: f_header;
}

.modal_form_decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 456px;
    width: 740px;
    background: url('/local/templates/main/img/modal_decoration.png') no-repeat center center / cover;
    z-index: -1;
}

.modal_form_title {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.3;
    color: white;
    font-family: "Gill Sans",sans-serif;
}


.modal_form_content__callback .modal_form_body {
    grid-area: f_body;
}

.modal_form_field {
    color:white;
    position: relative;
    z-index: 0;
    padding-top:30px ;
    padding-bottom:40px ;
    font-family: "Gill Sans",sans-serif;
}

.modal_form_field + .modal_form_field {
    margin-top: 30px;
}

.modal_form_field label {
    position: absolute;
    left: 0;
    top: 12px;
    z-index: -1;
}

.modal_form_field input:focus + label {
    font-size: 5px;
    opacity: 0;
}

.modal_form_field input + label {
    transition: all ease 0.2s;
}

.modal_form_field input:focus {
    text-indent: 0!important;
}

.modal_form_content__callback .modal_form_bottom {
    grid-area: f_bottom;
}



.modal_form_close {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 2;
}

.modal_form_close > svg {
    transform: rotate(-45deg);
    fill: white;
    stroke: var(--color-darkslategray-100);
    transition: .25s;
    stroke: black;
}

.modal_form_close:hover > svg {
    fill: crimson;
    stroke: white;
}

@media(max-width: 800px) {
    .modal_form {
        width: 95vw;
        max-width: none;
    }

    .modal_form_content {
        padding-left: 20px;
        padding-right: 20px;
        width: 488px;
        margin: 0 auto;
    }
}

@media(max-width: 515px) {
    .modal_form_content {
        width: 100%;
    }

    .modal_form-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 20px;
    }

    .btn_wrap_form_auth {
        padding-left: 0;
    }

    .ssilka {
        padding-right: 0;
    }
}