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

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

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

a {
  color: #1e5134;
}

a:hover,
a:focus,
#contentBox a {
  color: #1e5134;
  text-decoration: underline;
}

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

/* ----------------------------------------------- contact ----------------------------------------------- */

.contact {
  background-color: #1e5134;
  color: #ffffff;
  font-size: 0.75rem;
  padding-top: 6px;
  padding-bottom: 6px;
  font-weight: 500;
}

@media (max-width: 991px) {
  #menu .contact {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 0.875rem;
  }

  #menu .contact p+p {
    margin-top: 8px;
  }

  #menu {
    border-bottom: 5px solid #1e5134;
    background-color: #ffffff;
  }
}

.contact a {
  color: #ffffff;
  text-decoration: underline;
}

.contact b,
.contact strong {
  font-weight: 600;
}

.contact p {
  margin: 0;
  display: inline-block;
}

.contact p+p {
  margin-left: 15px;
}

@media (min-width: 992px) {
  .contact p+p {
    margin-left: 30px;
  }

  .contact {
    background-image: url("../img/mbgheader.png");
    background-position: center;
    background-repeat: no-repeat;
  }

  #menu {
    border-bottom: 50px solid #1e5134;
    background-color: #ffffff;
  }
}

.contact img {
  display: inline-block;
  margin-right: 2px;
  vertical-align: text-bottom;
}

#topbar {
  padding: 15px 0;
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

/* burgermenu for tablet */

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

  #burgerButton {
    font-size: 0;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background: #ffffff;
    border: none !important;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButtonInner2,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #1e5134;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    -webkit-transition: transform 200ms linear, opacity 200ms linear;
    -moz-transition: transform 200ms linear, opacity 200ms linear;
    -ms-transition: transform 200ms linear, opacity 200ms linear;
    -o-transition: transform 200ms linear, opacity 200ms linear;
    transition: transform 200ms linear, opacity 200ms linear;
  }

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

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

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

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButtonInner2 {
    top: 24px;
  }

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

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

  .navbar-collapse {
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-transition: left 300ms linear, opacity 300ms linear;
    -moz-transition: left 300ms linear, opacity 300ms linear;
    -ms-transition: left 300ms linear, opacity 300ms linear;
    -o-transition: left 300ms linear, opacity 300ms linear;
    transition: left 300ms linear, opacity 300ms linear;
  }

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

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

  .navbar-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: width 300ms linear, opacity 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear;
    transition: width 300ms linear, opacity 300ms linear;
  }

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

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

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

/* menu desktop */

