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

body {
   font-family: "Work Sans", sans-serif;
   color: #191919;
   background: #ffffff;
   font-weight: 400;
   font-size: 1rem;
   /* 1rem = 16px */
   line-height: 1.5;
}

@media (min-width: 768px) {
   body {
      font-size: 1.0625rem;
   }
}

@media (min-width: 992px) {
   body {
      font-size: 1.125rem;
   }
}

a {
   color: #0f6061;
}

a:hover,
a:focus {
   color: #0f6061;
   text-decoration: underline;
}

#content a {
   text-decoration: underline;
}

#content a:hover,
#content a:focus {
   text-decoration: none;
}

b,
strong {
   font-weight: 600;
}

.static {
   position: static;
}

:not(.cc_banner-wrapper):focus,
#vernetzt:focus span {
   outline: 5px solid #005c8a !important;
   background-color: #fff !important;
   color: #252525 !important;
   z-index: 100;
   text-decoration: none;
}

#overflow {
   overflow: hidden;
}

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

#topbar > .row {
   background: #ffffff;
   padding-top: 10px;
   padding-bottom: 10px;
}

@media (min-width: 992px) {
   #topbar > .row {
      padding-top: 15px;
      padding-bottom: 15px;
   }
}

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

#logo {
   display: inline-block;
}

#logo img {
   display: block;
}

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

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

#bf-buttons {
   display: flex;
   gap: 30px;
}

#contrast_style button {
   color: #ffffff;
   padding: 0;
   border: 1px solid rgba(255, 255, 255, 1);
   font-family: "Khand", sans-serif;
   display: inline-block;
   width: 1.25rem;
   height: 1.25rem;
   border-radius: 50%;
   font-weight: 400;
   text-align: center;
   background: #ffffff;
   position: relative;
   z-index: 1;
   font-size: 0;
   margin: 0.3125rem;
   transition: transform 150ms linear;
   outline: none !important;
}

#contrast_style button::before {
   content: "";
   display: block;
   position: absolute;
   z-index: -1;
   left: -0.375rem;
   top: -0.375rem;
   width: 1.875rem;
   height: 1.875rem;
   border-radius: 50%;
   background: #0f6061;
   opacity: 1;
   -webkit-transition: opacity 150ms linear;
   -moz-transition: opacity 150ms linear;
   -ms-transition: opacity 150ms linear;
   -o-transition: opacity 150ms linear;
   transition: opacity 150ms linear;
}

#contrast_style {
   gap: 0.375rem;
}

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

#contrast_style button:nth-of-type(1)::after {
   background: linear-gradient(to right, #005c8a, #005c8a 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after {
   background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, #005c8a 50%);
}

#contrast_style button:nth-of-type(3)::after {
   background: #005c8a;
}
#contrast_style button:hover::before {
   background: #005c8a;
}
#contrast_style button:focus-visible::before,
#contrast_style button:focus::before {
   background: #ffffff !important;
   outline: 5px solid #005c8a !important;
}

@media (min-width: 992px) {
   @media (min-width: 992px) {
      #style button {
         border: none;
         color: #ffffff;
         display: inline-block;
         width: 1.875rem;
         height: 1.875rem;
         font-size: 1.125rem;
         line-height: 1.125rem;
         font-weight: 600;
         border-radius: 50%;
         text-align: center;
         background-color: #0f6061;
         position: relative;
         transition: transform 150ms linear;
      }
      #style {
         display: flex;
         gap: 0.375rem;
      }
      #style button:hover {
         background: #005c8a;
      }
      #style button:focus-visible {
         outline: 2px auto;
      }
   }
}

/* --------------------------------------- navigation --------------------------------------- */

