:root {
    --keycloak-logo-url: url('../img/UNI_Logo.svg');
    --keycloak-logo-height: 150px;
    --keycloak-logo-width: 300px;
}

.pf-v5-c-title.pf-m-3xl {
    color: #00326d;
}

.pf-v5-c-form__label {
    color: #00326d;
}

.pf-v5-c-login__main {
    background-color: #d5e3f3;
}

.pf-v5-c-button.pf-m-primary.pf-m-block {
    background-color: #00326d;
    font-weight: bold;
    color: #ffffff;
}

.pf-v5-c-form-control {
    background-color: #ffffff;
    color: #000000;
}

.pf-v5-c-form-control select {
    background-color: #ffffff;
    color: #000000;
}

.pf-v5-c-input-group__item.pf-m-fill {
    background-color: #ffffff;
    color: #000000;
}


.pf-v5-c-helper-text__item-text{
    color: #00326d;
}

.pf-v5-c-helper-text__item-text a {
    color: #00326d;
}

.pf-v5-c-helper-text__item-text a:hover {
    color: #000000;
}

.pf-v5-c-helper-text__item-text a:visited {
    color: #00326d;
}

.pf-v5-c-check__label {
    color: #00326d;
}

.pf-v5-c-login__main-footer-band-item {
    color: #00326d;
    font-weight: bold;
}

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

.pf-v5-c-login__main-footer-links {
    width: 100%;
}

.marx {
    background-color: #00326d;
    font-weight: bold;
    color: #f39ca9;
    padding: 0.375rem 1rem;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    height: 2.5rem;
    line-height: 1.5rem;
    width: 100%;
}

.marx a {
    background-color: #00326d;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}

.marx a:hover {
    background-color: #00326d;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
}

.marx a:visited {
    background-color: #00326d;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
}

.pf-v5-c-input-group__item {
    background-color: #00326d;
}

.login-select-toggle {
    background-color: #00326d;
}

.login-pf body {
    background: var(--keycloak-bg-logo-url) no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    background-color: #fff;
}

div.kc-logo-text {
    background-image: var(--keycloak-logo-url);
    height: var(--keycloak-logo-height);
    width: var(--keycloak-logo-width);
    background-repeat: no-repeat;
    background-size: contain;
    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;
}

#certificate_subjectDN {
    overflow-wrap: break-word
}

#kc-header-wrapper {
    font-size: 29px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2em;
    white-space: normal;
    color: var(--pf-v5-global--Color--light-100) !important;
    text-align: center;
    margin: 0 auto;
}

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

@media (min-width: 768px) {
    div.pf-v5-c-login__main-header {
        grid-template-columns: 70% 30%;
    }
}