@media (min-width: 992px) {
  body {
    overflow-x: hidden;
    position: relative;
  }

  #myNavbar {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
  }

  #myNavbar>ul {
    width: 100%;
  }

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

  nav.horizontally .navbar-nav>li {
    flex-grow: 1;
  }

  nav.horizontally .dropdown-menu {
    z-index: 1000;
  }

  nav.horizontally .navbar-nav>li>.dropdown-menu {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 50% !important;
    min-width: 1200px;
    padding-top: 0;
    padding-bottom: 0;
    column-count: 4;
    right: 0;
    margin: auto;
    transform: translate(-50%) !important;
  }

  nav.horizontally li[class*="toplevel"]>ul {
    max-height: 500px;
  }

  nav.horizontally li[class*="start"] {
    display: none !important;
  }

  nav.horizontally li[class*="toplevel"]>ul::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #1e5134;
    height: 50px;
  }

  nav.horizontally li[class*="toplevel"]>ul::before {
    content: "";
    position: absolute;
    display: block;
    height: 50px;
    left: 0;
    right: 0;
    top: -40px;
  }

  .navbar-nav .open>ul.dropdown-menu {
    position: relative;
  }

  .navbar-nav li[class*="_over"]>.dropdown-menu,
  .navbar-nav li[class*="open"]>.dropdown-menu {
    display: flex !important;
    z-index: 0;
    justify-content: center;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul * {
    pointer-events: all;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]>ul>div:nth-child(1) {
    padding-right: 25px;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:active>ul {
    z-index: 9999;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #3c4241;
  font-weight: 300;
  text-align: left;
  padding: 15px 15px;
  position: relative;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav>li>a {
    font-weight: 600;
  }

  .navbar-default .navbar-nav>li+li {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
  }

  .navbar-default .navbar-nav>li>a {
    color: #3c4241;
    padding: 10px 35px 15px 25px;
  }
}

@media (min-width: 992px) {
  .nav .open>.dropdown-menu {
    display: none;
  }

  .navbar-default .navbar-nav>li>a {
    padding: 35px 0;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: all, 250ms;
    text-align: center;
  }


  li[class*="secondlevel"] {
    position: relative;
  }

  nav.horizontally li[class*="toplevel"]>ul>li>ul {
    position: absolute !important;
    top: 100%;
    left: 2px;
    z-index: 1000;
    background-color: #1e5134;
    display: block !important;
    margin-top: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all, 300ms;
  }

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

  nav.horizontally li[class*="toplevel"]>ul>li:focus-within>ul,
  nav.horizontally li[class*="toplevel"]>ul>li:focus>ul,
  nav.horizontally li[class*="toplevel"]>ul>li:hover>ul {
    opacity: 1;
    pointer-events: all;
  }

  nav.horizontally li[class*="thirdlevel"]>a {
    display: block;
    width: 100%;
    margin: 0px;
    pointer-events: none;
    padding: 8px 35px 8px 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: "";
  width: 0;
  height: 4px;
  display: block;
  position: absolute;
  left: 0;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  bottom: 20px;
  background-color: #d0d0d0;
  opacity: 0;
  -webkit-transition: opacity 300ms linear, width 300ms linear;
  -moz-transition: opacity 300ms linear, width 300ms linear;
  -ms-transition: opacity 300ms linear, width 300ms linear;
  -o-transition: opacity 300ms linear, width 300ms linear;
  transition: opacity 300ms linear, width 300ms linear;
}

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

@media (max-width: 991px) {
  .navbar-default .navbar-nav>li>a::before {
    height: 2px;
    bottom: 45px;
  }
}

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

@media (min-width: 992px) {

  .navbar-default li[class*="toplevel"]:hover>a,
  .navbar-default li[class*="toplevel"]>a:hover,
  .navbar-default li[class*="toplevel"]>a:focus,
  .navbar-default li[class*="toplevel"].open>a,
  .navbar-default li[class*="toplevel"].open>a:hover,
  .navbar-default li[class*="toplevel"].open>a:focus,
  .navbar-default li[class*="toplevel"][class$="_over"]>a,
  .navbar-default li[class*="toplevel"][class$="_over"]>a:hover,
  .navbar-default li[class*="toplevel"][class$="_over"]>a:focus {
    color: #3c4241;
  }

  .navbar-default li[class*="toplevel"]:focus-within>a {
    color: #3c4241;
  }

  .navbar-default li[class*="thirdlevel"].open>a,
  .navbar-default li[class*="thirdlevel"].open>a:hover,
  .navbar-default li[class*="thirdlevel"].open>a:focus,
  .navbar-default li[class*="thirdlevel"][class$="_over"]>a,
  .navbar-default li[class*="thirdlevel"][class$="_over"]>a:hover,
  .navbar-default li[class*="thirdlevel"][class$="_over"]>a:focus,
  nav.horizontally li[class*="thirdlevel"]:hover>a,
  nav.horizontally li[class*="thirdlevel"]:focus>a,
  nav.horizontally li[class*="thirdlevel"]:focus-within>a {
    background-color: rgba(255, 255, 255, 0.1);
  }
}


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

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





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

.navbar-default .navbar-nav li[class*="secondlevel"]>a,
.navbar-default .navbar-nav li[class*="thirdlevel"]>a {
  color: #ffffff;
  font-weight: 300;
  text-align: left;
  padding: 12px 30px 12px 30px;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}



@media (min-width: 992px) {

  .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    padding-left: 25px;
  }

  .navbar-default .navbar-nav li[class*="secondlevel"]>a {
    border-left: 1px solid #ffffff;
  }

  .navbar-default .navbar-nav li[class*="secondlevel"]:first-child>a,
  .navbar-default .navbar-nav li[class*="secondlevel"]:nth-child(2)>a {
    border-left: none;
  }

  .navbar-default .navbar-nav li[class*="secondlevel"]>a {
    padding: 1px 30px 1px 30px;
    margin: 14px 0;
  }
}


@media (max-width: 991px) {
  .navbar-default .navbar-nav li[class*="toplevel"]>.dropdown-menu {
    background: #1e5134;
  }

  .navbar-default .navbar-nav li[class*="secondlevel"]>a {
    font-size: 1rem;
  }

  .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    font-size: 1rem;
  }

  .navbar-default .navbar-nav li[class*="secondlevel"]>a,
  .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    padding: 12px 49px 12px 30px
  }

  .dropdown-toggle-button-wrapper,
  .dropdown-toggle-button-wrapper2 {
    top: 5px !important;
  }

  .navbar-default .navbar-nav li[class*="thirdlevel"]>a {
    padding-left: 40px;
  }


}

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

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

