@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:400,700,400i,700i%7CPacifico:400");

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

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

a {
    color: #e20025;
}

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

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

@media (min-width: 1200px) {
    .row, .compact, ._op-container .container {
        max-width: 1600px;
	    width: 100% !important;
    }
}

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

#logo {
    display: flex;
    margin-top: 110px;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    text-decoration: none;
}

@media (min-width: 992px) {
    #logo {
        margin-bottom: 30px;
    }
}

#logo p:first-child {
    color: #0470b5;
}

#logo b,
#logo strong {
    color: #e20025;
    font-weight: 400;
    font-family: 'Pacifico', sans-serif;
}

#logo i,
#logo em {
    color: #168730;
    font-style: normal;
}

#logo img {
    display: block;
}

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

#logoBg {
    background: url('../img/regenbogen-striche-header.png') no-repeat top center / 100% auto;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #burgerButton {
      font-size: 0;
      border: none !important;
      display: block;
      height: 50px;
      width: 60px;
      border-radius: 2px;
      padding: 6px 8px;
      cursor: pointer;
      background-color: #ffffff;
      -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);
   }
   #burgerButtonInner2,
   #burgerButton:after,
   #burgerButtonInner {
      background-color: #e20025;
      border-radius: 2px;
      position: absolute;
      width: 40px;
      height: 3px;
      left: 10px;
      -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"] #burgerButtonInner2 {
      opacity: 0;
   }
   #burgerButton[aria-expanded="true"]:after {
      -webkit-transform: rotate(45deg) translate(-4px, -6px);
      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: #ffffff;
      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);
      -webkit-transition: width 300ms linear, opacity 300ms linear;
      -moz-transition: width 300ms linear, opacity 300ms linear;
      -ms-transition: width 300ms linear, opacity 300ms linear;
      -o-transition: width 300ms linear, opacity 300ms linear;
      transition: width 300ms linear, opacity 300ms linear;
   }
   .navbar-toggle[aria-expanded="true"]::before {
      opacity: 1;
      width: 90px;
   }
   .dropdown-toggle-button-wrapper {
      top: 5px;
   }
   .dropdown-toggle-button-wrapper2 {
      top: 2px;
   }
}

@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) {
   #navContainer {
      position: relative;
      z-index: 99;
      width: 330px;
   }
   nav {
      border-radius: 10px;
      padding: 2px 2px 30px 2px;
      background: #ffffff;
      position: relative;
      -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
      box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
      margin-top: -30px;
   }
   #navContainer::after {
      content: "";
      display: block;
      position: fixed;
      z-index: -1;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      pointer-events: none;
      background: rgba(0, 0, 0, 0.1);
      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;
   }
   #navContainer:hover::after {
      opacity: 1;
   }
   .navbar-default .navbar-nav {
      width: 100%;
   }
   .navbar-default .navbar-nav > li {
      display: block !important;
      width: 100%;
      float: none;
   }
   .navbar-default .navbar-nav > li {
      position: relative;
   }
   .navbar-default .navbar-nav > li > ul {
      position: absolute !important;
      left: 100%;
      top: 0 !important;
      z-index: 1000;
      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 .navbar-nav > li.open:hover > .dropdown-menu,
   .navbar-default .navbar-nav > li:hover > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      z-index: 1003;
   }
   .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 .navbar-nav > li.open > .dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      opacity: 1;
   }
}

@media (min-width: 1200px) {
   nav {
      padding: 30px 20px;
   }
}

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

.navbar-default .navbar-nav > li > a {
   color: #444444;
   font-weight: 400;
   text-align: left;
   padding: 10px 35px 10px 10px;
   position: relative;
   font-size: 1.125rem;
   background: #fab0b0;
   line-height: 1.2;
   text-decoration: none;
}

.navbar-default .navbar-nav>li:nth-child(10n+2)>a {
    background: #ffc3a7;
}
.navbar-default .navbar-nav>li:nth-child(10n+3)>a {
    background: #ffe0a6;
}
.navbar-default .navbar-nav>li:nth-child(10n+4)>a {
    background: #f7f0af;
}
.navbar-default .navbar-nav>li:nth-child(10n+5)>a {
    background: #d8f3a9;
}
.navbar-default .navbar-nav>li:nth-child(10n+6)>a {
    background: #adf3cc;
}
.navbar-default .navbar-nav>li:nth-child(10n+7)>a {
    background: #b8def6;
}
.navbar-default .navbar-nav>li:nth-child(10n+8)>a {
    background: #cdc4f8;
}
.navbar-default .navbar-nav>li:nth-child(10n+9)>a {
    background: #eebcf8;
}
.navbar-default .navbar-nav>li:nth-child(10n+10)>a {
    background: #fab7d3;
}