#menu {
   position: relative;
   z-index: 100;
   background-color: #126791;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
   #burgerButton {
      font-size: 0;
      border: none !important;
      position: relative;
      z-index: 1002;
      display: block;
      width: 46px;
      height: 40px;
      border-radius: 2px;
      cursor: pointer;
      background-color: #ffffff;
      padding: 3px;
   }
   #burgerButton:before,
   #burgerButton:after,
   #burgerButtonInner {
      background-color: #126791;
      color: #ffffff;
      border-radius: 2px;
      position: absolute;
      width: 40px;
      height: 3px;
      left: 2px;
      -webkit-transition: transform 200ms linear, opacity 200ms linear;
      -moz-transition: transform 200ms linear, opacity 200ms linear;
      -ms-transition: transform 200ms linear, opacity 200ms linear;
      -o-transition: transform 200ms linear, opacity 200ms linear;
      transition: transform 200ms linear, opacity 200ms linear;
   }
   #burgerButton[aria-expanded="true"] #burgerButtonInner {
      -webkit-transform: rotate(-45deg) translate(-6px, 6px);
      transform: rotate(-45deg) translate(-6px, 6px);
   }
   #burgerButton[aria-expanded="true"]:before {
      opacity: 0;
   }
   #burgerButton[aria-expanded="true"]:after {
      -webkit-transform: rotate(45deg) translate(-4px, -6px);
      transform: rotate(45deg) translate(-4px, -6px);
   }
   #burgerButtonInner {
      top: 10px;
   }
   #burgerButton:before {
      top: 18px;
   }
   #burgerButton:after {
      top: 26px;
   }
   #burgerButton:before,
   #burgerButton:after {
      content: "";
      display: block;
   }
   .navbar-nav {
      margin: 20px 0;
   }
   .navbar-collapse {
      top: 0;
      background: #126791;
      position: fixed;
      left: -100%;
      bottom: 0;
      z-index: 100;
      height: auto !important;
      -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
      opacity: 0;
      pointer-events: none;
      overflow-y: auto;
      -webkit-transition: left 300ms linear, opacity 300ms linear;
      -moz-transition: left 300ms linear, opacity 300ms linear;
      -ms-transition: left 300ms linear, opacity 300ms linear;
      -o-transition: left 300ms linear, opacity 300ms linear;
      transition: left 300ms linear, opacity 300ms linear;
   }
   .navbar-collapse.collapse.in {
      left: 0;
      opacity: 1;
      pointer-events: auto;
   }
   .navbar-header {
      height: 50px;
      width: 60px;
      border-radius: 2px;
      padding: 6px 8px;
      background-color: #ffffff;
      position: fixed;
      top: 15px;
      right: 15px;
      z-index: 101;
      -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
      box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
   }
   .navbar-collapse.in:after {
      content: "";
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      z-index: -1;
      display: block;
      width: 90px;
      background-color: rgba(0, 0, 0, 0.5);
   }
}

@media (min-width: 575px) and (max-width: 991px) {
   .navbar-collapse {
      width: 60%;
   }
   .navbar-collapse.collapse.in:after {
      width: 40%;
   }
}
/* menu desktop */

@media (min-width: 992px) {
   #menu {
      padding-top: 0;
      padding-bottom: 0;
   }

   #menu > .row {
      max-width: 1600px;
      width: 100%;
   }
   nav.horizontally .navbar-nav {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: end !important;
      -ms-flex-pack: end !important;
      justify-content: flex-end !important;
      -webkit-box-align: center !important;
      -ms-flex-align: center !important;
      align-items: center !important;
      flex-wrap: wrap;
   }
   nav.horizontally .navbar-nav > li {
      flex-grow: 1;
   }
   nav.horizontally .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 0;
      z-index: 1000;
   }
   nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      position: absolute;
      left: 100%;
      top: 0;
   }
   nav.horizontally .navbar-nav > li,
   nav.horizontally .navbar-nav > li > .dropdown-menu > li {
      position: relative;
   }
   .navbar-default .navbar-nav li[class*="toplevel"] > ul,
   .navbar-default .navbar-nav li[class*="secondlevel"] > ul {
      display: block !important;
      pointer-events: none;
      opacity: 0;
      -webkit-transition: opacity 300ms linear;
      -moz-transition: opacity 300ms linear;
      -ms-transition: opacity 300ms linear;
      -o-transition: opacity 300ms linear;
      transition: opacity 300ms linear;
   }
   .navbar-default .open > .dropdown-menu,
   .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
   .navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
   .navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
      pointer-events: auto !important;
      opacity: 1 !important;
   }
   .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
   .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
   }
   .navbar-default .nav .open > .dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }
   .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
   .navbar-default .navbar-nav li[class*="secondlevel"]:hover > u {
      z-index: 1003;
   }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
   color: #ffffff;
   font-weight: 700;
   text-align: left;
   padding: 15px 35px 15px 15px;
   position: relative;
   font-size: 1.125rem;
   text-transform: uppercase;
   line-height: 1.2;
   text-decoration: none;
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav > li {
      border-bottom: 1px solid rgba(76, 60, 60, 0.2);
   }
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > a {
      padding: 20px 5px 20px 5px;
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: center;
      text-align: center;
      height: 100%;
   }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
   .navbar-default .navbar-nav > li > a {
      display: block;
   }
}

