@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:500,500i,600,600i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Archivo:300,300i,400,400i,500,500i,700,700i");

body {
   font-family: "Archivo", sans-serif;
   color: #222222;
   background: #ffffff;
   font-size: 1rem;
   /* 1rem = 16px */
   line-height: 1.5;
}

@media (min-width: 1200px) {
   body {
      font-size: 1.0625rem;
   }
   #content {
      font-weight: 300;
   }
}

a {
   color: #006eb7;
}

a:hover,
a:focus {
   color: #006eb7;
   text-decoration: underline;
}

#content a {
   font-weight: normal;
}

b,
strong {
   font-weight: 700;
}

#overflow {
   overflow: hidden;
}

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

#logo {
   display: inline-block;
   margin: 20px 0 15px 0;
}

#logo img {
   display: block;
}

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

/* ------------------------------------------- suche ------------------------------------------- */

form[id^="search"] {
   min-height: 30px;
   background: #f4f4f4;
   display: inline-block;
   position: relative;
   border-radius: 30px;
   margin-top: 15px;
}

@media (min-width: 768px) {
   form[id^="search"] {
      margin-top: 6px;
   }
}

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

@media (min-width: 992px) {
   form[id^="search"] {
      max-width: 240px;
      margin-top: 0;
      width: 100%;
   }
}

form [id^="search_input"] {
   color: #444444;
   font-size: 1rem;
   font-style: normal;
   background: transparent;
   padding: 0;
   border: 0;
   padding-left: 14px;
   padding-right: 47px;
   height: 30px;
   width: 100%;
   border-radius: 30px;
   font-weight: 400;
}

form [id^="search_submit"] {
   width: 40px;
   height: 40px;
   border: 5px solid #fca93b;
   background: #cbd2e4 url("../img/suche-icon.png");
   background-position: center;
   background-repeat: no-repeat;
   background-size: 14px 14px;
   padding: 0;
   border-radius: 50%;
   cursor: pointer;
   position: absolute;
   top: -5px;
   right: -5px;
   font-size: 0;
   transition: transform 150ms linear;
}

form [id^="search_submit"].contrast_grayscale {
   background-color: #fff;
}

form [id^="search_input"]:focus-visible,
form [id^="search_submit"]:focus-visible {
   outline: 2px auto !important;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
   transform: scale(1.2);
}

@media (min-width: 992px) {
   form [id^="search_submit"] {
      border-color: #ffffff;
   }
}

[id^="search_input"]::-ms-input-placeholder {
   color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
   color: #444444 !important;
}

[id^="search_input"]::-moz-placeholder {
   opacity: 1;
}

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

nav {
   position: relative;
}

#topbar::before,
footer::before {
   content: "";
   position: absolute;
   top: 0;
   right: 0;
   left: 0;
   width: 100%;
   height: 5px;
   background: repeating-linear-gradient(90deg, #707070 0%, #707070 10%, #006eb7 10%, #006eb7 20%, #fca93b 20%, #fca93b 30%, #707070 30%, #707070 40%, #2f7ac1 40%, #2f7ac1 50%, #fca93b 50%, #fca93b 60%);
}

.navbg {
   background-color: #006eb7;
   width: 100% !important;
}

/* 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);
   }

   #burgerButtonInner2,
   #burgerButton:after,
   #burgerButtonInner {
      background-color: #006eb7;
      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"] #burgerButtonInner2 {
      opacity: 0;
   }

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

   #burgerButtonInner {
      top: 16px;
   }

   #burgerButtonInner2 {
      top: 24px;
   }

   #burgerButton:after {
      top: 32px;
      content: "";
      display: block;
   }

   .navbar-nav {
      margin: 20px 0;
   }

   .navbar-collapse {
      top: 0;
      background: #006eb7;
      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[aria-expanded="true"],
   .navbar-collapse.in {
      left: 0;
      opacity: 1;
      pointer-events: auto;
   }

   .navbar-header {
      position: fixed;
      top: 15px;
      right: 15px;
      z-index: 101;
   }

   .navbar-toggle::before {
      content: "";
      opacity: 0;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 0;
      z-index: -1;
      display: block;
      background-color: rgba(0, 0, 0, 0.5);
      transition: width 300ms linear, opacity 300ms linear;
   }

   .navbar-toggle[aria-expanded="true"]::before {
      opacity: 1;
      width: 90px;
   }
}

@media (min-width: 575px) and (max-width: 991px) {
   .navbar-collapse {
      width: 60%;
   }

   .navbar-collapse.collapse.in:after,
   .navbar-toggle[aria-expanded="true"]::before {
      width: 40%;
   }
}

/* menu desktop */

@media (min-width: 992px) {
   #sticky-wrapper {
      height: 100% !important;
      width: 100% !important;
   }

   .navbar,
   .navbar > div#myNavbar,
   .navbar > div#myNavbar > ul,
   .navbar > div#myNavbar > ul > li {
      height: 100% !important;
   }

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

   nav.horizontally .dropdown-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
   }

   nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      position: absolute;
      left: 100%;
      top: 0;
      transform: none;
   }

   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;
      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;
   }
}

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

