@import url("https://fonts.verwaltungsportal.de/import/?family=Open+Sans:300,400,300i,400i%7CAbril+Fatface");

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

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

a {
  color: #0069b4;
}

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

b,
strong {
  font-weight: 600;
}

/* ------------------------------------------- header ------------------------------------------- */

#logoMobil img {
  max-width: calc(100vw - 120px);
  width: 100%;
  max-height: 50px;
}

.logo {
  display: inline-block;
}

.logo img {
  display: block;
}

.theme-nivo .nivo-controlNav {
  bottom: 62px !important;
}

@media (max-width: 767px) {
  .theme-nivo .nivo-controlNav {
    bottom: 0px !important;
  }
}
.slick-sr-only {
  opacity: 1;
  color: rgb(28, 28, 28);
  background-color: rgb(255, 255, 255);
}

/* #region ----------------------------------- search ------------------------------------------- */

#search {
  background: #e9eef9;
  position: relative;
  width: 100%;
}

@media (min-width: 992px) {
  #search {
    min-width: 240px;
    max-width: 380px;
    width: auto;
    border-radius: 5px 0px 0px 5px;
  }
}

#search_input {
  color: #1c1c1c;
  font-size: 1rem;
  font-weight: 300;
  font-style: normal;
  background: transparent;
  border: 0;
  border-radius: 4px 0px 0px 4px;
  width: 100%;
  padding: 7px 14px;
  line-height: 1;
  height: 37px;
}

#search_submit {
  background: #0069b4 url("../img/icon-lupe.png") center / 14px 14px no-repeat;
  padding: 0;
  border-radius: 0px 9px 8px 0px;
  cursor: pointer;
  margin: -4px -9px -14px 0;
  font-size: 0;
  aspect-ratio: 1/1;
  min-width: 42px;
  flex-shrink: 0;
  transition: transform 150ms linear;
  height: 45px;
  border: 4px solid #fff;
}

@media (min-width: 768px) {
  #search_submit:is(:hover, :focus) {
    background-color: #1c1c1c;
  }
}

#search input::placeholder {
  color: #1c1c1c !important;
  opacity: 1 !important;
  font-style: normal !important;
}

#search input::-webkit-input-placeholder {
  color: #1c1c1c !important;
  opacity: 1 !important;
  font-style: normal !important;
}

/* #endregion -------------------------------- search ------------------------------------------- */

/* ------------------------------------------------- styler ------------------------------------------------ */
#style {
  margin-bottom: 25px;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

#style span {
  font-weight: 300;
  color: #1c1c1c;
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
  font-family: "Open Sans", sans-serif;
  text-align: center;
}

#style button {
  border: none;
  color: #ffffff;
  display: inline-block;
  width: 37px;
  height: 37px;
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  background-color: #0069b4;
  position: relative;
  line-height: 1;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -ms-transition: all 200ms;
  -o-transition: all 200ms;
  transition: all 200ms;
  padding: 0;
  border-radius: 4px;
}

#style button + button {
  margin-left: 4px;
}

#style button:hover {
  background-color: #1c1c1c;
  color: #fff;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  .navbar-collapse > .row {
    padding-top: 15px;
    padding-bottom: 10px;
  }

  nav.horizontally {
    margin-top: 70px;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    position: absolute;
    z-index: 1002;
    display: block;
    width: 46px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
    right: 12px;
    top: 50%;
    margin-top: -20px;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #0069b4;
    border-radius: 2px;
    position: absolute;
    width: 33px;
    height: 3px;
    left: 7px;
    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: 11px;
  }

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

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

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

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 70px;
    background: #f9f9f9;
    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 {
    height: 70px;
    line-height: 1;
    padding: 10px 15px;
    background-color: #e9eef9;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 101;
  }

  .dropdown-toggle-button-wrapper,
  .dropdown-toggle-button-wrapper2 {
    z-index: 1;
  }

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

  .dropdown-toggle-button-wrapper2 {
    top: 2px;
  }
  .navbar-default .navbar-nav > li > a::after {
    height: calc(100% + 2px) !important;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  #menu {
    background: #e9eef9;
  }

  .is-sticky #menu {
    left: unset !important;
  }

  .navbar-collapse > .row {
    padding-top: 47px;
    padding-bottom: 47px;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
  }

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

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

  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: #2a2a2a;
  font-weight: 600;
  text-align: center;
  padding: 10px 35px;
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}
.navbar-default .navbar-nav > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  display: block;
  height: calc(100% + 27px);
  background-color: #0069b4;
  transition: opacity 300ms linear;
  opacity: 0;
  z-index: -1;
}
@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 28px 14px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
}

