@import url("https://fonts.verwaltungsportal.de/css/?family=Merriweather:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i");

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

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

a {
  color: #b74734;
}

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

b,
strong {
  font-weight: 600;
}

@media (min-width: 1600px) {

  .row,
  .compact,
  ._op-container .container {
    max-width: 1600px;
    width: 100%;
  }
}

#overflow {
  overflow: hidden;
}

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

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

@media (min-width: 992px) {
  #logo {
    position: absolute;
    left: 0;
    top: -52px;
    z-index: 8;
  }
}

#logo img {
  display: block;
}

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

#topbar {
  padding-top: 30px;
  padding-bottom: 30px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  background: url("../img/topbar.png") no-repeat left bottom;
  background-size: contain;
}



/* ------------------------------------------------- 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) {
  #burgerButton {
    font-size: 0;
    border: none !important;
    position: absolute;
    z-index: 1002;
    display: block;
    width: 46px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
    right: 15px;
    top: 50%;
    margin-top: -20px;
  }

  #burgerButtonInner2,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #0c5c82;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 3px;
    -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: 10px;
  }

  #burgerButtonInner2 {
    top: 18px;
  }

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

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

  .navbar-collapse {
    top: 70px;
    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 {
    height: 70px;
    line-height: 1;
    border-radius: 2px;
    padding: 10px 15px;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 101;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
  }

  .navbar-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 70px;
    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: 70px;
  }
}

@media (max-width: 575px) {
  .navbar-collapse {
    width: calc(100% - 70px);
  }
}

@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) {
  #myNavbar {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }

  nav {
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    border-radius: 20px;
  }

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

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

  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
    display: block;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #444444;
  font-weight: 600;
  text-align: left;
  padding: 8px 15px 8px 15px;
  position: relative;
  font-size: 1.375rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
}

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

@media (min-width: 1200px) {
  .navbar-default .navbar-nav>li>a {
    padding: 13px 28px;
  }
}

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

.navbar-default .navbar-nav>li+li {
  border-top: 1px solid #dbe2e1;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>a.dropdown-toggle::after {
    content: "+";
    position: absolute;
    display: block;
    right: 10px;
    top: 50%;
    margin-top: -14px;
    font-variant: normal;
    font-weight: 400;
  }
}

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

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a,
.navbar-default .navbar-nav>li.open>a:hover,
.navbar-default .navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
  color: #0c5c82;
}

.navbar-nav>li:focus-within>a {
  color: #0c5c82;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu {
  border-top: 1px solid #dbe2e1;
  padding: 12px 0 12px 14px;
  position: relative;
}

@media (min-width: 1200px) {
  .navbar-default .navbar-nav>li>.dropdown-menu {
    padding-left: 30px;
  }
}

.navbar-default .navbar-nav>li>.dropdown-menu::after {
  content: "";
  display: block;
  position: absolute;
  top: 28px;
  left: 20px;
  bottom: 28px;
  width: 1px;
  background: #dbe2e1;
}

@media (min-width: 1200px) {
  .navbar-default .navbar-nav>li>.dropdown-menu::after {
    left: 35px;
  }
}

.navbar-nav li[class*="_over"]>.dropdown-menu,
.navbar-nav li[class*="open"]>.dropdown-menu {
  display: block !important;
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
  padding: 9px 15px 9px 30px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  padding: 7px 15px 7px 45px;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #0c5c82;
  -webkit-transition: background 300ms linear;
  -moz-transition: background 300ms linear;
  -ms-transition: background 300ms linear;
  -o-transition: background 300ms linear;
  transition: background 300ms linear;
}

/* ------------------------------------------ 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>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 {
  color: #b74734;
}

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

.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 {
  background: #b74734;
  border: 1px solid #b74734;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before {
  background: #b74734;
  border: 1px solid #b74734;
}

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

#headerpic {
  min-height: 600px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.index #headerpic {
  min-height: 735px;
}

@media (min-width: 992px) {
  #headerpic>.row {
    position: absolute;
    bottom: -145px;
    left: 0;
    right: 0;
  }
}

/*-- Banner arrows --*/

#headerpic .slider-wrapper .nivo-control.active::after {
  width: 20px;
}

#headerpic .slider-wrapper .nivo-directionNav a {
  background: #fff;
  font-size: 0px;
  height: 50px;
  left: unset;
  opacity: 1;
  position: absolute;
  text-indent: unset;
  top: unset;
  width: 50px;
}

#headerpic .slider-wrapper .nivo-directionNav a::after {
  color: #0c5c82;
  content: "\2039";
  font-size: 50px;
  font-weight: 400;
  height: 21px;
  line-height: 12px;
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  transition: all, 250ms;
  width: 15px;
  color: #004261;
}

#headerpic .nivo-prevNav::after {
  color: #0c5c82 !important;
}

