:root {
    --textColor: #363636;
    --textOffColor: #757575;
    --labelColor: rgba(0,0,0,0.6);
    --baseColor: #fff;
    --baseDarkColor: #004994;
    --baseLightColor: #fff;
    --secColor: #0095db;
    --warningColor: #d40f14;
    --grayBaseColor: #F0F0F0;
    --grayLightColor: #F7F7F7;
    --grayDarkColor: #E3E3E3;
    --pf-c-form__helper-text--Color: var(--warningColor);
    --pf-c-form-control--invalid--BorderBottomColor: var(--warningColor);
}

@font-face {
    font-family: "DGUVMetaWeb";
    src: url("../fonts/dguv-meta-normal.woff2");
    font-weight: 400;
}

@font-face {
    font-family: "DGUVMetaWeb";
    src: url("../fonts/dguv-meta-medium.woff2");
    font-weight: 500;
}

html {
    font-size: 16px;
    font-feature-settings: "lnum";
    font-variant-numeric: lining-nums;
}

a {
    background-color: transparent;
    color: var(--baseDarkColor);
    text-decoration: none;
}

a:hover {
    color: var(--baseDarkColor);
    text-decoration: underline;
}

input::-ms-reveal{
    display:none;
  }

*,
*:focus,
*:hover {
    outline: none;
}

/* Layout */

body {
    color: var(--textColor);
    display: flex;
    flex-direction: column;
    font-family: 'DGUVMetaWeb', sans-serif !important;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    min-height: 100vh;
    padding-top: 5.5rem;
}

@media (min-width: 768px) {
    body {
        padding-top: 10.5rem;
    }
}

.login-pf {
    height: auto;
}

.login-pf body {
    background-color: var(--baseLightColor);
    background-image: url("../img/bgb-bg.jpg");
    background-position: top center;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.bgb-content {
    flex: 1 0 auto;
    padding-bottom: 2rem;
    justify-content: center;
}

.bgb-options-wrapper {
    display: flex;
    justify-content: center;
}

.bgb-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 99.9999%;
    min-width: 25rem;
    padding-bottom: 6rem;
}

@media (min-width: 768px) {
    .bgb-options {
        flex-direction: row;
        max-width: 50rem;
    }
}

.bgb-options>div {
    flex: 1 100%;
}

.login-pf .card-pf {
    background-color: rgba(255, 255, 255, .96);
    border: 0 none;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12);
    height: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 16px 32px;
}

.login-pf .card-pf p {
    color: var(--textColor);
}

.login-pf .bgb-registration .card-pf {
    background-color: rgba(0, 73, 148, .95);
}

@media (min-width: 768px) {
    .bgb-registration .card-pf {
        border-radius: 0 4px 4px 0;
    }

    .bgb-login .card-pf {
        border-radius: 4px 0 0 4px;
    }
}

.login-pf .login-pf-signup {
    margin-top: 20px;
}

/* Login Form */

.login-pf .login-pf-header h1 {
    text-align: left;
}

.login-pf .form-control {
    border: none;
    padding: 22px 30px;
    font-size: 18px;
    color: var(--textColor);
    height: auto;
    border-radius: 4px;
    background: var(--baseColor);
    box-shadow: inset 15px 15px 30px var(--baseDarkColor), inset -15px -15px 30px var(--baseLightColor);
}

.login-pf .form-control::placeholder {
    font-style: normal;
    color: var(--textOffColor);
}

label,
.bgb-login .pf-c-form__label {
    color: var(--textOffColor);
    font-size: 14px;
    font-weight: 500;
}

.pf-c-form-control,
.pf-c-form-control:focus,
.pf-c-form-control:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.pf-c-form-control:focus,
.pf-c-form-control:hover {
    border-bottom-color: var(--baseDarkColor);
    border-bottom-width: var(--pf-global--BorderWidth--md);
}

.pf-c-form-control:focus {
    outline: none;
}

.alert-error {
    background-color: var(--baseLightColor);
    border-color: var(--warningColor);
    color: #333333;
}

.login-pf-page-header {
    background-color: var(--baseLightColor);
    height: 4.5rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

@media (min-width: 768px) {
    .login-pf-page-header {
        height: 7.5rem;
    }
}

div#kc-header-wrapper {
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("../img/portal-logo.svg");
    margin-left: 8px;
    margin-top: 24px;
    padding: 0;
    text-indent: -9999px;
    width: 120px;
    height: 32px;
}

