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

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

body {
  font-family: "Open Sans", "Verdana", "Helvetica", sans-serif;
  font-weight: 400;
  color: #4d4d4d;
  background: #edf1f4;
  font-size: 1rem;
  /* 1rem = 16px */
  line-height: 1.5;
}

a {
  color: #ca4d91;
}

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

b,
strong {
  font-weight: 700;
}

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

/* --------------------------------------------- search ----------------------------------------- */

#topbar {
  background-color: #fff;
  padding: 10px 0 12px 0;
}

@media (max-width: 991px) {
  #topbar {
    display: none;
  }
}
#options {
  padding: 15px 0;
  width: 100%;
}

#options1 {
  padding: 15px 0;
  width: 100%;
}

form[id^="search"] {
  background: #fff;
  display: inline-flex;
  border-radius: 30px;
  margin: 0px 0 0 0;
  width: 100%;
  max-width: 286px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
}

form [id^="search_input"] {
  color: #919191;
  font-size: 0.875rem;
  font-style: normal;
  background: transparent;
  padding: 8px 14px;
  border: 0;
  width: 100%;
  border-radius: 30px;
  font-family: "Open Sans", "Verdana", "Helvetica", sans-serif;
  letter-spacing: -0.5px;
}

form [id^="search_submit"] {
  min-width: 42px;
  min-height: 43px;
  flex-shrink: 0;
  border: none;
  background: #c94c90 url("../img/icon-lupe.png") center no-repeat;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
}

form [id^="search_input"]::placeholder {
  color: #919191 !important;
  opacity: 1 !important;
  font-style: normal !important;
}

form [id^="search_input"]:is(:hover, :focus) {
  background-color: #fff;
}

form[id^="search1"] {
  background: #fff;
  display: inline-flex;
  border-radius: 30px;
  margin: 0px 0 0 0;
  width: 100%;
  max-width: 286px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.15);
}

form [id^="search_input1"] {
  color: #919191;
  font-size: 0.875rem;
  font-style: normal;
  background: transparent;
  padding: 8px 14px;
  border: 0;
  width: 100%;
  border-radius: 30px;
  font-family: "Open Sans", "Verdana", "Helvetica", sans-serif;
  letter-spacing: -0.5px;
}

form [id^="search_submit1"] {
  min-width: 42px;
  min-height: 43px;
  flex-shrink: 0;
  border: none;
  background: #c94c90 url("../img/icon-lupe.png") center no-repeat;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
}

form [id^="search_input1"]::placeholder {
  color: #919191 !important;
  opacity: 1 !important;
  font-style: normal !important;
}

form [id^="search_input1"]:is(:hover, :focus) {
  background-color: #fff;
}
/* #region ------------------------------- contrast + styler ------------------------------------ */

#style {
  margin-right: clamp(20px, 3vw, 43px);
}

#style {
  line-height: 1;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #options {
    row-gap: 4px;
  }

  #style {
    display: flex;
    align-items: center;
    column-gap: 5px;
  }
}

:is(#style) button {
  font-size: 1.125rem;
  font-weight: 400;
  padding: 0;
  border: none;
  color: #393939;
  display: inline-block;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  border-radius: 50%;
  text-align: center;
  background: #fff;
  position: relative;
  line-height: 1;
  box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
}

:is(#style) button:first-child {
  font-size: 1.0625rem;
}
:is(#style) button:last-child {
  font-size: 1.1875rem;
}
:is(#style) button + button {
  margin-left: 1px;
}

/* #endregion ---------------------------- contrast + styler ------------------------------------ */

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

#logo {
  display: inline-block;
  padding: 4px;
}

#logo img {
  display: block;
}

@media (max-width: 575px) {
  #logo {
    margin-top: 15px;
  }

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

  #logo .row {
    margin-left: -15px;
    margin-right: -15px;
  }
}

@media (max-width: 991px) {
  #logo img {
    max-width: 120px;
  }
}
@media (min-width: 991px) {
  #logo {
    position: absolute;
    left: 11px;
    top: 80px;
    display: flex;
    align-content: end;
    align-items: end;
    justify-content: center;
    transition: bottom 200ms linear;
  }
}

@media (min-width: 992px) {
  #logo {
    top: 147px;
    bottom: 0;
  }

  .is-sticky #logo {
    bottom: -20px;
  }

  #logo img {
    bottom: 0;
    transition: max-height 200ms linear;
  }

  .is-sticky #logo img {
    max-height: 90px;
  }

  #logo-col {
    position: static;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #logo img {
    transition: max-height 200ms linear;
    max-width: 200px;
    margin-top: 10px;
  }
}
/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

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

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

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #3e6e9a;
    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 0;
  }

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #3e6e9a;
    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: 7px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: #ffffff;
    transition: all 0.2s 0s linear;
    z-index: 12;
    position: relative;
  }

  @media (min-width: 991px) {
    nav.horizontally > .row::after {
      content: "";
      position: absolute;
      background: #3e6e9a;
      width: 100%;
      max-width: 547px;
      height: 50px;
      bottom: 0px;
      z-index: -1;
      pointer-events: none;
      right: -365px;
      display: block;
    }
    nav.horizontally > .row {
      z-index: 0;
    }
  }

  .is-sticky nav.horizontally {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 69px;
  }

  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.open > ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(:hover) > 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:is(:hover, :focus) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 10px 15px 14px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  background-color: #3e6e9a;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
  z-index: 0;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  }

  nav.horizontally a[class*="toplevel"].dropdown-toggle {
    padding-right: 35px;
  }
}

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

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

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"]::before {
    left: 50%;
  }
  nav.horizontally a[class*="toplevel"]::after {
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: #c4d632 url(../img/over.png);
    background-position: center;
    content: "";
    position: absolute;
    bottom: 0;
    opacity: 0;
  }
}

