@import url("https://fonts.verwaltungsportal.de/import/?family=Nunito:400,400i,600,600i,900,900i%7CPatrick+Hand:400");

body {
  font-family: "Nunito", sans-serif;
  color: #444444;
  background: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
}

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

a {
  color: #bc4b51;
}

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

b,
strong {
  font-weight: 600;
}

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

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

#topbar {
  padding: 5px 0;
  border-top: solid #017998 6px;
  background: url("../img/buch.png") center right 60px no-repeat;
}

#topbar::before {
  content: "";
  display: inline-block;
  position: absolute;
  background: url("../img/papierflieger.png") no-repeat left;
  height: 159px;
  width: 339px;
  top: 12px;
}

@media (max-width: 991px) {
  #topbar::before {
    top: -8px;
  }

  #topbar {
    padding: 10px 0 15px 0;
  }
}

.tabOrt,
.tabKontakt {
  font-size: 15px;
  color: #444444;
  position: relative;
  padding-left: 50px;
  margin-top: 15px;
}

.tabOrt::before {
  content: "";
  display: inline-block;
  height: 48px;
  width: 32px;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
}

.tabKontakt::before {
  content: "";
  display: inline-block;
  height: 39px;
  width: 39px;
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
}

.tabOrt::before {
  background-image: url(../img/icon-adresse.png);
}

.tabKontakt::before {
  background-image: url(../img/icon-telefon.png);
}

@media (min-width: 992px) {
  .tabKontakt {
    padding-left: 60px;
  }

  .tabKontakt::before {
    left: 10px;
  }

  .tabOrt,
  .tabKontakt {
    margin-left: 15px;
    margin-top: 0px;
  }
}

@media (max-width: 575px) {
  .tabOrt,
  .tabKontakt,
  .tabOrt :is(h1, h2, h3, h4, h5, h6, a),
  .tabKontakt :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
  }

  .tabOrt a,
  .tabKontakt a {
    text-decoration: underline;
  }

  .tabOrt::before,
  .tabKontakt::before {
    border-radius: 50%;
    background-color: #fff;
  }

  .tabOrt::before {
    background-size: 18px auto;
    width: 39px;
    height: 39px;
  }

  .tabKontakt::before {
    background-size: 21px auto;
    background-color: #fff;
  }
}

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

#logo {
  display: inline-block;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-top: 6px solid #017998;
  margin-top: -11px;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: 210px;
    width: 100%;
    z-index: 10;
    position: relative;
  }

  #logo{
    margin-bottom: 0px;
    margin-top: 0px;
  }
}

@media (min-width: 575px) and (max-width: 767px) {
  #logo {
    position: absolute;
    margin-bottom: 0px;
    margin-top: 0px;
  }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    border: none !important;
    position: relative;
    z-index: 1002;
    display: block;
    width: 46px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
  }
  #burgerButton:before,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #006480;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 2px;
    -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"]:before {
    opacity: 0;
  }
  #burgerButton[aria-expanded="true"]:after {
    -webkit-transform: rotate(45deg) translate(-4px, -6px);
    transform: rotate(45deg) translate(-4px, -6px);
  }
  #burgerButtonInner {
    top: 10px;
  }
  #burgerButton:before {
    top: 18px;
  }
  #burgerButton:after {
    top: 26px;
  }
  #burgerButton:before,
  #burgerButton:after {
    content: "";
    display: block;
  }
  .navbar-nav {
    margin: 20px 0;
  }
  .navbar-collapse {
    top: 0;
    background: #007d9e;
    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.collapse.in {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-header {
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    background-color: #ffffff;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
    -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);
  }
  .navbar-collapse.in:after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    display: block;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    -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 .navbar-nav > li {
    flex-grow: 1;
  }
  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;
  }

  /* Fade in Hover Start */
  .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;
  }

  /* Pseudo */

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

  /* 3rd */

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

  /* Fade in Hover End */
}

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

.horizontally {
  background-color: rgb(0, 125, 158, 0.9);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 12;
}

.navbar-default .navbar-nav > li > a {
  color: #ffffff;
  font-family: "Patrick Hand", cursive;
  font-size: 1.375rem;
  text-align: center;
  padding: 12px 35px 15px 35px;
  position: relative;
  line-height: 1.2;
  text-decoration: none;
  hyphens: auto;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li + li {
    margin-left: 20px;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 27px 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: 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: 20px;
  height: 9px;
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -9px;
  bottom: 0px;
  border-top-left-radius: 90px;
  border-top-right-radius: 90px;
  background-color: #ffffff;
  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;
}

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

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background-color: #f4f4f4;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu {
    left: 50%;
    transform: translate(-50%);
  }

  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -35px;
    margin-left: 15px;
  }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default
  .navbar-nav
  > li
  > .dropdown-menu
  > li
  > .dropdown-menu
  > li
  > a {
  color: #444444;
  font-weight: 400;
  text-align: center;
  padding: 9px 25px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  hyphens: auto;
}

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

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li: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: #fdcf17;
  color: #444444;
}

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

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

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