.navbar-default .navbar-nav > li > a::after {
   content: "";
   position: absolute;
   display: block;
   width: 0;
   bottom: 0;
   height: 2px;
   left: 50%;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   background: #ffffff;
   -webkit-transition: width 300ms linear;
   -moz-transition: width 300ms linear;
   -ms-transition: width 300ms linear;
   -o-transition: width 300ms linear;
   transition: width 300ms linear;
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
   color: #ffffff;
}

.navbar-nav > li:focus-within > a {
   color: #ffffff;
}

.navbar-nav > li:hover > a::after,
.navbar-nav > li > a:hover::after,
.navbar-nav > li > a:focus::after,
.navbar-nav > li.open > a::after,
.navbar-nav > li.open > a:hover::after,
.navbar-nav > li.open > a:focus::after,
.navbar-nav > li[class$="_over"] > a::after,
.navbar-nav > li[class$="_over"] > a:hover::after,
.navbar-nav > li[class$="_over"] > a:focus::after {
   width: 100%;
}

.navbar-nav > li:focus-within > a::after {
   width: 100%;
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
   background: #126791;
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav > li > .dropdown-menu {
      padding: 10px;
   }
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu,
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      padding-top: 30px;
      padding-bottom: 30px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu {
      left: 50%;
      -moz-transform: translate(-50%, 0);
      -webkit-transform: translate(-50%, 0);
      -o-transform: translate(-50%, 0);
      -ms-transform: translate(-50%, 0);
      transform: translate(-50%, 0);
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::after {
      content: "";
      display: block;
      position: absolute;
      left: 50%;
      top: -20px;
      margin-left: -20px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 20px 20px 0 20px;
      border-color: transparent transparent transparent transparent;
      transition: top 150ms linear, border-color 150ms linear;
   }
   .navbar-default .navbar-nav > li:hover > .dropdown-menu::after {
      top: 0;
      border-color: #ffffff transparent transparent transparent;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      margin-top: -30px;
      margin-left: 10px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      width: 10px;
      top: 0;
      bottom: 0;
      left: -10px;
   }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   color: #ffffff;
   font-weight: 400;
   text-align: left;
   padding: 8px 25px;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
      text-align: center;
      padding: 13px 25px;
   }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
   background: rgba(255, 255, 255, 1);
   color: #106690;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   background: rgba(255, 255, 255, 1);
   color: #106690;
}

/* ------------------------------------------ Logo ------------------------------------------ */

#logo img {
   max-width: 340px;
   width: 100%;
}

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

#headerpic {
   margin: 0 auto;
   position: relative;
   width: 100%;
   overflow: hidden;
}

#slider {
   max-height: 300px;
   overflow: hidden;
   position: relative;
}

@media (min-width: 576px) {
   #slider {
      max-height: 400px;
   }

   body.index #slider {
      max-height: 630px;
   }
   #headerpic {
      background: #000000;
   }
}

#bannerOverlay {
   padding-top: 25px;
}

#bannerOverlay h1 {
   font-size: 1.4rem;
}
#bannerOverlay a {
   text-decoration: underline;
}

#bannerOverlay h1,
#bannerOverlay h2,
#bannerOverlay h3,
#bannerOverlay h4,
#bannerOverlay h5,
#bannerOverlay h6 {
   margin-bottom: 0;
}

