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


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

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

a {
  color: #004f9f;
}

a:hover,
a:focus,
#contentBox a {
  color: #004f9f;
  text-decoration: underline;
}

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

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #menu {
    padding-top: 15px;
    padding-bottom: 15px;
  }

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

  #burgerButtonInner2,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #003c9f;
    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;
  }
}

@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 */

.is-sticky #menu {
  background: #fff;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (min-width: 992px) {

  #menu {
    background: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
    -webkit-transition: all 0.4s 0s linear;
    -moz-transition: all 0.4s 0s linear;
    -o-transition: all 0.4s 0s linear;
    transition: all 0.4s 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;
  }

  nav.horizontally .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

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

  nav.horizontally .navbar-nav>li,
  nav.horizontally .navbar-nav>li>.dropdown-menu>li {
    position: relative;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }

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

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

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

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

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

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

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

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

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

.navbar-default .navbar-nav>li>a::before {
  content: "";
  width: 0;
  height: 4px;
  display: block;
  position: absolute;
  left: 0;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 0;
  background-color: #004f9f;
  opacity: 0;
  -webkit-transition: opacity 300ms linear, width 300ms linear;
  -moz-transition: opacity 300ms linear, width 300ms linear;
  -ms-transition: opacity 300ms linear, width 300ms linear;
  -o-transition: opacity 300ms linear, width 300ms linear;
  transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>a::before {
    left: 50%;
  }
}

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-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);
}

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

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

@media(min-width:992px) {

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

  .navbar-default .navbar-nav>li>.dropdown-menu {
    margin-top: 10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
  }

  .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 {
    margin-top: -10px;
    border-radius: 3px;
    margin-left: 10px;
  }

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  color: #000;
  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) {
  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 {
    hyphens: auto;
    word-break: break-word;
  }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.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: #003c9f;
  -webkit-transition: background 300ms linear;
  -moz-transition: background 300ms linear;
  -ms-transition: background 300ms linear;
  -o-transition: background 300ms linear;
  transition: background 300ms linear;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li+li:not(:nth-child(2)),
.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 ------------------------------------------ */

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

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

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

#slider {
  overflow: hidden;
  position: relative;
  height: 100%;
}

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

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

#slider {
  overflow: hidden;
  position: relative;
  height: 100%;
}

@media (min-width: 992px) {
  #headerpic {
    position: relative;
    background-color: #1e1e1e;
  }

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

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

  .slider-wrapper {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  body:not(.index) #headerpic {
    min-height: 400px;
  }

  .theme-default .nivo-controlNav {
    top: 20px !important;
    height: 40px !important;
  }

  .nivo-directionNav a {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
  }

  a.nivo-control {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
  }

  a.nivo-control.active {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
  }
}

@media (max-width: 991px) {

  #slider-onebanner,
  #slider .nivo-box>div,
  #slider .nivo-slice>div,
  #slider .nivo-main-image,
  #slider div[style*='background-size'] {
    background-attachment: unset !important;
    background-size: 100% auto !important;
  }

  #slider {
    height: 31vw;
  }
}

.slider-mask {
  display: none;
}

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

#bannerOverlay {
  background: #aed9ca;
  color: #ffffff;
  line-height: 1.4;
  pointer-events: none;
}

@media (max-width: 767px) {
  body:not(.index) .headerpic {
    display: none;
  }
}

@media (min-width: 992px) {
  #bannerOverlay {
    position: relative;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    z-index: 66;
    background: none;
  }

  #bannerOverlay>.row {
    height: 100%;
  }
}

#bannerOverlay a {
  text-shadow: none;
  line-height: 1.5;
}

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

.bannerHeadline {
  margin: 0 0 5px 0;
}

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

#headerTab {
  background: #aed9ca;
  color: #000;
  height: 100%;
  max-height: 100%;
  padding: 0;
  pointer-events: all;
}

.headerContent {
  padding: 35px 30px 30px 30px;
  height: 100%;
}

.headerContent h1,
.headerContent h2,
.headerContent h3 {
  font-size: 1.25rem;
}

.headerContent h1 i,
.headerContent h2 i,
.headerContent h3 i,
.headerContent h1 em,
.headerContent h2 em,
.headerContent h3 em {
  font-family: 'Khand', sans-serif;
  font-size: 2rem;
  font-style: normal;
}

.tabBttn {
  padding: 50px 30px 0 30px;
}

.tabBttn a {
  background: #004f9f;
  color: #fff;
  padding: 5px 15px;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 15px;
  border-radius: 5px;
  display: block;
  hyphens: auto;
}

.tabBttn a:hover {
  background: #fff;
  color: #1e1e1e;
  text-decoration: none;
}

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

.search {
  padding: 30px;
  color: #000;
}

form[id^="search"] {
  display: inline-block;
  position: relative;
  margin: 0;
  width: 100%;
}

form[id^="search"] label {
  display: block;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 18px;
  line-height: 1;
}