.navbar-nav li[class*="secondlevel"]:focus-within>a,
.navbar-nav li[class*="thirdlevel"]:focus-within>a {
  color: #ffffff;
  text-decoration: underline;
}

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

.buttonStyle a {
  display: inline-block;
  background: rgba(28, 28, 28, 0.2);
  border-radius: 3px;
  color: #ffffff;
  border: 1px solid #ffffff;
  font-size: 0.75rem;
  padding: 5px 20px;
  font-weight: 600;
  text-decoration: none;
  -webkit-transition: background 300ms linear, color 300ms linear, border 300ms linear;
  -moz-transition: background 300ms linear, color 300ms linear, border 300ms linear;
  -ms-transition: background 300ms linear, color 300ms linear, border 300ms linear;
  -o-transition: background 300ms linear, color 300ms linear, border 300ms linear;
  transition: background 300ms linear, color 300ms linear, border 300ms linear;
}

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

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

.buttonStyle a:hover,
.buttonStyle a:focus {
  color: #291809;
  background: #d0d0d0;
  border-color: #291809;
}

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

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

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

  body.index #slider {
    max-height: 500px;
  }

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

.slider-mask {
  display: none;
}

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

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

@media (max-width: 991px) {
  form[id^="search"] {
    margin-top: 30px;
  }
}

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

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

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
  -moz-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  -o-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

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

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

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

@media (max-width: 991px) {
  form[id^="search"] {
    margin-left: 15px;
    margin-right: 15px;
    width: 280px;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  form[id^="search"] {
    width: 250px;
  }
}

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

#eventsBG {
  border-radius: 3px;
  background-color: #1e5134;
  overflow: hidden;
}

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

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

@media (min-width: 768px) {

  #news .tabHeadline,
  #events .tabHeadline {
    margin: 0 0 25px 0;
    font-size: 2rem;
  }
}

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

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

#news {
  padding: 30px 0 40px 0;
  background-color: #f1f1f1;
}

#news .tab {
  background-image: url("../img/icon-zeitung.png");
  background-color: #1e5134;
  overflow: hidden;
  border-radius: 3px;
  padding: 30px;
  color: #ffffff;
  background-position: top 20px right 20px;
  background-repeat: no-repeat;
}

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

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

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

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

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

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

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

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

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

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

#news .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 270px;
  overflow: hidden;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

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

