@import url("https://fonts.verwaltungsportal.de/css/?family=Work+Sans:300,400,600,700,300i,400i,600i,700i");

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

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

a {
   color: #00728F;
}

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

b,
strong {
   font-weight: 600;
}

.static {
   position: static;
}

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

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

#logo {
   display: inline-block;
}

#logo img {
   display: block;
}

@media (max-width: 991px) {
   #logo img {
      max-width: calc(100vw - 120px);
      width: 100%;
   }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #burgerButton {
      font-size: 13px;
      display: block;
      width: 48px;
      height: 48px;
      border-radius: 2px;
      padding: 8px 0 0 0 !important;
      cursor: pointer;
      background: #ffffff;
      border: none !important;
      border-radius: 4px;
      color: #007e9e;
      font-weight: 700;
      line-height: 1;
      text-align: center;
      box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
   }

   #burgerButtonInner {
      margin-bottom: 26px;
      display: inline-block;
   }

   #burgerButton[aria-expanded="true"] #burgerButtonInner {
      opacity: 0;
   }

   #burgerButton[aria-expanded="true"]::before {
      transform: rotate(-45deg) translate(2px, -4px);
   }

   #burgerButton[aria-expanded="true"]::after {
      transform: rotate(45deg) translate(-10px, -10px);
   }

   #burgerButton::before {
      top: 26px;
   }

   #burgerButton::after {
      top: 36px;
   }

   #burgerButton::before,
   #burgerButton::after {
      content: "";
      display: block;
      position: absolute;
      background: #007e9e;
      border-radius: 2px;
      width: 38px;
      height: 3px;
      left: 5px;
      font-size: 0;
      transition: transform 200ms linear, opacity 200ms linear;
   }

   .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: 22px;
      right: 15px;
      z-index: 101;
   }

   .dropdown-toggle-button-wrapper {
      top: 9px;
   }

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

   .horizontally {
      position: relative !important;
   }
}

/* menu desktop */

@media (min-width: 992px) {
   nav.horizontally {
      padding: 10px 0;
      background: #ffffff;
   }

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

   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 {
      pointer-events: none !important;
      opacity: 0 !important;
      visibility: hidden;
  } */

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

@media (min-width: 1200px) {
   nav.horizontally>.row {
      max-width: 1600px;
      width: 100%;
   }
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
   color: #007e9e;
   font-weight: 600;
   text-align: left;
   padding: 12px 15px;
   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(255, 255, 255, 0.1);
   }

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

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

.navbar-default .navbar-nav li[class*="toplevel"]>a::after {
   content: "";
   display: block;
   height: 2px;
   width: 0;
   position: absolute;
   left: 50%;
   transform: translateX(-50%);
   bottom: 0;
   background: #007e9e;
   transition: width 200ms linear;
}

/* 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: #007e9e;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
   padding: 10px;
   background-color: #ffffff;
}

@media (min-width: 992px) {
   nav.horizontally [class*="toplevel"] ul {
      padding: 15px 0;
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
   }

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

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

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

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

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

/* secondlevel + thirdlevel */

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

/* 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: #007e9e;
   color: #ffffff;
}

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

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

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

@media (min-width: 576px) {
   body.index #slider {
      max-height: clamp(400px, 62vw, 650px);
   }
}

#headerpic {
   padding: 0;
   overflow: hidden;
   position: relative;
}

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

.index .slider-mask {
   display: block;
   background: url(../img/banner-welle.png) no-repeat bottom center / 100% auto;
}

.slider-mask {
   display: block;
   background: url(../img/sub-banner-welle.png) no-repeat bottom center / 100% auto;
}

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

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

#headerpic .nivo-directionNav {
   height: 40px;
   pointer-events: none;
   width: 100%;
   position: absolute;
   z-index: 7;
   left: 50%;
   bottom: 80px;
   transform: translateX(-50%);
}

@media (min-width: 992px) {
   #headerpic .nivo-directionNav {
      max-width: 992px;
      bottom: 100px;
   }
}

@media (min-width: 1200px) {
   #headerpic .nivo-directionNav {
      max-width: 1200px;
   }
}

#headerpic .nivo-directionNav a {
   pointer-events: auto;
   background: #007e9e url('../img/banner-arrows.png') top 12px center / 18px auto no-repeat;
   width: 40px;
   height: 40px;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
   transform: scaleX(-1)
}

#headerpic .nivo-directionNav a:hover,
#headerpic .nivo-directionNav a:focus {
   background: #c31823 url('../img/banner-arrows.png') top 12px center / 18px auto no-repeat;
}

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

@media (min-width: 576px) {
    body.index #searchArea {
        background: #e5f7fb;
    }
}

@media (max-width: 991px) {
    body:not(.index) #searchArea {
        display: none;
    }
}

#searchBox {
    background: #ffffff;
    padding: 25px 0;
}

@media (min-width: 576px) {
    #searchBox {
        position: relative;
        z-index: 54;
        margin-top: -80px;
        padding-left: clamp(25px, 4vw, 40px);
        padding-right: clamp(25px, 4vw, 40px);
    }
}

#searchBox>.row {
    row-gap: 20px;
}

#search {
    background: #e5f7fb;
    display: flex;
    width: 100%;
}

@media (min-width: 992px) {
    #search {
        max-width: 420px;
    }
}

#search_input {
    background: transparent;
    color: #111111;
    font-size: 1rem;
    font-style: normal;
    padding: 13px 10px;
    border: 0;
    width: 100%;
}

#search_submit {
    width: 50px;
    flex-shrink: 0;
    background: url('../img/icon-search.png') center / 18px auto no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 0;
    transition: background 200ms linear;
}

#search_submit:is(:hover, :focus) {
    background-color: #ffffff;
}

#search_input::placeholder {
    color: #111111 !important;
    opacity: 1 !important;
    font-style: normal !important;
}

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

/* #region ------------------------------------ topInfo ----------------------------------------- */

#topInfo {
   padding-bottom: 30px;
   padding-top: 30px;
   position: relative;
   z-index: 1;
   background-color: #fff;
}

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

