@import url('https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i%7CKhand:400,500,600');

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

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

a {
  color: #cd0a5e;
}

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

b,
strong {
  font-weight: 700;
}

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

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

#topbar>.row {
  padding: 12px 0;
}

@media (max-width: 991px) {
  #topbar>.row {
    row-gap: 12px;
  }
}

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

#logoWappen,
#logo {
  display: inline-block;
}

@media (min-width: 992px) {
  #logoWappen {
    position: absolute;
    z-index: 12;
    top: 0;
  }
}

#logoWappen img,
#logo img {
  display: block;
}

@media (max-width: 991px) {

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

/* #region ------------------------------- contrast + styler ------------------------------------ */

#stylerBox {
  width: 100%;
  margin-bottom: 27px;
  column-gap: 30px;
}

@media (max-width: 991px) {
  #stylerBox {
    margin-bottom: 0px;
  }
}

#stylerBox h2 {
  color: #2d3133;
  font-size: 0.9375rem;
  font-family: inherit;
  margin: 0;
  padding-right: 8px;
}

#stylerBox button {
  color: #676767;
  padding: 2px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  font-family: "Khand", sans-serif;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  font-weight: 600;
  text-align: center;
  background: transparent;
  position: relative;
  font-size: 17px;
  z-index: 1;
  line-height: 1;
}

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

#stylerBox button::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: -6px;
  top: -6px;
  bottom: -6px;
  right: -6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 150ms linear;
}

#stylerBox button:is(:hover, :focus)::before {
  opacity: 1;
}

#style button:is(:hover, :focus) {
  color: #cd0a5e;
}

#contrast_style button::after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  right: 3px;
  left: 3px;
  bottom: 3px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
  transform: scaleX(-1);
}

#contrast_style button:nth-of-type(3)::after {
  background: #ea5b0c;
  border: none;
}

@media (max-width: 767px) {
  #contrast_style {
    display: flex;
    max-width: 150px;
  }
}

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

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

form[id^="search"] {
  background: #487f49;
  display: inline-flex;
  border-radius: 30px;
  border: 4px solid #ffffff;
  overflow: hidden;
}

@media (max-width: 991px) {
  form[id^="search"] {
    width: calc(100% - 30px);
  }
}

@media (max-width: 767px) {
  form[id^="search"] {
    margin-top: 10px;
  }
}

@media (min-width: 992px) {
  form#search1 {
    position: relative;
    z-index: 60;
    margin-right: 4px;
    margin-bottom: -48px;
  }
}

form[id^="search"] label {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 9px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

form [id^="search_input"] {
  color: #ffffff;
  font-size: 0.9375rem;
  font-style: normal;
  background: transparent;
  padding: 9px 15px;
  border: 0;
  width: 100%;
}

form [id^="search_submit"] {
  min-width: 40px;
  border: none;
  background: url('../img/lupe-icon.png') center no-repeat;
  padding: 0;
  cursor: pointer;
  font-size: 0;
}

form [id^="search_submit"]:is(:hover, :focus) {
  background-color: rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
  border-bottom: 5px solid #ffffff;
}

.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: #487f49;
    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: #487f49;
    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: #487f49;
    position: sticky;
    top: 0;
    z-index: 101;
  }

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

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

nav.horizontally a[class*="toplevel"] {
  padding-left: 50px;
}

