
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Patternfly CSS places a "bg-login.jpg" as the background on this ".login-pf" class.
   This clashes with the "keycloak-bg.png' background defined on the body below.
   Therefore the Patternfly background must be set to none. */
.login-pf {
    background: none;
}

.login-pf body {
    background: none;
    height: 100%;
    overflow: hidden;
}

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

#kc-header {
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -100;
}

#kc-header-wrapper {
    /* background-color: #302B52; */
    overflow: visible;
    /* float: right; */
    font-size: 0;
    height: 100%;
    /* width: 50%; */
}

#kc-header-wrapper:before {
    background: url("../img/background.jpg") no-repeat bottom left;
    content: " ";
    height: 100%;
    left: 0;
    /* padding-left: 50%; */
    position: absolute;
    width: 100%;
    background-size: cover;
}

h1#kc-page-title {
    font-weight: 500;
    text-align: left;
}

h1#kc-page-title:before {
    background: url("../img/geberit-logo.svg") no-repeat top left;
    background-size: auto 29px;
    content: " ";
    height: 27px;
    left: -3px;
    top: -16px;
    /* padding: 0 260px 0 0px; */
    position: relative;
    /* width: 230px; */
    display: block;
}

.login-pf-page .card-pf {
    border-color: white;
    border: none;
    box-shadow: none;
    margin: 120px auto;
    max-width: 400px;
    padding: 20px 40px 30px 40px;
    background-color: white;
}

.pf-c-form-control:not(textarea) {
    border: 1px solid #CED4DA;
    border-radius: 4px;
}

.pf-c-button{
    border-radius: 4px;
}

.pf-c-button.pf-m-primary, .pf-c-button.pf-m-primary:hover, .pf-c-button.pf-m-primary:active, .pf-c-button.pf-m-primary:active:focus {
    background-color: white;
    background-image:none;
    color: #0171ba;
    line-height: inherit;
    border: 1px solid;
    border-radius: 4px;
}

#social-oidc {
    background-color: #0171ba;
    color: white;
}

/* @media  */
@media(max-width: 768px) {

    .login-pf-page .card-pf {
        margin-top: 150px;
        padding: 20px 40px 30px 40px;
    }

    #kc-header {
        display: none;
    }

    #kc-header-wrapper:before {
        display: none;
    }

    .login-pf-page {
        width: 100%;
    }

}

@media(max-width: 576px) {

    body, html {
        overflow: auto;
    }

    .login-pf-page .card-pf {
        margin-top: 100px;
        padding: 20px 40px 30px 40px;
    }
}