@import url("https://fonts.verwaltungsportal.de/import/?family=Poppins:400,500,600,400i,500i,600i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Great+Vibes:400");
body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: #000000;
  background: #ffffff;
  font-size: 0.9rem;
  /* 1rem = 16px */
  line-height: 1.5;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
}

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

a {
  color: #b80000;
}

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

b,
strong {
  font-weight: 600;
}

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

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

#topbar {
  background: #b80000;
  color: #fff;
  font-size: 0.875rem;
}

@media (min-width: 1200px) {
  #topbar > .row:first-child::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    height: 46px;
    width: 157px;
    background: url(../img/hasi.png) left bottom no-repeat;
    z-index: 33;
  }
}

.contrast_light #topbar > .row:first-child::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  height: 46px;
  width: 157px;
  background: url(../img/hasi-black.png) left bottom no-repeat;
  z-index: 33;
}

#topbar > .row:first-child {
  padding-top: 2px;
  padding-bottom: 2px;
  position: relative;
}

#facebook {
  color: #fff;
  width: 29px;
  height: 29px;
}

#facebook a {
  color: #000;
  padding: 5px;
  background: #fff;
  display: inline-block;
}

#facebook img {
  height: 19px;
  max-width: unset;
  width: 19px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
}

.logo {
  display: inline-block;
}

.logo img {
  display: block;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .logo img {
    max-width: 200px;
  }

  .logo {
    transition: all 250ms;
  }

  /* .is-sticky .logo{
        max-height: 96px;
        overflow: hidden;
    } */

  .is-sticky #menu {
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

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

@media (min-width: 1200px) {
  #logo {
    position: relative;
    margin-bottom: -35px;
  }
  .index #logo {
    margin-bottom: -50px;
  }
}

@media (min-width: 992px) {
  #contrast_style {
    line-height: 0;
  }
  #contrast_style button {
    padding: 0;
    border: none;
    background: transparent;
    display: inline-block;
  }
  #contrast_style button + button {
    margin-left: 2px;
  }

  .is-sticky #logo img {
    display: none;
  }
  .is-sticky #logo::before {
    content: "Stadt Warin";
    font-size: 3.125rem;
    font-family: "Great Vibes", cursive;
    top: 30px;
    position: relative;
    min-height: 60px;
    display: block;
  }
}

@media (min-width: 1200px) {
  .is-sticky #logo::before {
    top: 10px;
  }
}

@media (min-width: 992px) {
  #style {
    margin: 0px 30px;
  }
  #style button {
    border: none;
    color: #000;
    display: inline-block;
    width: 29px;
    height: 29px;
    border-radius: 0%;
    font-weight: 400;
    text-align: center;
    background-color: #fff;
    position: relative;
    line-height: 1;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
  }
  #style button + button {
    margin-left: 2px;
  }
  #style button:hover {
    color: #b80000;
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}

#search {
  height: 35px;
  background: #fff;
  display: inline-block;
  position: relative;
  max-width: 260px;
}

@media (max-width: 991px) {
  #search {
    margin: auto;
    margin-top: 26px;
  }
}

#search_input {
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  font-style: italic;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 35px;
  width: 100%;
}

#search_submit {
  width: 35px;
  background: url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  border-left: 1px solid #d0b2b2 !important;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 4px;
  right: 0;
  height: 80%;
  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;
}

#search_input::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.8) !important;
}

#search_input::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.8) !important;
}

#search_input::-moz-placeholder {
  opacity: 1;
}

#search_input:-moz-placeholder {
  opacity: 1;
}

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

#menu-sticky-wrapper {
  height: auto !important;
}

#menu {
  padding-top: 5px;
  padding-bottom: 5px;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  #menu {
    background: #ffffff;
  }
  #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: #b80000;
    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: #b80000;
    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 */