#news .tab_preview_picture img {
  position: absolute;
  margin: 0 !important;
  left: 50%;
  top: 50%;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  max-width: 350px;
  width: auto;
  height: auto;
  -ms-interpolation-mode: bicubic;
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

#news .tab_date {
  font-size: 0.75rem;
  font-weight: 600;
  position: absolute;
  left: -1px;
  top: 105px;
  z-index: 1;
  display: inline-block;
  padding: 6px 20px;
  background: #d0d0d0;
  color: #291809;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

#news .tab_link_title a {
  color: #1e5134;
}

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

#news .vorschau {
  display: none;
}

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

#events {
  padding: 12px 0;
}

#eventsBG .tab {
  background-image: url("../img/icon-kalender.png");
}

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

#events .tab_link_entry {
  color: #ffffff;
  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: #ffffff;
}

.tab_link_entries+div,
.tab_link_entries .tab_spacer,
.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);
  }
}

@media (min-width: 768px) {

  #events .tab_link_entry:nth-child(3n + 1),
  #events .tab_link_entry:nth-child(3n + 3) {
    background: rgba(0, 0, 0, 0.1);
  }
}

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

#content {
  background-color: #fff;
}

#contentBox {
  text-align: left;
  padding: 25px 0;
}

#tabs {
  background-color: #f1f1f1;
  padding: 25px 0;
  line-height: 0;
}

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

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

h1 em,
h1 i,
h2 em,
h2 i,
h3 em,
h3 i {
  display: inline-block;
  font-style: normal;
  font-size: 68%;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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

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

/* ------------------------------------------------ icons ----------------------------------------------- */

#icons {
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  background-color: #1e5134;
  color: #ffffff;
}

#icons a {
  display: inline-block;
  font-size: 1.125rem;
  color: inherit;
  font-weight: 600;
}

@media (min-width: 1200px) {
  #icons a {
    font-size: 1.25rem;
  }
}

#tabs .tab {
  background: #fff;
  border: 2px solid #225337;
  padding: 9px 15px 30px 15px;
  color: #225337;
  font-size: 1.25rem;
  max-width: 242px;
  margin: 0 auto;
}

#tabs .tab h2 {
  font-size: 40px;
  color: #225337;
  font-weight: 400;
  margin-top: 20px;
}

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

.footer {
  background-color: #1e5134;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 15px 0;
  color: #ffffff;
  font-size: 1rem;
}

@media (max-width: 1199px) {
  .footer {
    padding-bottom: 25px;
  }
}

@media (min-width: 1199px) {
  .footer {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.footer a {
  color: #ffffff;
}

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

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

.footerTab a,
.footerTab a {
  text-decoration: underline;
  border-radius: 3px;
  padding: 2px;
}

.footerTab a:hover,
.footerTab a:focus {
  background-color: rgba(0, 0, 0, 0.2);
}

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
  font-size: 1.375rem;
  margin: 0;
  color: #ffffff;
}

.tabwhite>.template-page>.row>div>.btgrid>.row-1>div>.content {
  background-color: #ffffff;
  padding: 20px 15px;
  color: #383838;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footerHeadline {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 400;
}

@media (min-width: 1200px) {
  footer>.row>div {
    padding-bottom: 25px;
  }

  footer>.row>div:last-child {
    padding-bottom: 0;
  }
}

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

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

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

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

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

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

@media (min-width: 1200px) {
  #innerfooter ul {
    width: 85%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .lastOne {
    margin-top: 30px;
  }
}

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

.footerEnd {
  padding: 25px 0;
}

#vernetzt {
  text-align: left;
  font-size: 12px;
  color: #ffffff;
  line-height: 1.3;
  margin: 15px auto 0 auto;
  font-weight: 400;
  text-decoration: none;
}

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

@media (max-width: 767px) {
  #vernetzt {
    margin: 15px auto 30px auto;
  }
}

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

#vernetzt img {
  margin-right: 8px;
}

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

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

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

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

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