html,
body {
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.28581;
    text-transform: none;
    color: #182026;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
        Ubuntu, Cantarell, Open Sans, Helvetica Neue, Icons16, sans-serif;

    width: 100%;
    min-width: 1140px;
    height: 100%;

    margin: 0;
    padding: 0;

    background: #eee;
    box-sizing: border-box;
}

body {
    font-size: 14px;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.fixed-container {
    width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background: #fff;
    width: 100%;
}

.header-content-wrapper {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-start;
}

.header-content-wrapper > * {
    height: 5rem;
    min-height: 1px;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
}

.logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 15rem;
    margin-bottom: 0.25rem;
}

.login-form-content-wrapper {
    height: calc(100vh - 5rem);
    min-height: 480px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form-content-wrapper > * {
    position: relative;
    width: 100%;
    height: max(440px, min(70vh, 600px));
}

.login-form {
    position: absolute;
    top: 0;
    right: 0;
    height: max(440px, min(70vh, 600px));
    width: 50%;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    overflow-y: auto;
}

@supports (backdrop-filter: blur(0)) or (-webkit-backdrop-filter: blur(0)) {
    .login-form {
        background: rgba(255, 255, 255, 0.85);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
}

.login-form > #kc-form {
    margin-top: 1.5rem;
}

#kc-social-providers > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#kc-social-providers > ul > li + li {
    margin-top: 1rem;
}

#kc-social-providers > ul > li > a {
    background: #fff;
    color: inherit;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 10px;
    align-items: center;
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0 10px;
    text-align: left;
    vertical-align: middle;
    min-height: 50px;
    min-width: 50px;
    text-decoration: none;
}

#kc-social-providers > ul > li > a:hover,
#kc-social-providers > ul > li > a:focus {
    background: #ddd;
}

#kc-social-providers > ul > li > a::before {
    display: block;
    content: "";
    width: 50px;
    height: 30px;
    background: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

#kc-social-providers a#zocial-AAF {
    border-color: #f0593a;
    background: #f0593a;
    color: #fff;
}

#kc-social-providers a#zocial-AAF:hover,
#kc-social-providers a#zocial-AAF:focus {
    background: #ee981c;
}

#kc-social-providers a#zocial-AAF::before {
    background-image: url(../img/aaf-white-logo-icon-only.png);
    height: 40px;
    margin-bottom: -15px;
}

#kc-social-providers a#zocial-AAF::after {
    display: block;
    content: "Educational and research institutions";
    font-weight: normal;
    font-size: 0.7rem;
    font-style: italic;
    flex-basis: 100%;
    margin-top: -14px;
    margin-left: 60px;
}

#kc-social-providers a#zocial-keycloak-local-account {
    border-color: #0fa996;
    background: #0fa996;
    color: #fff;
}

#kc-social-providers.local-login-form-hidden
    a#zocial-keycloak-local-account:hover,
#kc-social-providers.local-login-form-hidden
    a#zocial-keycloak-local-account:focus {
    background: #11c2ad;
}

#kc-social-providers:not(.local-login-form-hidden)
    a#zocial-keycloak-local-account {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

#kc-social-providers a#zocial-keycloak-local-account::before {
    background-image: url(../img/logo.png);
    background-size: 207.87px 30px;
    background-position: 4px 1px;
}

#request-account {
    color: #fff;
    background: #feae17;
    display: flex;
    align-items: center;
    border: 1px solid #ffdd00;
    border-radius: 3px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    padding: 0 10px;
    min-height: 50px;
    min-width: 50px;
    text-decoration: none;
}

#request-account:hover,
#request-account:focus {
    background: #ffdd00;
    /* border: 1px solid #0062cc; */
}

#kc-form-login {
    background: #0fa996;
    color: #fff;
    padding: 10px;
}

#kc-form-login > * {
    display: flex;
    align-items: center;
    gap: 10px;
}

#kc-form-login > * + * {
    margin-top: 5px;
}

#kc-form-login > *:not(#kc-form-buttons) > :nth-child(1) {
    width: 30%;
    text-align: right;
}

#kc-form-login > *:not(#kc-form-buttons) > :nth-child(2) {
    width: 70%;
}

#kc-form-login > #kc-form-buttons > #kc-login {
    margin-left: auto;
}

#kc-form-login .kc-forgot-password-link {
    color: inherit;
    font-size: 0.7rem;
}

#kc-reset-password-form {
    background: #0fa996;
    color: #fff;
    padding: 10px;
}

#kc-reset-password-form > * {
    display: flex;
    align-items: center;
    gap: 10px;
}

#kc-reset-password-form > * + * {
    margin-top: 5px;
}

