@import url("https://fonts.verwaltungsportal.de/import/?family=PT+Sans+Narrow:300,400,500,600,700,300i,400i,500i,600i,700i");

html {
  max-width: 1930px;
  margin-left: auto;
  margin-right: auto;
  background: #d2e8f8;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #015591 #ffffff;
  scrollbar-width: thin;
}

body {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: 400;
  color: #222222;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
}

a {
  color: #0064ad;
}

a:is(:hover, :focus) {
  color: #0064ad;
  text-decoration: underline;
}

#content a {
  text-decoration: underline;
}
#content a:is(:hover, :focus) {
  text-decoration: none;
}
b,
strong {
  font-weight: 700;
}

#overflow {
  overflow: clip;
  position: relative;
}


.goog-te-gadget,
.skiptranslate {
  color: #000 !important;
}
/* ----------------------------------------------- @tp1 topbar ----------------------------------------------- */

.contact {
  color: #ffffff;
  background-color: #0064ad;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 7px 0;

  position: relative;
}

.contact > .row {
  row-gap: 30px;
}
.contact a {
  color: #fff;
  text-decoration: underline;
}
.contact a:is(:hover, :focus) {
  text-decoration: none;
}
.contact :is(b, strong) {
  font-weight: 700;
  font-size: 1rem;
}

@media (max-width: 991px) {
  .contact {
    padding: 10px;
  }

  .contact > * + * {
    margin-top: 7px;
  }
}

/*------ Button Notausgang --------*/

.buttonAusgang a {
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  border-radius: 18px;
  border: 2px solid #ffffff;
  padding: 5px 20px 6px 51px;
  background: #dc0922 url("../img/icon-notausgang.png") left 9px center no-repeat;
  letter-spacing: 1px;
}

.buttonAusgang a:is(:hover, :focus) {
  background-color: #b1081c;
}

.bankInfo {
  padding-left: 50px;
  position: relative;
  font-size: 0.875rem;
}
.bankInfo :is(b, strong) {
  font-size: 1rem;
  font-weight: 700;
}
.bankInfo::before {
  content: "";
  background: #fff url(../img/icon-spende.png) no-repeat center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 0px;
  top: 49%;
  transform: translateY(-50%);
}

@media (max-width: 991px) {
  .bankInfo::before {
    outline: 1px solid #015591;
  }
}

.bankInfo .template-page > .row {
  width: auto !important;
}

@media (min-width: 992px) {
  .tabSpendenIcon {
    padding-right: 25px;
  }
}

/* -------------------------------------------- logo -------------------------------------------- */

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: calc(100vw - 120px);
    width: 100%;
  }
}

/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #0064ad;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

  #burgerButton[aria-expanded="true"] #burgerButtonInner {
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  #burgerButton[aria-expanded="true"]::before {
    opacity: 0;
  }

  #burgerButton[aria-expanded="true"]:after {
    transform: rotate(45deg) translate(-4px, -6px);
  }

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButton::before {
    top: 24px;
    content: "";
  }

  #burgerButton::after {
    top: 32px;
    content: "";
  }

  .navbar-nav {
    margin: 20px 15px;
  }

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition:
      left 300ms linear,
      opacity 300ms linear,
      box-shadow 600ms linear;
    box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
  }

  .navbar-collapse:is([aria-expanded="true"], .in) {
    left: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
  }

  .navbar-header {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
  }

  .dropdown-toggle-button-wrapper {
    top: 2px;
  }

  .dropdown-toggle-button-wrapper2 {
    top: 1px;
  }
}

/* menu desktop */

#menu {
  padding: 9px 0;
}

