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

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

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

a {
   color: #5970b1;
}

a:hover,
a:focus,
#contentBox a {
   color: #5970b1;
   text-decoration: underline;
}

#contentBox a,
b,
strong {
   font-weight: 500;
}

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

/* ----------------------------------------------- 3tp topbar ----------------------------------------------- */

#topbar {
   padding-top: 20px;
   padding-bottom: 20px;
   background: #ffffff;
   font-size: 0.875rem;
   color: #404040;
   position: relative;
   z-index: 101;
}

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

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

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

#contrast_style button,
#style button {
   padding: 0;
   border: none;
   color: #404040;
   display: inline-block;
   width: 29px;
   height: 29px;
   font-weight: 600;
   text-align: center;
   background: rgba(245, 245, 245, 0.9);
   position: relative;
   line-height: 1;
}

#style button {
   padding: 0;
}

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

#style button:hover,
#style button:focus,
#contrast_style button:hover,
#contrast_style button:focus {
   color: #404040;
   background: rgba(255, 179, 112, 0.9);
}

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

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

form[id^="search"] {
   height: 35px;
   background: rgba(255, 255, 255, 0.9);
   display: block;
   position: relative;
}

@media (max-width: 575px) {
   form[id^="search"] {
      margin-top: 10px;
      display: inline-block;
   }
}

@media (min-width: 576px) {
   form[id^="search"] {
      margin-left: 30px;
   }
}

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

form [id^="search_input"] {
   color: #404040;
   font-style: italic;
   background: transparent;
   padding: 0;
   border: 0;
   line-height: 35px;
   padding-left: 14px;
   padding-right: 54px;
   height: 35px;
   width: 100%;
}

form [id^="search_submit"] {
   width: 40px;
   background: url("../img/icon-lupe.png") center no-repeat;
   padding: 0;
   border: none;
   cursor: pointer;
   position: absolute;
   top: 6px;
   bottom: 6px;
   right: 0;
   font-size: 0;
   border-left: 1px solid rgba(88, 69, 58, 0.3);
   -webkit-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
   -moz-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
   -ms-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
   -o-transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
   transition: background 200ms linear, top 200ms linear, bottom 200ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
   background-color: rgba(245, 245, 245, 0.9);
   top: 0;
   bottom: 0;
}

[id^="search_input"]::-ms-input-placeholder {
   color: #404040 !important;
   font-style: italic;
}

[id^="search_input"]::-webkit-input-placeholder {
   color: #404040 !important;
   font-style: italic;
}

[id^="search_input"]::-moz-placeholder {
   opacity: 0.8;
   font-style: italic;
}

[id^="search_input"]:-moz-placeholder {
   opacity: 0.8;
   font-style: italic;
}

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

#logoBox {
   padding-bottom: 15px;
}

#logoWrap {
   background-color: #afb5d6;
   color: #404040;
   font-weight: 500;
   position: relative;
}

#logo {
   display: inline-block;
   position: relative;
   z-index: 101;
}

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

#logo img {
   display: block;
}

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

#logoText {
   font-size: clamp(1.25rem, 2.1vw, 1.75rem);
   line-height: 1;
   font-family: "Dosis", sans-serif;
   font-weight: 400;
   margin-left: 10px;
   margin-bottom: 3px;
}

#logoText :is(b, strong) {
   font-weight: 600;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #menu #burgerButton {
      font-size: 0;
      display: block;
      height: 50px;
      width: 60px;
      border-radius: 2px;
      padding: 6px 8px;
      cursor: pointer;
      background: #ffffff;
      border: none !important;
      -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);
   }

   #menu #burgerButtonInner2,
   #menu #burgerButton:after,
   #menu #burgerButtonInner {
      background-color: #5c73b2;
      color: #ffffff;
      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;
   }

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

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

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

   #menu #burgerButtonInner {
      top: 16px;
   }

   #menu #burgerButtonInner2 {
      top: 24px;
   }

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

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

   #menu .navbar-collapse {
      top: 0;
      background: #5c73b2;
      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;
   }

   #menu .navbar-collapse[aria-expanded="true"],
   #menu .navbar-collapse.in {
      left: 0;
      opacity: 1;
      pointer-events: auto;
   }

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

   #menu .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;
   }

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

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

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

/* menu desktop */

