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

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

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

a {
  color: #E22828;
}

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

#content a {
  text-decoration: underline;
}

#contnt a:is(:hover, :focus) {
  text-decoration: none;
}

b,
strong {
  font-weight: 700;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #ff0000 !important;
}

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

/* ------------------------------------------- topbar ------------------------------------------- */

#topbar {
  margin-top: clamp(50px, 6vw, 60px);
}

#topbar,
#topbar a {
  color: inherit;
}

#logo {
  gap: 15px;
  position: relative;
  z-index: 20;
  line-height: 1.2;
}

#logo img {
  display: block;
  background: #ffffff;
  border-radius: 100px;
  padding: 3px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
  margin: -10px 0;
}

@media (min-width: 992px) {
  #logo {
    gap: 15px;
  }

  #logo img {
    margin: -41px 0;
  }
}

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

@media (max-width: 575px) {
  #logo img {
    margin: auto;
    margin-bottom: 20px;
  }

  #topbar {
    margin-top: 20px;
  }

  #logo .logoTxt {
    margin-bottom: 20px;
  }
}

#logo .logoTxt {
  line-height: 0.7;
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  color: #2d3133;
  font-weight: 600;
  font-variant: small-caps;
  font-family: "Khand", sans-serif;
}

#logo .logoTxt :is(b, strong) {
  color: #E22828;
  font-weight: 600;
  font-size: clamp(2.5rem, 7vw, 3.4375rem);
  font-variant: small-caps;
  font-family: "Khand", sans-serif;
}

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

#slider {
  max-height: clamp(150px, 42vw, 200px);
  position: relative;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

@media (min-width: 992px) {
  body.index #slider {
    max-height: clamp(300px, 50vw, 380px);
  }

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 3px solid #ffffff;
  background: right / cover no-repeat;
  background-color: #fff;
}

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

.slider-mask {
  display: none;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #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: #0b1c61;
    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: #0b1c61;
    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: 14px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background-color: #0b1c61;
    position: relative;
    top: 0;
    z-index: 101;
  }

  .is-sticky nav.horizontally {
    border-bottom: solid 3px #f6dc59;
  }

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

  nav.horizontally .navbar-nav>li {
    flex-grow: 1;
  }

  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:focus-within, :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-within)>ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #ffffff;
  font-weight: 500;
  text-align: left;
  padding: 15px 15px;
  position: relative;
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Khand", sans-serif;
}

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

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

  nav.horizontally a[class*="toplevel"] {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 18px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all 300ms linear;
  }

  .is-sticky nav.horizontally a[class*="toplevel"] {
    padding: 14px 10px;
  }
}

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  width: 0;
  height: 5px;
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  background: #ffffff;
  opacity: 0;
  transform: translateX(-50%);
  transition:
    opacity 300ms linear,
    width 300ms linear;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"]::before {
    bottom: unset;
    top: -5px;
    background: #E22828;
  }
}

/* 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: #f6dc59;
  color: #0b1c61;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  border-top: 5px solid #E22828;
  background: #ffffff;
  box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #2d3133;
  font-weight: 400;
  text-align: left;
  padding: 8px 25px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Khand", sans-serif;
}

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

  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

/* 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: #f6dc59;
  color: #0b1c61;
}

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

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

.tickerWrapper {
  padding-top: 40px;
}

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

#contentBereich {
  text-align: left;
  padding-bottom: 80px;
  padding-top: 40px;
}

#contentBereich>.row {
  row-gap: 40px;
}

@media (min-width: 1200px) {
  body.index #contentBereich>.row::after {
    content: "";
    position: absolute;
    background: url(../img/konfetti.png) no-repeat;
    width: 570px;
    height: 519px;
    bottom: -80px;
    z-index: 0;
    pointer-events: none;
    right: -364px;
    display: block;
  }
}

/* #region -------------------------------------- tabs ------------------------------------------ */

#tabsLeft,
#tabsRight {
  display: grid;
  gap: 30px;
  position: relative;
  z-index: 1;
  hyphens: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  #tabsLeft {
    grid-template-columns: repeat(2, 1fr);
  }

  #tabsLeft,
  #tabsRight {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {

  #tabsLeft,
  #tabsRight {
    align-items: start;
    align-content: start;
  }

  #tabsLeft {
    padding-right: clamp(20px, 2vw, 38px);
  }

  #tabsRight {
    padding-left: clamp(20px, 2vw, 38px);
  }
}

#contentBereich .tab {
  width: 100%;
  max-width: 360px;
  margin: 32px auto 0 auto;
  position: relative;
  padding: 45px 20px 20px 20px;
  background: #ffffff;
  font-size: 0.9375rem;
  border-top: 4px solid #0b1c61;
  box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

#contentBereich .tab::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  position: absolute;
  top: -32px;
  left: 50%;
  margin-left: -30px;
  border-radius: 50%;
  background: #ffffff url("../img/icon-kalender.png") center no-repeat;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#contentBereich #tab2::before {
  background-image: url("../img/icon-mail.png");
}