@media (min-width: 992px) {
   #topInfo .tab-text {
      padding-top: 50px;
      padding-right: 30px;
      padding-bottom: 110px;
   }
}

#topInfo .tab-text,
#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6, a) {
   color: #111111;
}

#topInfo .tab-text h2 {
   font-weight: 400;
   margin-bottom: 0;
   font-size: clamp(1.5625rem, 4vw, 2.25rem);
}

#topInfo .tab-text h3 {
   font-weight: 600;
   font-size: clamp(2.1875rem, 4vw, 2.8125rem);
}

#topInfo .tab-text a {
   text-decoration: underline;
}

#topInfo .tab-text a:is(:hover, :focus) {
   color: #111111;
}

#topInfo .tab-text h3::after {
   content: "";
   display: block;
   width: 20px;
   height: 4px;
   background: #111111;
   margin: 20px auto;
}

@media (min-width: 992px) {

   #topInfo .tab-text h3::after {
      margin-right: 0;
   }
}

#topInfo .tab {
   color: #111111;
   background: #ffffff;
   padding: clamp(30px, 3vw, 40px);
   min-height: 100%;
   height: 100%;
   position: relative;
   box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
   #topInfo .tab {
      font-size: 1.125rem;
   }

   .tab_spacer {
      height: 16px;
   }
}

@media (min-width: 992px) {
   #topInfo .tab {
      padding-bottom: 70px;
   }
}

#topInfo .tabHeadline {
   font-size: clamp(1.25rem, 3vw, 1.75rem);
   margin-bottom: 20px;
   padding-top: 75px;
   color: #00728F;
   background-position: top left;
   background-repeat: no-repeat;
}

#tab1 .tabHeadline {
   background-image: url('../img/kalender-icon.png');
}

#tab2 .tabHeadline {
   background-image: url('../img/zeitung-icon.png');
}

#topInfo .tab_link_mehr,
#presseTab .tab_link_mehr {
   color: transparent;
   font-size: 0;
}

#topInfo .tab_link_mehr a,
#presseTab .tab-text a {
   background: #c31823;
   display: inline-block;
   color: #ffffff;
   font-weight: 600;
   padding: 6px 15px;
   text-decoration: none;
}