/* 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) {
  background-color: #c7d83c;
}
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 {
  background-color: #ffffff;
  -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
}

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

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

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

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
  }

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #3c4241;
  font-weight: 400;
  text-align: left;
  padding: 9px 25px 9px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
  transition: none;
  z-index: 0;
}

@media (max-width: 991px) {
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: #c4d632 url(../img/over.png);
  background-position: center;
  content: "";
  position: absolute;
  bottom: 0;
  opacity: 0;
}

/* 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) {
  background: #c7d83c;
  color: #fff;
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus)::after {
  opacity: 1;
}

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

#slider {
  max-height: clamp(400px, 62vw, 390px);
  position: relative;
}

@media (min-width: 992px) {
  #headerpic a.nivo-prevNav {
    left: 65px;
  }

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

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

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

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


.theme-default .nivo-controlNav {
  bottom: 40px !important;
}
@media (max-width: 1199px) {
.theme-default .nivo-controlNav {
  bottom: 20px !important;
}
}
@media (max-width: 767px) {
.theme-default .nivo-controlNav {
  bottom: 0px !important;
}
}
/* ------------------------------------------------ content ----------------------------------------------- */

main {
  text-align: left;
}

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

@media (min-width: 992px) and (max-width: 1199px) {
  main {
    padding-top: 30px;
  }
}
#content {
  background: url("../img/content-bg.png") top center no-repeat;
  padding-top: 20px;
  hyphens: auto;
}

@media (min-width: 1200px) {
  #content {
    padding-right: 40px;
    padding-left: 15px;
  }
  main {
    margin-bottom: -30px;
  }
}

#tabAside {
  background: #f9f9f9;
  display: grid;
  gap: 20px;
  padding: 30px 0;
  z-index: 0;
  position: relative;
  hyphens: auto;
}

#tabAside::after {
  top: 0;
  left: 0;
  right: 0;
  z-index: -1;
  background: url(../img/over.png);
  background-position: center;
  content: "";
  position: absolute;
  bottom: 0;
}

@media (max-width: 991px) {
  #tabAside {
    margin: 20px auto 0 auto;
  }
}

@media (min-width: 992px) {
  #tabAside {
    align-items: start;
    align-content: start;
  }
}
@media (min-width: 1200px) {
  #tabAside {
    padding-left: 4px;
    margin-left: -22px;
  }
}
#tabAside .tabHeadline {
  color: #252525;
  font-weight: 700;
  font-family: "Open Sans", "Verdana", "Helvetica", sans-serif;
  background-color: #fff;
  border-radius: 22px;
  box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.1);
  font-size: 1.0625rem;
  padding: 11.3px 13px;
  max-width: 95%;
  position: relative;
  margin-left: 8px;
}

#tabAside .tabHeadline::after {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0;
  content: "";
  display: flex;
  right: 0;
  position: absolute;
  top: 1px;
}

#tabAside .tabHeadline {
  margin-bottom: 10px;
}
#tabAside .tabHeadline .tabGalerie {
  margin-bottom: 5px;
}

#tabAside .tabNews .tabHeadline::after {
  background: #c4d632 url("../img/newspaper.png") center no-repeat;
}
#tabAside .tabGalerie .tabHeadline::after {
  background: #c4d632 url("../img/camera.png") center no-repeat;
}
#tabAside .tabContent {
  padding: 0 15px 0 20px;
}

#tabAside .tab_link_title a {
  color: #252525;
  font-weight: 700;
  font-size: 0.875rem;
}
#tabAside .tab_link_title a:is(:hover, :focus) {
  text-decoration: none !important;
}

#tabAside .tab_link_date {
  color: #252525;
}

#tabAside .tab_link_mehr a {
  color: #ca4d91;
  font-size: 0.875rem;
}

.news-entry-to-limit :is(h4) {
  font-weight: 400;
  font-size: 1.125rem;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

h1,
.h1,
.legacy_h1 {
  font-size: 1.875rem;
}

h2,
.h2,
.legacy_h2 {
  font-size: 1.75rem;
}

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

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

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

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

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #3e6e9a;
}

@media (min-width: 1200px) {
  #f5 {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: transparent;
  }
  footer {
    z-index: 10;
    display: block;
    background: url("../img/footer-welle.png") center bottom / 100% auto no-repeat;
    position: relative;
  }
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

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

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

@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 {
  gap: 12px;
  text-align: left;
  font-size: 0.6875rem;
  color: #000000;
  line-height: 1.3;
  text-decoration: none;
  justify-content: center;
  position: relative;
  margin-top: 40px;
}

#vernetzt img {
  top: -28px;
  position: absolute;
  right: 70px;
}

@media (max-width: 1199px) {
  #vernetzt img {
    top: -23px;
    position: relative;
    right: 0px;
  }
}
#vernetzt span span {
  display: block;
}