@media (min-width: 576px) {
   #bannerOverlay {
      padding-top: 0;
      position: absolute;
      left: 0;
      right: 0;
      bottom: 120px;
      z-index: 60;
      color: #ffffff;
      text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
      font-weight: 700;
      line-height: 1.1;
      font-size: 1.2rem;
   }

   #bannerOverlay h1,
   #bannerOverlay h2,
   #bannerOverlay h3,
   #bannerOverlay h4,
   #bannerOverlay h5,
   #bannerOverlay h6,
   #bannerOverlay a {
      color: #ffffff;
   }

   #bannerOverlay h1 {
      font-size: 2.5rem;
   }
}

@media (min-width: 768px) {
   #bannerOverlay {
      font-size: 1.4rem;
   }

   #bannerOverlay h1 {
      font-size: 3rem;
   }
}

@media (min-width: 992px) {
   #bannerOverlay {
      bottom: 140px;
   }
}

@media (min-width: 1200px) {
   #bannerOverlay {
      font-size: 1.875rem;
      bottom: 180px;
   }

   #bannerOverlay h1 {
      font-size: 3.75rem;
   }
}

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

.slider-mask {
   display: none;
}



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

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

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

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

#headerpic .theme-default .nivo-directionNav a {
   pointer-events: auto;
   background: #0f6061 url("../img/banner-arrows.png") top 10px center / 18px auto no-repeat;
   width: 40px;
   height: 40px;
   color: #ffffff;
}

#slider + .nivo-controlNav {
   pointer-events: none;
}

#slider + .nivo-controlNav a {
   pointer-events: auto;
   color: #ffffff;
}

.nivo-controlNav a {
   color: #ffffff;
}

.theme-default .nivo-directionNav a.nivo-nextNav {
   -webkit-transform: scale(-1);
   transform: scaleX(-1);
}

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

@media (min-width: 576px) {
   .slider-wrapper .nivo-controlNav {
      bottom: 65px !important;
   }
}

@media (min-width: 992px) {
   .slider-wrapper .nivo-controlNav {
      bottom: 78px;
   }
}

#headerpic .theme-default .nivo-controlNav a {
   background: transparent;
   border-radius: 50%;
   border: 1px solid #ffffff;
   width: 12px;
   height: 12px;
}

#headerpic .theme-default .nivo-controlNav a.active {
   background-color: #ffffff;
}

#headerpic .theme-default .nivo-controlNav a + a {
   margin-left: 8px;
}

/* ----------------------------------------------- search ----------------------------------------------- */

@media (min-width: 576px) {
   #searchArea {
      position: relative;
      z-index: 54;
      margin-top: -50px;
   }
}

@media (min-width: 992px) {
   body.index #searchArea::after {
      content: "";
      position: absolute;
      z-index: -1;
      display: block;
      top: 50px;
      left: 0;
      right: 50%;
      bottom: -1px;
      background: #005c8a;
   }
}

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

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

@media (min-width: 576px) {
   #searchBox {
      padding-left: 25px;
      padding-right: 25px;
   }
}

@media (min-width: 992px) {
   #searchBox {
      padding-left: 40px;
      padding-right: 40px;
   }
}

#searchBox::after {
   content: "";
   position: absolute;
   display: block;
   z-index: -1;
   left: 60px;
   right: 60px;
   top: 50%;
   bottom: 0;
   -webkit-box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.1);
   box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.1);
}

form[id*="search"] {
   display: block;
   position: relative;
}

@media (min-width: 576px) {
   form[id*="search"] {
      height: 50px;
      width: 100%;
   }
}

@media (max-width: 991px) {
   form[id*="search"] {
      margin-bottom: 15px;
   }

   nav form[id*="search"] {
      margin-top: 20px;
      margin-left: 15px;
      margin-right: 15px;
   }
}

@media (min-width: 992px) {
   form[id*="search"] {
      max-width: 370px;
   }
}

input[id*="search_input"] {
   color: #191919;
   background-color: #f2fcfe;
   font-size: 16px;
   font-style: normal;
   padding: 0;
   border: 0;
   line-height: 50px;
   padding-left: 10px;
   padding-right: 50px;
   height: 50px;
   width: 100%;
}

