@import url("https://fonts.verwaltungsportal.de/css/?family=Chelsea+Market:400");
@import url("https://fonts.verwaltungsportal.de/css/?family=Baloo+2:400,400i,600,600i");

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

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

a {
   color: #006c67;
}

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

b,
strong {
   font-weight: 600;
}

/* ------------------------------------------- Slogan ------------------------------------------- */

#topbar {
   background: #fff;
   padding: 10px 0;
   border-top: 5px solid #262626;
}

#slogan {
   display: inline-block;
}

#slogan img {
   display: block;
}

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

@media (min-width: 992px) {
   #style {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: flex-end;
   }

   #style button {
      border: none;
      color: #ffffff;
      display: inline-block;
      width: 2.375rem;
      height: 2.375rem;
      border-radius: 50%;
      font-weight: 400;
      text-align: center;
      background-color: #006c67;
      position: relative;
      line-height: 1;
      font-size: 0.875rem;
   }

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

   #style button:hover {
      background: #99D19C;
      color: #262626;
   }

   #style button:focus-visible {
      outline: 2px auto;
   }
}

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

#logo {
   display: inline-block;
}

#logo img {
   display: block;
   transition: max-height 150ms linear, margin 150ms linear;
}

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

   #logo img {
      max-width: calc(100vw - 230px);
      max-height: 150px;
      width: 100%;
   }
}

@media (min-width: 992px) {
   #logo img {
      max-height: 200px;
   }
}

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

nav.horizontally {
   background: #262626;
}

/* 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: #262626;
      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: #262626;
      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: 10px;
   }

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

/* menu desktop */

@media (min-width: 992px) {
   nav.horizontally :is(.navbar, #myNavbar) {
      height: 100% !important;
   }

   .is-sticky nav.horizontally {
      box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
   }

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

   nav.horizontally .navbar-nav ul {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
      display: block !important;
      pointer-events: none;
      opacity: 0;
      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 {
      opacity: 1 !important;
   }

   nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
      z-index: 1003;
   }
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
   color: #fff;
   font-weight: 400;
   padding: 10px 35px 15px 35px;
   position: relative;
   font-size: 1.25rem;
   line-height: 1.2;
   text-decoration: none;
}

@media (max-width: 991px) {
   nav.horizontally .navbar-nav li[class*="toplevel"] {
      border-top: 1px solid rgba(0, 0, 0, 0.15);
   }
}

@media (min-width: 992px) {
   nav.horizontally .navbar-nav a[class*="toplevel"] {
      padding: 15px 8px;
      text-align: center;
   }
}

/* toplevel-over */

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"].open>a,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
   color: #fff;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@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: #006c67;
   color: #dbf1eb;
}

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

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

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

@media (min-width: 768px) {
   #headerpic .nivo-directionNav a {
      top: 16px;
      bottom: auto;
   }

   #headerpic .nivo-controlNav {
      width: calc(100% - 100px);
      left: 50px;
      top: 10px;
      bottom: auto;
   }
}

@media (min-width: 992px) {
   body.index #slider {
      max-height: clamp(450px, 66vw, 550px);
   }
}

#headerpic {
   padding: 0;
   overflow: hidden;
   position: relative;
   background: #0f0f0f;
   color: #ffffff;
}

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

.slider-mask {
   display: none;
}

@media (min-width: 768px) {
   #headerpic .slider-mask {
      display: block;
      background: url(../img/overlay-bogen-header.png) bottom -1px center / 100% auto no-repeat;
   }
}

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

/*--------------------- @ev14 ------------------------*/

#ev14 {
   padding: 40px 0 0 0;
   background: #fff;
}

#ev14 .tabHeadline {
   color: #006c67;
   font-size: clamp(1.5625rem, 2vw, 2rem);
   font-weight: 400;
}

#ev14 hr {
   opacity: 0;
}

#ev14 .more_link a {
   display: inline-block;
   color: #262626;
   font-size: 1rem;
   font-weight: 600;
   padding: 10px 20px;
   background: #99D19C;
}

