html {
    background: url('background.old.svg') no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

#oidc-form-submit {
    border: none;
    height: 100%;
    width: 100%;
    position: absolute;
    background: none;
    font-family: sans-serif;
    font-size: 16px;
    text-transform: capitalize;
    color: rgb(68, 79, 106);
}

/*oki*/
#oidc-form-submit-google {
    display: inline-block;
    background: white;
    color: rgb(68, 79, 106);
    position: relative;
    width: 190px;
    height: 46px;
    border-radius: 3px;
    border: 1px solid rgb(68, 79, 106);
    box-shadow: 1px 1px 1px grey;
    white-space: nowrap;
}

#oidc-form-submit-google::before {
    background: url('btn_google_light_normal_ios.old.svg');
    display: inline-block;
    vertical-align: middle;
    content: "";
    position: absolute;
    width: 42px;
    height: 42px;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    color: #444F6A;
}

.BackArrow {
    top: 5%;
    left: 5%;
    height: 32px;
    position: absolute;
    font-size: 32px;
    line-height: 26px;
    text-decoration: none;
    width: 32px;
    display: inline-block;
    padding: 8px;
    background-color: #f1f1f1;
    color: #444F6A;
    border-radius: 50%;
    text-align: center;
}

.BackArrow:hover {
    background-color: #ddd;
    color: black;
}

.Divider {
    background-color: #d6d6d6;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 1px;
    width: 100%;
}

.FormContainer {
    position: absolute;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 1.5rem 3rem;

    background: white;

    border-radius: 8px;

    box-shadow: 0 10px 30px 0 #8193ab33;
}

.FormsWrapper {
    display: flex;
    flex-direction: column-reverse;
}

.FormContainer h1 {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 2rem;

}

.SettingsFormContainer {
    position: static;
    top: 0;
    left: 0;
    transform: none;
}

.BasicForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.LoginForm {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #d6d6d6;
}

.RegistrationForm {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #d6d6d6;
}

.BasicForm label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    color: #a1b2cf;
    margin-bottom: 1rem;
}

.BasicForm label > span {
    font-size: 16px;
    margin-bottom: 8px;
}

.BasicForm label > input {
    -webkit-transition: .15s border ease-in-out;
    transition: .15s border ease-in-out;

    font-size: 18px;
    outline: none;
    border: 2px solid #dde5ee;
    border-radius: 5px;
    padding: 15px 20px;
    width: 500px;
    box-sizing: border-box;
}

.BasicForm label > input:focus {
    border: 2px solid #7696db;
}

.BasicForm label.PasswordWrapper > input {
    padding-right: 45px;
}

.PasswordWrapper svg {
    position: absolute;

    width: 24px;
    height: auto;

    right: 10px;
    bottom: 35%;
    transform: translateY(50%);
}

.FormContainer button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    outline: none;

    -webkit-transition: .15s background ease-in-out;
    transition: .15s background ease-in-out;

    background: #516DBA;
    color: white;
    padding: 15px 15px;
    font-size: 18px;
    font-weight: 500;
    width: 100%;

    box-sizing: border-box;

    border-radius: 6px;
    border: none;
    margin-bottom: 35px;
    cursor: pointer;
}


.FormContainer a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    outline: none;

    -webkit-transition: .15s background ease-in-out;
    transition: .15s background ease-in-out;

    text-decoration: none;

    font-size: 18px;
    font-weight: 500;
    color: #516DBA;
    cursor: pointer;
}

.FormContainer button:hover {
    background: #7696db;
}

.FormContainer button:disabled {
    background: #a3bbff;
}

.FormContainer a:hover {
    color: #7696db;
}

.Error {
    color: #ff5757;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 10px 25px;
}

@media (max-width: 670px), (max-height: 600px) {
    .FormContainer {
        padding: 40px;
    }

    .FormContainer h1 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .BasicForm label > span {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .BasicForm label > input {
        font-size: 16px;
        width: 300px;
        padding: 13px 15px;
    }
}

@media (max-width: 400px), (max-height: 495px) {
    .FormContainer {
        padding: 40px;
    }

    .FormContainer h1 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .BasicForm label {
        margin-bottom: 20px;
    }

    .BasicForm label > span {
        font-size: 12px;
    }

    .BasicForm label > input {
        font-size: 14px;
        width: 200px;
        padding: 10px 13px;
    }

    .FormContainer button {
        padding: 10px;
        font-size: 14px;

        margin-bottom: 20px;
    }

    .FormContainer a {
        font-size: 14px;
    }
}