/* Gilroy */
/* regular */
@font-face {
    font-family: 'Gilroy';
    src:
            url('/fonts/Gilroy/Gilroy-Regular.eot?#iefix') format('embedded-opentype'),
            url('/fonts/Gilroy/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

/* medium */
@font-face {
    font-family: 'Gilroy';
    src:
            url('/fonts/Gilroy/Gilroy-Medium.eot?#iefix') format('embedded-opentype'),
            url('/fonts/Gilroy/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

/* Nekst */
/* regular */
@font-face {
    font-family: 'Nekst';
    src:
            url('/fonts/Nekst/Nekst-Regular.woff') format('woff'),
            url('/fonts/Nekst/Nekst-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

/* Nekst */
/* medium */
@font-face {
    font-family: 'Nekst';
    src:
            url('/fonts/Nekst/Nekst-Medium.woff') format('woff'),
            url('/fonts/Nekst/Nekst-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}



html {
    -webkit-backface-visibility: hidden; /* Chrome, Safari, Opera */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    list-style: none;
}

body {
    background-color: #ffffff;
    font-family: Gilroy, sans-serif!important;
    line-height: 1.4em;
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    list-style: none;
    margin: 0;
    box-sizing: border-box!important;
}

body div {
    box-sizing: border-box;
}

body a {
    box-sizing: border-box;
}

.dk-login input:-webkit-autofill {
    -webkit-box-shadow: inset 0 0 0 50px #EBEBEB !important; /* Цвет фона */
}

.dk-login h1 {
    font-family: Nekst, sans-serif!important;
    font-style: normal;
    font-weight: 500;
    font-size: 26px;
    line-height: 31px;
    margin: 0;
}

.dk-login h4 {
    font-family: Nekst, sans-serif!important;
    font-style: normal;
    font-weight: 500!important;
    font-size: 19px;
    line-height: 23px;
    color: #000000;
    margin: 0;
}

.dk-login b {
    font-weight: 500!important;
}

.dk-login .bold {
    font-family: Gilroy, sans-serif!important;
    font-style: normal;
    font-weight: 500!important;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
}

.dk-login p, .dk-login .text {
    font-family: Gilroy, sans-serif!important;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
}

.dk-login a {
    font-family: Gilroy, sans-serif!important;
    cursor: pointer;
    /*color: #A25AE6;*/
    font-weight: 400;
    text-decoration: none;
}


.dk-login span {
    font-family: Gilroy, sans-serif!important;
}

.dk-login button {
    border-radius: 0;
    font-family: Gilroy, sans-serif!important;
    cursor: pointer;
    font-weight: 500!important;
    box-sizing: border-box;
}

.dk-login input {
    border-radius: 0;
    font-family: Gilroy, sans-serif!important;
    box-sizing: border-box;
}

.dk-login ul, .dk-login li, .dk-login ol {
    font-family: Gilroy, sans-serif!important;
}

/* GENERAL */

.dk-login {
    background-color: #EBEBEB;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    display: flex;
    box-sizing: border-box!important;
}

.dk-login-left {
    z-index: 10;
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
}

.dk-login-right {
    position: relative;
    width: 50%;
    background: #D7F849;
    border-radius: 16px 0px 0px 16px;
    background: url("/images/exchanger/Right.jpg") no-repeat center;
    background-size: cover;
    overflow: hidden;
}

/* HEADER */

.dk-login-header {
    display: flex;
    flex-direction: row;
    height: 54px;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.dk-login-header img {
    cursor: pointer;
    width: 84px;
}

.dk-login-burger {
    cursor: pointer;
    transition: opacity 300ms ease;
    opacity: 1;
}

.dk-login-burger--open {
    display: flex;
}

.dk-login-burger--close {
    display: none;
}

.dk-login-burger:hover {
    opacity: 0.4;
}

.dk-login-burger:active {
    opacity: 1;
}

/* CONTENT */

.dk-login-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
}

.dk-login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    max-width: 310px;
    text-align: center;
}

.dk-login-form p {
    color: rgba(0,0,0,0.6);
}

.dk-login-form button {
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    align-items: center;
    display: flex;
    height: 60px;
    justify-content: center;
    width: 100%;
    border: 1px solid #000;
    cursor: pointer;
    flex-direction: row;
    min-width: 60px;
    padding: 6px 14px 9px;
    position: relative;
    text-transform: lowercase;
    background-color: #000;
    color: #fff;
    transition: all 300ms ease;
}

.dk-login-form button:hover {
    color: rgba(255,255,255,0.6);
}

.dk-login-form button:active {
    transform: scale(0.9);
}

.dk-login-form_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 10px;
}

.dk-login-form_inputs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.dk-login-form_inputs--item {
    position: relative;
    width: 100%;
}


.dk-login-form input:focus {
    outline: none;
}

.dk-login-form_inputs--item input {
    background-color: transparent;
    border: 1px solid rgba(0,0,0,.5);
    color: #000;
    height: 60px;
    padding: 29px 16px 11px;
    width: 100%;
    font-family: Gilroy,sans-serif;
    font-size: 16px;
    font-style: normal;
    line-height: 20px;
    margin: 0;
    font-weight: 400;
}

.dk-login-form_inputs--item label {
    color: rgba(0,0,0,.6);
    cursor: text;
    left: 17px;
    position: absolute;
    text-transform: lowercase;
    top: 19px;
    transition: all .3s ease;
}

.dk-login-form_inputs--item input:focus+label, .dk-login-form_inputs--item input[data-empty=false]+label {
    font-size: 13px;
    line-height: 17px;
    margin: 0;
    top: 9px;
}

/* FOOTER */

.dk-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 46px;
    padding: 20px;
}

.dk-login-footer h4 {
    color: rgba(0,0,0,1);
}

.dk-login-footer p {
    color: rgba(0,0,0,0.6);
}

.dk-login-footer_help {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dk-login-footer_contacts {
    display: flex;
    gap: 40px
}

.dk-login-footer_contacts--phone {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dk-login-footer_contacts--social {
    display: flex;
    gap: 16px;
}

.dk-login-footer_contacts--social a {
    transition: all 300ms ease-in-out;
}

.dk-login-footer_contacts--social a:hover {
    transform: translateY(-6px);
}

@media (max-width: 1200px) {
    .dk-login-footer {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 28px;
        padding: 20px 16px;
        height: auto;
    }

    .dk-login-footer_contacts {
        align-items: flex-end;
        justify-content: space-between;
        width: 100%;
    }

    .dk-login-footer_contacts--social {
        justify-content: flex-start;
        align-items: flex-start;
    }

    .dk-login-footer_contacts--social a {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
}


#dk-login-error-message {
    background-color: #ffeb6b;
    align-items: center;
    bottom: auto;
    display: none;
    flex-direction: column;
    justify-content: center;
    left: 50%;
    padding: 32px 20px;
    position: absolute;
    right: 50%;
    text-align: center;
    top: 0;
    -webkit-transform: translate(-50%,20px);
    transform: translate(-50%,20px);
    max-width: 350px;
    width: 100%;
    z-index: 10001;
    box-sizing: border-box;
}

#dk-login-error-message h1 {
    font-family: Nekst,sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 500;
    line-height: 31px;
    margin: 16px 0 28px;
    box-sizing: border-box;
}

#dk-login-error-message button {
    box-sizing: border-box;
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    align-items: center;
    display: flex;
    height: 60px;
    justify-content: center;
    width: 100%;
    border: 1px solid #000;
    cursor: pointer;
    flex-direction: row;
    min-width: 60px;
    padding: 6px 14px 9px;
    position: relative;
    text-transform: lowercase;
    background-color: #000;
    color: #fff;
    transition: all 300ms ease;
}

#dk-login-error-message button:hover {
    color: rgba(255,255,255,0.6);
}

#dk-login-error-message button:active {
    transform: scale(0.9);
}

#dk-login-error-message-background {
    opacity: 0;
    display: none;
    z-index: 10000;
    background: rgba(141, 141, 141, 0.3);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    transition: all 300ms ease;
}

.dk-login-animate-message-in {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    -webkit-animation-name: dkLoginAnimateMessageIn;
    animation-name: dkLoginAnimateMessageIn;
}

.dk-login-animate-message-out {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    -webkit-animation-name: dkLoginAnimateMessageOut;
    animation-name: dkLoginAnimateMessageOut;
}

.dk-login-error-description {
    display: none;
    font-family: Gilroy, sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    text-align: center;
    color: #D82E23;
    padding-top: 0px;
    margin: 0;
}

.dk-login-error-input input {
    border: 1px solid #D82E23!important;
    color: #D82E23!important;
}

.dk-login-error-input label {
    color: #D82E23!important;
}

.dk-login-error-input .dk-login-error-description {
    display: block;
}

@media (max-width: 1023px) {
    .dk-login {
        min-height: 100vh;
        overflow-y: scroll;
    }
    .dk-login-left {
        width: 100%;
        height: 100%;
    }

    .dk-login-content {
        padding: 105px 0px;
        overscroll-behavior: none;
    }

    #dk-login-error-message-background {
        position: fixed;
        overscroll-behavior: none;
    }
}


@keyframes dkLoginAnimateMessageIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -200px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 20px);
    }

    0% {
        opacity: 0;
        transform: translate(-50%, -200px);
    }
}

@-webkit-keyframes dkLoginAnimateMessageIn {
    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -200px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translate(-50%, 20px);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -200px);
    }
}


@keyframes dkLoginAnimateMessageOut {
    0% {
        opacity: 1;
        transform: translate(-50%, 20px);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -200px);
    }

    0% {
        opacity: 1;
        transform: translate(-50%, 20px);
    }
}

@-webkit-keyframes dkLoginAnimateMessageOut {
    0% {
        opacity: 1;
        -webkit-transform: translate(-50%, 20px);
    }

    100% {
        opacity: 0;
        -webkit-transform: translate(-50%, -200px);
    }

    0% {
        opacity: 1;
        -webkit-transform: translate(-50%, 20px);
    }
}