nav.horizontally a[class*="toplevel"]::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 18px;
  bottom: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  background: url('../img/icon-1.png') center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(7n+2)>a::after {
  background: url('../img/icon-2.png') center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(7n+3)>a::after {
  background: url('../img/icon-3.png') center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(7n+4)>a::after {
  background: url('../img/icon-4.png') center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(7n+5)>a::after {
  background: url('../img/icon-5.png') center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(7n+6)>a::after {
  background: url('../img/icon-6.png') center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(7n+7)>a::after {
  background: url('../img/icon-7.png') center no-repeat;
}

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

/* 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: #cd0a5e;
  background: #e9f1d8;
}

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

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 {
  filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(3123%) hue-rotate(320deg) brightness(93%) contrast(107%);
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  border-top: 5px solid #cd0a5e;
  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;
  }
}

/* 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: #e9f1d8;
  color: #2d3133;
}

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

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

#content {
  text-align: left;
  padding-top: clamp(30px, 4vw, 65px);
  padding-bottom: clamp(40px, 6vw, 85px);
  background: #fafafa center bottom / 100% 682px no-repeat;
}

/* ------------------------------------------- information ------------------------------------------ */

#information>.row {
  row-gap: 30px;
}

#information .headline {
  margin-bottom: 25px;
  font-size: 1.625rem;
  color: #487f49;
  padding-left: 45px;
  position: relative;
}

#information .headline::before {
  content: '';
  position: absolute;
  pointer-events: none;
  top: -5px;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 25px;
  height: 25px;
  background: url('../img/icon-veranstaltungen.png') center no-repeat;
}

#information #events .headline::before {
  background: url('../img/icon-veranstaltungen.png') center no-repeat;
}

#information::before {
  content: "";
  margin: clamp(30px, 4vw, 60px) auto;
  height: 1px;
  background: #cd0a5e;
  display: block;
  max-width: 1170px;
  width: 100%;
}

#information .tab_link_mehr a {
  display: inline-block;
  font-size: 1rem;
  color: #ffffff;
  background: #cd0a5e;
  padding: 9px 25px 10px 25px;
  text-decoration: none;
  transition: background 200ms linear;
  font-weight: 700;
  min-width: 220px;
}

#information .tab_link_mehr a:is(:hover, :focus) {
  background: #487f49;
}

.eventclndr-tab {
  margin-top: 15px;
  max-width: 370px !important;
}

/***********************************SLIDER_ROOT_FILE DO NOT CHANGE************************************/

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;
  margin-left: unset;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  content: "";
  display: table;
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  display: none;
}

.slick-slide {
  width: 100%;
}

[dir="rtl"] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
}

.slick-arrow.slick-hidden {
  display: none;
}

.tabWrapper {
  opacity: 0;
}

.tabWrapper.slick-initialized {
  opacity: 1;
  transition: opacity 200ms linear;
}

/***********************************ROOT_FILE_END************************************/

/* slider 1 stop/play button for accessibility -------------------- */

.slickEventsNews .slick-animate-control {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid #ffffff;
  width: 30px;
  height: 30px;
  bottom: -5px;
  /* left: 50%; */
  /* transform: translate(-50%); */
  background-color: #000;
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
  margin: auto;
  display: block;
}