input[id*="search_submit"] {
   height: 100%;
   width: 50px;
   background: url("../img/icon-lupe.png");
   background-position: center;
   background-repeat: no-repeat;
   padding: 0;
   cursor: pointer;
   line-height: 50px;
   border: none;
   position: absolute;
   bottom: 0;
   right: 0;
   font-size: 0;
   -webkit-transition: background 200ms linear;
   -moz-transition: background 200ms linear;
   -ms-transition: background 200ms linear;
   -o-transition: background 200ms linear;
   transition: background 200ms linear;
}

input[id*="search_submit"]:hover,
input[id*="search_submit"]:focus {
   background-color: rgba(0, 0, 0, 0.05);
}

input[id*="search_input"]:-ms-input-placeholder {
   color: #191919;
   text-transform: uppercase;
   opacity: 1;
}

input[id*="search_input"]::-ms-input-placeholder {
   color: #191919;
   text-transform: uppercase;
   opacity: 1;
}

input[id*="search_input"]::placeholder {
   color: #191919;
   text-transform: uppercase;
   opacity: 1;
}

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

.importantLinks a {
   font-size: 0.8rem;
   border-radius: 2px;
   display: inline-block;
   background: #f2fcfe;
   padding: 2px 6px;
   color: #005c8a;
}

@media (min-width: 768px) {
   .importantLinks a {
      font-size: 1rem;
   }
}

.importantLinks a + a {
   margin-left: 4px;
}

/* ------------------------------------------------ topInfo ----------------------------------------------- */

#topInfo {
   padding-top: 40px;
   position: relative;
   z-index: 1;
}

@media (min-width: 768px) {
   #topInfo {
      padding-top: 60px;
   }
}

@media (min-width: 992px) {
   #topInfo {
      padding-top: 50px;
   }
}

@media (max-width: 991px) {
   #topInfo > .row > * + * {
      margin-top: 30px;
   }
}

#topInfo::after {
   content: "";
   position: absolute;
   z-index: -1;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   bottom: -50px;
   background: #005c8a url(../img/dekorativer-fisch.png);
   background-repeat: no-repeat;
   background-position: bottom 25px left 60px;
   border-bottom-right-radius: 500px;
}

#topInfo .tab {
   background: #f2fcfe;
   padding: 35px 30px 30px 30px;
   min-height: 100%;
   height: 100%;
   color: #191919;
   line-height: 1.3;
   position: relative;
}

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

   .tab_spacer {
      height: 20px;
   }
}

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

@media (min-width: 1200px) {
   #topInfo .tab {
      padding: 45px 40px 70px 40px;
   }
}

#topInfo .tabHeadline {
   text-transform: uppercase;
   color: #005c8a;
   font-weight: 700;
   font-size: 1.25rem;
   margin-bottom: 20px;
}

@media (min-width: 992px) {
   #topInfo .tabHeadline {
      font-size: 1.4rem;
   }
}

@media (min-width: 1200px) {
   #topInfo .tabHeadline {
      font-size: 1.625rem;
   }
}

#topInfo .tabHeadline::before {
   content: "";
   display: block;
   width: 100%;
   height: 60px;
   background-position: center left;
   background-repeat: no-repeat;
   margin-bottom: 15px;
}

#tab1 .tabHeadline::before {
   background-image: url("../img/icon-nachrichten.png");
}

#tab2 .tabHeadline::before {
   background-image: url("../img/icon-ratsinfo.png");
}

#tab3 .tabHeadline::before {
   background-image: url("../img/icon-amtsblatt.png");
}

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

.tab_link_mandat a {
   color: #191919;
}

/* ------------------------------------------------ buttonstyle ----------------------------------------------- */

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

#topInfo .tab_link_mehr a,
#eventsList .tab_link_mehr a,
.buttonstyle a :is(b, strong),
.buttonstyle :is(b, strong) a {
   background: #0f6061;
   display: inline-block;
   color: #ffffff;
   font-weight: 700;
   text-transform: uppercase;
   padding: 6px 15px;
   text-decoration: none;
}

#topInfo .tab_link_mehr a,
#eventsList .tab_link_mehr a {
   position: absolute;
   padding: 15px 40px;
   bottom: 0;
   right: 0;
   font-size: 1rem;
}

.buttonstyle a :is(b, strong),
.buttonstyle :is(b, strong) a {
   padding: 15px 40px;
   font-size: 1rem;
   margin-top: 20px;
}