#ev14 .more_link a::after {
   content: url(../img/arrow.png);
   margin-left: 8px;
}

#ev14 .more_link a:focus,
#ev14 .more_link a:hover {
   text-decoration: none;
   background: #dbf1eb;
}


#ev14 .tab_link_entry::before {
   content: '';
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   height: 220px;
   position: absolute;
   z-index: 0;
}

#ev14 .tab_link_entry::before,
#ev14 .tab_preview_picture {
   max-height: 220px;
   overflow: hidden;
   display: block;
   margin-bottom: 25px;
   position: absolute;
   top: -4px;
   left: 0;
   right: 0;
}

#ev14 .tab_preview_picture {
   background-color: #fff;
   z-index: 3;
}

#ev14 .tab_preview_picture img {
   display: block;
   object-fit: cover;
   object-position: bottom center;
   width: 100%;
   height: 100%;
}

#ev14 .tab_link {
   padding: 20px 0;
   width: 100%;
}

#ev14 .tab_link_entries {
   display: flex;
   width: 100%;
}

@media (max-width: 991px) {
   #ev14 .tab_link_entries {
      flex-wrap: wrap;
   }
}

#ev14 .tab_link_entry {
   width: 100%;
   margin-left: 15px;
   margin-right: 15px;
   padding: 30px 30px 20px 30px;
   background: #006c67;
   box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1), 0px -4px 0px 0px rgba(222, 154, 133, 0.004);
   border-top: #006c67 4px solid;
   margin-bottom: 30px;
   color: #fff;
   position: relative;
   padding-top: 230px;
}

@media (min-width: 768px) and (max-width: 991px) {
   #ev14 .tab_link_entries .tab_link_entry:last-child {
      width: 100%;
   }

   #ev14 .tab_link_entry {
      width: calc(50% - 30px);
   }
}

@media (min-width: 1200px) {
   #ev14 .tab_link_entry {
      width: calc(33% - 30px);
      margin-bottom: 0;
   }
}

#ev14 .vorschau {
   display: none;
}


#ev14 .tab_link_date {
   order: 1;
   width: 100%;
   color: #fff;
   font-size: 1rem;
   font-weight: 400;
   line-height: 1.1;
}

#ev14 .tab_link_title a {
   color: #fff;
   font-weight: 600;
   font-size: 1.25rem;
   line-height: 1.1;
}

#ev14 .tab_link_mandat a {
   font-size: 1rem;
   font-weight: 400;
   color: #fff;
   line-height: 1.1;
}

#ev14 .tab_link_mehr {
   font-size: 0;
   border-top: rgba(255, 255, 255, 0.8) 1px solid;
   text-align: left;
   padding: 20px 0 0 0;
   margin-top: 20px;
   text-align: left !important;
   width: 100%;
}

#ev14 .tab_link_mehr a {
   color: #dbf1eb;
   font-weight: 600;
   font-size: 0.875rem;
   position: relative;
}

#ev14 .tab_link_mehr a::after {
   content: " erfahren";
}

#ev14 .tab_link_mehr a::before {
   content: "";
   display: block;
   border: solid #dbf1eb;
   border-width: 0 0 2px 2px;
   height: 8px;
   width: 8px;
   position: absolute;
   top: calc(50% - 4px);
   right: -30px;
   -moz-transform: rotate(225deg);
   -webkit-transform: rotate(225deg);
   -o-transform: rotate(225deg);
   -ms-transform: rotate(225deg);
   transform: rotate(225deg);
   -webkit-transition: transform 0.3s 0s ease;
   -moz-transition: transform 0.3s 0s ease;
   -o-transition: transform 0.3s 0s ease;
   transition: transform 0.3s 0s ease;
}

#ev14 .tab_link_mehr a:focus,
#ev14 .tab_link_mehr a:hover {
   text-decoration: none;
}

