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

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

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

#overlay {
  overflow: hidden;
  position: relative;
}

a {
  color: #496820;
  font-family: "Lato", sans-serif;
  font-style: italic;
}

a:is(:hover, :focus) {
  color: #496820;
  font-family: "Lato", sans-serif;
  font-style: italic;
  text-decoration: underline;
}

b,
strong {
  font-weight: 700;
  font-family: "Lato", sans-serif;
}

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

#topbar > .row {
  padding: 12px 0;
  height: 115px;
  position: relative;
}

#topbar > .row::after {
  content: "";
  position: absolute;
  background: url(../img/fuchs-illu.png);
  background-repeat: repeat;
  width: 180px;
  height: 156px;
  transform: translateX(100%);
  bottom: -79px;
  z-index: 12;
  pointer-events: none;
  right: -85px;
  display: block;
  background-repeat: no-repeat;
}

@media (max-width: 1198px) {
  #topbar > .row::after {
    display: none;
  }
}
#logo {
  display: inline-block;
  margin-top: 22px;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: calc(100vw - 120px);
    width: 100%;
  }
  #topbar > .row::after {
    display: none;
  }
}

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

form[id^="search"] {
  background: #fafafa;
  display: inline-flex;
  border-radius: 30px;
  width: 100%;
  max-width: 290px;
  border: 1px solid #496820;
  overflow: hidden;
}

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

@media (min-width: 992px) {
  form#search1 {
    position: absolute;
    z-index: 60;
    right: 11px;
    top: 40px;
  }
}

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

form[id^="search"]::-webkit-input-placeholder {
  color: #282828;
}

form [id^="search_input"] {
  color: #282828;
  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(235, 240, 213, 1);
}

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

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

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

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

@media (min-width: 992px) {
  body.index #slider {
    max-height: clamp(400px, 58vw, 570px);
  }
}
  #headerpic a.nivo-prevNav {
    left: 65px;
  }

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


  .slider-mask {
    background: url(../img/banner-welle.png);
    display: block !important;
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;

  }


#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: #ebf0d5;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    border: green 1px solid;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #496820;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition: transform 200ms linear, opacity 200ms linear;
  }
  .dropdown-toggle-button {
    position: relative;
    background: rgb(235, 240, 213);
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #496820;
  }

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

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

  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: 600;
  text-align: left;
  padding: 15px 15px;
  position: relative;
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Parkinsans", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.188rem;
}

@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"]::before {
  content: "";
  width: 0;
  height: 5px;
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  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: #496820;
  }
}

/* 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: #ebf0d5;
  color: #496820;
}

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 #496820;
  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: "parkinsans", sans-serif;
  font-style: normal;
}

@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: rgba(214, 228, 201, 0.5);
  color: #496820;
}

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

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

#content {
  text-align: left;
  background-color: #fafafa;
  padding-bottom: clamp(40px, 6vw, 95px);
  padding-top: clamp(30px, 4vw, 65px);
}

@media (min-width: 992px) {
  #content {
    background: #fafafa center bottom / 100% auto no-repeat;
  }

  #contentCol {
    padding-top: 30px;
  }
}

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #496820;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Parkinsans", 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;
}

/* ----------------------------------------------- @14ev events -------------------------------------------- */

#ev14 {
  padding: 40px 0;
  margin-bottom: 6em;
}

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

#ev14 .tabHeadline {
  color: #496820;
  font-size: 1.5625rem;
  font-weight: 700;
  margin: 0;
}

#ev14 hr {
  height: 2px;
  background: linear-gradient(90deg, rgba(64, 88, 55, 1) 0%, rgba(255, 255, 255, 0) 100%);
  border: unset;
  opacity: 1;
}

#ev14 .more_link a {
  text-decoration: none;
  display: inline-block;
  color: #ffffff;
  font-weight: 600;
  padding: 10px 20px;
  background: #496820;
  font-weight: 600;
  font-style: normal;
  font-family: "Parkinsans", sans-serif;
  font-size: 1rem;
}

#ev14 .more_link a:focus,
#ev14 .more_link a:hover {
  color: #496820;
  background: #ebf0d5;
  border: 1px solid #496820;
  text-decoration: none;
}

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

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

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

#ev14 .tab_link_entry {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  padding: 30px 30px 80px 30px;
  border-top: 4px solid #496820;
  background: #ebf0d5;
  box-shadow: 0px 8px 17px 1px rgba(104, 106, 91, 0.1);
  -webkit-box-shadow: 0px 8px 17px 1px rgba(104, 106, 91, 0.1);
  -moz-box-shadow: 0px 8px 17px 1px rgba(104, 106, 91, 0.1);
}

#ev14 .tab_link_entry > div:nth-child(7) {
  order: 4;
}