#eventsList .tab_link_mehr a {
   bottom: -75px;
   right: -55px;
}

@media (max-width: 991px) {
   

#eventsList .tab_link_mehr a {
   position: relative !important;
   inset: 0;
   margin-top: 15px;
}
}

@media (min-width: 992px) {
   #topInfo .tab_link_mehr a #eventsList .tab_link_mehr a {
      padding: 15px 34px;
      bottom: 0;
      right: 0;
   }
}

#topInfo .tab_link_mehr a:hover,
#topInfo .tab_link_mehr a:focus,
#eventsList .tab_link_mehr a:hover,
#eventsList .tab_link_mehr a:focus,
.buttonstyle a :is(b, strong):hover,
.buttonstyle :is(b, strong) a:hover,
.buttonstyle a :is(b, strong):focus,
.buttonstyle :is(b, strong) a:focus {
   background: #005c8a;
}

#topInfo .tab_link_mehr a::after,
#eventsList .tab_link_mehr a::after,
.buttonstyle a :is(b, strong)::after,
.buttonstyle :is(b, strong) a::after {
   content: url(../img/btn-arrow.png);
   font-weight: 400;
   position: relative;
   left: 0;
   margin-left: 4px;
   -webkit-transition: left 200ms linear;
   -moz-transition: left 200ms linear;
   -ms-transition: left 200ms linear;
   -o-transition: left 200ms linear;
   transition: left 200ms linear;
}

#topInfo .tab_link_mehr a:hover:after,
#topInfo .tab_link_mehr a:focus:after,
#eventsList .tab_link_mehr a:hover::after,
#eventsList .tab_link_mehr a:focus::after,
.buttonstyle a :is(b, strong):hover::after,
.buttonstyle :is(b, strong) a:hover::after,
.buttonstyle a :is(b, strong):focus::after,
.buttonstyle :is(b, strong) a:focus::after {
   left: 6px;
}

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

#content {
   text-align: left;
   padding-top: 40px;
   padding-bottom: 40px;
}

@media (min-width: 768px) {
   #content {
      padding-top: 60px;
      padding-bottom: 60px;
   }
}

@media (min-width: 992px) {
   #content {
      padding-top: 100px;
      padding-bottom: 100px;
   }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
   font-weight: 700;
   line-height: 1;
   font-family: "Work Sans", serif;
}

h1,
h3,
h5,
h2,
h4,
h6 {
   color: #005c8a;
}

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

@media (min-width: 576px) {
   h1,
   .h1,
   .legacy_h1 {
      font-size: 2.2rem;
   }
}

@media (min-width: 768px) {
   h1,
   .h1,
   .legacy_h1 {
      font-size: 2.8125rem;
   }
}

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

@media (min-width: 768px) {
   h2,
   .h2,
   .legacy_h2 {
      font-size: 2.2rem;
   }
}

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

@media (min-width: 768px) {
   h3,
   .h3,
   .legacy_h3 {
      font-size: 2rem;
   }
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
   font-size: 1.5rem;
}

@media (min-width: 768px) {
   h4,
   .h4,
   .h4link a:link,
   .h4link a:hover,
   .h4link a:focus,
   .h4link a:visited,
   .legacy_h4 {
      font-size: 1.8rem;
   }
}

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

@media (min-width: 768px) {
   h5,
   .h5,
   .legacy_h5 {
      font-size: 1.6rem;
   }
}

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

@media (min-width: 768px) {
   h6,
   .h6,
   .legacy_h6 {
      font-size: 1.4rem;
   }
}

#newslinks,
#newsmandate {
   border: 1px solid #005c8a;
}

/* ------------------------------------------------ facts ----------------------------------------------- */

#facts {
   padding-top: 56px;
   padding-bottom: 56px;
   background: #f2fcfe;
}

@media (max-width: 767px) {
   #facts > .row > div + div {
      margin-top: 30px;
   }
}

@media (min-width: 576px) {
   #facts > .row > div + div:not(:last-child) {
      margin-top: 0;
   }
}

#facts a {
   color: #005c8a;
   text-decoration: underline;
}