#headerpic .slider-wrapper .nivo-directionNav a.nivo-nextNav::after {
  content: "\203A";
}

#headerpic .slider-wrapper .nivo-directionNav a.nivo-nextNav {
  background: #ccdc65;
  left: unset;
}

#headerpic .slider-wrapper .nivo-directionNav a:hover::after {
  color: #004261;
}

#headerpic a.nivo-nextNav,
#headerpic a.nivo-prevNav {
  right: 0;
  bottom: 0;
  top: unset;
  background-image: unset;
  padding: 25px;
  opacity: 1;
}

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

/*--banner dots --*/

#headerpic .theme-default .nivo-controlNav a {
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  position: relative;
}

#headerpic .theme-default .nivo-controlNav a::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: 0;
  margin-top: 0;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: #ffffff;
  -webkit-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
  -moz-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
  -ms-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
  -o-transition: width 200ms linear, height 200ms linear, margin 200ms linear;
  transition: width 200ms linear, height 200ms linear, margin 200ms linear;
}

#headerpic .theme-default .nivo-controlNav a.active::after,
#headerpic .theme-default .nivo-controlNav a:hover::after,
#headerpic .theme-default .nivo-controlNav a:focus::after {
  margin-top: -7px;
  margin-left: -7px;
  width: 100%;
  height: 100%;
}

#headerpic .theme-default .nivo-controlNav a+a {
  margin-left: 5px;
}

@media (min-width: 992px) {
  #headerpic .theme-default .nivo-controlNav a+a {
    margin-top: 10px;
  }
}

#headerpic .theme-default .nivo-controlNav {
  z-index: 60;
  font-size: 0;
  bottom: 10px;
  left: 10px;
  display: flex;
  flex-direction: row;
  align-items: start;
  width: 60%;
}

@media (min-width: 992px) {
  #headerpic .theme-default .nivo-controlNav {
    z-index: 60;
    font-size: 0;
    bottom: 100px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 100%;
    left: unset;
  }
}

/*-- BannerOverlay + overlay --*/

#bannerOverlay {
  position: relative;
  z-index: 9;
  bottom: 0;
}

@media (max-width: 991px) {
  #bannerOverlay {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
  }
}

#bannerOverlay>.row {
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  color: #444444;
  font-size: 1rem;
  border-radius: 20px;
}

#bannerOverlay a {
  color: #0c5c82;
}

#bannerOverlay .tab {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  position: relative;
  padding: 25px;
}

.link a {
  font-style: italic;
  text-decoration: underline;
}

#bannerOverlay .tabHeadline {
  font-family: "Merriweather";
  font-size: 1.125rem;
  color: #0c5c82;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 30px;
}

#bannerOverlay .tab::before {
  display: block;
  position: absolute;
  content: "";
  background: url("../img/kontakt-icon.png") no-repeat;
  background-position: center;
  width: 40px;
  height: 48px;
  top: -20px;
  left: calc(50% - 20px);
  z-index: 1;
}

#bannerOverlay>.row>.col-xs-12:nth-child(2)>.tab::before {
  background: url("../img/adresse-icon.png") no-repeat;
  width: 48px;
  height: 48px;
  left: calc(50% - 24px);
  background-position: center;
}

#bannerOverlay .tab::after {
  display: block;
  position: absolute;
  content: "";
  background-color: #004261;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  top: -37px;
  left: calc(50% - 40px);
  z-index: 0;
  border: 5px solid #fff;
}

@media (min-width: 992px) {
  #bannerOverlay>.row>.col-xs-12:nth-child(1)::before {
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    top: 15px;
    bottom: 15px;
    right: 0;
    background-color: #e5e5e5;
  }
}

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

  #bannerOverlay .tab {
    padding-top: 75px;
  }

  #bannerOverlay .tab::before {
    top: 30px;
  }

  #bannerOverlay .tab::after {
    top: 13px;
  }
}

/*-- map --*/

#map {
  position: relative;
  right: 0;
}

#map>.template-page,
#map>.template-page>.row,
#map>.template-page>.row>.col-xs-12,
#map>.template-page>.row>.col-xs-12>.tiny_p {
  position: static;
}

#map iframe,
#map .iframe-wrapper-manual-enabling {
  max-height: 275px;
  left: 15px;
  right: 15px;
  width: 100%;
}

@media (min-width: 992px) {

  #map iframe,
  #map .iframe-wrapper-manual-enabling {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
  }
}

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

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

@media (min-width: 992px) {
  #content {
    padding-bottom: 80px;
    padding-top: 40px;
    margin-top: 180px;
  }
}

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

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

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

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

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

#aktuelles .tabHeadline {
  margin-bottom: 0;
  color: #0c5c82;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 5px;
}

@media (min-width: 992px) {
  #aktuelles .tabHeadline {
    font-size: 3.125rem;
    margin: 0 65px;
  }
}

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