.is-sticky #menu {
   box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
   #menu {
      background: #5c73b2;
      transition: background 0.2s 0s linear, padding 0.2s 0s linear;
   }

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

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

   #menu .navbar-default .navbar-nav li[class*="toplevel"]>ul,
   #menu .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;
   }

   #menu .navbar-default .open>.dropdown-menu,
   #menu .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
   #menu .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
   #menu .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
      pointer-events: auto !important;
      opacity: 1 !important;
   }

   #menu .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
   #menu .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
      pointer-events: auto !important;
      opacity: 1 !important;
   }

   #menu .navbar-default .nav .open>.dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }
}

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

#menu .navbar-default .navbar-nav>li>a {
   color: #ffffff;
   font-weight: 600;
   text-align: left;
   padding: 15px 15px;
   position: relative;
   font-size: 1.125rem;
   line-height: 1.2;
   text-decoration: none;
   font-family: "Dosis", sans-serif;
   hyphens: auto;
}

@media (max-width: 991px) {
   #menu .navbar-default .navbar-nav>li {
      border-bottom: 1px solid rgba(255, 255, 255, 0.8);
   }

   #menu nav.horizontally .navbar-nav>li>a.dropdown-toggle {
      padding-right: 35px;
   }
}

@media (min-width: 992px) {
   #menu .navbar-default .navbar-nav>li+li {
      margin-left: 20px;
   }

   #menu .navbar-default .navbar-nav>li>a {
      padding: 16px 0;
      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) {
   #menu .navbar-default .navbar-nav>li>a {
      display: block;
   }
}

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

#menu .navbar-nav>li:hover>a,
#menu .navbar-nav>li>a:hover,
#menu .navbar-nav>li>a:focus,
#menu .navbar-nav>li.open>a,
#menu .navbar-nav>li.open>a:hover,
#menu .navbar-nav>li.open>a:focus,
#menu .navbar-nav>li[class$="_over"]>a,
#menu .navbar-nav>li[class$="_over"]>a:hover,
#menu .navbar-nav>li[class$="_over"]>a:focus {
   text-decoration: underline;
}

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

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

#menu .navbar-default .navbar-nav>li>.dropdown-menu,
#menu .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
   background-color: #ffffff;
   -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
   box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.3);
   border: 1px solid #f49c3e;
}

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

   #menu .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
      padding-left: 10px;
   }
}

@media (min-width: 992px) {

   #menu .navbar-default .navbar-nav>li>.dropdown-menu,
   #menu .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
      padding-top: 10px;
      padding-bottom: 10px;
   }

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

   #menu .navbar-default .navbar-nav>li>.dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      height: 10px;
      left: 0;
      right: 0;
      top: -10px;
   }

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

   #menu .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 -------------------------------------------- */

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

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

#menu .navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
#menu .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
   content: "";
   display: block;
   position: absolute;
   left: 20px;
   top: 16px;
   width: 6px;
   height: 6px;
   border-radius: 50%;
   background: #afb5d6;
   -webkit-transition: background 300ms linear;
   -moz-transition: background 300ms linear;
   -ms-transition: background 300ms linear;
   -o-transition: background 300ms linear;
   transition: background 300ms linear;
}

#menu .navbar-default .navbar-nav>li>.dropdown-menu>li+li:not(:nth-child(2)),
#menu .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li+li:not(:nth-child(2)) {
   border-top: 1px solid rgba(0, 0, 0, 0.15);
}

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

#menu .navbar-nav>li>.dropdown-menu>li:hover>a::before,
#menu .navbar-nav>li>.dropdown-menu>li>a:hover::before,
#menu .navbar-nav>li>.dropdown-menu>li>a:focus::before,
#menu .navbar-nav>li>.dropdown-menu>li.open>a::before,
#menu .navbar-nav>li>.dropdown-menu>li.open>a:hover::before,
#menu .navbar-nav>li>.dropdown-menu>li.open>a:focus::before,
#menu .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a::before,
#menu .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
#menu .navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
   background: #5970b1;
}

#menu .navbar-nav>li>.dropdown-menu>li:focus-within>a::before,
#menu .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::before {
   background: #5970b1;
}

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

/* burgermenu for tablet */

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

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

/* menu desktop */

