@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+3:300,400,700,300i,400i,700i%7CUbuntu:400,700,400i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Allura:400");

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

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 300;
  color: #222222;
  background: #f2fae9;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  padding: 55px 0;
  border-top: 5px solid #81cc28;
}

.compact {
  background: #fff;
}

@media (min-width: 1200px) {
.compact {
  background: #fff;
  max-width: 1600px;
  width: 100%;
}
}
a {
  color: #a66403;
}

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

#content a,
b,
strong {
  font-weight: 400;
}


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

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

#logo {
  display: block;
  margin: 14px 0;
  gap: 15px;
  text-decoration: none !important;
  align-items: center;
  justify-content: center;
  hyphens: auto;
}
@media (min-width: 992px) {
  #logo {
  display: flex;
    
  }
}

.logoTxt {
  font-size: clamp(1.125rem, 3vw, 1.875rem);
    hyphens: auto;
}

.logoTxt h2 {
  margin-bottom: 0;
}

#logo img {
  display: block;
  margin-top: 0;
}

@media (max-width: 991px) {
  #logo img {
    max-width: 70px;
    width: 100%;
    margin-top: 0;
    margin: auto;
  }
}

/* #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: #427d38;
    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: 5px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  .horizontally {
    border-top: 1px solid #eeeeee;
    background: #fff;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: flex-end;
    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(.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: #457f34;
  font-weight: 700;
  text-align: center;
  padding: 12px 35px;
  position: relative;
  text-transform: uppercase;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 300ms linear,
    color 300ms linear,
    padding 150ms linear;
}

nav.horizontally li:nth-of-type(3) a[class*="toplevel"] {
  color: #a66403;
  font-size: 25px;
  font-family: "Allura", cursive;
  font-weight: 400;
  text-transform: none;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] {
    border-bottom: 1px solid rgba(255, 255, 225, 0.5);
  }
  nav.horizontally a[class*="toplevel"] {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  text-align: left;
  padding-left:15px;
}
}

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

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
}

nav.horizontally [class*="secondlevel"] > ul,
nav.horizontally [class*="toplevel"] > ul {
  background: #81cd28;
}

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

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 14px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  nav.horizontally [class*="toplevel"] > ul::before {
    content: "";
    position: absolute;
    top: -12px;
    left: calc(50% - 20px);
    width: 40px;
    height: 12px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: #81cd28;
  }

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  font-weight: 700;
  text-align: center;
  padding: 10px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  color: #222222;
}

@media (min-width: 992px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media (max-width: 991px) {
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;
  text-align: left;
}
}
/* 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: #ffffff;
  color: #a66403;
}

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

/* #region ------------------------------------ banner ------------------------------------------ */

#headerpic {
  position: relative;
}

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

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

.slider-mask {
  display: block;
  background: url("../img/banner-bogen.png") bottom center no-repeat;
}

#bannerOverlay .tabHeadline {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
}

#bannerOverlay .tab {
  color: #222222;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.9);
}

#bannerOverlay .tab a {
  color: #ffffff;
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 700;
  background-color: #427d38;
}

#bannerOverlay .tab a:is(:hover, :focus) {
  color: #222222;
  text-decoration: none;
  background-color: #81cd28;
}

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

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

  #bannerOverlay {
    position: absolute;
    top: 50%;
    z-index: 55;
    transform: translateY(-50%);
    left: 0;
    right: 0;
  }
}


@media (max-width: 1199px) {
  #slider {

  }
#slider,
#slider .slick-track,
#slider .slick-list.draggable,
#slider .slick-slide > div,
#slider .slick-slide > div > img {
  height: 100% !important;
  object-fit: cover;
      min-height: 250px;
}

}
/* #endregion --------------------------------- banner ------------------------------------------ */


.newsticker-position > .newsticker {
  color: #457f34;
  font-weight:700;
  padding-top: 20px;
  margin-bottom: 0;
}

.newsticker-position > .newsticker a {
  color: #457f34;
}
.newsticker-position h2 {
  font-size: 0;
}
/* ------------------------------------------- content ------------------------------------------ */
.contentTab {
  color: #222222;
  position: relative;
  background: #f2fae9;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  margin-bottom: 60px;
  z-index: 3;
  border-top: 4px solid #7fca28;
padding: 40px 28px 35px 28px;
hyphens: auto;
}
@media (max-width: 767px) {
  .contentTab {
  margin-bottom: 0px;    
  }
}
.contentTab :is(h1, h2, h3, h4, h5, h6) {
  color: #457f34;
  font-size: 1.75rem;
  font-weight: 700;
}

#contentWrapper {
  text-align: left;
  padding-bottom: clamp(30px, 4vw, 60px);
  padding-top: 60px;
}

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

#contentWrapper .tab {
  background: #ffffff;
  padding: 55px 30px 30px 30px;
  border-top: 5px solid #7ec727;
  position: relative;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

#contentWrapper .tab::before {
  content: "";
  width: 60px;
  height: 60px;
  display: block;
  position: absolute;
  top: -30px;
  background: #fff url(../img/icon-wetter.png) center center no-repeat;
  border-radius: 100%;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
  left: 50%;
  transform: translate(-50%);
}

@media (min-width: 1200px) {
   #contentWrapper > .row,
  #footer > .row, #nw2 > .row
   {
    max-width: 1440px;
    width: 100% !important;
  }
}

.tabsRight > * {
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .tabsRight {
    padding-left: 40px;
  }
}



/* ----------------------------------------------- @2nw news -------------------------------------------- */

#nw2 {
  padding-top: clamp(40px, 4vw, 60px);
  padding-bottom: clamp(40px, 4vw, 60px);
  background-color: #f2fae9;
}

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