.slickEventsNews .slick-animate-control.slick-pause {
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

.slickEventsNews .slick-track {
  display: flex;
  align-items: stretch;
  align-content: stretch;
}

.slickEventsNews .slick-slide {
  padding: 15px;
  height: unset;
  min-height: unset;
  float: unset;
  display: flex;
  align-items: stretch;
}

@media (min-width: 575px) and (max-width: 767px) {
  .slickEventsNews .slick-slide {
    padding: 0 6px;
  }
}

@media (max-width: 574px) {
  .slickEventsNews .slick-slide {
    padding: 0px;
  }
}

.slickEventsNews .slick-slide>div {
  width: 100%;
}

.slickEventsNews .slick-dots {
  bottom: -20px;
  left: 50%;
  transform: translate(-50%);
  width: unset;
  position: absolute;
  margin-top: 10px;
}

.slickEventsNews .slick-dots>li>button {
  color: #000;
}

.slickEventsNews .slick-dots>li.slick-active>button {
  color: #fff;
}

.slickEventsNews .slick-dots button,
.slickEventsNews .slick-button {
  background: transparent;
  border: none;
  padding: 5px;
  font-size: 0 !important;
  display: block !important;
}

.slickEventsNews .slick-dots button {
  background: transparent !important;
  font-size: 0 !important;
  display: block !important;
}

.slickEventsNews .slick-button {
  font-size: 0px;
  position: relative;
  top: 4px;
  color: #fff;
}

.slickEventsNews .slick-button::before {
  font-size: 20px;
  line-height: 14px;
  height: 17px;
  display: block;
  font-family: "Nunito", sans-serif;
  color: #fff;
  opacity: 1;
}

.slickEventsNews :not(img) {
  filter: unset !important;
}


.slickEventsNews .slick-button.contrast_dark_font::before {
  background: #000 !important;
  color: #fff !important;
}

.slickEventsNews .slick-button.contrast_light_font::before {
  background: #fff !important;
  color: #000 !important;
}

.slickEventsNews .slick-button {
  position: absolute;
  top: 95%;
  transform: translateY(-50%);
  left: 30px;
  background: #cd0a5e;
  height: 26px;
  width: 25px;
}

.slickEventsNews .slick-next {
  left: unset;
  right: 30px;
}


@media (max-width: 767px) {
  .slickEventsNews .slick-button {
    left: -34px;
  }

  .slickEventsNews .slick-next {
    right: -34px;
    left: unset;
  }
}

.slickEventsNews .slick-button:hover,
.slickEventsNews .slick-button:focus {
  background: #487f49;
}

.slickEventsNews .slick-dots {
  padding: 0 15px;
  list-style: none;
}

.slickEventsNews .slick-dots>li {
  font-size: 0px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #aaaaaa;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  position: relative;
}

.slickEventsNews .slick-dots,
.slickEventsNews .slick-button {
  display: inline-block !important;
}

@media (max-width: 767px) {
  .slickEventsNews .slick-dots {
    display: none !important;
  }
}

.slickEventsNews .slick-dots>li.slick-active {
  background: #cd0a5e;
  transition: background 200ms linear;
}

.slickEventsNews .slick-dots>li.slick-active.contrast_dark_font {
  background-color: #000 !important;
}

.slickEventsNews .slick-dots>li.slick-active.contrast_light_font {
  background-color: #fff !important;
}

.slickEventsNews .slick-dots>li+li {
  margin-left: 10px;
}

.slickEventsNews .slick-prev::before {
  content: "\2039";
}

.slickEventsNews .slick-next::before {
  content: "\203A";
}

.slickEventsNews .slick-dots li button {
  background: transparent !important;
}

.slickEventsNews .specialHeadline a:not(.has-image):not([rel]) {
  font-size: 1.125rem;
  font-weight: 600;
  color: #cd0a5e;
}

.slickEventsNews .specialHeadline a:not(.has-image):not([rel])::after {
  content: ' \00BB';
}

.slickEventsNews .specialHeadline .tabHeadline {
  font-size: 1.1875rem;
  margin: 0px;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  color: #cd0a5e;
}

.slickEventsNews .specialHeadline {
  margin-top: 30px;
  margin-bottom: 30px;
}

.slickEventsNews>.row>.col-xs-12:nth-child(2) {
  padding: 0px;
}

#events {
  padding-top: 0px;
}

/* -----------------------------------------------.slickEventsNews  -------------------------------------------- */

.slickEventsNews {
  padding-top: 20px;
  padding-bottom: 50px;
}

@media (max-width: 991px) {
  .slickEventsNews {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

.slickEventsNews .tab_link_entry {
  font-size: 1rem;
  position: relative;
  width: 100%;
  font-family: 'Nunito', sans-serif;
  min-height: 100%;
}

.slickEventsNews .tab_link_title a {
  line-height: 1.2;
  font-weight: 600;
  font-size: 1.125rem;
  display: block;
  margin-bottom: 8px;
  font-family: 'Nunito', sans-serif;
}

.slickEventsNews .tab_link,
.slickEventsNews .tab_link>div {
  height: 100%;
  min-height: 100%;
}

.slickEventsNews .tab_link_entry {
  background: #ffffff;
  padding: 170px 30px 30px 30px;
  box-shadow: 0 0 10px rgba(43, 43, 43, 0.1);
}

.slickEventsNews .tab_preview_picture {
  background: #ffffff;
}

.slickEventsNews .tab_link_title a::before,
.slickEventsNews .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  height: 154px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .slickEventsNews .tab_link_entry {
    padding: 140px 30px 30px 30px;
  }

  .slickEventsNews .tab_link_title a::before,
  .slickEventsNews .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 125px;
    overflow: hidden;
  }
}