@media (min-width: 992px) {
  .horizontally {
    background: #ffffff;
    padding: 9px 0px;
    transition:
      box-shadow 300ms linear,
      padding 300ms linear;
  }

  .is-sticky .horizontally {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
    padding: 5px 0px;
  }

  nav.horizontally .navbar-nav {
    padding-left: clamp(15px, 3vw, 50px);
    padding-right: clamp(0px, 3vw, 10px);
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  nav.horizontally .navbar-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms linear;
  }

  nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
    left: 100%;
    top: 0px;
  }

  nav.horizontally .navbar-nav li {
    position: relative;
  }

  nav.horizontally .navbar-nav li:is(.open, :hover) > ul,
  nav.horizontally .navbar-nav li.open:focus-within > ul,
  nav.horizontally .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible;
  }

  nav.horizontally .navbar-nav li.open > ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(:hover, :focus) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #222222;
  font-weight: 700;
  text-align: left;
  padding: 10px 5px;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-left: 10px;
  }

  nav.horizontally a[class*="toplevel"] {
    padding: 10px 0;
    text-align: center;
  }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
  color: #0064ad;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 20px 0 rgba(0, 0, 0, 0.15);
  border: solid 1px #0064ad;
}

@media (max-width: 991px) {
  nav.horizontally [class*="toplevel"] > ul {
    padding: 15px;
  }
}

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 30px;
    left: -20px;
  }

  nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
    content: "";
    position: absolute;
    display: block;
  }

  nav.horizontally [class*="toplevel"] > ul::before {
    height: 30px;
    left: 0;
    right: 0;
    top: -30px;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    margin-left: 10px;
    margin-top: -18px;
  }

  nav.horizontally [class*="secondlevel"] > ul::before {
    width: 60px;
    top: -40px;
    bottom: 0;
    left: -30px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu {
    margin-top: 10px;
    left: 50%;
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #222222;
  font-weight: 400;
  text-align: left;
  padding: 7px 35px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: center;
    padding: 7px 20px;
  }
}

@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"]) {
    padding: 7px 20px 7px 7px;
  }
  nav.horizontally a:is([class*="thirdlevel"]) {
    padding: 7px 20px 7px 18px;
  }
}
/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
  color: #0064ad;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

/* -------------------------------------------- banner ------------------------------------------ */

#slider {
  max-height: clamp(300px, 58vw, 450px);
  position: relative;
}

.index #slider {
  max-height: clamp(300px, 58vw, 600px);
}

@media (min-width: 992px) {
  #slider {
    min-height: 200px;
  }

  #headerpic a.nivo-prevNav {
    left: 65px;
  }

  #headerpic a.nivo-nextNav {
    right: 65px;
  }
}

#headerpic {
  padding: 0;
  position: relative;
}

.slider-wrapper,
#slider {
  height: 100%;
}

.slider-mask {
  display: none;
}

@media (min-width: 992px) {
  body.index .slider-mask {
    display: block;
    background: url(../img/overlay.png) bottom -1px center no-repeat;
  }
  body.index .theme-nivo .nivo-controlNav {
    bottom: unset;
    top: 15px;
  }
}

/* ------------------------------------------------ banneroverlay ----------------------------------------------- */

#banneroverlay {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

#banneroverlay .slogan {
  color: #0064ad;
  font-size: clamp(1.125rem, 3vw, 1.5625rem);
}

#banneroverlay .slogan :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
}

@media (min-width: 992px) {
  #banneroverlay {
    position: absolute;
    width: 100%;
    z-index: 12;
    bottom: 50px;
  }

  #banneroverlay .slogan {
    color: #fff;
    background-color: #0063af;
  }

  #banneroverlay .slogan :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
    margin-bottom: 20px;
  }
}



/* --------------------------------------------- tabs ------------------------------------------- */

#tabs {
    margin-top: 40px;
    row-gap: 15px;
}

@media (min-width: 1200px) {
    #tabs {
        max-width: 992px;
        position: relative;
        z-index: 55;
        margin-top: -60px;
    }
}

#tabs .tab {
    font-size: 1rem;
    background: transparent;
    min-height: 100%;
    position: relative;
    border-radius: 20px;
    padding: 15px;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
}

#tabs .tab:is(:hover, :focus) {
    background: #ffffff;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------ content ----------------------------------------------- */

