
:root {
    --mdc-theme-error: #b00020;
    --cas-theme-primary: #1e4673;
    --cas-theme-danger: #b00020;
}

.mdc-top-app-bar {
    background-color: white;
}

/* Ziel drop fading */
.fade-in {
    animation: normal;
}

.cas-footer {
    background-color: white;
    color: #183a64;
}


@media (max-width: 576px) {
    header>nav .cas-brand .cas-logo {
        width: 70px;
    }
}

/* Alle Inhalte mittig ausrichten */
#main-content {
  text-align: center;
}

/* Nutzung w-lg-50 für main content zur Vereinheitlichung */
/* Begrenzung für breite Screens */
.w-lg-50 {
    max-width: 586px;
}

/* 2026-09 v8.0 Ziel revert hartes margin-bottom: 3px; für 'g-rs.net Login' Überschrift' */
#login-form-controls h2 {
    margin-bottom: revert;
}

/* Ziel footer soll sich nicht über den Login container schieben */
.mdc-drawer-app-content {
  overflow: unset;
}

/* Ziel Hintergundbild */
.mdc-drawer-app-content {
    background-image: url(/cas/themes/cas-theme-grs/images/login-27e98e8f1ff22da383b03f7f91b03136.jpg);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-origin: content-box;
}

/* Styling password */
.password-forgot {
    a {
        color: var(--cas-theme-primary);
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
    }
}

/*#pmlinks, #login-form-controls {
    text-align: center;
}*/

/* Ziel verstecke HR zwischen Login und Passwort vergessen */
form#fm1 + hr.my-4 {
    display: none;
}

/* Ziel verstecke Überschrift beim LoginError */
#loginErrorsPanel h2 {
    display: none;
}

/* Ziel Platz zwischen Login Icon und Text im Button */
#submitBtn i.mdi-login::before {
    margin-right: 0.5em;
}

/* Ziel Abweichendes security icon als Haupticon vor g-rs.net Login */
#login-form-controls h2 i.mdi-login::before {
    content: "\F0483";
}

.cas-footer {
    background-color: #F4F4F4;
    color: #183a64;
    position: relative;
}
.cas-footer a {
    color: #183a64;
    text-decoration: none;
}
.cas-footer a:hover {
    text-decoration: underline;
}

#casFooter .line {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 14px;
  width: 60px;
}

#casFooter .line.gd {
  background-color: #ffe400;
  right: 13.5%;
}

#casFooter .line.dh {
  background-color: #00559e;
  right: calc(14% + 60px);
}

#casFooter span.spacer {
  margin: 0 10px;
}

.align-items-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* Ziel auch bei kleinem Display noch etwas Rand im weißen Dialog */
@media screen and (max-width: 767.99px) {
    .login-section {
        padding: 1rem 1.5rem;
    }
}

/* da dismiss in den bannern auskommentiert ist -> weniger padding right */
.banner-dismissible {
    padding-right: 10px;
}

/* aufgrund weißem Header die action button Farbe überschreiben */
.mdc-top-app-bar .mdc-top-app-bar__action-item, .mdc-top-app-bar .mdc-top-app-bar__navigation-icon {
  color: #1e4673;
}

#app-bar .lang {
  margin-right: 5%;
}

#app-bar .lang img {
  width: 100%;
  height: 100%;
}

#app-bar .lang .mdc-icon-button {
  font-size: 24px;
  width: 60px;
  height: 60px;
  padding: 0px;
  margin-left: 30px;
}

@media (max-width: 576px) {
  #app-bar .lang .mdc-icon-button {
    width: 42px;
    height: auto;
    padding: 0px;
    margin-left: 15px;
  }
}

@media (max-width: 400px) {
  #app-bar .lang .mdc-icon-button {
    margin-left: 5px;
  }
}

@media (max-width: 992px) {
    .mdc-top-app-bar--prominent-fixed-adjust {
      padding-top: 90px;
    }
    .mdc-top-app-bar--prominent .mdc-top-app-bar__row {
      height: 90px;
    }
}

/* style OIDC app notifier */
#serviceui {
    background-color: var(--cas-theme-primary-bg);
}
#serviceui i, img {
    margin-right: 0.7em;
    height: 24px;
}
#serviceui h3 {
    margin-bottom: 0;
}
#serviceUIheader {
    font-style: italic;
    font-size: smaller;
    text-align: left;
    padding-top: 5px;
    padding-left: 5px;
    color: var(--mdc-theme-text-hint-on-background);
}