@media (min-width: 992px) {
  #aktuelles .tabContent {
    font-size: 1.25rem;
    color: #444444;
    margin: 0 65px;
  }
}

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

@media (min-width: 992px) {
  #aktuelles .tab_link {
    margin: 0 65px;
  }
}

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

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

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

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

#aktuelles .tab_link_entry {
  border-bottom: none !important;
  text-align: center;
  position: relative;
  background: #ffffff;
  width: 100%;
  padding: 165px 20px 20px 20px;
  -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/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: #b74734;
  color: #fff;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  font-style: italic;
}

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

#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(0, 66, 97, 0.8), rgba(0, 66, 97, 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;
  -webkit-transition: opacity 200ms linear;
  -moz-transition: opacity 200ms linear;
  -ms-transition: opacity 200ms linear;
  -o-transition: opacity 200ms linear;
  transition: opacity 200ms linear;
}

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

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

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

#aktuelles a:hover,
#aktuelles a:focus {
  text-decoration: none;
}

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

#aktuelles .tab_link_mehr {
  color: transparent;
  font-size: 0;
  text-align: right;
  margin-top: 30px;
}

@media (min-width: 992px) {
  #aktuelles .tab_link_mehr {
    margin-right: 65px;
  }
}

#aktuelles .tab_link_mehr a {
  background: #b74734;
  font-weight: 700;
  color: #fff;
  padding: 15px 35px 15px 20px;
  position: relative;
  text-decoration: none;
  display: inline-block;
  font-family: "Merriweather";
}

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

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

#aktuelles .tab_link_mehr a:hover,
#aktuelles .tab_link_mehr a:focus {
  background: #fff;
  color: #b74734;
}

/* ------------------------------------------ 7tab tabArea ----------------------------------------- */

#tabs {
  padding-top: 40px;
  padding-bottom: 50px;
  background: #fff;
  position: relative;
  z-index: 1;
}

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

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

#tabs .tab {
  padding: 30px;
  background: #ffffff;
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 100%;
}

@media (min-width: 992px) {
  #tabs .tab {
    padding: 20px 30px 60px 30px;
  }
}

#tabs .info {
  color: #444444;
  margin-bottom: 24px;
}

#tabs .info .tabHeadline {
  color: #0c5c82;
  font-size: 1.875rem;
  font-family: "Merriweather";
  margin-bottom: 24px;
  font-weight: 700;
  position: relative;
}

#tabs .tab .tabHeadline {
  color: #444444;
  font-size: 1.5625rem;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  font-family: "Merriweather";
}

@media (min-width: 768px) {
  #tabs .tab .tabHeadline {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  #tabs .tab .tabHeadline {
    margin-bottom: 20px;
  }
}

#tabs .tab .tabHeadline::before,
#tabs .tab .tabHeadline::after {
  content: "";
  display: block;
}

#tabs .tab .tabHeadline::before {
  height: 78px;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 25px;
}

@media (min-width: 768px) {
  #tabs .tab .tabHeadline::before {
    margin-bottom: 52px;
  }
}

#tabs .tab .tabHeadline::after {
  width: 59px;
  position: absolute;
  top: 94px;
  left: 50%;
  margin-left: -30px;
}

#tabs>.row>div:nth-child(1) .tab .tabHeadline::before {
  background-image: url("../img/honigglas.png");
  /*Replace url with ("../img/YOUR-IMAGE.png")*/
}

#tabs>.row>div:nth-child(1) .tab .tabHeadline::after {
  border-bottom: 5px solid #b74734;
}

#tabs>.row>div:nth-child(2) .tab .tabHeadline::before {
  background-image: url("../img/honig.png");
  /*Replace url with ("../img/YOUR-IMAGE.png")*/
}

#tabs>.row>div:nth-child(2) .tab .tabHeadline::after {
  border-bottom: 5px solid #b74734;
}

#tabs>.row>div:nth-child(3) .tab .tabHeadline::before {
  background-image: url("../img/haus.png");
  /*Replace url with ("../img/YOUR-IMAGE.png")*/
}

#tabs>.row>div:nth-child(3) .tab .tabHeadline::after {
  border-bottom: 5px solid #b74734;
}

#tabs>.row>div:nth-child(4) .tab .tabHeadline::before {
  background-image: url("../img/honigwabe.png");
  /*Replace url with ("../img/YOUR-IMAGE.png")*/
}

#tabs>.row>div:nth-child(4) .tab .tabHeadline::after {
  border-bottom: 5px solid #b74734;
}



/* ------------------------------------------------ galerie ----------------------------------------------- */

#galerieWrapper {
   display: grid;
   grid-template-columns: 25% 25% 16% 34%;
   grid-template-rows: 36% 24% 40%;
  height: 570px;
}

