/** hier werden Styleanweisungen durch das ZBFS hinterlegt, 
    ohne die ggf. mininizierte projektspezifische css-Datei anfassen  zu muessen
**/

/** Styles fuer Button "Jetzt aktivieren" (im Overlay fuer Youtube Videos) **/
body.mobile-modal-open .module-youtube .activation-required > .overlay .btn.youtube_aktivieren {
    background-color: #2e609a !important;
    color: #fff !important;
    border-color: #2e609a !important
}
body.mobile-modal-open .module-youtube .activation-required > .overlay .btn.youtube_aktivieren:focus
, body.mobile-modal-open .module-youtube .activation-required > .overlay .btn.youtube_aktivieren:hover {
    background-color: #3774b9 !important;
    border-color: #3774b9 !important
}
.module-youtube .overlay .close-privacy-modal svg {
    margin-top: -5px;
}
.module-youtube .overlay ul li a:before {
    content: none;
}
.module-youtube .activation-required .overlay a.btn:hover {
    text-decoration: none;
}
.module-youtube .activation-required .overlay a.btn .label {
    text-decoration: none;
}
.theme-default .module-youtube .overlay ul li a:hover .label {
    text-decoration: none;
}
 .module-youtube .overlay .link-datenschutzhinweise {
    text-decoration: none;
}

.theme-default .rte a .link-with-arrow::before {
    color: #ad2e52;
}

/* Logos im Header */
@media (max-width: 48em) {
  #header #logo-stmas {
      margin: 0.625rem 0 1.125rem 0;
  }
}

/* module-keyvisual -- module-keyvisual-slider */
.module-keyvisual-slider .slide figure.fullsize
, .module-keyvisual figure.fullsize {
    align-items: normal;
}
.theme-default .module-keyvisual figure.image_2025 {
  margin: 0 auto!important;
}
.theme-default .module-keyvisual figure.image_2025 figcaption
, .theme-default .module-keyvisual-slider figure.image_2025 figcaption {
  display: contents!important;
}
@media (min-width: 1200px) {
  .theme-default .module-keyvisual figure.image_2025 figcaption .caption--overlay
  , .theme-default .module-keyvisual-slider figure.image_2025 figcaption .caption--overlay {
    bottom: 130px;
  }
}

/* Formulare */
#complaint_form h3 {
  font-size: 1.625rem;
  line-height: 2.1875rem;
  margin-bottom: 1.5rem;
  margin-top: 4rem
}
#complaint_form h3:first-of-type {
  margin-top: 0
}

/*** Quiz Formular */
#quiz_form .correct {
    padding: 10px 10px 15px;
    color: forestgreen;
    font-size: 1.125em;
}
#quiz_form .not-correct {
  padding: 10px 10px 15px;
  color: red;
  font-size: 1.125em;
}
#quiz_form button.submit-btn {
  margin-top: 1.5em;
}

/** module-page-control **/
.theme-default .module-page-control > a.quick-box {
  background-color: #2e609a;
} 
.theme-default .module-page-control > a.quick-box:hover {
  background-color: #3774b9;
} 
.theme-default #footer .module-page-control > a.quick-box.expandable .body {
  background-color: #2e609a;
} 

/* footer social box */
#footer .inner-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  @media (max-width: 48em) {
    #footer .inner-wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
  }
  #footer #social-box {
    float: none;
    margin: 0;
  }
  
  @media (max-width: 48em) {
    #footer #social-box {
        padding: 0;
        padding-bottom: 1.75rem;
    }
  }
  @media (max-width: 767px) {
    #footer #nav-footer {
      padding-bottom: 10px;
    }
    #footer #social-box li a {
      padding: 0 15px 0 0;
    }
  }
  
  @media (min-width: 769px) and (max-width: 991px) {
    #footer #social-box {
        margin-bottom: 25px;
    }
#footer .module-page-control a.quick-box {
      width: 100%;
      float: left;
    margin-bottom: 0.5em;
    }
  }

  @media screen and (min-width: 992px) {
     #footer .module-page-control > a.quick-box {
      line-height: 15px;
border: none;
    } 
  }


  #footer ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  @media (max-width: 48em) {
    #footer ul {
        -webkit-box-pack: space-evenly;
        -ms-flex-pack: space-evenly;
        justify-content: space-evenly;
        padding: 0 15px;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }  
  }
  @media (max-width: 48em) {
    #footer #social-box ul {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding-top: 10px;
    } 
  }
  
  /* Service Navigation */
.theme-default #service-navigation li .icon svg {
  color: #2e609a;
  fill: #2e609a;
}
.theme-default #service-navigation li a:hover svg {
  color: #5c8ec7;
  fill: #5c8ec7;
}
@media screen and (max-width: 767.98px) {
  .theme-default #service-navigation .col-left li a:hover svg {
    fill: #fff;
    color: #fff;
  }
  .theme-default #service-navigation .rsbtn_play span.icon-readspeaker {
    float: left;
  }
  .theme-default #service-navigation .rsbtn_play span.label {
    font-family: inherit;
    font-size: 14px;
  }
  .theme-default #service-navigation .rsbtn_play:hover span.label {
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .layout-easy-language #nav {
    position: static;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
}
@media screen and (min-width: 1200px) {
  .layout-easy-language #header > .inner-wrap {
    padding-bottom: 0 !important;
  }
}

@media (min-width: 75em) {
  #nav ul.level-2>li>a:not(.inactive-link):hover
  , #nav ul.level-2>li>button:hover {
    text-decoration: underline;
    text-underline-position: under;
  }
  #nav ul.level-2>li>a.inactive-link:hover {
    cursor: default;
    text-decoration: none;
  }
}