.slickEventsNews .tab_link_title a::before {
  content: "";
  background: #666666 url("../img/platzhalter-veranstaltungen.jpg") center / cover no-repeat;
}

.slickEventsNews .tab_preview_picture img {
  position: absolute;
  margin: 0 !important;
  width: 100%;
  height: 100%;
  object-position: top center;
  object-fit: contain;
}

.slickEventsNews .tab_date {
  font-size: 1rem;
  color: #36313a;
}

.slickEventsNews .tab_link_title a {
  color: #cd0a5e;
}

.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.tab_link_entry>div:nth-last-child(2) {
  display: none;
}

.slickEventsNews .slick-dots li button::before {
  display: none;
}

@media (max-width: 767px) {

  .slickEventsNews>.row>.col-xs-12:nth-child(2),
  .slickLinks>.row>.tabsBottom {
    max-width: calc(100% - 70px);
    margin: auto;

  }
}

.slickLinks .slick-animate-control {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  border: 1px solid #ffffff;
  width: 30px;
  height: 30px;
  bottom: -5px;
  /* left: 50%; */
  /* transform: translate(-50%); */
  background-color: #000;
  background-size: 16px 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E");
  margin: auto;
  display: block;
}

.slickLinks .slick-animate-control.slick-pause {
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

.slickLinks .slick-track {
  display: flex;
  align-items: stretch;
  align-content: stretch;
}

.slickLinks .slick-slide {
  padding: 15px;
  height: unset;
  min-height: unset;
  float: unset;
  display: flex;
  align-items: stretch;
}

@media (min-width: 575px) and (max-width: 767px) {
  .slickLinks .slick-slide {
    padding: 0 6px;
  }
}

@media (max-width: 574px) {
  .slickLinks .slick-slide {
    padding: 0px;
  }
}

.slickLinks .slick-slide>div {
  width: 100%;
}

.slickLinks .slick-dots {
  bottom: 0px;
  left: 50%;
  transform: translate(-50%);
  width: unset;
  position: relative;
  margin-top: 10px;
}

.slickLinks .slick-dots>li>button {
  color: #000;
}

.slickLinks .slick-dots>li.slick-active>button {
  color: #fff;
}

.slickLinks .slick-dots button,
.slickLinks .slick-button {
  background: transparent;
  border: none;
  padding: 5px;
  font-size: 0 !important;
  display: block !important;
}

.slickLinks .slick-dots button {
  background: transparent !important;
  font-size: 0 !important;
  display: block !important;
}

.slickLinks .slick-button {
  font-size: 0px;
  position: relative;
  top: 4px;
  color: #fff;
}

.slickLinks .slick-button::before {
  font-size: 20px;
  line-height: 14px;
  height: 17px;
  display: block;
  font-family: "Nunito", sans-serif;
  color: #fff;
  opacity: 1;
}

.slickLinks :not(img) {
  filter: unset !important;
}


.slickLinks .slick-button.contrast_dark_font::before {
  background: #000 !important;
  color: #fff !important;
}

.slickLinks .slick-button.contrast_light_font::before {
  background: #fff !important;
  color: #000 !important;
}

.slickLinks .slick-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -30px;
  background: #cd0a5e;
  height: 26px;
  width: 25px;
}

.slickLinks .slick-next {
  left: unset;
  right: -30px;
}