#content {
  text-align: left;
  padding-bottom: 30px;
  padding-top: 30px;
}

@media (min-width: 992px) {
  #content {
    padding-bottom: 60px;
    padding-top: 60px;
  }
}



/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #0064ad;
  font-weight: 700;
  line-height: 1.2;
  font-family: "PT Sans Narrow", sans-serif;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.1875rem, 5.5vw, 2.75rem);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(2rem, 5.5vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(1.875rem, 5.5vw, 2.25rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(1.75rem, 5.5vw, 2rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: clamp(1.625rem, 3.5vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.5rem, 3.5vw, 1.75rem);
}

/* ----------------------------------------------- @4f footer ----------------------------------------------- */

#f4 {
  overflow: hidden;
  background-color: #f2f7fb;
  font-size: 1rem;
}

#f4 .tabHeadline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0064ad;
  margin-bottom: 10px;
}

#f4 a[href^="mailto:"] {
  color: #0064ad;
  text-decoration: underline;
}

#f4 a[href^="mailto:"]:is(:hover, :focus) {
  text-decoration: none;
}

#f4 .tab {
  padding-top: 40px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #0063af;
}

@media (min-width: 1200px) {
  #f4 .tabKontakt {
    display: flex;
    line-height: 1.6;
  }
}
@media (min-width: 992px) {
  #f4 .tabKontakt > * + * {
    padding-left: 15px !important;
  }
}

#f4 .tabKontakt > * {
  padding-left: 0 !important;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
  gap: 12px;
  text-align: left;
  font-size: 0.875rem;
  color: #222;
  line-height: 1.3;
  text-decoration: none;
  margin: 0 0 30px 0;
}

#vernetzt span {
  display: block;
}

#vernetzt :is(b, strong) {
  color: #0064ad;
  font-weight: 400;
}

/* --------------------------------------------- iframeMapsTab -------------------------------------------- */

.iframeMapsTab,
.iframeMapsTab .template-page,
.iframeMapsTab .row,
.iframeMapsTab .row > *,
.iframeMapsTab .row > * > * {
  height: 100%;
}

.iframeMapsTab iframe,
.iframeMapsTab .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
  width: calc(100% + 45px);
  display: block;
  max-height: 100%;
  min-height: 100%;
  height: 100%;
  right: 0px;
  position: relative;
}
@media (max-width: 991px) {
  .iframeMapsTab iframe,
  .iframeMapsTab .iframe-wrapper-manual-enabling {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .frameMobileView {
    width: 100vw;
    max-width: unset;
    flex: 0 0 100vw;
    left: 50%;
    transform: translate(-50%);
    padding: 0;
  }
}

@media (min-width: 1200px) {
  #footer .btgrid > .row > div:nth-child(1) {
    flex: 0 0 35%;
    max-width: 35%;
    min-width: 35%;
  }

  #footer .btgrid > .row > div:nth-child(2) {
    flex: 0 0 65%;
    max-width: 65%;
    min-width: 65%;
  }
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter {
  margin-top: auto;
  padding: 42px 0;
  position: relative;
  background: #0064ad;
}

#innerfooter::before,
#innerfooter::after {
  content: "";
  position: absolute;
  pointer-events: none;
  display: block;
  top: 0px;
  left: -400px;
  width: 400px;
  height: 100%;
  background: #0064ad;
}

#innerfooter::after {
  width: 800px;
  right: -800px;
  left: unset;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter li + li {
  margin-left: 25px;
}

#innerfooter a {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
}

#innerfooter a:hover,
#innerfooter a:focus {
  text-decoration: underline;
}

@media (min-width: 992px) {
  #innerfooter li + li::before {
    content: "\2022";
    margin: 0 clamp(15px, 2vw, 20px);
    color: #fff;
    font-size: 1rem;
  }
}
@media (max-width: 767px) {
  #innerfooter {
    padding: 30px 0;
  }

  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }

  #innerfooter li + li {
    margin-left: 0;
  }
}