@media (min-width: 992px) {
   #navContainer {
      position: relative;
      z-index: 100;
   }

   #navContainer:hover {
      z-index: 105;
   }

   #headerTab nav {
      padding: 2px 2px 30px 2px;
      background: #ffffff;
      position: relative;
      border: 2px solid #f49c3e;
   }

   #headerTab #navContainer::after {
      content: "";
      display: block;
      position: fixed;
      z-index: -1;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      pointer-events: none;
      background: rgba(68, 68, 68, 0.3);
      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;
   }

   #headerTab #navContainer:hover::after {
      opacity: 1;
   }

   #headerTab .navbar-default .navbar-nav {
      width: 100%;
   }

   #headerTab .navbar-default .navbar-nav>li {
      display: block !important;
      width: 100%;
      float: none;
   }

   #headerTab .navbar-default .navbar-nav>li {
      position: relative;
   }

   #headerTab .navbar-default .navbar-nav>li>ul {
      position: absolute !important;
      right: 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;
   }

   #headerTab .navbar-default .navbar-nav>li.open:hover>.dropdown-menu,
   #headerTab .navbar-default .navbar-nav>li:hover>ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      z-index: 1003;
   }

   #headerTab .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
   #headerTab .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
      pointer-events: auto !important;
      opacity: 1 !important;
   }

   #headerTab .navbar-default .navbar-nav>li.open>.dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }

   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
      opacity: 1;
   }
}

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

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

#headerTab .navbar-default .navbar-nav>li>a {
   color: #404040;
   font-weight: 600;
   text-align: left;
   padding: 10px 35px 10px 10px;
   position: relative;
   font-size: 1.0625rem;
   background: #afb5d6;
   line-height: 1.2;
   text-decoration: none;
   font-family: "Dosis", sans-serif;
   hyphens: auto;
   border-radius: 5px;
}

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

@media (min-width: 992px) {
   #headerTab .navbar-default .navbar-nav>li>a {
      padding: 9px 15px;
   }
}

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

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

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

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

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

@media (min-width: 992px) {
   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu {
      margin-top: -20px;
      padding: 20px 20px;
      min-width: 300px;
      max-width: 500px;
      margin-right: 50px;
      min-height: 200px;
   }

   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu>li {
      margin-bottom: 2px;
   }

   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu::before,
   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu::after {
      content: "";
      position: absolute;
      display: block;
   }

   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu::before {
      width: 50px;
      top: 0;
      bottom: 0;
      right: -50px;
   }

   #headerTab .navbar-default .navbar-nav>li>.dropdown-menu::after {
      top: 24px;
      right: -24px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 17px 0 17px 24px;
      border-color: transparent transparent transparent #ffffff;
   }
}

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

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

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

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

#headerTab .navbar-default .navbar-nav>li>.dropdown-menu>li>a {
   padding: 8px 35px 8px 10px;
   background: #afb5d6;
   font-weight: 500;
   border-radius: 5px;
}

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

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

#headerTab .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 ------------------------------------------ */

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

#headerTab .navbar-nav>li>.dropdown-menu>li:focus-within>a {
   background: #5970b1;
   color: #ffffff;
}

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

#headerTab .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
   color: #5970b1;
}

/* ------------------------------------------- button design ------------------------------------------- */

.buttonStyle a {
   display: inline-block;
   background: transparent;
   border-radius: 3px;
   color: #404040;
   border: 1px solid #ffffff;
   font-size: 0.9375rem;
   padding: 5px 20px;
   font-weight: 600;
   text-decoration: none;
   border: 2px solid #404040;
   transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

@media (min-width: 768px) {
   .buttonStyle a+a {
      margin-left: 12px;
   }
}

.buttonStyle a::after {
   content: "\00BB";
   margin-left: 4px;
   position: relative;
   bottom: 1px;
}

.buttonStyle a:hover,
.buttonStyle a:focus {
   color: #fff;
   background: #404040;
}

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

#headerpic {
   height: 100%;
   position: fixed;
   width: 100%;
   overflow: hidden;
   top: 0;
   z-index: -1;
}

.index #headerpic {
   height: 100%;
   position: fixed;
   width: 100%;
   max-width: 1200px;
   overflow: hidden;
   top: 0;
   z-index: -1;
   margin: 0 auto;
   left: 0;
   right: 0;
}

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