form [id^="search_input"] {
  color: #000;
  font-size: 15px;
  font-style: italic;
  padding: 0;
  border: 0;
  line-height: 38px;
  padding-left: 14px;
  padding-right: 47px;
  height: 38px;
  width: 100%;
  border-radius: 3px;
  background: #ffffff !important;
}

form [id^="search_submit"] {
  width: 38px;
  height: 38px;
  border: none;
  background: url('../img/lupe-icon.png') center no-repeat;
  padding: 0;
  cursor: pointer;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0;
  -webkit-transition: background 150ms linear;
  -moz-transition: background 150ms linear;
  -ms-transition: background 150ms linear;
  -o-transition: background 150ms linear;
  transition: background 150ms linear;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
  background-color: #a4a1d4;
}

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

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

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

/* --------------------------------------------- styler + contrast ------------------------------------------- */

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

  #styleContrast>* {
    padding: 11px 10px 15px 10px;
  }

  #style {
    background: #004f9f;
  }

  #contrast_style {
    background: #003c9f;
  }

  #styleContrast span {
    display: block;
    width: 100%;
    font-size: 0.875rem;
    margin-bottom: 9px;
    color: #fff;
  }

  #styleContrast button {
    font-size: 1.125rem;
    padding: 0 0 2px 0 !important;
    border: none;
    color: #ffffff;
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 500;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    line-height: 1;
  }

  #contrast_style button {
    font-size: 0;
  }

  #contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid #ffffff;
  }

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

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

  #contrast_style button:nth-of-type(3)::after {
    background: #c2722d;
  }

  #styleContrast button+button {
    margin-left: 4px;
  }

  #styleContrast button:hover,
  #styleContrast button:focus {
    background: rgba(0, 0, 0, 0.4);
  }
}

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


#news .tab {
  background: #aed9ca url('../img/icon-news.png') top 20px right 20px no-repeat;
  overflow: hidden;
  padding: 30px;
  color: #000;
}

#news h1,
#news h2,
#news h3,
#news h4,
#news h5,
#news h6 {
  color: #000;
  margin: 0 0 20px 0;
  font-family: 'Khand', sans-serif;
  font-size: 1.5625rem;
}

@media (min-width: 768px) {

  #news h1,
  #news h2,
  #news h3,
  #news h4,
  #news h5,
  #news h6 {
    margin: 0 0 25px 0;
    font-size: 2.0625rem;
  }
}

@media (min-width: 1200px) {

  #news h1,
  #news h2,
  #news h3,
  #news h4,
  #news h5,
  #news h6 {
    -webkit-hyphens: manual;
    -moz-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
  }
}

#news .tab_link_entry {
  font-size: 1rem;
  position: relative;
  width: 100%;
}

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

#news {
  padding-top: 50px;
}

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

#news .tab_link_entry {
  background: #ffffff;
  padding: 160px 30px 30px 30px;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}

@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: -1px;
  left: -1px;
  right: -1px;
  height: 120px;
  overflow: hidden;
}

#news .tab_link_title a::before {
  content: "";
  background: url("../img/platzhalter-aktuelles-neu.jpg") center / cover no-repeat;
}

#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.75rem;
  font-weight: 600;
  position: absolute;
  left: -1px;
  top: 105px;
  z-index: 1;
  display: inline-block;
  padding: 6px 20px;
  background: #003c9f;
  color: #fff;
}

#news .tab_link_title a {
  color: #003c9f;
  font-size: 1rem;
}

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

/* ------------------------------------------------ breaker ----------------------------------------------- */

#breaker .banner img {
  max-height: 400px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

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

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

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

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

#eventsBG .tabContent {
  background: #aed9ca url('../img/icon-events.png') top 20px right 20px no-repeat;
  overflow: hidden;
  padding: 30px;
  color: #000;
  height: 100%;
}

@media (max-width: 991px) {
  #eventsBG .tabContent {
    margin: 30px 0 50px 0;
  }
}

#eventsBG h1,
#eventsBG h2,
#eventsBG h3,
#eventsBG h4,
#eventsBG h5,
#eventsBG h6 {
  color: #000;
  margin: 0 0 20px 0;
  font-family: 'Khand', sans-serif;
  font-size: 1.5625rem;
}

@media (min-width: 768px) {

  #eventsBG h1,
  #eventsBG h2,
  #eventsBG h3,
  #eventsBG h4,
  #eventsBG h5,
  #eventsBG h6 {
    margin: 0 0 25px 0;
    font-size: 2.0625rem;
  }
}

@media (min-width: 1200px) {

  #eventsBG h1,
  #eventsBG h2,
  #eventsBG h3,
  #eventsBG h4,
  #eventsBG h5,
  #eventsBG h6 {
    -webkit-hyphens: manual;
    -moz-hyphens: manual;
    -ms-hyphens: manual;
    hyphens: manual;
  }
}

#eventsBG .tab_link_entry {
  font-size: 1rem;
  position: relative;
  width: 100%;
}

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

