html, body {
    height: 100%;
    --cl-primary: #3e9bd5;
    --cl-secondary: #3e9bd5;
}

/* #3e9bd5 */
/* WUON #385391 */

.login-box-wrapper {
    display: flex;
    height: 100vh;
    background: linear-gradient(white, var(--cl-primary));
    width: 100%;
}

.login-box-body {
    padding: 0;
    background: white;
    padding: 24px 64px 48px 64px;
    margin-top: -64px;
    border-radius: 4px;
    width: 512px;
    box-shadow: 0px 25px 20px -20px rgba(159, 158, 158, 0.45), -25px 0 20px -20px rgba(159, 158, 158, 0.45);
    position: relative;
}

.login-box-body > p {
    margin-bottom: 8px;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 50;
}

.login-box {
    margin: 0;
}

.login-box,
.register-box {
    min-width: 360px;
    max-width: 640px;
    width: initial !important;
    padding-inline: 64px;
}

.login-background {
    display: none;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    border-radius: 4px !important;
    background: var(--cl-secondary);
    border: 1px solid var(--cl-primary);
}

.content-wrapper {
    display: table;
    width: 100%;
    height: 100% !important;
    padding-top: 0 !important;
}

.otap {
    font-weight: 700;
}

.red {
    color: red;
    font-weight: bold;
}
em.version {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.7em;
}
select.timezone {
    width: 100%;
    max-width: 100%;
}
div.name {
    display: inline-block;
    width: 200px;
}
div.sign {
    display: inline-block;
    text-align: right;
    color: #999;
}
div.integer {
    display: inline-block;
    width: 16px;
    text-align: right;
    color: #999;
}
div.dot {
    display: inline-block;
    color: #999;
}
div.fraction {
    display: inline-block;
    color: #999;
}
.select2-selection--single {
    padding-top: 3px !important;
    padding-left: 4px !important;
}
.select2-results__option {
    padding-left: 12px !important;
}
.show-on-forgot-password {
    display: none;
}
.ie-warning {
    position: fixed;
    top: 0;
    background: #ffe900;
    z-index: 10000;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #cebd02;
    padding: 6px;
    font-size: 18px;
}

/* Animation Waves */
.line {
    position: absolute;
    height: 100%;
    width: 100%;
}
.line-1 {
    z-index: 15;
    opacity: 0.5;
}

.line-2 {
    z-index: 10;
    opacity: 0.7;
}

.line-3 {
    z-index: 5;
}

@media screen and (min-width: 1320px) {
    .login-box-wrapper {
        background: linear-gradient(to right, white, var(--cl-primary));
    }

    .login-container {
        align-items: center;
        justify-content: end;
        width: 100%;
        z-index: 50;
    }    

    .login-background {
        display: block;
    }

    .login-box {
        margin-left: 100%;
    }

    .wave {
        position: absolute;
        top: -100%;
        right: -200%;
        width: 400%;
        height: 100%;
        background-repeat: repeat no-repeat;
        background-position: 0 bottom;
        transform-origin: center bottom;
        rotate: 270deg;
        background-size: 150%;
    }
}

@media screen and (min-width: 1760px) {
    .wave {
        top: -100%;
        right: -150%;
        width: 300%;
    }
}

.wave-2 {
    animation: animate 15s linear infinite;
}

.wave-3 {
    animation: animate 15s linear infinite;
}

.login-background-logo-background {
    background: white;
    height: 160px;
    aspect-ratio: 16/9;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    z-index: 99;
    margin-inline: auto;
}

.login-background-logo {
    width: 100%;
    aspect-ratio: 16/9;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.login-version {
    position: absolute;
    top: 16px;
    right: 16px;
    width: max-content;
    text-align: center;
}

.login-version > em {
    font-size: 18px !important;
    font-weight: 700;
}

.input-login-form {
    height: 48px;
    margin-top: 8px;
    position: relative;
    border-radius: 4px;
}

.input-login-form > input {
    border-radius: 4px;
    padding: 4px 16px !important;
}

.input-login-form > div {
    display: none !important;
}

.input-login-form > .glyphicon {
    height: 48px !important;
    width: 48px !important;
}

.input-login-form > .glyphicon::before {
    height: 48px !important;
    width: 48px !important;
    padding: 6px;
    display: block;
}

.input-login-form > input {
    height: 48px !important;
}

.input-login-form:last-of-type {
    margin-bottom: 24px;
}

.form-submit-row {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.password-forgot-row {
    gap: 32px;
    margin-right: 32px;
    margin-top: 16px;
}

.password-forgot-row > div {
    width: 100%;
}

.form-submit-row > div {
    width: 100%;
}

.okta-login {
    max-width: 320px;
}

.message {
    padding: 0 !important;
}

#btn-cancel {
    border: 1px solid gray;
}

@keyframes animate {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    25% {
        transform: translateX(-25%) translateZ(0) scaleY(0.5);
    }
    50% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
    75% {
        transform: translateX(-25%) translateZ(0) scaleY(0.5);
    }
    100% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
}