@media (min-width: 992px) {
  #menu {
    margin-top: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
    -webkit-transition: background 300ms linear, box-shadow 300ms linear, margin-top 300ms linear;
    -moz-transition: background 300ms linear, box-shadow 300ms linear, margin-top 300ms linear;
    -ms-transition: background 300ms linear, box-shadow 300ms linear, margin-top 300ms linear;
    -o-transition: background 300ms linear, box-shadow 300ms linear, margin-top 300ms linear;
    transition: background 300ms linear, box-shadow 300ms linear, margin-top 300ms linear;
  }
  .index #menu > .row::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 16vw;
    bottom: -4.7vw;
    pointer-events: none;
    background-image: url("../img/silhouette-warin.png");
    background-position: bottom left;
    background-repeat: no-repeat;
  }
  .index .is-sticky #menu > .row::before {
    content: none !important;
    display: none !important;
    background: none !important;
  }
  .index #menu {
    padding-bottom: 0;
  }
  .is-sticky #menu {
    margin-top: 0;
    background: #ffffff;
    -webkit-box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    padding-bottom: 15px;
    padding-top: 15px;
  }
  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;
  }
  .navbar-default .navbar-nav li[class*="toplevel"] > ul {
    display: flex !important;
    flex-wrap: wrap;
    pointer-events: none;
    position: absolute;
    opacity: 0;
    top: 150%;
    left: -15px;
    right: -15px;
    z-index: 1000;
    padding: 30px 50px 30px 50px;
    -ms-transform-origin: top center;
    -webkit-transform-origin: top center;
    transform-origin: top center;
    -webkit-transition: top 300ms linear, opacity 300ms linear;
    -moz-transition: top 300ms linear, opacity 300ms linear;
    -ms-transition: top 300ms linear, opacity 300ms linear;
    -o-transition: top 300ms linear, opacity 300ms linear;
    transition: top 300ms linear, opacity 300ms linear;
  }

  .navbar-default .navbar-nav li[class*="toplevel"] > ul::before {
    width: 100%;
    height: 24px;
    top: -24px;
    left: 0px;
    right: 0px;
    position: absolute;
    content: "";
    display: inline-block;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    top: 100%;
  }
  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    top: 100%;
  }
  .nav li[class*="toplevel"].open > .dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu > li {
    margin-bottom: 30px;
    width: 33.33%;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    display: block !important;
  }
}

@media (min-width: 1200px) {
  nav.horizontally .navbar-nav > li > .dropdown-menu > li {
    width: 33.33%;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu > li + li {
    padding-left: 10px;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu {
    padding: 30px 70px;
  }
}

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

.navbar-default .navbar-nav > li > a {
  color: #000000;
  font-weight: 500;
  text-align: center;
  padding: 15px 35px 15px 35px;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > a {
    color: #fff;
  }
}
@media (min-width: 992px) {
  .navbar-default .navbar-nav > li + li {
    margin-left: 20px;
  }
  .navbar-default .navbar-nav > li > a {
    color: #000000;
    padding: 12px 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .is-sticky .navbar-default .navbar-nav > li > a {
    color: #000000;
  }
  .navbar-default .navbar-nav > li > a.dropdown-toggle {
    padding-right: 15px;
  }
}

@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: "";
  height: 2px;
  display: block;
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 4px;
  background-color: #b80000;
  opacity: 0;
  -webkit-transition: opacity 300ms linear, right 300ms linear, left 300ms linear;
  -moz-transition: opacity 300ms linear, right 300ms linear, left 300ms linear;
  -ms-transition: opacity 300ms linear, right 300ms linear, left 300ms linear;
  -o-transition: opacity 300ms linear, right 300ms linear, left 300ms linear;
  transition: opacity 300ms linear, right 300ms linear, left 300ms linear;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > a::before {
    bottom: 0;
    opacity: 1;
    left: 0px;
    right: 0px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
  }
}

.navbar-default .navbar-nav > li > a.dropdown-toggle::after {
  content: "";
  position: absolute;
  display: block;
  right: 15px;
  top: 50%;
  margin-top: -6px;
  width: 5px;
  height: 5px;
  display: inline-block;
  border-left: 2px solid #000000;
  border-bottom: 2px solid #000000;
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: border 300ms linear;
  -moz-transition: border 300ms linear;
  -ms-transition: border 300ms linear;
  -o-transition: border 300ms linear;
  transition: border 300ms linear;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a.dropdown-toggle::after {
    right: 0;
  }
}

/* -------------------------------------------- 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;
  right: 0;
  left: 0;
}

.navbar-nav > li:focus-within > a::before {
  opacity: 1;
  right: 0;
  left: 0;
}

@media (min-width: 992px) {
  .navbar-nav > li:hover > a.dropdown-toggle::before,
  .navbar-nav > li > a.dropdown-toggle:hover::before,
  .navbar-nav > li > a.dropdown-toggle:focus::before,
  .navbar-nav > li.open > a.dropdown-toggle::before,
  .navbar-nav > li.open > a.dropdown-toggle:hover::before,
  .navbar-nav > li.open > a.dropdown-toggle:focus::before,
  .navbar-nav > li[class$="_over"] > a.dropdown-toggle::before,
  .navbar-nav > li[class$="_over"] > a.dropdown-toggle:hover::before,
  .navbar-nav > li[class$="_over"] > a.dropdown-toggle:focus::before {
    right: 15px;
  }
  .navbar-nav > li.dropdown-toggle:focus-within > a::before {
    right: 15px;
  }
}

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

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

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 15px;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-bottom: 8px;
    -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li {
  line-height: 20px;
  text-align: center;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
  color: #b80000;
  font-weight: 400;
  padding: 0 0 4px 0;
  display: inline-block;
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
  color: #000;
  font-weight: normal;
  padding: 3px 0 4px 10px;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
}

@media (max-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    padding: 12px 15px;
  }
}
/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

@media (min-width: 992px) {
  .navbar-default:focus-within .navbar-nav li[class*="secondlevel"] > ul,
  .navbar-default:focus-within .navbar-nav li[class*="toplevel"] > ul {
    z-index: 99;
  }
  .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
  .navbar-default .navbar-nav li[class*="toplevel"]:focus > ul {
    z-index: 103;
  }
}

.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: transparent;
  color: #b80000;
}

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

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

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

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

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

@media (min-width: 992px) {
  body.index .theme-default .nivo-controlNav {
    bottom: 170px !important;
  }
}

@media (min-width: 992px) {
  #slider {
    max-height: 400px;
  }
  body.index #slider {
    max-height: 700px;
  }
  #headerpic a.nivo-prevNav {
    left: 65px;
  }
  #headerpic a.nivo-nextNav {
    right: 65px;
  }
}

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

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

body.index .slider-mask {
  display: block;
  background: url("../img/banner-bogen-oben.png") top -1px center no-repeat, url("../img/slider-mask.png") bottom center no-repeat;
}

.slider-mask {
  display: block;
  background: url("../img/slider-mask.png") bottom center no-repeat;
}

@media (max-width: 1200px) {
  body.index .slider-mask {
    background-size: 100% auto;
  }
}

/* ---------------------------------------------- headertabs ---------------------------------------------- */

#links {
  padding-bottom: 30px;
  padding-top: 30px;
}

#links a {
  display: inline-block;
  width: 100%;
  background: #b80000;
  color: #fff;
  border-radius: 2px;
  padding: 10px 10px;
  text-align: center;
}

