:root {
    --bg-color: #f3f1db;
    --login-text-color: #553b26;
    --login-btn-bgc: #3e7185;
}

* {
    box-sizing: border-box;
}

@media (min-width: 768px) {

    body {
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

@media (max-width: 767px) {

    html {
        /* height: -webkit-fill-available !important; */
      }

    body {
        height: 100% !important;
        /* mobile viewport bug fix */
        /* height: -webkit-fill-available !important; */
        font-family: Rubik, sans-serif !important;
      }

      body > div {
          height: 100%;
      }

}


div#loginBox {
    font-family: 'Rubik', sans-serif;
    width: 100vw;
    height: 100%;
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    div#loginBox{
        width: 360px;
        height: 640px;
        padding-top: 88px;
    } 
}

img.logo {
    width: 215px;
    height: 146px;
    object-fit: contain;
}

div#systemTitle {
    width: 100%;
    height: 48px;
    font-family: inherit;
    font-size: 18px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    color: var(--login-text-color);
    margin: 56px auto;
    padding: 10px 0;
}

@media screen and (min-width: 768px) {
    div#systemTitle{margin: 37px auto;} 
}

#systemTitle .notificationContent {
    margin: 0;
}

@media screen and (min-width: 768px) {
    .login__container {
        width: 281px;
        margin: 0 auto;
    }
}

.login__container {
    max-width: 80%;
    margin: 0 auto;
    margin-bottom: 25%;
}

.loginFormElement {
    position: relative;
    margin-bottom: 0;
}

div#loginForm {
    padding: 0;
    width: 100%;
    margin-bottom: 5px;
}

#loginForm form input[type="text"], #loginForm form input[type="password"] {
    width: 100%;
    height: 48px;
    border: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    text-align: right;
    padding: 15px 10px 0 0;
    display: inline-block;
    margin-bottom: 16px;
    background-color: #ffffff !important;
    font-weight: bold;
}

#loginForm form input[type="text"]:focus + span, #loginForm form input[type="password"]:focus + span {
    transform: translateY(-20px);
}

.loginFormElement > span {
    font-family: Rubik;
    font-size: 9px;
    position: absolute;
    top: -3px;
    right: 10px;
    transition: transform .4s ease-out;
}

input:-internal-autofill-selected {
    background-color: #ffffff !important;
}

.loginSubmitButton {
    height: 61px;
    background-color: var(--login-btn-bgc);
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    padding: 0;
    display: flex;
}

.loginSubmitButton i {
    display: none !important;
}


.loginSubmitButton span.form-button {
    color: #FFF !important;
    font-family: Rubik !important;
    font-size: 24px !important;
    font-weight: bold !important;
    background-color: transparent !important;
}

a.form-button {
    margin: auto !important;
    display: block !important;
    width: 100%;
    text-align: center;
}

.sign-in-unavailable {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    font-size: 12px;
    margin-bottom: 5px;
}

.sign-in-unavailable::after {
    content: "";
    background-image: url(./images/warning.png);
    width: 20px;
    height: 20px;
    background-position: center;
    background-size: contain;
    margin-left: 5px;
}
