@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css");

@font-face {
    font-family: "EDF 2020";
    src: url("../fonts/EDF2020W01-Regular.woff2") format("woff2"),
    url("../fonts/EDF2020W01-Regular.woff") format("woff"),
    url("../fonts/EDF2020W01-Bold.woff") format("woff");
}
* {
    font-family: 'EDF 2020', serif;
}

.kc-header {
    display: flex;
    flex-direction: column;
    margin-right: 68px;
    margin-left: 120px;
    width: 424px;
}

.page-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: hidden;
}

.side-background-container {
    width: 50%;
    background-color: #F3F5FA;
}

.side-content-container {
    width: 50%;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.side-content-container__img {
    background: url("../img/background.png") no-repeat center center;
    position: absolute;
    left: -817px;
    width: 937px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.form-container {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    margin-bottom: 8px;
}

div.error.alert-wrapper ~ div.form-container > input {
    outline: none;
    border: solid 2px #FFCDBD;
    color: #151A2B;
}

div.error.alert-wrapper ~ div.form-container > label {
    color: #ED0E05;
}

.form-label {
    font-size: 14px;
    line-height: 18px;
    color: #151A2B;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    height: 38px;
    background: #FFFFFF;
    border: 1px solid #90A4AE;
    border-radius: 5px;
    color: #1071F2;
    padding: 8px;
}

.form-input:focus-visible {
    outline: none;
    border: solid 2px #1071F2;
}

.form-input:-webkit-autofill {
    color: #1071F2;
    background: #FFFFFF;
}

#kc-page-title {
    font-family: 'EDF 2020', serif;
    font-size: 32px;
    color: #151A2B;
    margin-top: 32px;
    margin-bottom: 0;
}

.button {
    padding: 10px 20px;
    background: #1071F2;
    border-radius: 80px;
    border-style: none;
    font-family: 'EDF 2020', serif;
    font-style: normal;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.button:disabled {
    background: #E0E6F1;
    color: #415660;
}

.forget-password-link {
    display: flex;
    justify-content: right;
}

.footer {
    margin-top: 32px;
    margin-bottom: 5px;
}

.link {
    color: #1071F2;
    font-size: 14px;
    padding: 0;
    text-decoration: underline;
    border: none;
    background: none!important;
    cursor: pointer;
}

.bold {
    font-weight: 700;
}

.border-right {
    border-right: 1px solid #E0E6F1;
    padding-right: 5px;
}

.link-back {
    margin-bottom: 32px;
    align-self: start;
}

#kc-content {}

.kc-form-buttons {
    display: flex;
    justify-content: right;
    margin-top: 24px;
}

#kc-form-options {
    margin-top: 16px;
}

#kc-form-options label.form-label {
    cursor: pointer;
}

.body-container {
    flex: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.body-template-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 400px;
}

.logo {
    max-width: 250px;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.alert-wrapper {
    padding: 10px;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    margin-top: 16px;
}

.alert-content-side-text {
    padding-left: 10px;
    align-self: center;
    display: inline;
}

.alert-content-img {
    display: flex;
    justify-content: center;
    vertical-align: center;
}

.error {
    background-color: #FFCDBD;
}

.error img {
    background: url("../icons/Danger.svg") no-repeat center center / contain;
    padding: 22px;
}

.info {
    background-color: #B7DCFF;
}

.info img {
    background: url("../icons/Info.svg") no-repeat center center / contain;
    padding: 22px;
}

.success {
    background-color: #ECF7B7;
}

.success img {
    background: url("../icons/Check-Circle.svg") no-repeat center center / contain;
    padding: 22px;
}

.warning {
    background-color: #B7DCFF;
}

.warning img {
    background: url("../icons/Alert-Circle.svg") no-repeat center center / contain;
    padding: 22px;
}

#temporaryMessage {
    font-weight: normal;
}

.instruction {
    padding-bottom: 16px;
    text-align: center;
}

.password-field-input{
    display: flex;
    position: relative;
}

.password-reveal {
    position: absolute;
    color: #0052f0;
    right: 8px;
    top: 50%;
    translate: 0 -50%;
    font-size: 20px !important;
}

@media (max-width: 1000px) OR (max-device-width: 1000px) {
    .side-content-container__img {
        background: url("../img/mini_background.png") no-repeat center center;
        left: -690px;
    }
}

@media (max-width:950px) OR (max-device-width: 950px) {
    .body-container {
        width: 100%;
    }

    .body-template-container {
        max-width: 90%;
    }

    .side-background-container {
        display: none;
    }

    .side-content-container__img {
        display: none;
    }

    .side-content-container {
        width: 100%;
    }

    #kc-page-title {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .kc-header {
        width: 100%;
        margin: 0;
    }

    .kc-header-wrapper{
        margin: 20px auto;
    }

    .kc-logo-text {
        display: flex;
        justify-content: center;
    }

    .kc-form-buttons {
        margin: 40px 0;
        justify-content: center;
    }

    .button {
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
    }

    .button-reset-wrapper {
        width: 100%;
        text-align: center;
    }

    .button-reset {
        display: block;
        width: 100%;
        padding: 15px 0;
        font-size: 18px;
    }

    .form-container {
        margin: 20px 0;
    }

    .form-label {
        font-size: 16px;
        line-height: 32px;
    }

    .form-input {
        font-size: 18px;
        height: 38px;
    }

    .forget-password-link {
        justify-content: left;
        margin: 20px 0;
    }

    .link {
        font-size: 16px;
    }

    .link-back {
        margin-bottom: 40px;
    }

    .alert-wrapper {
        font-size: 18px;
    }


    #rememberMe {
        width: 14px;
        height: 14px;
    }

    #kc-form-options {
        align-self: center;
    }

    .instruction {
        font-size: 28px;
    }

    .password-reveal {
        right: 15px;
        top: 50%;
        font-size: 20px;
    }
}