.navbar-default .navbar-nav > li + li > a {
   margin-top: 2px;
}

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

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > a {
      padding: 9px 15px;
   }
   .navbar-default .navbar-nav > li > a.dropdown-toggle::before {
      content: "\00BB";
      position: absolute;
      right: 15px;
      top: 21px;
      line-height: 0;
      font-family: "Khand", sans-serif;
   }
   .navbar-default .navbar-nav > li > a.dropdown-toggle {
      padding-right: 40px;
   }
}

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

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > li.open > a:hover,
.navbar-default .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 {
   background: rgba(250, 176, 176, 0.4);
}

.navbar-nav > li:focus-within > a {
   background: rgba(250, 176, 176, 0.4);
}

.navbar-default .navbar-nav > li:nth-child(10n+2) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+2) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+2) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+2) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+2) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+2) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+2) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+2) > a:focus {
   background: rgba(255, 195, 167, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+2) > a {
   background: rgba(255, 195, 167, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+3) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+3) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+3) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+3) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+3) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+3) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+3) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+3) > a:focus {
   background: rgba(255, 224, 166, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+3) > a {
   background: rgba(255, 224, 166, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+4) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+4) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+4) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+4) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+4) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+4) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+4) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+4) > a:focus {
   background: rgba(247, 240, 175, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+4) > a {
   background: rgba(247, 240, 175, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+5) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+5) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+5) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+5) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+5) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+5) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+5) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+5) > a:focus {
   background: rgba(216, 243, 169, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+5) > a {
   background: rgba(216, 243, 169, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+6) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+6) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+6) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+6) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+6) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+6) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+6) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+6) > a:focus {
   background: rgba(173, 243, 204, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+6) > a {
   background: rgba(173, 243, 204, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+7) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+7) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+7) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+7) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+7) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+7) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+7) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+7) > a:focus {
   background: rgba(170, 237, 234, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+7) > a {
   background: rgba(170, 237, 234, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+8) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+8) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+8) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+8) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+8) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+8) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+8) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+8) > a:focus {
   background: rgba(184, 222, 246, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+8) > a {
   background: rgba(184, 222, 246, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+9) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+9) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+9) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+9) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+9) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+9) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+9) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+9) > a:focus {
   background: rgba(205, 196, 248, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+9) > a {
   background: rgba(205, 196, 248, 0.4);
}
.navbar-default .navbar-nav > li:nth-child(10n+10) >a:hover,
.navbar-default .navbar-nav > li:nth-child(10n+10) > a:focus,
.navbar-default .navbar-nav > li.open:nth-child(10n+10) > a,
.navbar-default .navbar-nav > li.open:nth-child(10n+10) > a:hover,
.navbar-default .navbar-nav > li.open:nth-child(10n+10) > a:focus,
.navbar-nav > li[class$="_over"]:nth-child(10n+10) > a,
.navbar-nav > li[class$="_over"]:nth-child(10n+10) > a:hover,
.navbar-nav > li[class$="_over"]:nth-child(10n+10) > a:focus {
   background: rgba(250, 183, 211, 0.4);
}

.navbar-nav > li:focus-within:nth-child(10n+10) > a {
   background: rgba(250, 183, 211, 0.4);
}
/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu {
   padding: 10px;
   background: #ffffff;
   border-radius: 2px;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu {
      margin-top: -20px;
      padding: 20px 20px;
      min-width: 360px;
      max-width: 500px;
      margin-left: 50px;
      min-height: 200px;
      -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
      box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li {
      margin-bottom: 2px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::before,
   .navbar-default .navbar-nav > li > .dropdown-menu::after {
      content: "";
      position: absolute;
      display: block;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::before {
      width: 50px;
      top: 0;
      bottom: 0;
      left: -50px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::after {
      top: 12px;
      left: -24px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 17px 24px 17px 0;
      border-color: transparent #ffffff transparent transparent;
   }
}

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

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      display: block !important;
   }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   color: #2b2b2b;
   font-size: 1rem;
   text-align: left;
   position: relative;
   line-height: 1.2;
   text-decoration: none;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
    padding: 8px 35px 8px 10px;
    background: #feefef;
    font-weight: 500;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li > a {
    background: #fff3ed;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li > a {
    background: #fff9ed;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li > a {
    background: #fdfcef;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li > a {
    background: #f7fdee;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li > a {
    background: #effdf5;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li > a {
    background: #eefbfb;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li > a {
    background: #f1f8fd;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li > a {
    background: #f5f3fe;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li > a {
    background: #fcf2fe;
 }
 .navbar-default .navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li > a {
    background: #fef1f6;
 }

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   padding: 6px 15px 6px 38px;
   font-weight: 400;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::before {
   content: "\00BB";
   display: block;
   position: absolute;
   top: 15px;
   line-height: 0;
   left: 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 {
   background: #fab0b0;
   color: #2b2b2b;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a {
   background: #fab0b0;
   color: #2b2b2b;
}

.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #ffc3a7;
}

.navbar-nav > li:nth-child(10n+2) > .dropdown-menu > li:focus-within > a {
   background: #ffc3a7;
}
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #ffe0a6;
}

.navbar-nav > li:nth-child(10n+3) > .dropdown-menu > li:focus-within > a {
   background: #ffe0a6;
}
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #f7f0af;
}

.navbar-nav > li:nth-child(10n+4) > .dropdown-menu > li:focus-within > a {
   background: #f7f0af;
}
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #d8f3a9;
}

.navbar-nav > li:nth-child(10n+5) > .dropdown-menu > li:focus-within > a {
   background: #d8f3a9;
}
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #adf3cc;
}