@media (max-width: 767px) {
  .slickLinks .slick-button {
    left: -34px;
  }

  .slickLinks .slick-next {
    right: -34px;
    left: unset;
  }
}

.slickLinks .slick-button:hover,
.slickLinks .slick-button:focus {
  background: #eb3729;
}

.slickLinks .slick-dots {
  padding: 0 15px;
  list-style: none;
}

.slickLinks .slick-dots>li {
  font-size: 0px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid #aaaaaa;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  position: relative;
}

.slickLinks .slick-dots,
.slickLinks .slick-button {
  display: inline-block !important;
}

@media (max-width: 767px) {
  .slickLinks .slick-dots {
    display: none !important;
  }
}

.slickLinks .slick-dots>li.slick-active {
  background: #cd0a5e;
  transition: background 200ms linear;
}

.slickLinks .slick-dots>li.slick-active.contrast_dark_font {
  background-color: #000 !important;
}

.slickLinks .slick-dots>li.slick-active.contrast_light_font {
  background-color: #fff !important;
}

.slickLinks .slick-dots>li+li {
  margin-left: 10px;
}

.slickLinks .slick-prev::before {
  content: "\2039";
}

.slickLinks .slick-next::before {
  content: "\203A";
}

.slickLinks .slick-dots li button {
  background: transparent !important;
}

.slickLinks .specialHeadline a:not(.has-image):not([rel]) {
  font-size: 1rem;
  font-weight: 600;
  color: #cd0a5e;
}

.slickLinks .specialHeadline a:not(.has-image):not([rel])::after {
  content: ' \00BB';
}

.slickLinks .specialHeadline .tabHeadline {
  font-size: 1.1875rem;
  margin: 0px;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
  color: #cd0a5e;
}

.slickLinks .specialHeadline {
  margin-top: 30px;
  margin-bottom: 30px;
}

.slickLinks>.row>.col-xs-12:nth-child(2) {
  padding: 0px;
}


/* ----------------------------------------------- @1nw news -------------------------------------------- */

#nw1 {
  padding-top: 25px;
  padding-bottom: 25px;
}

#nw1>.row {
  row-gap: 25px;
}

#nw1 .tab {
  color: #676767;
  padding: 30px;
  font-size: clamp(1rem, 1vw, 1.125rem);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0px 0px 10px 0px rgba(43, 43, 43, 0.1);
}

#nw1 .tab a {
  color: #487f49;
  text-decoration: underline;
}

#nw1 .tabHeadline {
  color: #487f49;
  font-weight: 600;
  hyphens: auto;
  font-size: 1.625rem;
}

#nw1 .tab,
#nw1 .tab_link,
#nw1 .tab_link>div {
  height: 100%;
  min-height: 100%;
}

#nw1 .tab_link_entries {
  display: grid;
  gap: 30px;
}

@media (min-width: 576px) {
  #nw1 .tab_link_entries {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  #nw1 .tab_link_entries {
    grid-template-columns: repeat(3, 1fr);
  }
}

#nw1 .tab_link_entry {
  font-size: clamp(1rem, 1vw, 1.125rem);
  position: relative;
  width: 100%;
  padding: 160px 30px 30px 30px;
  background: #ffffff;
  border: unset !important;
  box-shadow: 0px 0px 10px 0px rgba(43, 43, 43, 0.1);
}

#nw1 .vorschau {
  opacity: 1;
}

#nw1 .tab_preview_picture {
  background: #ffffff;
}

#nw1 .tab_link_entry::before,
#nw1 .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 120px;
  overflow: hidden;
}

#nw1 .tab_link_entry::before {
  content: "";
  background: center / cover no-repeat, #e9f1d8;
}

#nw1 .tab_preview_picture img {
  position: absolute;
  margin: 0 !important;
  left: 50%;
  top: 50%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  max-width: 350px;
  width: auto;
  height: auto;
  -ms-interpolation-mode: bicubic;
  transform: translateX(-50%) translateY(-50%);
}