@media (min-width: 992px) {
  body.index #slider {
    max-height: 730px;
  }

  #slider {
    max-height: 500px;
  }
  #headerpic a.nivo-prevNav {
    left: 65px;
  }
  #headerpic a.nivo-nextNav {
    right: 65px;
  }
}

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

@media (min-width: 768px) {
  #headerpic::before {
    content: "";
    display: block;
    position: absolute;
    background: url(../img/banner-overlay.png) bottom center no-repeat;
    width: 1920px;
    height: 110px;
    z-index: 10;
    bottom: -69px;
  }
}

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

.slider-mask {
  display: none;
}

@media (min-width: 768px) {
  .theme-default .nivo-controlNav {
    bottom: 150px !important;
    z-index: 8 !important;
  }
}

@media (max-width: 767px) {
  .theme-default .nivo-controlNav {
    bottom: 60px !important;
    z-index: 8 !important;
  }
}

@media (max-width: 429px) {
  .theme-default .nivo-controlNav {
    bottom: 5px !important;
  }
}

/* ------------------------------------------------ dreiButtons ----------------------------------------------- */

#dreiButtons {
  position: relative;
  z-index: 10 !important;
}

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

@media (max-width: 767px) {
  #dreiButtons {
    margin-top: 0px;
  }
}

.dreiButtonTab {
  background: #ffffff;
  padding: 30px 30px 70px 30px;
  margin: -90px -30px 0px -30px;
  font-family: "Patrick Hand", cursive;
  font-size: clamp(1.25rem, 2.2vw, 2.1875rem);
}

@media (max-width: 767px) {
  .dreiButtonTab {
    margin: -30px;
    background: none;
  }
}

@media (max-width: 429px) {
  .dreiButtonTab {
    margin: 80px 0px 20px 0px;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .dreiButtonTab::before {
    content: "";
    display: block;
    position: absolute;
    background: url(../img/bg-btns-grey.png) no-repeat;
    width: 77px;
    top: -67px;
    left: -92px;
    bottom: -48px;
  }

  .dreiButtonTab::after {
    content: "";
    display: block;
    position: absolute;
    background: url(../img/bg-btns-grey2.png) no-repeat;
    width: 77px;
    top: -67px;
    right: -92px;
    bottom: -48px;
  }
}

.dreiButtonTab .has-image {
  background-color: #007d9e;
  display: block;
  width: 124px;
  margin: auto;
  height: 124px;
  border-radius: 50%;
  position: relative;
}

.dreiButtonTab .has-image::before {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  border: 3px solid #fff;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
}

.dreiButtonTab .has-image:hover {
  background-color: #006480;
}

.dreiButtonTab .has-image:hover::before {
  border: 3px solid #fdcf17;
}

.dreiButtonTab .has-image img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 430px) and (max-width: 767px) {
  .dreiButtonTab .btgrid .col-md-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    margin-top: 0px !important;
  }
}

@media (max-width: 429px) {
  .dreiButtonTab .btgrid .col-md-4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 15px !important;
  }

  .dreiButtonTab .btgrid .col-md-4:last-of-type {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .dreiButtonTab .has-image {
    width: 100px;
    height: 100px;
  }

  .dreiButtonTab .has-image img {
    max-height: 30px;
  }
}

.dreiButtonTab .has-image:hover img {
  filter: brightness(0) saturate(100%) invert(89%) sepia(26%) saturate(2904%)
    hue-rotate(341deg) brightness(104%) contrast(105%);
}

.dreiButtonTab .has-image:hover {
  box-shadow: inset 0px 0px 10px 10px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0px 0px 10px 10px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: inset 0px 0px 10px 10px rgba(0, 0, 0, 0.15);
}

.dreiButtonTab a {
  color: #444444;
}

.dreiButtonTab a:hover {
  color: #bc4b51;
  text-decoration: none;
}

.dreiButtonTab .tabContent {
  margin-top: -90px;
}

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

@media (max-width: 991px) {
  #content {
    padding-bottom: 40px;
  }
}

main {
  text-align: left;
  padding-top: 30px;
}

@media (min-width: 992px) {
  main {
    padding-top: 0px;
  }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #166384;
  font-weight: normal;
  line-height: 1.2;
  font-family: "Patrick Hand", cursive;
}

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

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

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

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

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

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

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

@media (min-width: 768px) {
  h4,
  .h4,
  .h4link a:link,
  .h4link a:hover,
  .h4link a:focus,
  .h4link a:visited,
  .legacy_h4 {
    font-size: 1.8rem;
  }
}

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

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

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

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

