
:root {
    --container-w: 1600px;

    --w-100: 100%;
    --w-80: 80%;

    --first-clr-100: #102757;
    --first-clr-200: #004289;
    --first-clr-300: #507AB5;
    --first-clr-400: #f0f5fb;

    --heaeder-bg: rgb(240, 245, 251);
    --second-clr-100: #414a50;
    --second-clr-200: #8d9296;
    
    --bdy-bg-clr: #f0f5fb;
    --muted-clr: #F2F2F2;
    --font: 'Futura';

    --fs-nrm: 22px;
    --fs-sml: 18px;
    --fs-h1: 45px;
    --fs-h2: 43px;
    --fs-h3: 35px;
    --fs-h4: 30px;
    --fs-h5: 26px;
    --fs-h6: 22px;
    --fw-m: 700;
    --fw-sb: 500;

    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    
    --m-025: .25rem;
    --m-05: .5rem;
    --m-075: .75rem;
    --m-1: 1rem;
    --m-1-5: 1.5rem;
    --m-2: 2rem;
    --m-2-5: 2.5rem;
    --m-3: 3rem;
    --m-3-5: 3.5rem;
    
    --p-l: 110px;
    --p-m: 80px;
    --p-s: 40px;
    --p-l: 6.875rem;
    --p-m: 5rem;
    --p-s: 2.5rem;

    --m-l: 110px;
    --m-m: 80px;
    --m-s: 40px;

    --p-ul: 30px;
    --p-li: 18px;
    --btn-r: 30px;
    --btn-p: .8rem 2rem;
}

.card-pf {
    max-width: 100%!important;
    width: 100%;
    background: var(--first-clr-200);
    padding: var(--m-l) var(--m-s);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
/* 2. Login-Box abrunden und Schatten hinzufügen */
.login-pf-page .card-pf {
    border-radius: 0;
    box-shadow: none;
    border-top: none; /* Deine Markenfarbe oben */
}


/* 3. Button-Farbe ändern */
.pf-c-button.pf-m-primary {
    background-color: var(--first-clr-200) !important;
    border: none;
}

/* 4. Fokus-Farbe der Eingabefelder */
.pf-c-form-control:focus {
    border-bottom-color: var(--first-clr-200) !important;
}


.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
section.row.region.region-secondary-menu {
    gap: 6rem;
    max-width: 1600px;
    margin-inline: auto;
}
div#kc-header {
    margin-bottom: 6rem;
}

.login-pf body {
    background: white;
}

.w5050 {
    grid-template-columns: 50% 50%;
}

.layout-2col {
    display: grid;
    justify-content: space-between;
    max-width: 1600px;
    margin-inline: auto;
    min-height: 45dvh;
}
.b-r {
    border-radius: 30px;
    overflow: hidden;
}
.bg-200 {
    background-color: var(--first-clr-200);
}
.card-pf * {
    color: var(--first-clr-400)!important;
}
.card-pf * {
    font-size: var(--fs-nrm);
}
h3, 
.fs-h3 {
    font-size: var(--fs-h3)!important;
}


form#kc-form-login input[type="text"],
form#kc-form-login input[type="password"]{
    color: var(--first-clr-100)!important;
}
input#kc-login {
    border: 1px solid;
    width: max-content;
    padding: .5em 1.25em;
    margin-inline: auto;
    border-radius: 30px;
    corner-shape: squircle;
}
input#username,
input#password,
button.pf-c-button.pf-m-control {
    height:50px;  
}
button.pf-c-button.pf-m-control i:before,
button.pf-c-button.pf-m-control i:after {
    color: var(--first-clr-100)!important;
}

nav.tabs ul {
    border: none;
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 2rem;
}

nav.tabs ul a {
    border: 1px solid;
    border-radius: 30px;
}

/* Sprachumschalter */
div#kc-locale-dropdown {
    display: none;
}




@media (max-width:798px) {

    header.login-pf-header {
        text-align: center;
        margin-bottom: 0!important;
        padding: 0!important;
    }
    div#kc-header img {
        max-width: 150px;
    }
    div#kc-header {
        margin-bottom: 0;
    }

    .layout-2col {
        display: flex;
    }
    
    .login-pf-page {
        padding-inline: 1rem;
    }
    .login-pf-page nav.tabs ul {
         flex-direction:column;
        gap:1rem;
    }
    .login-pf-page .nav-tabs>li a{
        width:max-content;
        text-align:center;
        margin-inline:auto;
    }

    section.region-secondary-menu {
        gap: 1rem!important;
        display: inline-flex;
        align-content: center;
        align-items: center;
        justify-content: space-between!important;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    section.row.region.region-secondary-menu::before,
    section.row.region.region-secondary-menu::after{
        display: none;
    }

    #kc-header-wrapper {
        padding-top:0;
    }
}