#topInfo .tab_link_mehr a {
   position: absolute;
   bottom: 0;
   right: 0;
   font-size: 1.125rem;
}

@media (min-width: 992px) {

   #topInfo .tab_link_mehr a,
   #presseTab .tab-text a {
      padding: 15px 34px;
   }
}

#topInfo .tab_link_mehr a:is(:hover, :focus),
#presseTab .tab-text a:is(:hover, :focus) {
   background: #007e9e;
}

#topInfo .tab_link_mehr a::after,
#presseTab .tab-text a::after {
   content: "\2192";
   font-weight: 400;
   position: relative;
   left: 0;
   margin-left: 4px;
   transition: left 200ms linear;
}

#topInfo .tab_link_mehr a:is(:hover, :focus):after,
#presseTab .tab-text a:is(:hover, :focus):after {
   left: 6px;
}

.tab_link_title a {
   font-weight: 600;
}

#topInfo :is(.tab_link_title, .tab_link_mandat) a {
   color: #111111;
}


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

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

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

#presseTab .tab_link_entry {
   font-size: clamp(1rem, 4vw, 1.25rem);
   position: relative;
   width: 100%;
   padding: 30px;
   background: #ffffff;
}

#presseTab .vorschau {
   opacity: 1;
}

#presseTab .tab_preview_picture {
   display: none;
}

/* #endregion --------------------------------- topInfo ----------------------------------------- */

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

#content {
   text-align: left;
   padding-top: clamp(50px, 5vw, 70px);
   padding-bottom: clamp(40px, 8vw, 100px);
}

.index #content {
   padding-top: 30px;
   padding-bottom: clamp(40px, 10vw, 170px);
   background-color: #e5f7fb;
   position: relative;
}

.index #content::before {
   content: '';
   position: absolute;
   top: 0px;
   left: 0px;
   right: 0px;
   bottom: 0px;
   background: url(../img/welle-infos.png) no-repeat bottom center / 100% auto;
   pointer-events: none;
   display: block;
}

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

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

h1,
.h1,
.legacy_h1 {
   font-size: clamp(2.125rem, 5vw, 2.8125rem);
}

h2,
.h2,
.legacy_h2 {
   font-size: clamp(2rem, 4.5vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
   font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
   font-size: clamp(1.75rem, 3.5vw, 1.875rem);
}

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

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

/* ----------------------------------------------- @1f footer ----------------------------------------------- */

#f1 {
   color: #ffffff;
   font-size: 1rem;
   padding-top: 40px;
   padding-bottom: 40px;
   background: url(../img/muster-footer.jpg) center / cover no-repeat;
   background-color: #007e9e;
}

#f1 a,
#f1 a:hover,
#f1 a:focus {
   color: #ffffff;
   text-decoration: underline;
   text-decoration-color: rgba(255, 255, 255, 0.5);
}

#f1 a:hover,
#f1 a:focus {
   text-decoration-color: rgba(255, 255, 255, 1);
}

#f1 .footerTab {
   font-size: clamp(16px, 4vw, 1.125rem);
}

#f1 .tabHeadline {
   font-size: clamp(1.375rem, 4vw, 1.75rem);
   color: #ffffff;
}

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

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

#innerfooter ul {
   border-bottom: 2px solid rgba(255, 255, 255, 0.1);
   padding: 0;
}

#innerfooter li {
   border-top: 2px solid rgba(255, 255, 255, 0.1);
}

#innerfooter a {
   text-decoration: none;
   position: relative;
   display: block;
   font-size: 1rem;
   font-weight: 400;
   padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
   content: "";
   position: absolute;
   display: block;
   left: 10px;
   top: 16px;
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: rgba(255, 255, 255, 0.2);
   -webkit-transition: background 300ms linear;
   -moz-transition: background 300ms linear;
   -ms-transition: background 300ms linear;
   -o-transition: background 300ms linear;
   transition: background 300ms linear;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
   background: #ffffff;
}

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

#vernetzt {
   display: inline-block;
   font-size: 0.8125rem;
   color: #ffffff;
   line-height: 1.4;
   text-decoration: none;
}

#vernetzt span {
   display: block;
}

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

#logoLeiste {
   padding: 20px 0;
}