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

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

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

a {
  color: #a1040b;
}

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

b,
strong {
  font-weight: 700;
}

@media (min-width: 1200px) {

  .row,
  .compact,
  ._op-container .container {
    max-width: 1600px;
    width: 100% !important;
  }
}

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

/* ------------------------------------------------- logo ------------------------------------------------ */
#logo {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 15px;
  text-decoration: none;
  flex-wrap: wrap;
}

#logo .logoImg img {
  display: block;
  max-width: 115px;
}

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

@media (min-width: 1200px) {
  #logo {
    margin-left: 20px;
  }
}

#logo .logoTxt {
  line-height: 1.2;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: #444444;
  font-weight: 400;
  font-family: "Roboto", sans-serif;
}

#logo .logoTxt :is(b, strong) {
  color: #444444;
  display: block;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  width: max-content;
  font-family: "Roboto", sans-serif;
}

@media (min-width: 992px) {
  .logoBereich {
    background-color: #fff;
    height: 100%;
    padding: 15px 0;
    position: relative;
    padding: 12px 0;
  }

  .logoBereich::before {
    content: "";
    position: absolute;
    background: #fff;
    width: 176px;
    height: 100%;
    bottom: 0px;
    z-index: 0;
    pointer-events: none;
    left: -176px;
    display: block;
  }
}

/* #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: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background-color: #a1040b;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
  }

  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.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: #d4d4d4;
  font-weight: 600;
  text-align: left;
  padding: 10px 15px 15px 15px;
  text-transform: uppercase;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

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

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

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

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

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"]::before {
    top: 0px;
    left: 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) {
  color: #ffffff;
  background-color: transparent;
}

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

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
  }

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

/* 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: #a1040b;
  color: #fff;
}

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


#slider {
  max-height: clamp(300px, 42vw, 615px);
  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: none;
}

#bannerOverlay {
  padding: 0;
  border-bottom: none;
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 12;
}

.slider-mask {
  display: none;
}

@media (min-width: 992px) {
  .index .slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
  }
}

/* #region --------------------------------- scroll bottom -------------------------------------- */

#scrollBottom a {
  position: relative;
  font-size: 0;
  display: block;
  width: 44px;
  height: 44px;
  margin: clamp(10px, 3vw, 120px) auto 10px auto;
  text-align: center;
  background-color: #a1040b;
  border-radius: 50%;
  border: none;
  pointer-events: auto;
  animation: bounceAni 2s infinite 2s;
  transition: all 0.2s ease-in;
}

#scrollBottom a:is(:hover, :focus) {
  background-color: #444444;
  animation-play-state: paused;
}

#scrollBottom a::after,
#scrollBottom a::before {
  position: absolute;
  content: "";
}

#scrollBottom a::after {
  left: 17px;
  top: 20px;
  width: 8px;
  height: 8px;
  display: inline-block;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(-45deg);
  border-radius: 2px;
  transition: border 300ms linear;
}

#scrollBottom a::before {
  left: 50%;
  top: 10px;
  width: 3px;
  height: 20px;
  border-radius: 15px;
  background-color: #ffffff;
  transform: translateX(-50%);
}

@keyframes bounceAni {

  0%,
  100%,
  20%,
  50%,
  80% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

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

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

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

main>.row {
  row-gap: 30px;
}

/* ----------------------------------------------- @10ev events -------------------------------------------- */

#ev10 .tab {
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  position: relative;
  background: #ffffff;
  font-size: 0.9375rem;
  color: #444444;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  padding: 10px 20px 20px 20px;
}

#ev10 .tab::before {
  content: "";
  position: absolute;
  display: block;
  top: -32px;
  left: 0;
  right: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: url("../img/icon-kalender.png") center no-repeat, #a1040b;
}

#ev10 .tabSpecial {
  padding: 45px 0 20px 0px;
}

#ev10 .tabSpecial .tabHeadline {
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  font-weight: 700;
  color: #a1040b;
  margin-bottom: 0;
  hyphens: auto;
}

#ev10 .tab .tab_link_entries {
  display: grid;
}

#ev10 .tab .tab_link_title a {
  color: #444444;
  font-weight: 700;
  font-size: 1.125rem;
  order: 1;
}

#ev10 .tab .tab_link_mandat a {
  color: #444444;
  font-weight: 400;
  font-size: 1.125rem;
}

#ev10 .tab .tab_link_date {
  font-style: normal;
  color: #444444;
  font-size: 1.125rem;
}

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

#ev10 .tab .tab_link_mehr {
  color: transparent;
  font-size: 0;
}

#ev10 .tab .tab_link_mehr a {
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  border-radius: 2px;
  padding: 5px 20px;
  background: #a1040b;
}

#ev10 .tab .tab_link_mehr a:hover,
#ev10 .tab .tab_link_mehr a:focus {
  color: #ffffff;
  background: #870309;
}

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

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

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

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

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

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

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

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.25rem, 3vw, 1.5625rem);
}

/* #region --------------------------------- footer ----------------------------------------- */

footer {
  color: #d4d4d4;
  background: #a1040b;
  font-size: 1.125rem;
}

footer>.row {
  row-gap: 30px;
  padding: clamp(40px, 8vw, 70px) 0 clamp(30px, 8vw, 50px) 0;
}

footer a:not(a#vernetzt) {
  color: #ffffff;
  font-style: normal;
  text-decoration: underline;
}

footer .tabHeadline {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5625rem);
  color: #fff;
  text-transform: uppercase;
}

#counterWrapper {
  border: 1px solid #fff;
  display: inline-block;
  padding: 7px 15px;
  color: #fff;
  font-weight: 400;
}

#counterWrapper span {
  font-weight: 700;
  margin-right: auto;
}

/* #region --------------------------------- innerfooter ------------------------------------------ */

#innerfooter ul.footer_list {
  padding: 0;
}

#innerfooter ul.footer_list a {
  color: #d4d4d4;
  text-decoration: none;
  display: inline-block;
  padding: 4px 10px 4px 0;
  font-style: normal;
}

#innerfooter ul.footer_list a:is(:hover, :focus) {
  color: #ffffff;
  text-decoration: underline;
}

/* #region --------------------------------- vernetzt ------------------------------------------ */

#vernetzt {
  display: inline-block;
  color: #d4d4d4;
  line-height: 1.4;
  text-decoration: none;
}

#vernetzt span {
  display: block;
}

#vernetzt img {
  margin-bottom: 4px;
}

#vernetzt strong {
  color: #ffffff;
  font-weight: 600;
}

#vernetzt .tabHeadline {
  margin-bottom: 40px;
}