@font-face {
    font-family: 'MTSTextRegular';
    src: url('../fonts/mts/MTSText-Regular.woff2') format('woff2'),
    url('../fonts/mts/MTSText-Regular.woff') format('woff'),
    url('../fonts/mts/MTSText-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'MTSCompactRegular';
    src: url('../fonts/mts/MTSCompact-Regular.woff2') format('woff2'),
    url('../fonts/mts/MTSCompact-Regular.woff') format('woff'),
    url('../fonts/mts/MTSCompact-Regular.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
.top {
    min-height: 580px;
}

/* Replacing the main background in the header*/
.top--light,
.top--light .header,
.top--light .main-section {
    background: #FFFFFF;
}

.top--login .main-section {
    min-height: 470px;
    padding-top: 60px;
    margin-top: 20px;
}

.top--login .main-section .container {
    display: flex;
    flex-wrap: wrap;
}

.top--login .main-section::after {
    background: none;
}

/*form background */
.top--login .main-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 54vw;
    height: 460px;
    background: var(--primary);
    border-radius: 0 10px 10px 0;
}

@media screen and (max-width: 991px) {
    .top--login .main-section::before {
        width: 87vw;
    }
}

@media screen and (max-width: 767px) {
    .top--login .main-section::before {
        width: 100vw;
        border-radius: 0;
    }
}

/*Image main section*/
.top--login .main-section__image {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 0;
    width: 630px;
    height: 360px;
    background: var(--bg-gray-block);
    border-radius: 10px;
}

@media screen and (max-width: 1200px) {
    .top--login .main-section__image {
        background: none;
        justify-content: flex-end;
    }
}

@media screen and (max-width: 991px) {
    .top--login .main-section__image {
        display: none;
    }
}

.top--login .main-section__image .main-section__pic {
    position: relative;
    bottom: 17px;
}

/*form*/
.top--login .main-section__form {
    font-family: 'MTSTextRegular';
    position: relative;
    width: 50%;
    height: auto;
    color: #ffffff;
}

@media screen and (max-width: 767px) {
    .top--login .main-section__form {
        width: 100%;
    }
}

.top--login .main-section__form .form-title {
    position: relative;
}

.top--login .main-section__form .form {
    display: flex;
    flex-wrap: wrap;
    width: 380px;
}

@media screen and (max-width: 767px) {
    .top--login .main-section__form .form {
        width: 100%;
    }
}

.top--login .main-section__form .form .title-input {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #fff;
}
.top--login .main-section__form .form #lk__reboot-password{
    flex-grow: 1;
    text-align: right;
}

.top--login .main-section__form .form input {
    font-size: 13px;
}

.top--login .main-section__form .form .form-control {
    margin-bottom: 15px;
    font-family: 'MTSCompactRegular';
}

/*checkbox*/
.top--login .main-section__form .form .checkbox-wr {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.top--login .main-section__form .form .checkbox-wr p {
    margin: 0 0 0 7px;
}

.top--login .main-section__form .form .checkbox-wr input[type='checkbox'] {
    display: none;
}

.top--login .main-section__form .form .checkbox-wr input + label {
    position: relative;
    top: 4px;
    width: 15px;
    height: 15px;
    border: 1px solid #fff;
    border-radius: 3px;
    overflow: hidden;
}

.top--login .main-section__form .form .checkbox-wr input + label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    background: url(../img/check-white.svg) no-repeat 30% 0/80%;
    opacity: 0;
}

.top--login .main-section__form .form .checkbox-wr input:checked + label:before {
    opacity: 1;
}

/*button*/
.top--login .main-section__form .form .btn {
    max-width: 220px;
    margin-top: 20px;
    color: var(--primary);
}

@media screen and (max-width: 767px) {
    .top--login .main-section__form .form .btn {
        max-width: 100%;
    }
}


/* Main
  ------------------------------------- */

.main .cabinets-item {
    border: 1px solid var(--border);
}

.main .cabinets-item .cabinets-item__foot {
    margin-top: 43px;
    padding-top: 37px;
    border-top: 1px solid var(--border);
    font-size: 14px;
}

.main .cabinets-item .cabinets-item__foot p {
    margin: 0;
}

.main .title-btn {
    width: 100%;
    font-size: 20px;
    margin: 60px auto 35px;
    text-align: center;
}

.main .btn {
    margin: 0 auto;
}

.cabinets .col-lg-6 {
    margin-bottom: 0;
}

.cabinets .col-lg-6:nth-child(-n+2) {
    margin-bottom: 30px;
}

.cabinets-item__head {
    padding-left: 0;
}

.cabinets-item__logo {
    display: flex;
    align-items: center;
}

.cabinets-item__logo:nth-child(3n-2) {
    justify-content: flex-start;
}

.cabinets-item__logo:nth-child(3n-1) {
    justify-content: center;
}

.cabinets-item__logo:nth-child(3n-3) {
    justify-content: flex-end;
}

.cabinets-item__logo:last-child {
    justify-content: flex-end;
}

.cabinets-item__logo img {
    margin: 0;
}

/* Password - show/hide
  ------------------------------------- */
.message-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: flex-start;
    width: 100%;
    height: 100%;
    position: absolute;
    background: var(--primary);
    opacity: 0;
    z-index: -1;
    transition: all .4s ease .4s;
}