.navbar-nav > li:nth-child(10n+6) > .dropdown-menu > li:focus-within > a {
   background: #adf3cc;
}
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #aaedea;
}

.navbar-nav > li:nth-child(10n+7) > .dropdown-menu > li:focus-within > a {
   background: #aaedea;
}
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #b8def6;
}

.navbar-nav > li:nth-child(10n+8) > .dropdown-menu > li:focus-within > a {
   background: #b8def6;
}
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #cdc4f8;
}

.navbar-nav > li:nth-child(10n+9) > .dropdown-menu > li:focus-within > a {
   background: #cdc4f8;
}
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li:hover > a,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li > a:hover,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li > a:focus,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li.open > a,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li.open > a:hover,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li.open > a:focus,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li[class$="_over"] > a:focus {
   background: #fab7d3;
}

.navbar-nav > li:nth-child(10n+10) > .dropdown-menu > li:focus-within > a {
   background: #fab7d3;
}

.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 {
    text-decoration: underline;
}

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   text-decoration: underline;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ------------------------------------------------ events ----------------------------------------------- */

.tabContact {
    margin-top: 30px;
    padding: 30px;
}

.tabContact b,
.tabContact strong {
    color: #168730;
}

.tabContact,
#events .tab {
   margin-left: auto;
   position: relative;
   background: #ffffff;
   font-size: 1rem;
   color: #444444;
   border-radius: 10px;
   -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
   box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
   max-width: 265px;
}

@media (max-width: 991px) {
   .tabContact,
#events .tab{
      margin: 0 auto;
      margin-bottom: 20px;
   }
}

#events .tab .tab_link_title a {
   color: #168730;
   font-weight: 700;
}

#clr-events-hide {
    margin-top: 25px;
    padding-bottom: 25px;
}
#events .tab .tab_link_mandat a {
   color: #444444;
   font-weight: 400;
}

#events .tab .tab_link_mehr {
   color: transparent;
   font-size: 0;
   padding-bottom: 20px;
   padding-right: 20px;
}

#events .tab .tab_link_mehr a {
   text-decoration: none;
   padding: 3px 8px 3px 8px;
   display: inline-block;
   border-radius: 10px;
   font-size: 1rem;
   background: #ffffff;
   color: #e20025;
   font-weight: 700;
   -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#events .tab .tab_link_mehr a:hover,
#events .tab .tab_link_mehr a:focus {
   background: #e20025;
   color: #ffffff;
}

#events .tab .tabHeadline {
   color: #0470b5;
   font-size: 1.5625rem;
   font-weight: 700;
   margin-bottom: 20px;
   text-align: center;
   padding-top: 20px;
}

.tabContact .tabHeadline {
    color: #0470b5;
    font-size: 1.5625rem;
    text-align: center;
}

#events .tab .eventclndr-tab {
   margin-bottom: 0;
   padding-left: 30px;
   padding-right: 30px;
}

#events .tab #clr-events-hide > p:nth-child(1){
    display: none !important;
}

#clr-events-hide {
   padding-left: 30px;
   padding-right: 30px;
}

#events .tab .tab_spacer {
   height: 15px;
}

/* ---------------------------------------------- 6nw aktuelles ---------------------------------------------- */

#aktuellesBG {
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll, fixed;
    background-size: cover;
    font-size: 1rem;
}

#aktuellesBG > div {
    padding-top: 50px;
    padding-bottom: 50px;
}

@media (max-width: 991px) {
    #aktuelles {
        background-size: 992px auto;
    }
}

@media (min-width: 992px) {
    #aktuellesBG > div {
        padding-top: 56px;
    padding-bottom: 50px;
    }
}

#aktuelles .tabHeadline {
    margin-bottom: 0;
    color: #0470b5;
    font-size: clamp(2.1875rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 5px;
}

