﻿.container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ebebee;
    overflow: scroll;
    min-width: 360px;
}

.background-image-container-item {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position-y: center;
    background-attachment: fixed;
    position: absolute;
    width:100%; 
}

.background-image-mobile {
    display: none;
}

.login-container-item {
    display: flex;
    z-index: 1;
    height: 792px;
}

html, body, .container, .background-image-container-item  {
    height: 100%;
}

.login-form-container {
    padding: 56px 32px;
    border-radius: 20px;
    background-color: #FFF;
    height: 544px;
}

.login-form-logo-icon{
    width: 115px;
    height: 115px;
    position: absolute;
    transform: translate(259%, -71%);
    border-radius: 20px;
}

.login-form-logo {
    display: block;
    margin-bottom: 10%;
    max-width: 200px;
}

.validation-summary-errors {
    color: red;
    font-size: 14px;
    padding: 10px 0;
}

.login-form-organization label,
.login-form-organization input,
.login-form-username label,
.login-form-username input,
.login-form-password label,
.login-form-password input {
    display: block;
}

.login-form-organization label,
.login-form-username label,
.login-form-password label {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
    color: #424242;
    cursor: pointer;
}

.login-form-organization input,
.login-form-username input,
.login-form-password input {
    box-sizing: border-box;
    height: 40px;
    border: solid 1px #d9d9d9;
    padding: 8px 16px;
    color: #424242;
    border-radius: 4px;
    width: 100%;
}

.password-visibility-icon {
    position: absolute;
    top: 36px;
    right: 16px;
    cursor: pointer;
}

.login-form-organization,
.login-form-password {
    margin-top: 8px;
    position: relative;
}

.login-form-remember-me {
    margin-top: 16px;
    align-items: center;
    display: flex;    
}

    .login-form-remember-me input[type="checkbox"] {
        height: 18px;
        width: 18px;
        margin: 0;
        vertical-align: text-bottom;
    }

    .login-form-remember-me label {
        font-size: 14px;
        color: #424242;
        cursor: pointer;
        user-select: none;
        vertical-align: middle;        
    }

.login-form-forgot-password {
    font-size: 14px;
    float: right;
    text-align: right;
    color: #263c82;
    text-decoration: underline;
    cursor: pointer;
    margin-left: auto;
}

.login-form-button {
    margin-top: 32px;
}

    .login-form-button button {
        display: inline-block;
        background: #263c82;
        border-radius: 4px;
        color: #FFF;
        text-align: center;
        font-size: 15px;
        width: 100%;
        height: 40px;
        cursor: pointer;
        border: solid 1px #263c82;
    }

.login-form-faq{
    padding-top: 48px;
}

    .faq-question, .faq-answer {
        display: block;
        line-height: 20px;
        text-align: center;
    }

    .faq-question {
        font-size: 14px;
        color: #424242;
        font-weight: 500;
    }

    .faq-answer {
        font-size: 14px;
        color: #424242;
    }

.login-form-register {
    margin-top: 40px;
}

.login-form-help {
    margin-top: 32px;
}

    .login-form-help a {
        color: #263c82;
        text-decoration: underline;
        cursor: pointer;
    }

.divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #d9d9d9;
    line-height: 0.1em;
    margin: 44px 0;
}

    .divider h5 span {
        background: #fff;
        color: #424242;
        padding: 0 10px;
        font-weight: 500;
        font-size: 14px;
    }

.login-form-external-provider{
    line-height: 24px;
}

button.google{
    margin-top: 8px;
}

button.google, button.microsoft{
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;
    border-radius: 4px;
    display: inline-flex;
    color: #616161;
    text-align: center;
    font-size: 15px;
    width: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    height: 56px;
}

    button.google img, button.microsoft img {
        padding-right: 8px;
        width: 20px;
    }
    
@media all and (max-width: 520px) {
    .background-image-container-item, .login-form-logo-icon {
        display: none; 
    }
    .container {
        background: linear-gradient(to right, #f5f5f5, #d0d0d7);
    }
}

@media all and (max-width: 520px), (max-height: 880px) {
    .divider {
        margin: 28px 0;
    }

    .login-form-container {
        height: auto;
        max-width: 356px;
        margin: auto;
    }

    .login-container-item {
        display: block;
        width: 100%;
        overflow: auto;
        height: auto;
    }

    .login-form-logo {
        margin-bottom: 24px;
    }

    .login-form-organization,
    .login-form-password
     {
        margin-top: 8px;
    }

    .login-form-button, .login-form-help {
        margin-top: 16px;
    }

    button.microsoft, button.google {
        margin-top: 0;
        height: 45px;
        position: relative;
        display: flex;
        align-items: center;
    }

    button.microsoft {
        margin-bottom: 8px;
    }

    .login-form-register{
        margin-top: 24px;
    }

    .login-form-faq {
        padding-top: 0;
    }

    .faq-question, .faq-answer {
        margin: auto;
    }

    .faq-answer{
        font-size: 12px;
    }
}

@media all and (max-height: 780px) {
    .container{
        align-items: normal; 
    }
    .login-form-container{
        margin-top: 36px;
        margin-bottom: 36px;
        position: relative;
    }
}

@media all and (max-width: 470px) {
    .login-form-container {
        margin-left: 25px;
        margin-right: 25px;
    }
}

label {
    line-height: 24px;
}

::backdrop{
    background-color: #e8e8ea;
}

input:placeholder-shown{
    font-style: italic;
}

.login-form-organization input:focus,
.login-form-username input:focus,
.login-form-password input:focus, 
.login-form-organization input:focus-visible,
.login-form-username input:focus-visible,
.login-form-password input:focus-visible {
    outline: solid 2px #6E758C;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-family: "Roboto", "Open Sans", "Segoe UI", "Helvetica Neue";
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}