.message-wrapper__show {
    opacity: 0.9;
    z-index: 1;
    transition: all .4s ease .4s;
}

.message-wrapper .form-message {
    position: relative;
    top: 270px;
    width: 320px;
    margin: 23% auto 30px;
    text-align: center;
    z-index: 100;
    transition: all .4s ease .7s;
}

.message-wrapper .form-message_top {
    top: 0;
    transition: all .5s ease .7s;
}

.form-control__wrapper {
    position: relative;
    width: 100%;
}

.form-control__wrapper .password-show {
    position: absolute;
    top: 17px;
    right: 26px;
}

/* style checkbox (btn show) */
.password-show .password-show__input {
    display: none;
}

.password-show .password-show__label {
    width: 18px;
    height: 13px;
    background: url(../img/login/password-show/hide.svg) no-repeat 50% 50%/100%;
    cursor: pointer;
}

.password-show__input:checked ~ .password-show__label {
    background: url(../img/login/password-show/show.svg) no-repeat 50% 50%/100%;
}


.form_send-email {
    display: none;
    width: 100%;
    min-height: 189px;
    height: 100%;
    align-content: center;
}

.btn-cancel {
    display: none;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 50px;
    margin: 20px 0 0 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #fff;
    background: none;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.form-reset__email {
    margin: 48px 0;
}

.btn-in-lcab {
    position: relative;
    top: 270px;
    transition: top .4s ease .7s;
}

.btn-in-lcab_top {
    display: block;
    top: 0;
    transition: top .4s ease .8s;
    position: relative;
}

.el_hide {
    display: none;
}

.el_show {
    display: flex;
    flex-wrap: wrap;
    top: 0;
}

.anim-form {
    position: relative;
    animation: anim-form .4s ease-in-out;
}

#auth-error{
    width: 100%;
    position: relative;
    height: 0;
    overflow: hidden;
    transition: all .4s ease .4s;
}
#auth-error.has-error{
    height: 50px;
}
#auth-error .error-login-or-pass{
    position: absolute;
    top: -50px;
    font-size: 13px;
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    color: rgb(37, 54, 64);
    margin-bottom: 0.5rem;
    transition: all .5s ease .5s;
}
#auth-error.has-error .error-login-or-pass{
    top: 0px;
}
.exolve .main-section::before {
    background: #F2F3F7 !important;
    border-radius: 0 24px 24px 0 !important;
}
.exolve .form-control {
    background: #FFFFFF;
    color: #1D2023;
}
.exolve .main-section__form .form-title {
    color: #1D2023;
}
.exolve .main-section__form .form .title-input {
    font-family: 'MTSCompactRegular';
    color: #626C77;
}
.exolve .main-section__form .form .btn {
    min-width: 240px;
    height: 44px;
    background-color: #FF0032;
    color: #FFFFFF;
    border-radius: 16px;
}
.exolve .main-section__form .form .btn span {
    font-family: 'MTSCompactRegular';
}
.exolve .main-section__image {
    width: 574px;
    height: 206px;
    border-radius: 24px;
    background: transparent;
    right: -25px;
    top: 59px;
}
.exolve .main-section__pic {
    max-width: 403px;
}
.exolve .main-section__form .form .checkbox-wr input + label {
    border: 1px solid #99A1AB;
    border-radius: 5px;
    background-color: #EEF0F3;
}
.exolve .main-section__form .form .checkbox-wr input + label:before {
    border: 1px solid #E4002E !important;
    background-color: #E4002E;
}

@keyframes anim-form {
    from {
        transform: translateY(-5px);
    }
    to {
        transform: translateY(0);
    }
}