@media (min-width: 767px) and (max-width: 992px) {
  #links a {
    font-size: 0.7rem;
  }
}

#links a:hover,
#links a:focus {
  background: #7c0000;
}

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

@media (max-width: 991px) {
  #links a + a {
    margin-top: 10px;
  }
}

@media (min-width: 992px) {
  #headerTabs {
    position: relative;
    z-index: 60;
    margin-top: -165px;
  }
  #links a + a {
    margin-left: 10px;
  }
}

#headerTabs .tab {
  background: #ffffff;
  padding: 20px;
  -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 (max-width: 991px) {
  body:not(.index) #headerTabs .tab {
    display: none;
  }
  body:not(.index) #headerTabs {
    background-size: 992px auto;
    min-height: 90px;
    background-position: bottom center;
  }
}

@media (min-width: 992px) {
  #headerTabs .tab {
    padding: 25px 40px;
    height: 100%;
    min-height: 100%;
  }
}

#headerTabs .tab > * {
  width: 100%;
}

#headerTabs .tabHeadline,
#headerTabs .tab h1,
#headerTabs .tab h2,
#headerTabs .tab h3,
#headerTabs .tab h4,
#headerTabs .tab h5,
#headerTabs .tab h6 {
  color: #820000;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

#headerTabs .tabHeadline {
  font-size: 1.375rem;
}

@media (min-width: 768px) {
  #headerTabs .tabHeadline {
    font-size: 1.75rem;
  }
}

.tab#slogan {
  line-height: 1.1;
  color: #820000;
  font-size: 1.875rem;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  background: url(../img/kaninchen.png) bottom right 20% no-repeat #fff;
}

.sloganBtn,
.sloganBtn a {
  background: #b80000;
  color: #fff;
  padding: 10px;
  font-weight: 500;
  font-size: 2.5rem;
  max-width: 100%;
  display: inline-flex;
  min-height: 100%;
  align-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .sloganBtn,
  .sloganBtn a {
    display: block;
    min-height: auto;
    padding: 0 10px;
  }
}

.sloganBtn a:hover,
.sloganBtn a:focus {
  color: #fff;
}

#tab#slogan p:first-child {
  color: #b80000;
}

@media (max-width: 575px) {
  .tab#slogan {
    padding-bottom: 20px;
  }
}

@media (min-width: 576px) {
  .tab#slogan {
    padding-right: 240px;
  }
}

@media (min-width: 768px) {
  .tab#slogan {
    padding-right: 150px;
  }
}

