*, *::before, *::after {
    box-sizing: border-box;
}

@media all { /* Argon forms */
    .form-control {
        font-size: 1rem;
        line-height: 1.5;
        display: block;
        width: 100%;
        height: calc(2.75rem + 2px);
        padding: .625rem .75rem;
        /*transition: all .15s cubic-bezier(.68, -.55, .265, 1.55);*/
        color: #8898aa;
        border: 1px solid #dee2e6;
        border-radius: .25rem;
        background-color: #fff;
        background-clip: padding-box;
        box-shadow: 0 3px 2px rgba(233, 236, 239, .05);
    }

    .custom-control {
        position: relative;
        display: block;
        min-height: 1.5rem;
        padding-left: 1.75rem;
    }

}

body.page-login {
    background-color: #FFF !important;
}
body.page-login, body.page-login input, body.page-login input:-webkit-autofill::first-line {
    font-family: Poppins, sans-serif;
}
input:-webkit-autofill::first-line,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
     font-family: Poppins, sans-serif !important;
}

body.page-login input:not([type="checkbox"]) {
    display: block;
}
body.page-login input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
    /*line-height: 1em;*/
}
body.page-login label:has(input[type="checkbox"]) span {
    display: inline-block;
    vertical-align: middle;
}
body.page-login label:has(input[type="checkbox"]):hover span {
    color: var(--c-main-active);
}

body.page-login button {
    cursor: pointer !important;
}

body.page-login button.btn-big {
    font-size: var(--f-l) !important;
    padding: 22px 44px !important;
}

body.page-login input.input-small {
    display: block;
    max-width: 160px !important;
    margin: auto;
}

body.page-login .iwrap {
    position: relative;
}
body.page-login .iwrap input {
    position: relative;
    padding-right: 32px !important;
}
body.page-login .iwrap .show-password {
    font-family: 'Material Icons';
    font-size: 1.6em;
    position: absolute;
    right: 7px;
    top: 50%;
    margin-top: -0.5em;
    line-height: 1em;
    opacity: 0.5;
    color: var(--c-pale);
    font-style: normal;
    cursor: pointer;
    z-index: 1;
}
body.page-login .iwrap .show-password:hover {
    opacity: 1;
    color: var(--c-main);
}

body.page-login a.link-highlighted {
    /*color: var(--c-main-active);*/
}
body.page-login a.link-highlighted:hover {
    color: var(--c-main-active);
    text-decoration: underline;
}
body.page-login a.link-button {
    color: var(--c-main-active);
    text-decoration: underline;
}

body.page-login.mode-login .bg-gradient-primary {
    background: linear-gradient(87deg, #DDD 0, #DDD 100%) !important;
    background: linear-gradient(87deg, #222d43 0, #222d43 100%) !important;
}
@media (min-width: 992px) and (min-height: 700px)
{
    .bg-gradient-primary {
        padding-bottom: 10rem !important;
    }
}

.v4-login-container {
    position: fixed;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: hidden;
}

.v4-login-container .sub {
    position: relative;
    margin: auto;
    height: 100%;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    line-height: 100vh;
    overflow: visible;
}

body.page-login.mode-login .l-bg {
    /*
    position: absolute;
    left: 4%; bottom: 0; width: 64%; height: 64%;
    background: center bottom no-repeat url(_inc/res/bg/login_bg.png);
    background-size: contain;
    */
    position: fixed;
    left:0;top:0;width:100%;height:100%;
    background: center center no-repeat url(../res/bg/login-v4.2.png);
    background-size: cover;
}

.l-form {
    position: relative;
    display: inline-block;
    padding: 40px 24px;
    min-width: 320px;
    max-width: 440px;
    vertical-align: middle;
    text-align: left;
    font-size: var(--f);
    color: var(--c-main);
    line-height: 1.25em;
    border-radius: var(--border-radius);
    background-color: var(--bw);
    /*box-shadow: -2px -2px 1px 0 rgba(0, 0, 0, 0.25), 1px 1px 0 0 rgba(255, 255, 255, 0.64);*/
}

.l-form label {
    display: block;
    margin: 0 0 8px;
}

.l-logo {
    padding-bottom: 16px;
}

.l-logo img {
    width: 132px;
    height: auto;
}

.l-logo .l-logo-title {
    font-size: 12px;
    text-align: center;
    padding: 4px 0;
}

.l-field {
    position: relative;
    padding: 0 0 24px;
}

.l-field label {
    font-weight: bold;
}

.l-form input:is(.invalid, .invalid-tmp) {
    background-color: var(--bg-orange-d-pale) !important;
}
.l-form label:has(+ input:is(.invalid, .invalid-tmp)) {
    /*color: var(--c-orange-d) !important;*/
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--bw) inset !important;
}

.l-field input {
    display: block;
    padding-left: 16px !important;
    border: var(--border-light);
    background-color: transparent !important;
}