#facts b,
#facts strong {
   color: #005c8a;
   font-size: 2.5rem;
   display: block;
   font-weight: 700;
   line-height: 1.1;
}

@media (min-width: 768px) {
   #facts b,
   #facts strong {
      font-size: 3.5rem;
   }
}

#facts > .row > div:last-child a {
   font-size: 1.8125rem;
   font-weight: 700;
   color: #0f6061;
   line-height: 1.2;
   text-decoration: none;
}

#facts > .row > div:last-child a::after {
   content: url(../img/data-arrow.png);
   display: block;
}

#facts > .row > div:last-child a:hover,
#facts > .row > div:last-child a:focus {
   color: #005c8a;
}

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

#teaser {
   padding-top: 40px;
   position: relative;
   z-index: 10;
}

@media (min-width: 768px) {
   #teaser {
      padding-top: 60px;
   }
}

@media (min-width: 992px) {
   #teaser {
      padding-top: 100px;
   }
}

#teaser > .row {
   z-index: 10;
}

#teaserBox > .row {
   margin-left: auto;
   margin-right: auto;
}

#teaser::after {
   content: "";
   position: absolute;
   z-index: -1;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   bottom: 80px;
   background: #005c8a url(../img/baer-deko.png);
   background-position: bottom right 20px;
   background-repeat: no-repeat;
   border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
   #teaser::after {
      top: -55px;
      left: 45.5%;
      bottom: 85px;
      border-bottom-left-radius: 0;
      border-top-left-radius: 500px;
   }
}

/* ------------------------------------------ 19ev ----------------------------------------- */

#ev19 {
   position: relative;
   padding-top: 90px;
}

@media (max-width: 767px) {
   #ev19 {
      padding-top: 40px;
   }
}

#ev19 > .row::before {
   content: "";
   z-index: -1;
   position: absolute;
   left: 0;
   top: -92px;
   width: 470px;
   height: 470px;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
}

@media (max-width: 1199px) {
   #ev19 > .row::before {
      width: 370px;
      height: 370px;
   }
}

@media (max-width: 767px) {
   #ev19 > .row::before {
      bottom: -92px;
      top: unset;
   }
}

#eventsHeadline {
   font-size: 1.75rem;
   font-size: clamp(1.25rem, 2vw, 1.75rem);
   text-transform: uppercase;
   position: relative;
   color: #ffffff;
   margin-bottom: 20px;
   font-weight: 700;
   display: inline-block;
}

@media (min-width: 768px) {
   #eventsHeadline {
      margin-bottom: 39px;
      background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 100%);
   }
}

#eventsHeadline::before {
   content: "\ Veranstaltungen";
   text-transform: uppercase;
   position: absolute;
   bottom: -49px;
   right: -4px;
   color: #f2fcfe;
   font-size: clamp(1.5rem, 3.75vw, 3.75rem);
}

@media (max-width: 767px) {
   #eventsHeadline::before {
      bottom: -23px;
      right: unset;
      left: 0;
   }
}

@media (max-width: 361px) {
   #eventsHeadline::before {
      bottom: -20px;
      font-size: 1.5625rem;
   }
}

#eventsBox {
   background-color: #f2fcfe;
   padding: 75px 70px 55px 100px;
   box-shadow: 12.856px 15.321px 40px 0px rgba(25, 25, 25, 0.08);
}

@media (max-width: 991px) {
   #eventsBox {
      padding: 40px 30px 15px 30px;
   }
}

@media (max-width: 767px) {
   #eventsBox {
      padding: 30px 30px 35px 30px;
   }
}

#eventsKalender #clr-events-hide,
#eventsKalender .tab_link_mehr {
   display: none;
   height: 0;
}

#eventsKalender .eventclndr-tab {
   margin-bottom: 0;
   margin-top: 16px;
}

@media (max-width: 767px) {
   #eventsKalender .eventclndr-tab {
      margin-top: 0;
      margin-bottom: 15px;
   }
}

#eventsList {
   position: relative;
   color: #444444;
   font-size: 1.125rem;
   font-size: clamp(1rem, 2vw, 1.125rem);
   margin-bottom: 20px;
}

#eventsList .tab_spacer {
   height: 0;
   display: none;
}

