body {
    font-family: 'Montserrat', 'Roboto';
}

.pf-v5-c-login__container {
    grid-template-columns: 34rem;
    grid-template-areas: "header"
                         "main"
}

.pf-v5-c-login__main-header {
    grid-template-columns: none;
}

.login-pf body {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    background-color: #F6F4FF;
}

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;
}

#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;
}

hr {
    margin-top: var(--pf-v5-global--spacer--sm);
    margin-bottom: var(--pf-v5-global--spacer--md);
}

.bilander-platform-login-container {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: block;
    margin-right: auto;
    margin-left: auto;
    width: 600px;
    background-color: #fff;
    -webkit-box-shadow: 0 0 83px #cacbcd;
    box-shadow: 0 0 83px #cacbcd;
    text-align: center;
    padding: 50px;
}

.bilander-login-title {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 35px;
    font-weight: 300;
    text-align: center;
}

.login-dropdown {
    position: absolute;
    right: 30px;
    top: 30px;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 55px;
    -webkit-box-shadow: 0px 8px 16px 0px #cacbcd;
    box-shadow: 0px 8px 16px 0px #cacbcd;
    border-radius: 10px;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content .flag-container {
    color: #000;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.flag-container {
    cursor: pointer;
}

.dropbtn {
    background-color: #f9f9f9;
    color: #fff;
    padding: 16px;
    font-size: 16px;
    cursor: pointer;
    border: 1px #f1f1f1 solid;
    border-radius: 10px;
}

.flag-icon {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    width: 1.33333333em;
    line-height: 1em;
}

.flag-icon:before {
    content: "\00a0";
}

.flag-icon-pl {
    background-image: url(../img/pl.svg);
}

.flag-icon-en {
    background-image: url(../img/en.svg);
}

.flag-icon-us {
    background-image: url(../img/us.svg);
}

.flag-icon-gb {
    background-image: url(../img/gb.svg);
}

button.pf-v5-c-button.pf-m-primary {
    display: inline-block;
    box-sizing: border-box;
    min-width: 30px;
    border: 1px solid transparent;
    cursor: pointer;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;

    padding: 15px 20px;
    letter-spacing: .65px;
    font-size: 13px;
    height: 50px;
    text-transform: uppercase;

    background-color: #2b75e0;
}

#kc-login {
    width: 230px;
    padding-left: 40px;
    padding-right: 40px;
    margin: 40px auto 0 auto;
}