body.index #slider {
   max-height: 100%;
}

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

   body.index #slider {
      max-height: 100%;
   }

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

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

.slider-mask {
   display: none;
}

.nivo-directionNav a {
   color: #ffffff !important;
}

a.nivo-control {
   color: #ffffff !important;
}

a.nivo-control.active {
   color: #ffffff !important;
}

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

#headerTab {
   color: #ffffff;
   height: 100%;
   min-height: 100%;
}

/* ----------------------------------------------- news + events -------------------------------------------- */

body:not(.index) #news>.row::before {
   content: '';
   width: 220px;
   height: 220px;
   display: block;
   border-radius: 50%;
   background: #5970b1;
   opacity: 0.30;
   position: absolute;
   left: -395px;
   bottom: -136px;
}

body:not(.index) #news>.row::after {
   content: '';
   width: 365px;
   height: 365px;
   display: block;
   border-radius: 50%;
   background: #5970b1;
   opacity: 0.20;
   position: absolute;
   right: -529px;
   bottom: -208px;
}

.index #news>.row::before {
   content: '';
   width: 228px;
   height: 228px;
   display: block;
   background: url('../img/kreis-foerderung.png') no-repeat;
   position: absolute;
   left: -300px;
   top: -110px;
}

.index #news>.row::after {
   content: '';
   width: 227px;
   height: 227px;
   display: block;
   background: url('../img/kreis-therapie_.png') no-repeat;
   position: absolute;
   right: -300px;
   top: -110px;
}

#news .tab {
   border-radius: 3px;
   background-color: #afb5d6;
   overflow: hidden;
   border: 2px solid #f49c3e;
}

#news .tab {
   padding: 30px;
   color: #404040;
   background-position: top 20px right 20px;
   background-repeat: no-repeat;
}

#news .tabHeadline {
   color: #404040;
   margin: 0 0 15px 0;
   position: relative;
   padding-bottom: 15px;
}

@media (min-width: 768px) {
   #news .tabHeadline {
      margin: 0 0 25px 0;
   }
}

@media (min-width: 1200px) {
   #news .tabHeadline {
      -webkit-hyphens: manual;
      -moz-hyphens: manual;
      -ms-hyphens: manual;
      hyphens: manual;
   }
}

#news .tabHeadline::after {
   content: "";
   bottom: 0;
   left: 0;
   position: absolute;
   background: #404040;
   width: 100px;
   height: 3px;
}

#news .tab_link_entry {
   font-size: 1rem;
   position: relative;
   width: 100%;
   border: 2px solid #f49c3e !important;
}

#news .tab_link_title a {
   line-height: 1.2;
   font-weight: 600;
   font-size: 1.125rem;
   display: block;
   margin-bottom: 8px;
}

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

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

#news {
   padding-top: 30px;
}

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

#news .tab_link_entry {
   background: #ffffff;
   border-radius: 3px;
   padding: 130px 30px 30px 30px;
   font-size: 1rem;
}

@media (min-width: 576px) and (max-width: 767px) {
   #news .tab_link_entry {
      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: 768px) {
   #news .tab_link_entry {
      width: calc(33.33% - 20px);
   }

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

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

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
   position: absolute;
   display: block;
   top: 0;
   left: 0;
   right: 0;
   height: 120px;
   overflow: hidden;
   border-top-left-radius: 3px;
   border-top-right-radius: 3px;
}

#news .tab_preview_picture {
   background: #ffffff;
}

#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_date {
   font-size: 0.9375rem;
   font-weight: 600;
   position: absolute;
   left: -1px;
   top: 105px;
   z-index: 1;
   display: inline-block;
   padding: 6px 20px;
   background: #f49c3e;
   color: #404040;
   border-top-right-radius: 3px;
   border-bottom-right-radius: 3px;
   font-family: "Dosis", sans-serif;
}

#news .tab_link_title a {
   color: #5970b1;
   font-family: "Dosis", sans-serif;
   font-size: 1.25rem;
}

#news .vorschau,
.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.tab_link_entry>div:nth-last-child(2) {
   display: none;
}

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

.index main {
   margin-top: clamp(90px, 30vw, 450px);
}

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

@media (min-width: 992px) {
   #contentBox {
      padding-bottom: 80px;
   }

   .index main {
      margin-top: 570px;
   }
}