#nw2 .tabContent {
  font-size: 1rem;
}

#nw2 .specialHeadline {
  position: relative;
  color: #427d38;
  font-size: clamp(1.25rem, 10vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0;
  hyphens: manual;
  word-break: break-word;
  font-family: "Ubuntu", sans-serif;
  z-index: 0;
}

#nw2 .specialHeadline::before {
  content: "";
  position: absolute;
  display: inline-block;
  left: -8px;
  bottom: 0;
  width: 100px;
  height: 20px;
  background: #ffffff;
  opacity: 1;
  z-index: -1;
}

#nw2 .tab_link_entries {
  display: grid;
  gap: 30px;
}
@media (min-width: 767px) {
  #nw2 .tab_link_entries {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  #nw2 .tab_link_entries {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  #nw2 .tab_link_entries {
    padding-right: 100px;
    position: relative;
  }
}

#nw2 .tab_link_entry {
  color: #222222;
  padding: 20px;
  width: 100%;
  font-size: 1.125rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #ffffff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.15);
  font-weight: 300;
  border-top: solid 5px #76bb25;
}

@media (min-width: 768px) {
  #nw2 .tab_link_entry {
    padding: 40px 25px;
  }
}

#nw2 .tab_link_title a {
  color: #427d38;
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
  font-family: "Ubuntu", sans-serif;
}

#nw2 .tab_link_mehr {
  font-size: 0;
  color: transparent;
  margin-top: 30px;
}

@media (min-width: 992px) {
  #nw2 .tab_link_mehr {
    margin-top: 0;
  }
}

#nw2 .tab_link_mehr a {
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  color: #457f34;
  font-weight: 700;
  font-size: 3.75rem;
  line-height: 0.5;
  width: 100%;
  padding: 5px 10px 15px 10px;
  background: #ffffff;
  transition: background 300ms linear;
  font-family: "Ubuntu", sans-serif;
  border-top: solid 5px #76bb25;
}

@media (min-width: 992px) {
  #nw2 .tab_link_mehr a {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    width: 70px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    padding: 5px 10px 5px 10px;
  }
}

#nw2 .tab_link_mehr a:hover,
#nw2 .tab_link_mehr a:focus {
  background: #427d38;
  color: #fff;
}
/* ----------------------------------------------- @12ev events -------------------------------------------- */

#ev12,
.searchtab {
  color: #222222;
  font-size: 1rem;
  position: relative;
  background: #ffffff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  margin-bottom: 60px;
  z-index: 3;
}

.searchtab {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .searchtab{
     margin-bottom: 30px;
    
  }
}
.searchtab .tabHeadline,
#ev12 .tabHeadline {
  margin-bottom: 0;
  text-align: center;
  color: #ffffff;
  font-size: 1.5625rem;
  font-weight: 700;
  padding: 19px 25px;
  background: #427d38;
  border-top: 4px solid #7fca28;
}

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

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

#ev12 .tab_link_title a {
  font-weight: 600;
  color: #a66403;
}

#ev12 .tab_link_mandat a {
  color: #222222;
  font-style: italic;
}

#ev12 .tab_link_mehr {
  font-size: 0;
  text-align: right !important;
  padding: 0 !important;
}

#ev12 .tab_link_mehr a {
  text-decoration: none;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #fff;
  padding: 5px 15px;
  background: #427d38;
}

#ev12 .tab_link_mehr a:hover,
#ev12 .tab_link_mehr a:focus {
  color: #222222;
  background: #7ec727;
}

#search {
  height: 50px;
  background: #fff;
  border: 1px solid #d0d0d0;
  display: block;
  position: relative;
  margin: 0 auto;
}
#search_input {
  color: #222222;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 50px;
  padding-left: 10px;
  padding-right: 43px;
  height: 50px;
  width: 100%;
}
#search_submit {
  width: 33px;
  background: url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 50px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -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;
}

#search_input::-ms-input-placeholder {
  color: #222222 !important;
}
#search_input::-webkit-input-placeholder {
  color: #222222 !important;
}
#search_input::-moz-placeholder {
  opacity: 1;
}
#search_input:-moz-placeholder {
  opacity: 1;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

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

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

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

#footer {
  background: #f2fae9;
  padding: clamp(10px, 4vw, 15px) 0;
  font-weight: 400;
  font-size: 1.125rem;
}

#footer strong,
#footer b {
  font-weight: 700;
}

#footer .note {
  font-size: 1.5rem;
  font-weight: 400;
  font-family: "Ubuntu", sans-serif;
}

#footer .note :is(strong, b) {
  font-weight: 700;
  color: #427d38;
}

@media (max-width: 767px) {
  #footer > .row > .col-xs-12 + * {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    padding-top: 20px;
  }
}

#footer .tabHeadline {
  font-size: 1.375rem;
}

#footer .note a {
  color: #222222;
}

#f5 {
  background: #427d38;
  padding: 15px 0;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

#innerfooter ul {
  padding: 0;
}

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

#innerfooter li {
  position: relative;
}

#innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  position: relative;
}

#innerfooter a:is(:hover, .focus) {
  color: #ffffff;
}

#innerfooter a::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  bottom: 2px;
  height: 1px;
  background: #ffffff;
  transition: width 150ms linear;
}

#innerfooter a:is(:hover, .focus)::after {
  width: 100%;
}

@media (min-width: 576px) {
  #innerfooter li {
    display: inline-block;
  }

  #innerfooter li + li::before {
    content: "•";
    color: #ffffff;
    margin: 0 24px;
  }
}

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

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

#vernetzt {
  gap: 18px;
  text-align: right;
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

.footerBanner {
  position: relative;
  z-index: 1;
}

.footerBanner img {
  border-radius: 50%;
}
