@font-face {
    font-family: 'quicksandbold';
    src: url('../fonts/quicksand-bold.woff2') format('woff2'),
         url('../fonts/quicksand-bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'quicksandregular';
    src: url('../fonts/quicksand-regular.woff2') format('woff2'),
         url('../fonts/quicksand-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'quicksandlight';
    src: url('../fonts/quicksand-light.woff2') format('woff2'),
         url('../fonts/quicksand-light.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
    margin:0;
    padding:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition:all 0.4s;
}

html {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

body#SignInpage {
    background-color: #f5fafe;
    font-family: 'quicksandregular';
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;

}

input::placeholder {
    color:#a4c0cb;
    font-style: italic;
    font-weight: 400
}

.hidden {
    display: none;
}

.loginContainer h1 {
    font-family: 'quicksandbold';
    font-size: 1.6rem;
    margin: 2rem 0;
}

p, label {
    font-size: 0.8rem;
    font-family: 'quicksandregular';
}

.loginContainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 5px 1px #c5ced7;
    height: 580px;
    max-width: 880px;
    margin: auto;
}

.ErrorMsg {
    color: #e34747;
    font-size: 0.7rem;
    text-align: center;
}

.left-col, .right-col {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.left-col {
    background-color: #212e44;
    color: #fff;
    text-align: center;
}

.right-col {
    color: #485160;
}
.content {
    margin: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loginContainer .logo {
    width: 60%;
}

.loginContainer .icon {
    width: 40%;
}

#AuthentificationForm, #MFAForm {
    width: 320px;
}


.loginContainer .form-group {
    margin: 1rem 0 2rem 0;
}

.loginContainer .form-group > input {
    width: 100%;
    padding: 0.6rem;
    box-sizing: border-box;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: solid 1px #d7dee9;
    background-color: #fafdff;
    border-radius: 0.3rem;
    overflow: hidden;
}

.loginContainer  label {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    display: block;
}

#SignInButton, #SubmitButton {
    background-color: #88c5db;
    width: auto;
    padding: 0.5rem 1rem;
    display: block;
    border: none;
    border-radius: 4px;
    font-family: 'quicksandregular';
    font-size: 1rem;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    width: 100%;
}

#SignInButton.disabled, #SubmitButton.disabled, #BackButton.disabled {
    opacity: 0.4;
}

.back {
    color: #88c5db;
    text-decoration: underline;
    margin: 1rem 0 0 0;
    background-color: transparent;
    flex-direction: row;
    align-self: flex-start;
    background: url("../img/back.svg") no-repeat left center transparent;
    background-size: 15px;
    padding-left: 22px;
    cursor: pointer;
}

.back.disabled {
    opacity: 0.4;
    display: block;
}

.error-box {
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


@media only screen and (max-width: 900px) {

    html {
        height: initial;
    }

    .loginContainer {
        flex-direction: column;
        height: auto;
        width: 100%;
        border-radius: initial;
    }

    .loginContainer .icon {
        width: 30%;
    }

    .loginContainer h1 {
        font-size: 1rem;
    }

    p {
        font-size: 0.7rem;
    }

    .left-col, .right-col {
        width: 100%;
    }
}