#ev14 .tab_link_mandat {
  font-family: "Parkinsans", sans-serif;
  font-weight: 400;
  font-style: normal;
  order: 3;
  width: 100%;
}

#ev14 .tab_link_title {
  order: 2;
}

#ev14 .tab_link_date {
  order: 1;
  width: 100%;
  color: #496820;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
}

#ev14 .tab_link_title a {
  color: #496820;
  font-weight: 700;
  font-size: 1.25rem;
  font-style: normal;
  font-family: "Parkinsans", sans-serif;
  text-decoration: none;
}

#ev14 .tab_link_mandat a {
  font-size: 1rem;
  font-weight: 400;
  color: #496820;
  font-family: "Parkinsans", sans-serif;
  font-weight: 400;
  font-style: normal;
  order: 3;
  width: 100%;
  text-decoration: none;
}

#ev14 .tab_link_mehr {
  font-size: 0;
  text-align: left !important;
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 20px;
}

#ev14 .tab_link_mehr a {
  text-decoration: none;
  position: relative;
  display: block;
  color: #496820;
  font-weight: 500;
  font-family: "Parkinsans", sans-serif;
  font-style: normal;
  line-height: 1.2;
  font-size: 1rem;
  letter-spacing: 2px;
  padding: 20px 10px;
  border-top: 1px solid rgba(73, 104, 32, 0.2);
  transition: color 300ms linear, border 300ms linear;
}

#ev14 .tab_link_mehr a:focus,
#ev14 .tab_link_mehr a:hover {
  color: #496820;
  border-color: #496820;
  text-decoration: underline;
}

#ev14 .tab_spacer,
#ev14 .vorschau {
  display: none;
}
/* #region ----------------------------------- footer - Kontaktbereich ------------------------------------------- */

footer {
  color: #282828;
  background: #ebf0d5;
  font-size: 0.9375rem;
  position: relative;
}

footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../img/footer-welle.png");
  height: 115px;
  background-size: 100% auto;
  top: -115px;
  background-position: bottom center;
  background-repeat: no-repeat;
}

#footer > .row::before {
  content: "";
  position: absolute;
  background: url(../img/igel-illu.png);
  background-repeat: repeat;
  width: 177px;
  height: 208px;
  transform: translateX(100%);
  top: -20em;
  z-index: 12;
  pointer-events: none;
  right: -101px;
  background-repeat: no-repeat;
  display: block;
}

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

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
  color: #405837;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 600;
  font-family: "Parkinsans", sans-serif;
  font-style: normal;
}

#footer {
  padding: 130px 0 40px 0;
  margin-top: 80px;
}

@media (min-width: 992px) {
  #footer {
    padding: 20px 0;
    height: 321px;
  }
}
@media (max-width: 992px) {
  #footer {
    padding: 52px 0 40px 0;
  }
}

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

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

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

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

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

#f5 {
  padding-top: 41px;
  padding-bottom: 41px;
  background-color: #405837;
  font-weight: 400;
  font-family: "Lato", sans-serif;
  height: 130px;
}
#f5 > .row::after {
  content: "";
  position: absolute;
  background: url(../img/maus-fuss.png);
  width: 100px;
  height: 134px;
  transform: translateX(-100%);
  bottom: 84px;
  z-index: 12;
  pointer-events: none;
  left: -140px;
  background-repeat: no-repeat;
  display: block;
}
#f5 > .row::before {
  content: "";
  position: absolute;
  background: url(../img/grafik-eichhoernchen.png);
  width: 246px;
  height: 267px;
  transform: translateX(-50%);
  bottom: 97px;
  z-index: 12;
  pointer-events: none;
  left: 50%;
  background-repeat: no-repeat;
  display: block;
}

@media (max-width: 991px) {
  #f5 > .row::before {
    display: none;
  }
  #f5 > .row::after {
    display: none;
  }
  #footer > .row::before {
    display: none;
  }
}
/* --------------------------------------------- innerfooter -------------------------------------------- */

@media (max-width: 767px) {
  #innerfooter {
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

#innerfooter ul {
  padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#innerfooter li + li::before {
  content: "•" !important;
  margin: 0 6px;
  color: #ffffff;
  display: inline-flex;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
  color: #ebf0d5;
  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 b {
  font-weight: 700;
}
#vernetzt {
  text-align: right;
  font-size: 0.813rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  text-decoration: none;
  font-style: normal;
}

@media (min-width: 768px) {
  #vernetzt {
    margin: 0;
  }
}

#vernetzt span {
  color: #ffffff;
  font-style: normal;
}

#vernetzt span span {
  display: block;
  font-style: normal;
}

#vernetzt img {
  margin-left: 12px;
}