.navbar-default .navbar-nav > li > a {
   color: #fff;
   font-weight: 600;
   text-align: left;
   padding: 10px 15px;
   position: relative;
   font-size: 1.375rem;
   line-height: 1.2;
   text-decoration: none;
   font-family: "Jost", sans-serif;
}

.navbar-default .navbar-nav > li > a::after {
   content: "";
   position: absolute;
   width: 100%;
   height: 0;
   background: #fca93b;
   left: 0;
   right: 0;
   bottom: 0;
   -webkit-transition: all 300ms ease;
   -moz-transition: all 300ms ease;
   -ms-transition: all 300ms ease;
   -o-transition: all 300ms ease;
   transition: all 300ms ease;
}

@media (max-width: 991px) {
   nav.horizontally .navbar-nav > li > a.dropdown-toggle {
      padding-right: 35px;
   }
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > a {
      padding: 15px 10px;
      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;
   }
}

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

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

.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 {
   height: 5px;
}

.navbar-nav > li:focus-within > a::after {
   height: 5px;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
   padding: 10px 0;
   background-color: #ffffff;
   -webkit-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
   -moz-box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
   box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu {
      margin-top: 10px;
   }

   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      margin: -10px 0 0 10px;
   }

   .navbar-default .navbar-nav > li > .dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      height: 10px;
      left: 0;
      right: 0;
      top: -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 {
   background-color: transparent;
   color: #444444;
   font-weight: 400;
   text-align: center;
   padding: 8px 30px;
   position: relative;
   font-size: 1.125rem;
   line-height: 1.2;
   text-decoration: none;
}

@media (max-width: 991px) {
   nav.horizontally .navbar-nav > li > .dropdown-menu > li > a.dropdown-toggle2 {
      padding-right: 35px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
      text-align: left;
   }
}

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

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   background-color: #cbd2e4;
}

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

#slider {
   overflow: hidden;
   max-height: 300px;
   margin: 0 auto;
   position: relative;
   width: 100%;
}

#headerpic {
   position: relative;
}

.nivo-directionNav a {
   top: 15% !important;
}

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

   body.index #slider {
      max-height: 640px;
   }

   #headerpic a.nivo-prevNav {
      left: 65px;
   }

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

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

.slider-mask {
   display: none;
}

/* --------------------------------------------- bannerOverlay -------------------------------------------- */

#bannerOverlay .tabHeadline {
   font-size: 50px;
   color: #222222;
   padding: 20px 10px;
   background: rgba(255, 255, 255, 0.7);
   display: inline-block;
   margin-bottom: 0;
   border-bottom: 4px solid #fca93b;
   font-weight: 500;
   font-family: "Archivo", sans-serif;
   font-size: clamp(1.25rem, 3vw, 2.3125rem);
}

#slogan {
   -webkit-animation: sloganSwipe 4s;
   animation: sloganSwipe 4s;
}

#bannerOverlay a {
   color: #006eb7;
}

@media (min-width: 992px) {
   #bannerOverlay {
      position: absolute;
      width: 100%;
      z-index: 20;
      bottom: 15%;
   }
}

@media (max-width: 991px) {
   #bannerOverlay {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
   }
}

/* ----------------------------------------------- links ----------------------------------------------- */
#links {
   padding-top: 20px;
   padding-bottom: 20px;
   -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
   -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
   box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
}

#links .template-page > .row > div {
   display: flex;
   flex-wrap: wrap;
   width: 100%;
   gap: 10px;
}

#links p {
   flex-grow: 1;
   text-align: center;
   display: inline-block;
}

#links p a {
   font-size: 1.0625rem;
   font-weight: 500;
   color: #222222;
   padding: 10px 20px;
   background: #e3eff7;
   font-family: "Archivo", sans-serif;
   border-bottom: 4px solid;
   border-bottom-color: #be1622;
   width: 100%;
   display: inline-block;
}

#links p:nth-of-type(7n + 2) a {
   border-bottom-color: #cdc346;
}

