/* inter-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v13-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.pf-v5-c-login {
    padding-top: 100px;
    align-items: unset;
    --pf-v5-c-login__main-footer-links--PaddingLeft: var(--pf-v5-c-login__main-body--PaddingLeft);
    --pf-v5-c-login__main-footer-links--PaddingRight: var(--pf-v5-c-login__main-body--PaddingRight);
    --pf-v5-c-login__main-footer-links-item--PaddingLeft: unset;
    --pf-v5-c-login__main-footer-links-item--PaddingRight: unset;
}

.pf-v5-c-login__main-footer-links-item {
    flex-basis: 100%;
}

.pf-v5-c-login__container {
    grid-template-columns: 25rem;
    grid-template-rows: 7rem;
    grid-template-areas: "header"
                         "main"
}

.pf-v5-c-login__header {
    margin-block-start: unset;
    color: inherit;
}
.pf-v5-c-login__main-header {
    text-align: center;
}

h1#kc-page-title {
    font-size: 20px;
    color: #5e5e5e;
}
.pf-v5-c-form__label {
    padding: 7px 10px 7px 0;
}
button#kc-login {
    background: #334459;
    height: 50px;
}
button#kc-login:focus, button#kc-login:hover {
    background: #465d79;
    border-color: #0074b3;
    box-shadow: 0 0 8px #51cbee;
}

.login-pf body {
    background: #f6f9ff;
    color: #212529 !important;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    height: 100%;
    background-image: url('https://help.loginservice.imsweb.com/static/i/dev_bg.gif');
}

.brand-primary-color {
    color: #4154f1;
}

div.kc-logo-text {
    background-image: url(../img/keycloak-logo-text.png);
    background-repeat: no-repeat;
    height: 63px;
    width: 300px;
    margin: 0 auto;
}

div.kc-logo-text span {
    display: none;
}

.kc-login-tooltip {
    position: relative;
    display: inline-block;
}

.kc-login-tooltip .kc-tooltip-text{
    top:-3px;
    left:160%;
    background-color: black;
    visibility: hidden;
    color: #fff;

    min-width:130px;
    text-align: center;
    border-radius: 2px;
    box-shadow:0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity:0;
    transition:opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity:0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

#kc-recovery-codes-list {
    columns: 2;
}

.login-pf a.pf-m-primary {
    margin-bottom: var(--pf-v5-global--spacer--sm);
}

.login-pf a.pf-m-primary:hover {
    color: var(--pf-v5-c-button--m-primary--Color);
}

.login-pf a.pf-m-primary:focus {
    text-decoration: none;
}

#certificate_subjectDN {
    overflow-wrap: break-word
}

#kc-header {
    text-align: center;
    background: #fff;
    padding: 30px 0 0;
    max-width: 400px;
    border-bottom: 1px solid #ddd;
}

#kc-header img {
    max-width: 90px;
}

main.pf-v5-c-login__main {
    max-width: 400px;
    box-shadow: none;
}

#kc-header-wrapper {
    font-size: 26px;
    font-weight: 700;
    white-space: normal;
    text-align: center;
}

hr {
    margin-top: var(--pf-v5-global--spacer--sm);
    margin-bottom: var(--pf-v5-global--spacer--md);
}

@media (max-width:600px) {
    .pf-v5-c-login {padding-top: 0;}
    #kc-header, main.pf-v5-c-login__main {max-width: none;}
    .login-pf body {background-color: #fff; background-image: none;}
}