#galerieWrapper .banner,
#galerieWrapper .nivoSlider{
  height: 100% !important;
}

#galerieWrapper .banner > img,
#galerieWrapper .nivo-main-image,
#galerieWrapper .nivoSlider img {
  object-fit: cover;
  object-position: center;
  width: 100% !important;
  height: 100% !important;
}

#galerieWrapper .nivo-directionNav .nivo-prevNav{
  left: 30px;
}

#galerieWrapper .nivo-directionNav .nivo-nextNav{
  right: 30px;
}


#galerieWrapper .tabHeadline {
  color: #0c5c82;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-weight: bold;
  text-transform: uppercase;
}

#galerieWrapper .galerieFive {
  background: #ffffff;
  z-index: 12;
  position: relative;
  padding: 20px;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  transform: scale(1.08);
  padding-top: 55px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

#galerieWrapper .galerieFive .tabHeadline,
#galerieWrapper .galerieFive .template-page {
  transform: scale(0.92);
  -moz-transform: scale(0.92);
  -o-transform: scale(0.92);
  -ms-transform: scale(0.92);
}



#galerieWrapper .slider,
#galerieWrapper .slider-wrapper{
   height: 100% !important;
   width: auto !important;
}

.galerieOne {
   grid-column: 1/2;
   grid-row: 1/4;
}

.galerieTwo {
   grid-column: 2/3;
   grid-row: 1/3;
}

.galerieThree {
   grid-column: 2/3;
   grid-row: 3/4;
}

.galerieFour {
   grid-column: 3/4;
   grid-row: 1/2;
}
.galerieFive {
  grid-column: 3/4;
  grid-row: 2/4;
}

@media (min-width: 1200px) and (max-width: 1600px){
  .galerieSix,
  .galerieFour{
    display: none;
  }

  .galerieFive {
    grid-column: 3/5;
    grid-row: 1/4;
  }
}

@media (max-width: 1199px) {
   .galerieFour {
      grid-column: 3/5;
      grid-row: 1/2;
   }

   .galerieFive {
      grid-column: 3/5;
      grid-row: 2/4;
   }
}

@media (max-width: 991px) {
   .galerieTwo {
      grid-column: 1/3;
      grid-row: 1/3;
   }

   .galerieThree {
      grid-column: 1/3;
      grid-row: 3/4;
   }
}

@media (max-width: 575px) {
   .galerieFour {
      grid-column: 1/5;
      grid-row: 1/2;
   }

   .galerieFive {
      grid-column: 1/5;
      grid-row: 2/4;
   }
}

.galerieSix {
   grid-column: 4/5;
   grid-row: 1/4;
}

.galbox {
   overflow: hidden;
}

#link {
  margin-bottom: -30px;
}

@media (min-width: 992px) {
  #link a {
    margin-left: 180px;
  }
}

#link a {
  font-weight: bold;
  font-style: normal;
  display: inline-block;
  padding: 15px 25px;
  padding-right: 35px;
  background: #b74734;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  margin-top: 0px;
  margin-bottom: 0px;
  position: relative;
  top: 0;
  z-index: 12;
  font-size: 1.375rem;
  color: #fff;
  text-decoration: none;
  font-family: "Merriweather";
  border-radius: 50px;
}

#link a::before {
  display: block;
  position: absolute;
  content: "»";
  right: 15px;
  top: 24%;
}
/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #0c5c82;
  font-weight: bold;
  line-height: 1.2;
  font-family: "Merriweather", sans-serif;
}

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

@media (min-width: 768px) {

  h1,
  .h1,
  .legacy_h1 {
    font-size: 48px;
  }
}

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

@media (min-width: 768px) {

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

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

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

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

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

#newslinks,
#newsmandate {
  border: 1px solid #0c5c82;
}

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

footer {
  background: #0c5c82 url("../img/footer.png") no-repeat right bottom;
  color: #ffffff;
  font-size: 1rem;
  padding-bottom: 40px;
  padding-top: 40px;
}

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

@media (max-width: 767px) {
  #innerfooter {
    margin-bottom: 30px;
  }
}

#innerfooter ul {
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding: 0;
}

#innerfooter li {
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

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

#innerfooter a::before {
  -moz-transition: background 300ms linear;
  -ms-transition: background 300ms linear;
  -o-transition: background 300ms linear;
  -webkit-transition: background 300ms linear;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  content: "";
  display: block;
  height: 6px;
  left: 10px;
  position: absolute;
  top: 16px;
  transition: background 300ms linear;
  width: 6px;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
  background: #ffffff;
}

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

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

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

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

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

#counter {
  padding: 15px;
  color: #fff;
  font-size: 1rem;
  border: 1px solid #fff;
  text-align: center;
  border-radius: 30px;
}

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

#counter-l, #counter-r {
  display: inline-block;
}