@media (min-width: 992px) {
  .tab#slogan {
    padding-right: 335px;
    font-size: 2rem;
  }
  .sloganBtn,
  .sloganBtn a {
    max-width: 110px;
  }
}

@media (min-width: 1200px) {
  .tab#slogan {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .tab#slogan::after {
    width: 150px;
  }
}

@media (min-width: 992px) {
  .tab#slogan::after {
    display: none;
  }
}

.tab#slogan a {
  text-decoration: underline;
}

.tab#slogan p:nth-of-type(3n + 2) {
  color: #b80000;
}

.tab#slogan p:nth-of-type(3n + 3) {
  color: #b80000;
}

#select {
  position: relative;
  z-index: 2;
}

#select input {
  display: none;
}

#select label {
  font-weight: 400;
  font-size: 1.125rem;
  background: #b80000 url("../img/pfeil-unten.png") center right 20px no-repeat;
  color: #ffffff;
  display: block;
  padding: 8px 35px 8px 20px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  -webkit-transition: background-color 200ms linear;
  -moz-transition: background-color 200ms linear;
  -ms-transition: background-color 200ms linear;
  -o-transition: background-color 200ms linear;
  transition: background-color 200ms linear;
}

#select input:checked + label,
#select label:hover,
#select label:focus {
  background-color: #b80000;
}

#selectList {
  position: absolute;
  background: #ffffff;
  top: 80%;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  padding: 20px 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-top: none;
  -webkit-transition: top 200ms linear, opacity 200ms linear;
  -moz-transition: top 200ms linear, opacity 200ms linear;
  -ms-transition: top 200ms linear, opacity 200ms linear;
  -o-transition: top 200ms linear, opacity 200ms linear;
  transition: top 200ms linear, opacity 200ms linear;
}

#select input:checked ~ #selectList {
  top: 100%;
  opacity: 1;
  pointer-events: all;
}

#select:focus-within #selectList {
  top: 100%;
  opacity: 1;
  pointer-events: all;
}

#selectList a {
  display: block;
  color: #000;
  font-size: 0.9375rem;
  padding: 4px 10px;
  text-decoration: none;
}

#selectList a:hover,
#selectList a:focus {
  color: #b80000;
}

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

main {
  background: #ffffff;
}

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

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

@media (min-width: 992px) {
  #content {
    padding-bottom: 50px;
    padding-top: 50px;
  }
  .index #content {
    padding-bottom: 15px;
  }
}

/* ------------------------------------------------ tabLogos ----------------------------------------------- */

.tabLogos p + p {
  margin-top: 30px;
}

/* ------------------------------------------------ tab buttons ---------------------------------------------- */

#content .galerie a {
  width: 90%;
  margin: 10px 5% 0 5%;
  font-size: 1rem;
}

#content .galerie a,
.tab_link_mehr a {
  display: block;
}

#content .galerie a,
.tab_link_mehr a {
  background: #fff;
}

#events .tab_link_mehr a {
  background: #b80000;
  color: #fff;
  font-size: 1rem;
  margin-top: 40px;
}

#content .galerie a,
.tab_link_mehr a,
#c2a a {
  color: #000;
  font-weight: 500;
  padding: 13px 30px;
  text-decoration: none;
  border-radius: 2px;
  text-align: center;
  text-transform: uppercase;
}

#content .galerie a:hover,
.tab_link_mehr a:hover,
#c2a a:hover,
#content .galerie a:focus,
.tab_link_mehr a:focus,
#c2a a:focus {
  background: rgba(255, 255, 255, 0.9);
}

.tab_link_mehr a::after {
  content: ">";
  padding-left: 4px;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1,
.h6,
.h5,
.h4,
.h3,
.h2,
.h1 {
  font-weight: 500;
  line-height: 1.2;
  font-family: "Poppins", sans-serif;
}

h1 em,
.h1 em,
h1 i,
.h1 i,
h2 em,
.h2 em,
h2 i,
.h2 i {
  font-style: normal;
  color: #000;
  text-transform: none;
  font-size: 75%;
}

H6,
H4,
H2,
.h6,
.h4,
.h2 {
  color: #000000;
}

H5,
H3,
H1,
.h5,
.h3,
.h1 {
  color: #b80000;
}

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

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

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

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

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

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

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

/* ---------------------------------------------- aktuelles ---------------------------------------------- */

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

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

#aktuelles h2 {
  margin: 0;
}

#aktuelles h2 {
  text-transform: uppercase;
  color: #fff;
}

#aktuelles h2 span {
  color: #fff;
  text-transform: none;
  display: block;
  text-transform: none;
}

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