#ev14 .tab_link_mehr a:focus::before,
#ev14 .tab_link_mehr a:hover::before {
   -moz-transform: rotate(225deg) translate(-7px, 7px);
   -webkit-transform: rotate(225deg) translate(-7px, 7px);
   -o-transform: rotate(225deg) translate(-7px, 7px);
   -ms-transform: rotate(225deg) translate(-7px, 7px);
   transform: rotate(225deg) translate(-7px, 7px);
}

/* ---------------------------------------------- tab ------------------------------------------- */

#tabs {
   padding-bottom: 40px;
   position: relative;
   z-index: 10;
   margin-top: -120px;
}

#tabs>.row {
   display: flex;
   gap: 30px 0;
   flex-wrap: wrap;
   flex-direction: row;
}

#tabs .tab {
   padding: 50px 20px;
   background: #006c67;
   box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
   position: relative;
   height: 100%;
   font-size: 0.9375rem;
   color: #fff;
}

#tabs .tab::after {
   content: "";
   position: absolute;
   display: block;
   width: 114px;
   height: 164px;
   top: -62px;
   right: 15px;
   background: center right no-repeat;
   pointer-events: none;
}

#tabs .tab.suche::after {
   width: 132px;
   height: 136px;
   top: -42px;
   right: 0px;
}

#tabs .tab.newsletter::after {
   width: 119px;
   height: 118px;
   top: -32px;
   right: -15px;
}

#tabs .tabHeadline {
   margin: 0 0 30px 0;
   padding-right: 100px;
   font-size: 1.5rem;
   color: #fff;
}

#tabs .tab a {
   color: #dbf1eb;
   text-decoration: underline;
}

/* #region ------------------------------- search + newsletter ---------------------------------- */

#search,
#newsletter {
   background: #ffffff;
   display: flex;
   width: 100%;
   margin-top: clamp(15px, 2vw, 25px);
   border: 1px solid #d1d1d1;
}

#search_input,
#newsletter_input {
   color: #747474;
   font-size: 0.9375rem;
   font-style: normal;
   background: transparent;
   padding: 10px 14px;
   border: 0;
   width: 100%;
}

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

#search_submit,
#newsletter_submit {
   width: 44px;
   flex-shrink: 0;
   border: none;
   padding: 0;
   cursor: pointer;
   margin: -1px -1px -1px 0;
   font-size: 0;
   transition: transform 150ms linear;
}

#search_submit {
   background: #99D19C url("../img/lupe-icon.png") center / auto 18px no-repeat;
}

#newsletter_submit {
   background: #99D19C url("../img/pfeil-icon.png") center / auto 18px no-repeat;
}

:is(#search_submit, #newsletter_submit):is(:hover, :focus) {
   transform: scale(1.2);
}

:is(#search_input, #newsletter_input)::placeholder {
   color: #262626 !important;
   opacity: 1 !important;
   font-style: normal !important;
}

/* #endregion ---------------------------- search + newsletter ---------------------------------- */

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

#content {
   text-align: left;
   padding-bottom: clamp(40px, 6vw, 80px);
   padding-top: clamp(40px, 4vw, 60px);
}

#breaker {
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   height: 300px;
   color: #ffffff;
   font-size: 1.125rem;
   background-attachment: fixed;
   position: relative;
}

#breaker::before {
   content: "";
   position: absolute;
   inset: 0;
   background-image: url(../img/overlay-bogen-footer.png);
   background-size: contain;
   background-position: top center;
   background-repeat: no-repeat;
}

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

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

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

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

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

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

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

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

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

footer {
   background: #fff;
}

#f5 {
   padding-top: 20px;
   padding-bottom: 20px;
   background: #262626;
}

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

@media (max-width: 767px) {
   #innerfooter {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      padding-bottom: 15px;
      margin-bottom: 15px;
   }
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

#innerfooter a {
   color: #fff;
   text-decoration: none;
   display: inline-block;
   font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
   color: #fff;
   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 {
   text-align: right;
   font-size: 0.9375rem;
   color: #fff;
   line-height: 1.2;
   margin: 0 auto;
   text-decoration: none;
}

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

#vernetzt span {
   color: #fff;
}

#vernetzt span span {
   display: block;
}

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