#nw1 .tab_date {
  display: inline-block;
  position: absolute;
  z-index: 1;
  left: -1px;
  top: 105px;
  font-weight: 400;
  color: #ffffff;
  font-size: 0.75rem;
  padding: 6px 20px;
  background: #cd0a5e;
}

#nw1 .tab_link_title a {
  display: block;
  font-weight: 700;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: #cd0a5e;
  line-height: 1.2;
  margin-bottom: 8px;
}

#nw1 .tab_link_entries+div,
#nw1 .tab_link_entries .tab_spacer,
#nw1 .tab_link_entry>div:nth-last-child(2) {
  display: none;
}

/* ------------------------------------------- @1nw buttonStyle ------------------------------------------- */

#nw1 .buttonStyle a {
  text-decoration: none;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  padding: 5px 12px;
  background: #cd0a5e;
  transition: background 300ms linear, color 300ms linear;
}

@media (min-width: 768px) {
  #nw1 .buttonStyle a+a {
    margin-left: 12px;
  }
}

#nw1 .buttonStyle a:hover,
#nw1 .buttonStyle a:focus {
  color: #ffffff;
  background: #487f49;
}

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

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

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

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.75rem, 3vw, 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;
}

/* --------------------------------------------- teaser ----------------------------------------- */

#teaser {
  margin: 5px 0;
  min-height: 145px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (min-width: 992px) {
  #teaser {
    min-height: 345px;
  }
}

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

footer {
  color: #ffffff;
  background: #487f49;
  font-size: 0.9375rem;
}

footer a,
footer a:is(:hover, :focus) {
  color: #fff;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
  color: #ffffff;
  font-size: 1.375rem;
  text-transform: uppercase;
  margin: 0;
}

#footer {
  padding: 40px 0;
}

@media (min-width: 992px) {
  #footer {
    padding: 70px 0 65px 0;
  }
}

#footer>.row {
  row-gap: 30px;
}

:is(.footerTab) a {
  text-decoration: underline;
}

.footerTab :is(iframe, .iframe-wrapper-manual-enabling) {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}

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

#innerfooter ul {
  padding: 0;
  line-height: 1.7;
}

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

#innerfooter li::before {
  content: "\0007C";
  color: #ffffff;
  position: relative;
  bottom: 2px;
  margin-right: 4px;
}

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

/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  gap: 18px;
  text-align: right;
  font-size: 0.8125rem;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

@media (max-width: 575px) {
  #vernetzt {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

#vernetzt span span {
  display: block;
}

/* ------------------------------------------- footer2 ------------------------------------------ */

#footer2 {
  padding: 15px 0;
  background: #427643;
}

#scrollTopBtn {
  position: relative;
  text-decoration: none;
  padding: 4px 15px 3px 15px;
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9375rem;
  color: #fff;
  font-weight: 600;
  font-family: "Khand", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#scrollTopBtn:is(:hover, :focus) {
  background: rgba(0, 0, 0, 0.2);
}

#scrollTopBtn::after {
  content: "\00BB";
  position: relative;
  bottom: 1px;
  display: inline-block;
  margin-left: 15px;
  transform: rotate(-90deg);
}

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

.contrast_dark_font form [id^="search_input"],
.contrast_light_font :is(form[id^="search"], #search_input1, #footer2) {
  background-color: #000000 !important;
}

.contrast_light_font #logo img,
.contrast_dark_font :is(form[id^="search"], #scrollTopBtn) {
  background-color: #ffffff !important;
}

:is(.contrast_light_font, .contrast_dark_font) form [id^="search_submit"] {
  background: #000000 url('../img/lupe-icon.png') center no-repeat !important;
}

:is(.contrast_light_font, .contrast_dark_font) #content,
.contrast_light_font #teaser>.row,
.contrast_light_font #teaser>.row>* {
  background: none !important;
}