#links p:nth-of-type(7n + 3) a {
   border-bottom-color: #894393;
}

#links p:nth-of-type(7n + 4) a {
   border-bottom-color: #225928;
}

#links p:nth-of-type(7n + 5) a {
   border-bottom-color: #006eb7;
}

#links p:nth-of-type(7n + 6) a {
   border-bottom-color: #05a096;
}

#links p:nth-of-type(7n + 7) a {
   border-bottom-color: #46d7dc;
}

#links a:hover,
#links a:focus {
   color: #006eb7;
   text-decoration: none;
}
/* ------------------------------------------------ content ----------------------------------------------- */

main {
   text-align: left;
   min-height: 200px;
   padding-top: 30px;
   padding-bottom: 30px;
}

@media (min-width: 992px) {
   main {
      padding-top: 40px;
      padding-bottom: 90px;
   }
   .index main {
      padding-top: 40px;
      padding-bottom: 90px;
   }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
   color: #006eb7;
   font-weight: bold;
   line-height: 1.2;
   font-family: "Jost", sans-serif;
}

h1,
.h1,
.legacy_h1 {
   font-size: 1.8rem;
   margin-bottom: 5px;
   position: relative;
}

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

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

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

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

@media (min-width: 992px) {
   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: 992px) {
   h4,
   .h4,
   .h4link a:link,
   .h4link a:hover,
   .h4link a:focus,
   .h4link a:visited,
   .legacy_h4 {
      font-size: 1.7rem;
   }
}

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

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

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

#newslinks,
#newsmandate {
   border: 1px solid #2d2d2d;
}

/* ------------------------------------------------ news ----------------------------------------------- */

.news {
   padding-top: 60px;
   padding-bottom: 65px;
}

@media (max-width: 767px) {
   .tabSpecialButton.tabSpecialHeadline .btgrid > .row-1 > div:last-child > .content > .tiny_p {
      text-align: left !important;
   }
}

.news .tabSpecialButton a {
   margin-top: 6px;
}

.news .tabSpecialHeadline {
   text-transform: uppercase;
   margin-bottom: 20px;
}

@media (min-width: 1200px) {
   .news .tabSpecialHeadlineiv{
      margin-bottom: 50px;
   }
}

.news .tabSpecialHeadline :is(h1, h2, h3, h4, h5, h6) {
   text-transform: none;
   font-size: clamp(1.875rem, 4vw, 2.5rem);
}

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

.news .tab_link {
   margin: 0 auto;
}

.news .tab_link_entry {
   font-size: 1rem;
   position: relative;
   -webkit-box-shadow: 0 15px 30px 0 rgba(66, 58, 1, 0.2);
   box-shadow: 0 15px 30px 0 rgba(66, 58, 1, 0.2);
   width: 100%;
   background: #ffffff;
   padding: 230px 20px 60px 20px;
   line-height: 1.2;
   color: #222222;
   border: none !important;
}

.news .tab_link_title a {
   font-weight: 500;
   font-size: 1.25rem;
   display: block;
   color: #006eb7;
   margin-bottom: 20px;
   font-family: "Jost", sans-serif;
}

.news .tab_date {
   font-size: 0.875rem;
   color: #222222;
}

.news .tab_link_entry > div:nth-last-child(2) {
   font-size: 0;
   text-align: left !important;
}

.news .tab_link_entry > div:nth-last-child(2) a {
   font-size: 0;
   display: inline-block;
   position: absolute;
   text-decoration: none;
   bottom: 20px;
}

.news .tab_link_entry > div:nth-last-child(2) a::after {
   content: "mehr lesen";
   font-size: 0.875rem;
   position: relative;
   display: inline-block;
   color: #222222;
   right: 0;
   padding: 12px 26px;
   background-color: #ffffff;
   border: 2px solid #fca93b;
   margin-top: 25px;
   -webkit-transition: all 200ms linear;
   -moz-transition: all 200ms linear;
   -ms-transition: all 200ms linear;
   -o-transition: all 200ms linear;
   transition: all 200ms linear;
}

.news .tab_link_entry > div:nth-last-child(2) a:hover::after,
.news .tab_link_entry > div:nth-last-child(2) a:focus::after {
   background-color: #fca93b;
}

@media (min-width: 576px) {
   .news .tab_link_entries {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
   }
}

@media (max-width: 1199px) {
   .news .tab_link_entry {
      max-width: calc(50% - 20px);
   }

   .news .tab_link_entry + .tab_link_entry {
      margin-left: 30px;
   }

   .news .tab_link_entry:nth-child(3) {
      margin-left: 0;
   }

   .news .tab_link_entry + .tab_link_entry {
      margin-top: 30px;
   }

   .news .tab_link_entry:nth-child(2) {
      margin-top: 0;
   }
}