@media (min-width: 576px) {

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

#eventsBG {
  padding-top: 20px;
}

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

#eventsBG .tab_link_entry {
  background: #ffffff;
  padding: 60px 30px 30px 30px;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  position: relative;
}

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

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

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

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

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

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

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

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

#eventsBG .tab_link_date {
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  left: -1px;
  top: 0px;
  z-index: 1;
  display: inline-block;
  padding: 6px 20px;
  background: #003c9f;
  color: #fff;
}

#eventsBG .tab_link_mandat a {
  color: #000;
}



#eventsBG .tab_date {
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  left: -1px;
  top: 105px;
  z-index: 1;
  display: inline-block;
  padding: 6px 20px;
  background: #003c9f;
  color: #fff;
}

#eventsBG .tab_link_title a {
  color: #003c9f;
  font-size: 1rem;
  font-weight: 700;
}

#eventsBG .tab_spacer {
  display: none;
}

#eventsBG .tab_link>div:last-child {
  display: none;
}

/* ------------------------------------------ button Design ----------------------------------------- */

.buttonStyle a {
  display: inline-block;
  color: #fff;
  background: #003c9f;
  position: relative;
  border: #fff 1px solid;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  text-align: center;
}

.buttonStyle a:focus,
.buttonStyle a:hover {
  text-decoration: none;
  background: #fff;
  color: #003c9f;
}

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

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

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

/* ----------------------------------------------- @11f footer ----------------------------------------------- */

footer {
  color: #000;
  font-size: 1rem;
}

footer a {
  color: #ffffff;
}

.footerTab a {
  color: #ffffff;
}

.footerTab a:hover {
  color: #aed9ca;
}

.footerTab a[href*="mailto"] {
  font-style: italic;
  color: #aed9ca;
}

#footer {
  background: #003c9f;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
  margin-top: 50px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 991px) {
  #footer {
    margin-top: 0px;
    padding-top: 50px;
  }

  .footerTab,
  .iframeMapsTab {
    margin-bottom: 30px;
  }
}

@media (min-width: 576px) {
  #footer>.row>*+*:nth-child(2) {
    margin-top: 0;
  }
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.footerHeadline {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 15px;
}

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

.iframeMapsTab {
  max-height: 246px;
  overflow: hidden;
}


/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
  background: #003c9f;
}

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

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

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt b {
  color: #a4a1d4;
  font-weight: 400;
}

#vernetzt span span {
  display: block;
}

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

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

#innerfooter {
  font-size: 1rem;
}

@media (max-width: 991px) {
  #innerfooter {
    margin: 15px 0;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: block;
}

#innerfooter a {
  color: #ffffff;
  padding: 24px 0px;
}

#innerfooter a:hover {
  text-decoration: none;
  color: #a4a1d4;
}

@media (min-width:575px) {
  #innerfooter li {
    display: inline-block;
  }

  #innerfooter li+li::before {
    content: "•";
    margin: 0 15px;
    color: #ffffff;
  }
}

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

/* --------------------------------------------- newsletter -------------------------------------------- */

.newsletterTab {
  background: #004f9f;
  padding: 20px 35px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .newsletterTab {
    margin-top: -190px;
    margin-bottom: 0px;
  }
}

.newsletterTab .tabHeadline {
  color: #fff;
  font-size: 1.875rem;
  font-weight: ´400;
  margin-bottom: 5px;
  font-family: 'Khand', sans-serif;
}

#newsletter label {
  font-size: 1rem;
  margin-bottom: 8px;
  display: block;
  font-weight: 400;
}

#newsletterInputs {
  height: 36px;
  display: flex;
  position: relative;
  border: 1px solid #aed9ca;
  border-radius: 2px;
  margin-left: auto;
  max-width: 340px;
}

#newsletter_input {
  color: #ffffff;
  font-size: 16px;
  font-style: normal !important;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 36px;
  padding-left: 10px;
  padding-right: 43px;
  height: 36px;
  width: 100%;
}

#newsletter_submit {
  width: 36px;
  background: url('../img/icon-mail.png') center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 36px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

#newsletter_input::-ms-input-placeholder {
  color: #ffffff !important;
}

#newsletter_input::-webkit-input-placeholder {
  color: #ffffff !important;
}

#newsletter_input::-moz-placeholder {
  opacity: 1;
  color: #ffffff !important;
}

#newsletter_input:-moz-placeholder {
  opacity: 1;
  color: #ffffff !important;
}

#partner {
  padding: 30px 0;
}

/* --------------------------------------------- order -------------------------------------------- */
@media (max-width: 991px) {
  .order1 {
    order: 1;
  }

  .order2 {
    order: 3;
  }

  .order3 {
    order: 2;
  }
}

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

.contrast_light_font form [id^="search_submit"] {
  background: url('../img/lupe-icon.png') center no-repeat;
}

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

.contrast_light_font #news .tab_link_title a::before,
.contrast_dark_font #news .tab_link_title a::before {
  display: none !important;
}

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