#aktuelles .tabContent {
    font-size: 1.25rem;
    color: #444444;
}

#aktuelles .tab_link {
    margin-top: 12px;
}

@media (min-width: 768px) {
    #aktuelles .tab_link {
        margin-top: 50px;
    }

    #aktuelles .tab_link_entries {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entries {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #aktuelles .tab_link_entries + div {
        width: 50% !important;
        text-align: right;
        margin-left: 50%;
        margin-top: -80px;
    }
}

#aktuelles .tab_link_entry {
    border-bottom: none !important;
    text-align: center;
    position: relative;
    background: #ffffff;
    width: 100%;
    padding: 165px 20px 20px 20px;
    border-radius: 10px;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) and (max-width: 991px) {
    #aktuelles .tab_link_entry {
        width: calc(50% - 15px);
    }

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

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

@media (min-width: 992px) {
    #aktuelles .tab_link_entry {
        width: calc(33.33% - 20px);
    }

    #aktuelles .tab_link_entry:nth-child(3n+1) {
        margin-right: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(3n+2) {
        margin-right: 15px;
        margin-left: 15px;
    }

    #aktuelles .tab_link_entry:nth-child(3n+3) {
        margin-left: 15px;
    }
}

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

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

@media (min-width: 992px) {
    #aktuelles .tab_link_entry:nth-child(3) {
        margin-top: 0;
    }
}

#aktuelles .tab_link_entry::before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: white;
    background: url("../img/news-standard.jpg") center / cover no-repeat;
}

#aktuelles .tab_link_entry .tab_preview_picture {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 150px;
    overflow: hidden;
    background: #ffffff;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

#aktuelles .tab_preview_picture img {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: none;
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    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%);
}

#aktuelles .tab_date {
    font-size: 1rem;
    position: absolute;
    left: 50%;
    top: 134px;
    z-index: 1;
    display: inline-block;
    padding: 4px 10px;
    background: #ffffff;
    color: #444444;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    font-weight: 400;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#aktuelles .tab_link_title a {
    color: #168730;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) {
    color: transparent;
    line-height: 0;
}

#aktuelles .tab_link_entry > div:nth-last-child(2) > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(255, 224, 166, 0.8), rgba(255, 224, 166, 1) 150px);
    z-index: 1;
    color: #444444;
    text-align: center;
    font-size: 0;
    font-weight: 600;
    border-radius: 10px;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    opacity: 0;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    -ms-transition: opacity 200ms linear;
    -o-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
}

#aktuelles .tab_link_entry:hover div:nth-last-child(2) > a {
    opacity: 1;
}

#aktuelles .tab_link_entry div:nth-last-child(2) > a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -60px;
    display: block;
    background: url("../img/mehr-erfahren.png") center no-repeat;
    width: 80px;
    height: 80px;
}

#aktuelles div:nth-last-child(2) > a::after {
    content: "mehr erfahren ›";
    margin-top: 100px;
    font-size: 1.25rem;
}

#aktuelles a:hover, #aktuelles a:focus {
    text-decoration: none;
  }
/* ----------------------------------------- news button ---------------------------------------- */
  
#aktuelles .tab_link_mehr_main {
    color: transparent;
    font-size: 0;
    text-align: right;
    margin-top: 30px;
}

#aktuelles .tab_link_mehr_main a {
    background: #ffffff;
    font-weight: 700;
    color: #e20025;
    padding: 15px 35px 15px 20px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
    box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#aktuelles .tab_link_mehr_main a::before {
    content: "alle Neuigkeiten";
    font-size: 1rem;
}

#aktuelles .tab_link_mehr_main a::after {
    content: "\203A";
    display: block;
    position: absolute;
    right: 0;
    top: 14px;
    bottom: 9px;
    width: 35px;
    text-align: center;
    font-size: 16px;
}

#aktuelles .tab_link_mehr_main a:hover,
#aktuelles .tab_link_mehr_main a:focus {
    background: #e20025;
    color: #ffffff;
}

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

footer {
    background: #ffffff;
    padding-top: 12px;
    padding-bottom: 12px;
}

@media (min-width: 992px) {
    footer {
        background: url('../img/bg-footer.jpg') no-repeat bottom center / 100% auto;
    }
}

@media (min-width: 768px) {
    footer .row {
        align-content: center;
        align-items: center;
    }
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

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

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

#innerfooter li+li::before {
    content: "";
    margin: 0 6px;
}

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 20px;
    }
}

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

#vernetzt {
    text-align: right;
    font-size: 1rem;
    color: #444444;
    line-height: 1.3;
    margin: 0 auto;
    text-decoration: none;
}

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

#vernetzt span {
    color: #444444;
}

#vernetzt span span {
    display: block;
}

#vernetzt b {
    color: #168730;
}

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