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

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

body {
  font-family: "Arial", "Lato", sans-serif;
  font-weight: 400;
  color: #555555;
  background: #ffffff;
  font-size: 0.875rem;
  /* 1rem = 16px */
  line-height: 1.5;
  background-attachment: fixed;
  background-size: cover;
}

a {
  color: #007ba8;
}

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

main a {
  text-decoration: underline;
}

b,
strong {
  font-weight: 700;
}

@media (min-width: 1200px) {
  .row,
  .compact,
  ._op-container .container {
    max-width: 1540px;
    width: 100% !important;
  }
}

:focus-visible {
  outline: 3px solid #007ba8 !important;
}

#overflow {
  overflow: clip;
  position: relative;
}
/* ------------------------------------------------- logo ------------------------------------------------ */

#logo {
  display: inline-block;
}

#tabFest {
  width: 100%;
  max-width: 305px;
  padding: 5px 0;
  margin: 0 auto;
}

@media (min-width: 992px) {
  #logo {
    position: relative;
    z-index: 55;
    margin-top: -65px;
  }

  #tabFest {
    position: relative;
    margin-top: -240px;
    z-index: 55;
  }
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logoMobil img {
    max-width: 210px;
    width: 100%;
  }

  .lineHeight0 {
    padding: 10px 15px;
  }
}

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

/* burgermenu for tablet */

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

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

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    margin-top: 30px;
    background-color: #ffffff;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    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, :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: #6d6d6f;
  font-weight: 400;
  text-align: left;
  padding: 10px 15px 15px 15px;
  text-transform: uppercase;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-decoration: none;
}

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

  nav.horizontally li[class*="toplevel"] + li {
    margin-left: 5px;
  }

  nav.horizontally li[class*="toplevel"]:not(:last-child) {
    border-right: 1px solid #6d6d6f;
  }

  nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
    content: "";
    border-bottom: 1px solid #6d6d6f;
    border-left: 1px solid #6d6d6f;
    border-radius: 1px;
    display: block;
    position: absolute;
    right: 10px;
    top: calc(50% - 5px);
    transform: rotate(-135deg);
    height: 6px;
    width: 6px;
    transition:
      border 300ms linear,
      transform 300ms;
  }

  nav.horizontally a[class*="toplevel"]:is(:hover, :focus).dropdown-toggle::after {
    border-color: #007ba8;
    transform: rotate(-45deg);
  }
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #d0e7f2;
}

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

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

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

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

  nav.horizontally .dropdown-menu {
    min-width: 204px;
  }
}

/* secondlevel + thirdlevel */

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

@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: #ecf5fa;
  color: #555555;
}

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

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

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

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

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

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

.padding0 {
  padding: 0;
}

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

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

/* ------------------------------------------------ contrast_style ---------------------------------------------- */

#topbar {
  margin-top: 30px;
}

@media (max-width: 767px) {
  #topbar {
    padding-left: clamp(20px, 3vw, 40px);
  }

  #contrast_style {
    margin-bottom: 15px;
  }

  #style {
    margin-bottom: 30px;
  }
}

#contrast_style h2,
#style h2 {
  color: #676767;
  font-size: 0.9375rem;
  padding-right: 10px;
  margin-bottom: 0;
  width: auto;
}

#contrast_style button {
  color: #000000;
  padding: 0;
  font-size: 0;
  border: unset !important;
  display: inline-block;
  text-align: center;
  min-width: 29px;
  max-height: 29px;
  font-weight: 400;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------ styler ---------------------------------------------- */

@media (min-width: 992px) {
  #style {
    margin-left: 30px;
  }
}

#style button {
  padding: 0;
  border: none;
  color: #676767;
  display: inline-block;
  min-width: 1.3125rem;
  min-height: 1.3125rem;
  font-weight: 400;
  font-size: 1.0625rem;
  text-align: center;
  background: #ffffff;
  position: relative;
  line-height: 1;
  border-radius: 50%;
  font-family: "Georgia", "Lora", serif;
  border: 1px solid rgba(0, 0, 0, 0.6);
  transition:
    color 300ms linear,
    border-color 300ms linear;
}

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

#style button:hover,
#style button:focus {
  color: #007ba8;
  border-color: #007ba8;
}

/* ------------------------------------------------ suche ----------------------------------------------- */

#search {
  background: #ffffff;
  display: inline-block;
  position: relative;
  width: 100%;
  max-width: 376px;
  border-left: 1px solid #c9c9c9;
}

#search::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  bottom: 0;
  background: linear-gradient(to right, rgba(201, 201, 201, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

#search_input {
  color: #676767;
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  background: transparent;
  border: 0;
  padding: 4px 70px 4px 10px;
  width: 100%;
}

#search_input:is(:hover, :focus) {
  background: rgba(201, 201, 201, 0.1);
}