#events .tab {
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  position: relative;
  background: #ffffff;
  font-size: 0.9375rem;
  color: #444444;
  border-top: 4px solid #00627d;
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  #events .tab {
    margin-top: 40px;
  }
}

#events .tab::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  position: absolute;
  top: -32px;
  left: 50%;
  margin-left: -30px;
  border-radius: 50%;
  background-color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#events .tab::before {
  background: #fff url("../img/icon-veranstaltungen.png") no-repeat center;
}

#events .tab .tab_link_title a {
  color: #444444;
  font-weight: 600;
}

#events .tab .tab_link_mandat a {
  color: #444444;
  font-weight: 600;
}

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

#events .tab .tab_link_mehr a {
  text-decoration: none;
  padding: 3px 8px 3px 8px;
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9375rem;
  background: rgba(0, 0, 0, 0.02);
  color: #bc4b51;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.15);
  text-transform: uppercase;
}

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

#events .tab .tabHeadline {
  color: #166384;
  font-size: 1.4375rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  text-align: center;
  padding-top: 45px;
}

#events .tab .eventclndr-tab {
  margin-bottom: 0;
}

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

#clr-events-hide {
  padding: 10px;
}

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

.clr-events-tab-h3 {
  font-size: 20px;
}

/* ------------------------------------------------ @13ev Veranstaltungen ----------------------------------------------- */

#news {
  position: relative;
  padding-top: 50px;
  min-height: 340px;
}

#news::before {
  content: "";
  position: absolute;
  display: block;
  background: url(../img/muster-aktuelles.png) bottom center no-repeat, #e6eceb;
  width: 1257px;
  height: 388px;
  top: 10px;
}

@media (max-width: 1257px) {
  #news::before {
    background: url(../img/muster-aktuelles.png) bottom center no-repeat,
      #e6eceb;
    background-size: cover;
    width: 1257px;
    height: 100%;
    top: 10px;
  }
}

@media (min-width: 992px) {
  #news {
    padding-top: 60px;
    padding-bottom: 10px;
    margin-top: 60px;
    z-index: 1;
  }
}

#news .tabHeadline {
  font-size: clamp(2.5rem, 3vw, 3.125rem);
  color: #166384;
  margin-bottom: 40px;
}

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

#news .tab_link_entry {
  background: #ffffff;
  color: #444444;
  width: 100%;
  padding: 30px 25px;
  box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

#news .tab_link_title a {
  color: #444444;
  font-weight: 700;
  font-size: 20px;
}

#news .tab_link_mandat a {
  color: #444444;
}

#news .tab_link_mehr {
  margin-top: 30px;
  color: transparent;
  font-size: 0;
}

#news .tab_link_mehr a {
  color: #bc4b51;
  display: inline-block;
  font-weight: 400;
  font-family: "Patrick Hand", cursive;
  margin-bottom: 20px;
  font-size: 1.875rem;
}

@media (min-width: 992px) {
  #news .tab_link_mehr a {
    position: absolute;
    right: 100px;
    top: -80px;
  }
}

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

footer {
  background-color: #006480;
  color: #ffffff;
  font-size: 1rem;
  padding-top: 80px;
  position: relative;
}

@media (max-width: 991px) {
  footer {
    padding-top: 40px;
  }
}

@media (min-width: 1750px) {
  footer::before {
    content: "";
    display: block;
    position: absolute;
    background: url(../img/schulzeug.png) no-repeat left;
    width: 242px;
    height: 393px;
    top: -145px;
    right: 1615px;
    z-index: 2;
  }
}

footer a {
  color: #ffffff;
}

footer a:hover,
footer a:focus {
  color: #ffffff;
}

footer .tab {
  font-size: 1rem;
}

footer .tabHeadline {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 700;
}

/* ---------------------------------- footerTab --------------------------------- */

.footerTab {
  padding: 30px 30px 15px 30px;
}

@media (max-width: 991px) {
  .footerTab {
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  footer > .row > div + div {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.footerTab .tabHeadline {
  color: #fdcf17;
  font-family: "Patrick Hand", cursive;
  font-size: 1.875rem;
  font-weight: 400;
}

.footerTab .tabContent {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
}

.footerTab .tabContent a {
  color: #fdcf17;
  font-weight: 700;
}

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

#vernetzt {
  text-align: right;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  text-decoration: none;
  margin-bottom: 20px;
}

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

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

#vernetzt span b {
  color: #fdcf17;
  font-family: "Patrick Hand", cursive;
  font-size: 1rem;
  font-weight: 400;
}

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

.fusszeile {
  background: #007d9e;
  margin-top: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}

@media (min-width: 1200px) {
  .fusszeile {
    margin-top: 35px;
  }
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  padding: 6px 10px 6px 10px;
  position: relative;
  text-decoration: none;
}

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

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

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