#contentBereich #tab3::before {
  background-image: url("../img/icon-einkaufswagen.png");
}

#contentBereich #tab4::before {
  background-image: url("../img/icon-ticket.png");
}

#contentBereich .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
  color: #0b1c61;
  font-size: 1.625rem;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  text-align: center;
  font-weight: 600;
}

#contentBereich .tab .clr-events-tab-h3 {
  font-size: 1.25rem;
}

#contentBereich .tab .tab_link_title a {
  color: #2d3133;
  font-weight: 700;
}

#contentBereich .tab .tab_link_mandat a {
  color: #676767;
}

#contentBereich .tab .tab_link_mehr {
  font-size: 0;
}

#tab3 a,
#tab4 a,
#contentBereich .tab .tab_link_mehr a {
  text-decoration: none;
  padding: 4px 17px 3px 17px;
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9375rem;
  background: #0b1c61;
  color: #fff;
  font-weight: 600;
  font-family: "Khand", sans-serif;
}

#contentBereich #tab3 a,
#contentBereich #tab4 a {
  margin-top: 15px;
}

:is(#tab3, #tab4, #contentBereich .tab .tab_link_mehr, #teaser) a:is(:hover, :focus) {
  background: #f6dc59;
  color: #0b1c61;
}

#contentBereich .tab .eventclndr-tab {
  margin-bottom: 22px;
}

#contentBereich .tab #clr-events-hide>p:first-child {
  margin-bottom: 15px;
}

#contentBereich .tab .tab_spacer {
  height: 15px;
}

#contentBereich #tab3 img {
  margin: 0 -20px 25px -20px;
  display: block;
  width: calc(100% + 40px) !important;
  min-width: calc(100% + 40px) !important;
}

#tab3,
#tab4 {
  color: #2d3133;
}

#newsletter {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  font-weight: 700;
  hyphens: auto;
}

#newsletterInputs {
  height: 2.0625rem;
  background: #fff;
  display: inline-block;
  position: relative;
  border-bottom: solid 2px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}

#newsletter_input {
  color: #676767;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  width: 100%;
  margin-bottom: 20px;
}

#newsletter_submit {
  text-decoration: none;
  padding: 4px 15px 3px 15px;
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9375rem;
  background: #0b1c61;
  color: #fff;
  font-weight: 600;
  font-family: "Khand", sans-serif;
  justify-content: end;
  display: flex;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
  margin-left: auto;
}

#newsletter_submit:hover {
  background: #f6dc59;
  color: #0b1c61;
}

#newsletter_input::-ms-input-placeholder {
  color: #676767 !important;
}

#newsletter_input::-webkit-input-placeholder {
  color: #676767 !important;
}

#newsletter_input::-moz-placeholder {
  opacity: 1;
}

#newsletter_input:-moz-placeholder {
  opacity: 1;
}

[id^="#newsletter_input"]::-ms-input-placeholder {
  color: #676767 !important;
  opacity: 1;
}

[id^="#newsletter_input"]::-webkit-input-placeholder {
  color: #676767 !important;
  opacity: 1;
}

[id^="#newsletter_input"]::-moz-placeholder {
  color: #676767 !important;
  opacity: 1;
}

[id^="#newsletter_input"]:-moz-placeholder {
  color: #676767 !important;
  opacity: 1;
}

#newsletter label {
  color: #2d3133;
}

/* #endregion ----------------------------------- tabs ------------------------------------------ */

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #0b1c61;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Khand", sans-serif;
}

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

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

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.375rem;
}

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

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

#f5 {
  padding-top: 38px;
  padding-bottom: 38px;
  background-color: #0b1c61;
}

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

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 400;
  font-family: "Lato", sans-serif;
}

#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: right;
  font-size: 0.8125rem;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

/* ------------------------------------------- contrast ----------------------------------------- */
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner,
.contrast_light_font .dropdown-toggle-button {
  background-color: #000 !important;
}

.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
  background-color: #fff !important;
}

.contrast_light_font #logo .logoTxt {
  line-height: 1.3 !important;
}

.contrast_light_font #tab3 a,
.contrast_light_font #tab4 a,
.contrast_light_font #contentBereich .tab .tab_link_mehr a,
.contrast_light_font #tabsRight .tab,
.contrast_light_font #tabsLeft .tab {
  border: solid 1px #fff !important;
}

.contrast_light_font #f5 {
  border-top: solid 1px #fff !important;
}

.contrast_dark_font #logo .logoTxt {
  line-height: 1 !important;
}

.contrast_dark_font #tab3 a,
.contrast_dark_font #tab4 a,
.contrast_dark_font #contentBereich .tab .tab_link_mehr a,
.contrast_dark_font #tabsRight .tab,
.contrast_dark_font #tabsLeft .tab {
  border: solid 1px #000 !important;
}

.contrast_dark_font #f5 {
  border-top: solid 1px #000 !important;
}

.contrast_dark_font #newsletter_submit {
  background: transparent !important;
  text-decoration: underline !important;
}