nav.horizontally a[class*="toplevel"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
  background: linear-gradient(to bottom, #0069b4, #0069b4);
  transition: opacity 300ms linear;
}

/* 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: #ffffff;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px 0;
  background-color: #e9eef9;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  background-color: transparent;
  color: #494949;
  font-weight: 400;
  text-align: center;
  padding: 6px 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: left;
    padding: 6px 15px;
  }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
  content: "\0007C";
  margin-right: 12px;
}

/* 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: #0069b4;
  background-color: transparent;
}

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

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

#slider {
  max-height: clamp(300px, 42vw, 400px);
  overflow: hidden;
  position: relative;
}

@media (min-width: 992px) {
  body.index #slider {
    max-height: clamp(400px, 60vw, 630px);
  }

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

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

@media (min-width: 768px) {
  #bannerOverlay {
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 51;
    pointer-events: none;
    bottom: clamp(60px, 8vw, 115px);
  }

  #headerpic {
    background: #313131;
  }
}

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

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

.slider-mask {
  display: block;
  background: url("../img/banner-bogen.png") center bottom / 100% auto no-repeat;
  background-size: 100% auto;
}

.slider-mask {
  display: none;
}

@media (min-width: 768px) {
  .slider-mask {
    display: block;
    background: url("../img/banner-bogen.png") center bottom / 100% auto no-repeat;
    background-size: 100% auto;
  }

  .index .slider-mask {
    display: block;
    background: url("../img/overlay-nav.png") top -1px center no-repeat, url("../img/banner-bogen.png") bottom center no-repeat;
    background-size: 100% auto;
  }
}

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

#content {
  text-align: left;
  padding-top: 30px;
  padding-bottom: clamp(30px, 4vw, 60px);
}

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

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

h1,
.h1,
.legacy_h1 {
  font-size: 28.8px;
  font-size: clamp(1.875rem, 4vw, 2.813rem);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.188rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: 1.75rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: 1.625rem;
}

h5,
.h5,
.legacy_h5 {
  font-size: 1.5rem;
}

h6,
.h6,
.legacy_h6 {
  font-size: 1.375rem;
}

/*--------------------------------------------- spende ------------------------------------------------------*/
#spende .tabHeadline {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  padding-top: 100px;
}
#spende .row {
  color: #fff;
  padding-bottom: 60px;
}
#spende a {
  color: white;
  background-color: #0069b4;
  padding: 15px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
}
#spende a:is(:hover, :focus) {
  color: white;
  background-color: #1c1c1c;
  text-decoration: none;
}

#spende a.has-image {
  margin-top: 5%;
}

#spende {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 450px;
}
/* -------------------------------------------- footer ------------------------------------------ */
/* ----------------------------------------------- @3f footer ----------------------------------------------- */

/* ----------------------------------------- maps_contact -------------------------------------- */

#maps_contact {
  color: #1c1c1c;
  font-size: 1rem;
  background-color: #e9eef9;
  overflow: hidden;
}

#maps_contact .tab {
  padding: 35px 0;
}

#maps_contact .tabHeadline {
  color: #0069b4;
  font-size: 1.625rem;
}

#maps_contact .tab a {
  color: #1c1c1c;
  text-decoration: underline;
}
#maps_contact .tab a:is(:hover, :focus) {
  text-decoration: underline;
  color: #0069b4;
}

#maps_contact > .row {
  max-width: 100%;
  width: 100%;
}

#maps_contact .noPadding {
  padding: 0px;
}

#maps_contact .iframeMapsTab {
  height: 100%;
}

#maps_contact .iframeMapsTab iframe,
#maps_contact .iframeMapsTab .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
  max-height: 100%;
  min-height: 100%;
}

@media (min-width: 768px) {
  #maps_contact .colMaps {
    padding-left: 0;
    max-width: 1060px;
  }

  #maps_contact .colContact {
    max-width: 506px;
  }
}

@media (max-width: 767px) {
  #maps_contact .colMaps {
    padding: 0px;
  }

  #maps_contact .colContact {
    max-width: 576px;
    margin: auto;
  }
}

/* ---------------------------------------------- footer ---------------------------------------------- */

#footer {
  color: #ffffff;
  font-size: 1rem;
  padding-top: 14px;
  padding-bottom: 14px;
  background-color: #0069b4;
}

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

@media (max-width: 767px) {
  #innerfooter {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  text-decoration: none;
  display: inline-block;
  color: #ffffff;
}

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

#innerfooter li + li::before {
  content: "•";
  margin: 0 5px;
}

@media (min-width: 992px) {
  #innerfooter li + li::before {
    margin: 0 15px;
  }
}

@media (max-width: 767px) {
  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }

  #innerfooter li + li::before {
    display: none;
  }
}

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

#vernetzt {
  text-align: right;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  text-decoration: none;
}

@media (min-width: 768px) {
  #vernetzt {
    margin: 0;
  }
}

#vernetzt span {
  color: #ffffff;
}

#vernetzt b {
  font-weight: 700;
}
#vernetzt b:is(:hover, :focus) {
  text-decoration: underline;
}

#vernetzt span span {
  display: block;
}

#vernetzt img {
  margin-left: 15px;
}