@media (max-width: 767px) {
   .news .tab_link_entry {
      max-width: 100%;
   }

   .news .tab_link_entry + .tab_link_entry {
      margin-left: 0;
   }

   .news .tab_link_entry + .tab_link_entry {
      margin-top: 30px;
   }
}

@media (min-width: 576px) and (max-width: 767px) {
   .news .tab_link_entry {
      max-width: calc(50% - 15px);
   }

   .news .tab_link_entry:nth-child(2n + 1) {
      margin-right: 15px;
   }

   .news .tab_link_entry:nth-child(2n + 2) {
      margin-left: 15px;
   }
}

@media (min-width: 1200px) {
   .news .tab_link_entry {
      max-width: calc(25% - 23px);
   }

   .news .tab_link_entry + .tab_link_entry {
      margin-left: 30px;
   }
}

@media (max-width: 767px) {
   .news .tab_link_entry + .tab_link_entry {
      margin-top: 30px;
   }
}

@media (min-width: 576px) {
   .news .tab_link_entry:nth-child(2) {
      margin-top: 0;
   }
}

.news .tab_link_title a::before,
.news .tab_link_entry .tab_preview_picture {
   position: absolute;
   display: block;
   top: -1px;
   left: 0px;
   right: 0px;
   height: 200px;
   overflow: hidden;
}

.news .tab_link_title a::before {
   content: "";
   background-color: #fca93b;
   background-size: cover !important;
   background-position: center !important;
}

.news .tab_preview_picture img {
   position: absolute;
   margin: 0 !important;
   left: 50%;
   top: 50%;
   max-width: none;
   min-width: 100%;
   min-height: 100%;
   max-width: 350px;
   width: auto;
   height: auto;
   -ms-interpolation-mode: bicubic;
   -moz-transform: translateX(-50%) translateY(-50%);
   -webkit-transform: translateX(-50%) translateY(-50%);
   -o-transform: translateX(-50%) translateY(-50%);
   -ms-transform: translateX(-50%) translateY(-50%);
   transform: translateX(-50%) translateY(-50%);
}

.news .tab_link_title a::after {
   content: "";
   position: absolute;
   display: block;
   top: 180px;
   left: 0;
   right: 0;
   width: 50px;
   height: 50px;
   margin: auto;
   background-color: #ffffff;
   background-image: url("../img/icon-aktuelles.png");
   background-position: center;
   background-repeat: no-repeat;
   border-radius: 100%;
   z-index: 12;
}

.news .tab_spacer {
   height: 5px;
}

.news .vorschau {
   line-height: 1.5;
}

/* ------------------------------------------------ tabSpecialButton ----------------------------------------------- */

.tabSpecialButton {
   margin-top: 50px;
}

.tabSpecialButton a {
   background-color: #fca93b;
   font-size: 1.0625rem;
   font-weight: 700;
   color: #222222;
   text-decoration: none;
   padding: 18px 80px 15px 30px;
   display: inline-block;
   position: relative;
   margin-top: 30px;
   line-height: 1.2;
   font-family: "Jost", sans-serif;
   text-transform: none;
}

.tabSpecialButton a::before {
   content: "";
   position: absolute;
   right: 0;
   top: 0;
   bottom: 0;
   height: auto;
   width: 50px;
   margin: auto;
   background-color: #ffbf6a;
   transition: background 200ms;
}

.tabSpecialButton a::after {
   content: "\00BB";
   position: absolute;
   right: 15px;
   top: 0;
   bottom: 0;
   margin: auto;
   font-size: 1.875rem;
   line-height: 1.6;
}

.tabSpecialButton a:hover::before,
.tabSpecialButton a:focus::before {
   background-color: #fca93b;
}

.tabSpecialButton a:hover,
.tabSpecialButton a:focus {
   background-color: #ffbf6a;
}

/* ----------------------------------------------- Ticker ----------------------------------------------- */

#eventTicker {
   background: #707070;
   color: #ffffff;
   font-weight: 500;
   padding: 35px 0;
   margin-bottom: 70px;
}

#eventTicker .newsticker-position{
   margin: 0;
}
#eventTicker .newsticker-position :is(h2, span, a) {
   color: #ffffff;
}

@media (min-width: 992px) {
   #eventTicker > .row::after {
      content: "";
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      left: -12.5vw;
      background: url(../img/icon-info.png);
      width: 112px;
      height: 112px;
   }
}

