/* VARIABLES */
:root {
    --color-hertha-white: #fff;
    --color-hertha-heather: #b7c2cc;
    --color-hertha-geyser: #dbe1e6;
    --color-hertha-steel: #6c8399;
    --color-hertha-blue: #0d59a0;
    --color-hertha-digitalblue: #0d59a1;
    --color-hertha-darkblue: #003974;
    --color-hertha-midnight: #02080d;
    --color-hertha-cyan: #73e8ff;
    --color-hertha-red: #e50245;

    --base-font-size: 16px;
    --font-default: 'Hertha', sans-serif;
    --font-headline: 'Hertha-Black', sans-serif;

    --default-hertha-tilt: -15deg;

    --default-transition-time: 0.3s;

    --pf-global--BoxShadow--lg: 0 0 4px 0 rgba(0,0,0,.4);
    --pf-c-form-control--readonly--focus--BackgroundColor: #ededed;
}

/* GENERIC */
html {
    font-family: var(--font-default);
    font-size: var(--base-font-size);
}

body {
    font-size: 1rem;
}

/* TYPOGRAPHY */
#kc-page-title {
    color: var(--color-hertha-digitalblue);
    font-family: 'Hertha', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.17;
    text-align: left;
    max-width: 78%;
}

.login-pf {
    background: #004FA5 none;
}

.login-pf-page {
    height: 100%;
    min-height: 100vh;
    padding-bottom: 4rem;
}

.login-pf body {
    background-repeat: no-repeat;
    background-image: url('./../img/bg-img@2x.png');
    /* image-set for FF, only png gets downloaded for not supporting browsers */
    background-image: -webkit-image-set(url('./../img/bg-img@2x.webp') 1x);
    -o-background-size: cover;
    -moz-background-size: cover;
    -webkit-background-size:cover;
    background-size: cover;
    height: auto;
}

div.kc-logo-text {
    background-image: url(../img/hertha-logo.png);
    background-size: 130px 130px;
    background-position: center center;
    background-repeat: no-repeat;
    height: 130px;
    width: 130px;
    margin: 0 auto;
}

.card-pf {
    border-top: 0;
}

.card-pf.footer {
    margin-top: 1.5rem;
}

.hertha-back-link {
    color: var(--color-hertha-digitalblue);
    font-family: var(--font-default);
    font-size: 1rem;
    font-weight: bold;
}

#kc-current-locale-link {
    color: var(--color-hertha-midnight);
    font-family: var(--font-default);
    font-size: 1rem;
}

a#kc-current-locale-link::after{
    content: url('./../img/world_24.svg');
}

a#kc-current-locale-link{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#kc-locale-dropdown a{
    text-align: left;
}

#kc-locale {
    top: 2rem;
}

/* FORGOT PASSWORD */
.hertha-forgot-password {
    color: var(--color-hertha-digitalblue);
    font-family: var(--font-default);
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 1.11;
}

#kc-reset-password-form .form-group {
    margin-right: 0;
    margin-left: 0;
}

/* LOGIN BUTTON */
.pf-c-button.pf-m-block.hertha-login-button {
    width: 50%;
}

/* FOOTER */

#kc-info {
    margin-top: 2.5rem;
    max-width: 100vw;
}

#kc-info-wrapper {
    background-image: linear-gradient(to left, var(--color-hertha-blue), var(--color-hertha-blue) 60%, var(--color-hertha-darkblue) 100%);
    height: fit-content;
    opacity: 1;
    position: relative;
}

#kc-faq-wrapper {
    background-image: linear-gradient(to left, var(--color-hertha-blue), var(--color-hertha-blue) 60%, var(--color-hertha-darkblue) 100%);
    text-align: left;
    padding: 15px 35px;
    margin: -20px -40px -30px -40px;
}

#kc-faq-wrapper p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
}
#kc-faq-wrapper p a {
    color: var(--color-hertha-cyan);
}


@media (max-width: 766px)  {
    #kc-faq-wrapper {
        margin: 0 -20px -30px;
        padding: 1rem;
    }
}

div.login-pf-signup p.instruction{
    color: var(--color-hertha-white);
}

#kc-registration {
    text-align: left;
}

.hertha-info-image {
    background-image: url(./../img/bild@2x.png);
    background-image: -webkit-image-set(url('./../img/bild@2x.webp') 1x);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    display: block;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 10rem;
}

.hertha-info-hl {
    color: var(--color-hertha-white);
    display: block;
    font-family: var(--font-default);
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.17;
    margin:1rem 0 0.5rem 0;
}

.hertha-info-sl {
    color: var(--color-hertha-white);
    display: block;
    font-family: var(--font-default);
    font-size: 1rem;
    line-height: 1.33;
    margin-bottom: 1rem;
}

.login-pf-page .login-pf-signup .hertha-info-link {
    color: var(--color-hertha-cyan);
    font-family: var(--font-default);
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.11;
    margin-left: 0;
}

.hertha-info-link {
    color: var(--color-hertha-cyan);
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.hertha-icon {
    fill: currentColor;
    display: inline-flex;
    justify-content: center;
    height: 1rem;
    margin-right: 0.5rem;
    user-select: none;
    width: 1rem;
}

#kc-passwd-update-form #kc-form-buttons > input{
    color: var(--color-hertha-white);
}

#kc-passwd-update-form .form-group {
    margin-left: 0;
    margin-right: 0;
}

#kc-passwd-update-form .form-group .pf-c-button.pf-m-block {
    width: initial;
    letter-spacing: 0.05rem;
}

@media (max-width: 358px) {
    #kc-locale {
        top: 7rem;
    }

    .login-pf-header #kc-page-title {
        margin-top: 3.5rem;
    }

    .pf-c-button.pf-m-block.hertha-login-button {
        width: 95%;
        margin: 0 auto;
    }

}

@media (max-width: 766px)  {
    #kc-registration .hertha-info-link {
        margin-top: 0;
    }

    #kc-content-wrapper #kc-info {
        margin: 20px -20px -30px;
    }

    #kc-info-wrapper {
        padding: 0.5rem 1rem;
    }

    .hertha-info-image {
        width: 2rem;
    }

    .login-pf-header #kc-page-title {
        margin-top: 2rem ;
    }

    .pf-c-dropdown__menu .pf-c-dropdown__menu-item {
        text-align: left;
    }

    div.kc-logo-text{
        background-size: 70px 70px;
        height: 100px;
        width: 100px;
    }

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

    #kc-header{
        margin-bottom: 0;
    }

    #kc-locale {
        top: 135px;
    }

    .login-pf-page {
        padding-top: 0;
    }

    span.hertha-info-image{
        display: none;
    }
}

@media (max-width: 1750px) and (min-width: 1450px) {
    div#kc-header-wrapper {
        padding-top: 0;
        padding-bottom: 0;
    }

    .login-pf-page .login-pf-page-header {
        margin-bottom: 20px;
    }
}