#eventsList .tab_link_entry + .tab_link_entry {
   margin-top: 40px;
}

@media (max-width: 767px) {
   #eventsList .tab_link_entry + .tab_link_entry {
      margin-top: 20px;
   }
}

/* ----------------------------------------------- footer ----------------------------------------------- */

address {
   font-style: normal;
}

#footer {
   background: #f2fcfe;
   padding-top: 20px;
   padding-bottom: 20px;
   color: #191919;
   font-size: 1rem;
}
body.index footer {
   padding-top: 75px;
}

@media (max-width: 991px) {
   #footer > .row > div + div::before {
      background: rgba(135, 119, 119, 0.15);
      content: " ";
      height: 1px;
      width: 100%;
      display: block;
      margin: 25px 0;
   }
}

@media (min-width: 768px) {
   #footer {
      padding-top: 30px;
      padding-bottom: 30px;
   }

   #footer > .row > div + div:nth-child(2):before {
      display: none;
   }

   #footer > .row > div + div::before {
      margin: 35px 0;
   }
}

#footer > .row > div:last-child > div + div {
   margin-top: 30px;
}

#footer a {
   color: #0f6061;
   text-decoration: underline;
}

#footer a:hover,
#footer a:focus {
   color: #0f6061;
   text-decoration: none;
}

#footer .footerHeadline {
   color: #005c8a;
   font-weight: 700;
   margin: 0 0 15px 0;
   font-size: clamp(1.25rem, 1.7vw, 1.625rem);
   text-transform: uppercase;
   margin-top: 2.6042vw;
}

#footer h1.footerHeadline.gap {
   margin-top: 30px;
}

@media (min-width: 992px) {
   #footer h1.footerHeadline.gap {
      margin-top: 40px;
   }
}

#footer iframe,
#footer .iframe-wrapper-manual-enabling {
   display: block !important;
   min-width: 100% !important;
   margin: 0 auto;
}

#maps {
   width: 100%;
}

@media (max-width: 991px) {
   #maps {
      margin-top: 30px;
   }
}

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

#footer #vernetzt {
   text-align: right;
   color: #191919;
   line-height: 1.3;
   margin: 30px auto 0 auto;
   font-weight: 400;
   text-decoration: none;
   font-size: 0.8125rem;
}

@media (min-width: 992px) {
   #footer #vernetzt {
      float: right;
      margin-right: 0;
   }
}

#vernetzt b {
   color: #005c8a;
   font-weight: 600;
}

#vernetzt span {
   color: #191919;
}

#vernetzt span span {
   display: block;
}

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

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

#innerfooter {
   color: #191919;
   font-size: 1rem;
   padding-top: 10px;
   padding-bottom: 10px;
}

@media (min-width: 768px) {
   #innerfooter {
      padding-top: 15px;
      padding-bottom: 15px;
   }
}

.footer_list ul {
   padding: 0;
}

.footer_list li {
   display: inline-block;
}

#innerfooter p {
   display: inline-block;
}

#innerfooter p {
   flex-grow: 1;
}

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

@media (max-width: 991px) {
   

#innerfooter .tabContent {
   padding-bottom: 30px;
}
}

#innerfooter .tabContent :is(b, strong) {
   text-transform: uppercase;
   color: #005c8a;
   font-weight: 400;
}

#innerfooter a {
   color: #191919;
   text-decoration: none;
   display: inline-block;
   font-weight: 400;
   text-transform: uppercase;
}

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

#innerfooter li + li {
   margin-left: 15px;
}

@media (min-width: 1200px) {
   #innerfooter li + li {
      margin-left: 25px;
   }
}

.contrast_dark_font #teaser::after,
.contrast_dark_font #topInfo::after,
.contrast_dark_font body.index #searchArea::after {
   background-color: #808080 !important;
}

.contrast_dark_font #bannerOverlay > .row > div {
   background: #ffffff;
}

.contrast_light_font input[id*="search_input"]::placeholder,
.contrast_light_font #logo,
.contrast_light_font #logo * {
   background: #fff !important;
}

.contrast_light_font input[id*="search_submit"] {
   background-color: #e9e9e9 !important;
}