@media (min-width: 768px) {
  #aktuelles .tab_link {
    margin-top: 25px;
  }
  #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;
  -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: grey;
  background: url("../img/aktuelles-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;
}

#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: #b80000;
  color: #ffffff;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}

#aktuelles .tab_link_title a {
  color: #b80000;
  font-weight: 600;
  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(124, 0, 0, 0.8), rgba(124, 0, 0, 1) 150px);
  z-index: 1;
  color: #ffffff;
  text-align: center;
  font-size: 0;
  font-weight: 600;
  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;
  text-decoration: none;
  -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,
#aktuelles .tab_link_entry:focus 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 .tab_link_mehr {
  margin-top: 30px;
}

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

#news .tab,
#eventsBG {
  background-color: #f7f7f7;
  overflow: hidden;
}

.mainhr .hrstyle,
.mainhr hr {
  background-color: #b80000 !important;
  height: 2px !important;
  opacity: 1 !important;
  margin-top: 15px !important;
}

#events h2 {
  text-transform: uppercase;
  color: #000000;
  margin-bottom: 35px;
}

#events h2 span {
  color: #000000;
  text-transform: none;
  display: block;
  text-transform: none;
  margin-top: 8px;
}

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

#news .tabHeadline,
#events .tabHeadline {
  color: #000;
  margin: 0 0 20px 0;
}

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

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

#news .tabHeadline::after,
#events .tabHeadline::after {
  display: none;
}

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

#news .tab_link_title a,
#events .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,
  #events .tab_link_entries {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

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

#events {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f7f7f7;
}

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

#events .tab_link_entry {
  color: #000;
  padding: 30px;
  border: none !important;
}

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

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

#events .tab_link_title a {
  color: #000;
}

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

@media (max-width: 767px) {
  #events .tab_link_entry:nth-child(3n + 1) {
    background: rgba(0, 0, 0, 0.1);
  }
  #events .tab_link_entry:nth-child(3n + 2) {
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 768px) {
  #events .tab_link_entry:nth-child(6n + 1),
  #events .tab_link_entry:nth-child(6n + 5),
  #events .tab_link_entry:nth-child(6n + 3) {
    background: rgba(0, 0, 0, 0.1);
  }
  #events .tab_link_entry:nth-child(6n + 4) {
    background: rgba(255, 255, 255, 0.1);
  }
}

/* ----------------------------------------------- footerImg ----------------------------------------------- */

#footerImg {
  height: 780px;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
}

#footerImg::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 159px;
  left: 0;
  right: 0;
  top: 0;
  pointer-events: none;
  background: url(../img/welle.png) no-repeat;
}

#footerImg::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 161px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: url(../img/welle1.png) no-repeat;
}

@media (max-width: 991px) {
  #footerImg {
    height: 400px;
  }
}

/* ----------------------------------------------- infos ----------------------------------------------- */

#infos {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #f7f7f7;
  font-size: 1.125rem;
}

#infos .tab {
  padding-left: 5px;
  padding-right: 5px;
}

#infos .tabHeadline {
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  font-size: 1.375rem;
  margin-bottom: 25px;
}

#newsletterInputs {
  height: 42px;
  background: url(../img/pfeil.png) center right 40px no-repeat #b80000;
  border-radius: 3px;
  display: block;
  position: relative;
  margin-top: 25px;
}

#newsletter_input {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  text-transform: uppercase;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 42px;
  width: 100%;
}

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

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

#newsletter_input::-moz-placeholder {
  opacity: 1;
}

#newsletter_input:-moz-placeholder {
  opacity: 1;
}

@media (max-width: 772px) {
  .border {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  .counter {
    margin-top: 20px;
  }
}

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

#footer {
  background-color: #b80000;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #ffffff;
  font-size: 1rem;
}

#footer a {
  color: #ffffff;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

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

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

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

#footer #vernetzt {
  text-decoration: none;
}

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

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

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

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

/* --------------------------------------------- kontrast -------------------------------------------- */

#headerTabs .tab #headline.contrast_dark_font {
  color: #fff !important;
}

#content .tabHeadline.contrast_dark_font {
  background: #fff url("../img/icon-tab1.png") center left no-repeat;
}

#search_input .contrast_light_font {
  color: #000;
}

#contrast_style button {
  padding: 0;
  border: none;
  color: #444;
  display: inline-block;
  width: 29px;
  height: 29px;
  font-weight: 700;
  text-align: center;
  background: #fff;
  position: relative;
  line-height: 1;
}

#contrast_style button {
  padding: 2px 0 0 0;
}

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