/* ----------------------------------------------- entdecken ----------------------------------------------- */

#entdecken .tabHeadline {
   font-size: 1.875rem;
}

#entdecken .tabContent .btgrid > .row > .col > .content {
   padding: 20px;
   background: #ffffff;
   box-shadow: 0px 0px 12.75px 2.25px rgba(0, 0, 0, 0.08);
   border-bottom: 4px solid #fca93b;
   font-size: clamp(1.125rem, 1.25vw, 1.25rem);
   font-weight: 500;
   font-family: "Jost", sans-serif;
   height: 100%;
   text-align: center;
   hyphens: auto;
}

#entdecken .tabContent .btgrid > .row > .col > .content a {
   color: #222222;
}

#entdecken .tabContent .btgrid > .row > .col > .content[style] {
   display: none;
}

#entdecken .tabContent .btgrid > .row > .col > .content img {
   margin-top: -20px;
   margin-left: -20px;
   width: 100%;
   min-width: calc(100% + 40px);
   height: 200px;
   object-fit: cover;
   margin-bottom: 10px;
}

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

footer {
   background-color: #006eb7;
   color: #ffffff;
}

@media (max-width: 767px) {
   footer .row > .col-xs-12:not(:first-child)::before {
      background: #ffffff;
      content: " ";
      height: 1px;
      width: 100%;
      display: block;
      margin: 25px 0;
      opacity: 0.2;
   }

   footer .row > .col-xs-12.hidden-xs ~ .col-xs-12::before,
   footer .row > .col-xs-12.hidden-sm ~ .col-xs-12::before {
      display: none;
   }
}

/* ----------------------------------------------- footerwrapper ----------------------------------------------- */

#footerwrapper {
   padding-top: 50px;
   padding-bottom: 50px;
   font-size: 1rem;
   line-height: 1.7;
}

#footerwrapper .tabHeadline {
   color: #ffffff;
   font-size: 1.25rem;
   margin-bottom: 15px;
}

#footerwrapper a {
   color: #ffffff;
}

#footerwrapper .tab2 a {
   color: #ffffff;
   text-decoration: underline;
}

.greenButton.arrowLinks a {
   width: 100%;
}

@media (min-width: 768px) and (max-width: 991px) {
   #footerwrapper > .row > div:first-child,
   #footerwrapper > .row > div:nth-child(2) {
      margin-bottom: 30px;
   }
}

/* --------------- scrollTopBtn --------------- */

a#scrollTopBtn,
.greenButton.arrowLinks a {
   background-color: #004878;
   color: #ffffff;
   text-decoration: none;
   font-size: 0.875rem;
   position: relative;
   padding: 9px 62px 9px 32px;
   display: inline-block;
   margin-bottom: 32px;
   width: 100%;
   font-weight: 700;
   font-family: "Jost", sans-serif;
}

a#scrollTopBtn::before,
.greenButton.arrowLinks a::before {
   content: "\2191";
   right: 30px;
   top: 2px;
   bottom: 0;
   position: absolute;
   -webkit-transition: all 300ms linear;
   -moz-transition: all 300ms linear;
   -ms-transition: all 300ms linear;
   -o-transition: all 300ms linear;
   transition: all 300ms linear;
   font-size: 20px;
}
.greenButton.arrowLinks a::before {
   content: "\2192";
}

a#scrollTopBtn:hover::before,
a#scrollTopBtn:focus::before {
   top: -2px;
}

.greenButton.arrowLinks a:hover::before,
.greenButton.arrowLinks a:focus::before {
   right: 20px;
}

/* ----------------------------------------------- lastFooter ----------------------------------------------- */

#lastFooter {
   border-top: 2px solid #338bc5;
   background: #004878;
   padding-top: 8px;
   padding-bottom: 8px;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

#innerfooter a {
   color: #ffffff;
   text-decoration: none;
   display: inline-block;
   font-weight: 400;
   font-size: 0.875rem;
   padding: 15px;
}

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

@media (max-width: 767px) {
   #innerfooter li {
      display: block;
      text-align: center;
      padding: 5px;
      margin: 0;
   }

   #innerfooter a {
      display: block;
   }
}

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

#vernetzt {
   text-align: right;
   font-size: 0.875rem;
   color: #ffffff;
   line-height: 1.3;
   margin: 0 auto;
   font-weight: 400;
   display: inline-block;
   text-decoration: none;
}

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

#vernetzt span {
   color: #ffffff;
}

#vernetzt span span {
   display: block;
}

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