#content {
   padding: 30px 0 60px 0;
   background: rgba(255, 255, 255, 0.9);
}

@media (min-width: 992px) {
   .index #content>.row::before {
      content: '';
      width: 328px;
      height: 328px;
      display: block;
      background: url('../img/kreis-betreuung.png') no-repeat;
      position: absolute;
      left: 0;
      top: -391px;
   }

   body:not(.index) #content>.row::before {
      content: '';
      width: 380px;
      height: 380px;
      display: block;
      border-radius: 50%;
      background: #5970b1;
      opacity: 0.30;
      position: absolute;
      left: 0;
      top: -232px;
   }
}

@media (min-width: 1700px) {
   .index #content>.row::before {
      left: -225px;
      top: -391px;
   }

   body:not(.index) #content>.row::before {
      left: -520px;
      top: -232px;
   }
}


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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
   color: #5970b1;
   font-weight: 600;
   line-height: 1.2;
   font-family: "Dosis", sans-serif;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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

#newslinks,
#newsmandate {
   border: 1px solid #5970b1;
}

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

footer {
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
}

#footer {
   overflow: hidden;
}


.index footer {
   padding-top: 16.4063vw;
   max-width: 1200px;
   margin: 0 auto;
}

.index #footer {
   position: relative;
   overflow: unset;
}

.index #footer::before {
   content: '';
   display: block;
   position: absolute;
   bottom: 0;
   left: -360px;
   right: 0;
   height: 100%;
   width: 100vw;
   background: #efefef;
   z-index: -1;
}

#footer {
   color: #404040;
   background-color: rgba(237, 237, 237, 0.90);
   padding-top: clamp(20px, 3vw, 40px);
   padding-bottom: 0px;
   font-size: 1rem;

}


footer iframe,
footer .iframe-wrapper-manual-enabling {
   width: 100% !important;
   min-width: 100% !important;
}

footer a {
   color: #404040;
}

footer a:not(.has-image):hover,
footer a:not(.has-image):focus {
   text-decoration: none;
}

@media (max-width: 767px) {

   footer iframe,
   footer .iframe-wrapper-manual-enabling {
      margin-top: 30px;
   }
}

.footerTab a,
.footerTab a {
   text-decoration: underline;
}

.footerTab a:hover,
.footerTab a:focus {
   background-color: #ffffff;
}

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
   font-size: 1.3125rem;
   margin-bottom: 10px;
   color: #404040;
}

/* --------------------------------------------- footerbutton -------------------------------------------- */

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

#footerbutton a {
   text-transform: uppercase;
   border: none;
   position: relative;
   margin: 30px 0 0 0;
   background: #afb5d6;
   color: #404040;

}

#footerbutton a:hover,
#footerbutton a:focus {
   background: #5970b1;
   color: #fff;
}

#footerbutton a::after {
   display: none;
}

#footerbutton a::before {
   content: "";
   position: absolute;
   background: url(../img/logo-footer-spenden.png);
   width: 80px;
   height: 80px;
   background-position: center;
   background-repeat: no-repeat;
   background-size: contain;
   top: -30px;
   left: -80px;
}

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

#innerfooter {
   border-top: 1px solid #f49c3e;
   padding: 25px 0;
   margin-top: 30px;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

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

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

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

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

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

   #innerfooter li+li::before {
      display: none;
   }
}

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

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

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

#vernetzt span {
   color: #404040;
}

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

#vernetzt span span {
   display: block;
}

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

/* ----------------------------------------------- contrast ----------------------------------------------- */

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

.contrast_light_font form [id^="search_input"],
.contrast_light_font #news .tab,
.contrast_light_font #eventsBG .tab,
.contrast_light_font #contact .phoneNumber,
.contrast_dark_font #contrast_style button {
   background: #000000 !important;
}

.contrast_light_font #contact>.row>div:last-child::after,
.contrast_light_font #contact>.row>div:last-child::before,
.contrast_dark_font #contact>.row>div:last-child::after,
.contrast_dark_font #contact>.row>div:last-child::before {
   display: none !important;
}

.contrast_dark_font #news .tab_link_title a,
.contrast_light_font #news .tab_link_title a {
   filter: unset !important;
}

.contrast_dark_font #news .tab {
   background: #ffffff !important;
}