@media (min-width: 768px) {
    div#kc-header-wrapper {
        margin-left: 24px;
        margin-top: 32px;
        width: 216px;
        height: 56px;
    }
}

#kc-logo {
    width: 180px;
    display: block;
    height: auto;
    background-image: url(../img/logo-bg-bau.svg);
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    a#kc-current-locale-link {
        color: rgba(255, 255, 255, .85);
    }
    a#kc-current-locale-link:hover {
        color: rgba(255, 255, 255, 1) !important;
    }
}

#kc-locale {
    display: none;
}

#kc-locale ul {
    display: none;
    position: absolute;
    background-color: var(--baseLightColor);
    list-style: none;
    right: 0;
    top: 20px;
    min-width: 100px;
    padding: 2px 0;
    border: 0 none;
    border-radius: 4px;
    box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
        0px 1px 1px 0px rgba(0, 0, 0, 0.14),
        0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

#kc-locale ul li a:hover {
    color: #4d5258;
    background-color: #f7f7f7;
}

#kc-info-wrapper {
    font-size: 14px;
    text-align: left;
}

.login-pf-page .login-pf-header h1,
.bgb-registration h2 {
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 10px;
}

.login-pf-page .login-pf-header h1 {
    color: var(--baseDarkColor);
}

.bgb-registration .card-pf h2,
.bgb-registration .card-pf p {
    color: var(--baseLightColor);
}

.login-pf-page .login-pf-settings {
    align-items: baseline;
    display: flex;
    flex-wrap: nowrap;
    font-size: 14px;
    justify-content: space-between;
}

/* Buttons */

#kc-form-buttons,
.kc-form-buttons {
    margin-top: 20px;
}

a.bgb-btn,
a.bgb-btn:active,
a.bgb-btn:hover,
.bgb-btn,
.bgb-btn:active,
.bgb-btn:hover {
    background-image: none;
    border: 0 none;
    border-radius: 4px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3333333;
    padding: 0.75rem 1rem;
    text-align: center;
    text-decoration: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.btn-primary,
a.btn-primary {
    background-color: var(--baseDarkColor);
    color: var(--baseColor);
    transition: background-color .2s cubic-bezier(.35, 0, .25, 1);
}

.btn-secondary,
a.btn-secondary {
    background-color: var(--grayDarkColor);
    color: var(--baseDarkColor);
    transition: background-color .2s cubic-bezier(.35, 0, .25, 1);
}

.btn-secondary:active,
.btn-secondary:hover,
a.btn-secondary:active,
a.btn-secondary:hover {
    background-color: var(--grayLightColor);
    color: var(--baseDarkColor);
}

.pf-c-button.pf-m-primary {
    background: var(--baseDarkColor) !important;
    border-radius: 4px;
    border: 0 none;
    color: var(--baseLightColor) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
    transition: opacity .2s cubic-bezier(.35, 0, .25, 1), background-color .2s cubic-bezier(.35, 0, .25, 1);
}

.pf-c-button.pf-m-primary:active,
.pf-c-button.pf-m-primary:hover {
    opacity: 0.9;
    outline: none;
}

.registration-hidden {
    display: none;
}

/* Config OTP */

#kc-totp-secret-key {
    background-color: #e5edf4;
    color: #333333;
    font-size: 1rem;
    padding: 0.25rem;
}

ol#kc-totp-settings {
    font-size: 0.875rem;
    padding-left: 1.5rem;
}

ol#kc-totp-settings ul {
    margin-bottom: 10px;
    padding-left: 1.25rem;
}

ul#kc-totp-supported-apps li {
    list-style-type: disc;
}

li#kc-totp-type,
li#kc-totp-algorithm,
li#kc-totp-digits,
li#kc-totp-period {
    list-style-type: disc;
}

/* Footer */

.bgb-footer {
    background-color: var(--baseDarkColor);
    bottom: 0;
    flex-shrink: 0;
    left: 0;
    padding: 1rem 0;
    position: fixed;
    right: 0;
}

.bgb-footer ul {
    list-style-type: none;
    padding: 0 1rem;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

.bgb-footer ul li a,
.bgb-footer ul li a:hover {
    color: var(--baseLightColor);
}

.bgb-footer ul li:not(:last-child) a::after {
    margin: 0 .75rem;
    content: "|";
    font-size: 1rem;
}

/* add-ons */
.benefits {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