#kc-reset-password-form > *:not(#kc-form-buttons) > :nth-child(1) {
    width: 30%;
    text-align: right;
}

#kc-reset-password-form > *:not(#kc-form-buttons) > :nth-child(2) {
    width: 70%;
}

#kc-reset-password-form > #kc-form-buttons > #kc-submit {
    margin-left: auto;
}

#kc-reset-password-form .kc-email-instruction {
    color: inherit;
    font-size: 0.7rem;
}

.kc-terms-condition {
    white-space: nowrap;
}
.kc-terms-condition > * {
    color: inherit;
}

#kc-reset-password-form .kc-back-to-login-link{
    color: inherit;
    font-size: 0.7rem;
}


.splash-image-wrapper {
    position: relative;
    margin: 0;
}

.splash-image-wrapper > img {
    width: 100%;
    height: max(440px, min(70vh, 600px));
    object-fit: cover;
    border-radius: 3px;
}

.splash-image-wrapper > figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 49%;
    background: rgba(0, 0, 0, 0.5);
    color: #ccc;
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.splash-image-wrapper > figcaption:empty {
    display: none;
}

.splash-image-wrapper > figcaption:hover {
    background: #000;
    color: #fff;
}

.login-title {
    color: inherit;
    margin: 1rem 0;
}

.login-title > span {
    color: #0fa996;
}

.login-help-links-content-wrapper,
.legal-links-content-wrapper {
    font-size: 0.7rem;
    color: #707070;
    margin-top: 2rem;
}

.login-help-links-content-wrapper {
    display: flex;
    flex-direction: column;
    /* align-items: flex-start; */
    gap: 0.7rem;
}

.login-support-content-wrapper {
    margin-top: 1rem;
    font-size: 0.7rem;
    color: #707070;
}

.login-help-links-content-wrapper > *,
.legal-links-content-wrapper > * {
    color: inherit;
}

.legal-links-content-wrapper > * + * {
    margin-left: 2rem;
}

button,
input[type="submit"] {
    background: #fff;
    display: inline-flex;
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    text-align: left;
    vertical-align: middle;
    min-height: 30px;
    min-width: 30px;
}

input[type="submit"]#kc-login,
input[type="submit"]#kc-login:hover,
input[type="submit"]#kc-login:focus {
    color: #0d8050;
}

input[type="submit"]#kc-login:hover,
input[type="submit"]#kc-login:focus {
    background: rgba(177, 211, 197);
}

input[type="submit"]#kc-submit,
input[type="submit"]#kc-submit:hover,
input[type="submit"]#kc-submit:focus {
    color: #0d8050;
}

input[type="submit"]#kc-submit:hover,
input[type="submit"]#kc-submit:focus {
    background: rgba(177, 211, 197);
}


input[type="text"],
input[type="password"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fff;
    border: none;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 0 0 rgba(19, 124, 189, 0),
        0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15),
        inset 0 1px 1px rgba(16, 22, 26, 0.2);
    box-shadow: 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0),
        inset 0 0 0 1px rgba(16, 22, 26, 0.15),
        inset 0 1px 1px rgba(16, 22, 26, 0.2);
    color: #182026;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
    height: 30px;
    line-height: 30px;
    outline: none;
    padding: 0 10px;
    vertical-align: middle;
}

input[type="text"]:focus,
input[type="password"]:focus {
    -webkit-box-shadow: 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3),
        inset 0 1px 1px rgba(16, 22, 26, 0.2);
    box-shadow: 0 0 0 1px #137cbd, 0 0 0 3px rgba(19, 124, 189, 0.3),
        inset 0 1px 1px rgba(16, 22, 26, 0.2);
}

input[type="text"]:disabled,
input[type="password"]:disabled {
    background: rgba(206, 217, 224, 0.5);
    -webkit-box-shadow: none;
    box-shadow: none;
    color: rgba(92, 112, 128, 0.6);
    cursor: not-allowed;
    resize: none;
}

/* Alert messages that appear at the top of the page */
#kc-content-wrapper > .alert {
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 3px;
    padding: 10px 12px 9px;
}

.alert.alert-success {
    background-color: rgba(15,153,96,.15);
}

.alert.alert-warning {
    background-color: rgba(217,130,43,.15);
}

.alert.alert-error {
    background-color: rgba(219,55,55,.25);
}

.alert.alert-info {
    background-color: rgba(19,124,189,.25);
}


.terms-conditions-decline {
    background: #fff;
    display: inline-flex;
    border: 1px solid;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    text-align: left;
    vertical-align: middle;
    min-height: 30px;
    min-width: 30px;
    text-decoration: none;
    color: black;
}