#search_submit {
  width: 60px;
  border: none;
  background: url("../img/icon-suche.png") center / auto no-repeat;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: 0px;
  font-size: 0;
}

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

[id^="search_input"]::-ms-input-placeholder {
  color: #919191 !important;
  opacity: 1;
}
[id^="search_input"]::-webkit-input-placeholder {
  color: #919191 !important;
  opacity: 1;
}
[id^="search_input"]::-moz-placeholder {
  color: #919191 !important;
  opacity: 1;
}
[id^="search_input"]:-moz-placeholder {
  color: #919191 !important;
  opacity: 1;
}


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

.compact {
  background-color: #ffffff;
}

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

@media (min-width: 992px) {
  main {
    padding-bottom: 60px;
    padding-top: 60px;
  }
}
#content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #007ba8;
  font-weight: 400;
  line-height: 1.2;
  font-family: "Georgia", "Lora", serif;
}

.index :is(h1, h2, h3, h4, h5, h6) :not(#style, #contrast_style) {
  text-transform: uppercase;
  hyphens: auto;
}

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

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

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

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

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

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

/* ----------------------------------------------- @12ev events -------------------------------------------- */

#ev12,
#termine,
#tabFlyer {
  color: #444444;
  font-size: 0.85rem;
  position: relative;
  background: #deeef6;
  hyphens: auto;
}

#ev12,
#termine,
#tabFlyer {
  margin-bottom: 30px;
}

#termine a,
#tabFlyer a,
.tab_link_mehr a,
.clr-events-tab-h3 {
  color: #00658a;
}

@media (min-width: 992px) {
  #ev12,
  #termine {
    max-width: 353px;
    padding: 0;
  }
}

#ev12 .tabHeadline,
#termine .tabHeadline,
#tabFlyer .tabHeadline {
  margin-bottom: 0;
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 25px;
  background: #007ba8;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  hyphens: auto;
}

#ev12 .tabHeadline {
  border-bottom: 4px solid #ffffff;
}

#termine .tabContent .box,
#tabFlyer .tabContent .box,
#ev12 #clr-events-hide {
  padding: 20px;
}

#ev12 #clr-events-hide > P:first-of-type {
  display: none;
}

#ev12 .tab_link_title a {
  font-weight: 700;
  color: #555555;
}

#ev12 .tab_link_mandat a {
  color: #555555;
}

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

footer {
  margin-top: 30px;
  hyphens: auto;
}

footer a {
  color: #ffffff;
}

footer a:is(:hover, :focus) {
  color: #ffffff !important;
  text-decoration: underline;
}

footer > .row {
  color: #ffffff;
  padding: 20px 15px;
  background-color: #007ba8;
}

footer .footer-headline {
  color: #ffffff;
  font-weight: 700;
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  hyphens: auto;
  word-spacing: normal;
  word-break: break-word;
  word-wrap: break-word;
}

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

#vernetzt {
  gap: 12px;
  text-align: left;
  font-size: 0.6875rem;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

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

  footer article + article {
    margin-bottom: 30px;
  }
}

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

#f5 > .row {
  padding-top: 23px;
  padding-bottom: 23px;
  background-color: #6d6d6f;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

#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;
  }
}

/* --------------------------------------------- mobil contrast -------------------------------------------- */

@media (max-width: 991px) {
  .contrast_dark_font #burgerButton::before,
  .contrast_dark_font #burgerButton::after,
  .contrast_dark_font #burgerButtonInner {
    background-color: #000000 !important;
  }
  .contrast_light_font #burgerButton::before,
  .contrast_light_font #burgerButton::after,
  .contrast_light_font #burgerButtonInner {
    background-color: #ffffff !important;
  }
}

.contrast_light_font #logo img {
  background-color: #fff !important;
}

.contrast_light_font #search_input,
.contrast_light_font #ev12,
.contrast_light_font #termine,
.contrast_light_font #tabFlyer {
  border: solid 1px #fff !important;
}
.contrast_light_font #search_submit {
    background-color: #fff !important;
}
.contrast_light_font footer > .row,
.contrast_light_font #innerfooter {
  border-top: solid 1px #fff !important;
}

.contrast_light_font #innerfooter {
  padding-top: 20px !important;
}
.contrast_dark_font #search_input,
.contrast_dark_font #ev12,
.contrast_light_font #termine,
.contrast_light_font #tabFlyer {
  border: solid 1px #000 !important;
}
.contrast_dark_font footer > .row,
.contrast_dark_font #innerfooter {
  border-top: solid 1px #000 !important;
}

.contrast_dark_font #innerfooter {
  padding-top: 20px !important;
}
