@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:400,700,400i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Oswald:400,500,600,700,400i,500i,600i,700i");

body {
  font-family: "Source Sans Pro", sans-serif;
  color: #444444;
  background: #e5e5e5;
  font-size: 1rem;
  /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #b02a0c;
}

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


b,
strong {
  font-weight: 600;
}

@media (min-width: 992px) {

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

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

#headBar {
  padding: 0 30px;
}


#bodyWrapper {
  margin-top: 5vw;
  margin-bottom: 5vw;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
  background: #fff;
}

@media (min-width: 576px) {

  footer,
  #mainWrapper {
    padding: 0 30px;
  }
}


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

  #headBar {
    position: relative !important;
  }
}

.index #content {
  height: 0px !important;
  padding: 0px !important;
  margin: 0px !important;
}

.index #content,
.index #content * {
  visibility: hidden !important;
}

.index #content_buttons_div,
.index #content_buttons_div * {
  visibility: visible !important;
}

.big-content>*,
.big-content span {
  font-family: 'Source Sans Pro', sans-serif !important;
}

.newsticker {
  color: #52741b;
  font-weight: 600;
  padding-top: 20px;
  margin-bottom: 0;
}

.newsticker a {
  color: #52741b;
}

#ristop {
  width: 100%;
}

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

#logo {
  display: inline-block;
  margin-top: -20px;
  margin-bottom: -20px;
  z-index: 12;
  position: relative;
}

#headBar {
  background: rgba(255, 255, 255, 0.95)
}

.is-sticky #headBar {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

#logo2,
#logo img {
  display: block;
}

@media (min-width: 992px) {
  #logo {
    z-index: 1010;
  }

  #logo img {
    transition: all, 150ms ease-in-out;
    bottom: 0;
  }

  #logo2 img {
    max-width: 89px;
  }

  .is-sticky #logo img {
    position: relative;
    bottom: -20px;
  }
}

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

  #logo2 {
    display: none;
  }

  #logo {
    margin-top: -6px;
    margin-bottom: -9px;
    margin-left: -120px;
  }

  #headBar>.row>div {
    position: static;
  }
}

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

  #headBar>.row>div:nth-child(1) {
    padding-right: 0;
    min-width: 80px;
  }
}


@media (min-width: 992px) and (max-width: 1200px) {

  #logo,
  #logo2 {
    margin-top: -45px;
    margin-bottom: 10px;

  }

  #headBar>.row>div:nth-child(1) {
    max-width: 11%;
    padding-right: 0;
  }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {

  #dropdown-toggle-button-wrapper {
    z-index: 99;
  }

  #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: #b02a0c;
    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: #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.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: 46px;
    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 li[class*="toplevel"] > ul {
    position: absolute !important;
  }

  nav.horizontally .dropdown-menu {
    display: block !important;
  }

  #menu {
    position: static;
  }

  #myNavbar>ul>li,
  #myNavbar>ul,
  #myNavbar,
  #menu .navbar,
  #menu .row {
    position: static;
  }

  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: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }


  nav.horizontally li[class*="toplevel"]>ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    padding: 10px 25px;
    padding-top: 20px;
    padding-bottom: 20px;
    max-height: 60vh;
    overflow: visible;
    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;
  }

  nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
  nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
    -webkit-column-count: 6;
    -moz-column-count: 6;
    column-count: 6;
    -webkit-column-gap: 60px;
    -moz-column-gap: 60px;
    column-gap: 60px;
    max-width: 1600px;
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
    padding: 0 30px;
    height: auto;
    column-rule: 1px solid #000;
  }



  .navbar-default li[class*="toplevel"]>a::before {
    content: '';
    width: 100vw;
    height: 31px;
    display: inline-block;
    pointer-events: all;
    position: absolute;
    bottom: -30px;
    left: 50%;
    right: 0px;
    max-width: 1600px;
    transform: translate(-50%);
    z-index: 999;
    pointer-events: none;
  }

  nav.horizontally li[class*="toplevel"]>ul::after {
    content: '';
    max-width: 1600px;
    width: calc(100% + 60px);
    display: inline-block;
    background: url(../img/nav-mask.png) no-repeat top center / 100% auto;
    height: 100px;
    pointer-events: none;
    bottom: -100px;
    left: 0px;
    right: 0px;
    position: absolute;
  }

  nav.horizontally li[class*="toplevel"]>ul {
    background-color: rgba(255, 255, 255, 0.9);
    width: calc(100% + 60px);
    left: -30px;
    min-height: calc(100% + 100px);
  }

  nav.horizontally li[class*="secondlevel"] {
    float: none;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    display: table !important;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    top: 100%;
    z-index: 1003;
  }

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

  #mCSB_1_scrollbar_vertical {
    left: 50%;
    margin-left: calc(962px/2);
  }

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

  /* Fade in Hover Start */

  .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 .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*="secondlevel"]:focus-within>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

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


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


}

@media (min-width: 1200px) {

  nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
  nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
    padding-top: 25px;
    padding-bottom: 45px;
  }

  #mCSB_1_scrollbar_vertical {
    margin-left: calc(1170px/2);
  }
}

nav.horizontally li[class$="_end"],
nav.horizontally li[class$="_start"] {
  display: none;
}

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

.navbar-default li[class*="toplevel"]>a {
  color: #444444;
  font-weight: 600;
  text-align: left;
  padding: 10px 15px 15px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  z-index: 99;
  word-wrap: break-word;
  hyphens: auto;
  word-break: break-word;
}

@media (max-width: 991px) {
  .navbar-default li[class*="toplevel"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
    padding-right: 35px;
  }

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

@media (min-width: 992px) {
  .navbar-default li[class*="toplevel"]>a {
    padding: 20px 21px 20px 18px;
    height: 100%;
  }
}

.navbar-default li[class*="toplevel"]>a::after {
  content: "";
  display: block;
  height: 100%;
  width: 5px;
  position: absolute;
  left: 0%;
  top: 0;
  background: #52741b;
  transition: width 300ms ease-in-out;
  z-index: -1;
}

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


.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: #fff;
}

.navbar-default li[class*="toplevel"]:hover>a:after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class$="_over"]>a::after,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class$="_over"]>a:focus::after {
  width: 100%;
}


.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover::after {
  background: #496a14;
}

.navbar-default li[class*="toplevel"]:hover>a:before,
.navbar-default li[class*="toplevel"]>a:hover::before,
.navbar-default li[class*="toplevel"]>a:focus::before,
.navbar-default li[class*="toplevel"].open>a::before,
.navbar-default li[class*="toplevel"].open>a:hover::before,
.navbar-default li[class*="toplevel"].open>a:focus::before,
.navbar-default li[class*="toplevel"][class$="_over"]>a::before,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover::before,
.navbar-default li[class*="toplevel"][class$="_over"]>a:focus::before {
  pointer-events: all;
}

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

@media (max-width: 991px) {

  .navbar-default li[class*="toplevel"]>.dropdown-menu,
  .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
    padding: 10px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15)
  }
}

@media (min-width: 992px) {
  .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
    display: block;
  }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
  color: #444444;
  text-align: left;
  padding: 8px 35px 8px 15px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  hyphens: auto;
}

.navbar-default li[class*="secondlevel"]>a {
  font-weight: 600;
}



.navbar-default li[class*="thirdlevel"]>a {
  font-weight: 400;
}

@media (min-width: 992px) {

  .navbar-default li[class*="secondlevel"]>a::before {
    content: '\203A';
    position: absolute;
    left: 0px;
    top: 20px;
    display: inline-block;
    border-radius: 50%;
    color: #fff;
    background: #52741b;
    padding: 7px 6px 13px 6px;
    line-height: 0;
    font-size: 26px;
  }

  .navbar-default li[class*="thirdlevel"]>a::before {
    content: '\279C';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    border-radius: 50%;
    color: #fff;
    line-height: 0;
    font-size: 12px;
    color: #444444;
    font-weight: 400px;
  }

  .navbar-default li[class*="secondlevel"]>a {
    padding: 20px 25px 2px 26px;
  }

  .navbar-default li[class*="thirdlevel"]>a {
    padding: 5px 0 5px 38px;
  }
}

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

.navbar-nav li[class*="thirdlevel"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"]>a:focus::before,
.navbar-nav li[class*="thirdlevel"].open>a::before,
.navbar-nav li[class*="thirdlevel"].open>a:hover::before,
.navbar-nav li[class*="thirdlevel"].open>a:focus::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus::before,
.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: #52741b;
}

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

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

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

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

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

  .nivo-controlNav {
    bottom: 17px;
  }

}


@media (max-width: 991px) {

  .nivo-controlNav,
  .nivo-directionNav {
    display: none !important
  }
}

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

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

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

/* ------------------------------------------------ quickButton ----------------------------------------------- */

#mainWrapper .tab {
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.15);
  margin-top: 30px;
  padding: 30px;
  border-bottom: 5px solid #52741b;
  background: #fff;
}

#mainRight .tab {
  padding: 30px 15px;
}

@media (min-width: 1200px) {
  #mainRight {
    padding-left: 80px;
  }
}

@media (max-width: 991px) {
  #mainRight .tab {
    min-height: 100%;

  }
}

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

  #mainRight>.row>div:nth-child(3) {
    margin-top: 30px;

  }
}

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

  }
}

#quickButtons a.has-image {
  min-height: 70px;
  display: block;
}

#quickButtons img {
  position: relative;
  top: 30px;
  transform: translateY(-50%);
}

#quickButtons {
  padding: 26px 0;
}

#quickButtons .row {
  margin: auto;
}

#quickButtons .template-page .col-xs-12 {
  padding: 0;
}

@media (min-width: 768px) {
  #quickButtons>.row>div+div {
    border-left: 1px solid #c2c2c2;
  }
}

#quickButtons a {
  font-family: "Oswald", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #52741b;
}

#quickButtons>.row>div {
  flex: 0 0 20%;
  max-width: 20%;
  width: 100%;
}


@media (max-width: 767px) {
  #quickButtons>.row>div {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    width: 100%;
    margin-top: 20px;
  }

  #quickButtons>.row>div:nth-child(5),
  #quickButtons>.row>div:nth-child(4) {
    flex: 0 0 50%;
    max-width: 50%;
    width: 100%;
    margin-top: 20px;
  }

}

@media (max-width: 575px) {
  #quickButtons>.row>div {
    flex: 0 0 50%;
    max-width: 50%;
    width: 100%;
    margin-top: 20px;
  }

  #quickButtons>.row>div:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
  }
}

/* -------------------------------------------- 3nw news--------------------------------------------- */
#news {
  padding-bottom: 30px;
  font-size: 1rem;
}

@media (max-width: 991px) {
  #news>.row>div+div {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  #news>.row>div:last-child {
    padding-top: 60px;
  }
}

#mainWrapper .tabHeadline {
  display: block;
  width: calc(100% + 60px);
  padding: 15px 30px 20px 30px;
  margin-left: -30px;
  margin-right: -30px;
  margin-top: -30px;
  color: #fff;
  font-size: 1.5625rem;
  background: #52741b;
}

#news .headline {
  margin-bottom: 30px;
  color: #52741b;
  font-size: 1.875rem;
}

.tab_link_title a {
  color: #52741b;
  font-weight: 600;
}

#news .tab_link_mandat a {
  color: inherit;
}

@media (min-width: 992px) {

  #news .tab_link_mandat a,
  #news .tab_date,
  #news .vorschau {
    font-size: 1rem;
  }
}

@media (min-width: 576px) {
  #news .tab_link_entry+.tab_link_entry {
    margin-top: 15px;
    padding-top: 15px;
  }
}


@media (min-width: 992px) {
  #news .tab_link_entry+.tab_link_entry {
    margin-top: 25px;
    padding-top: 25px;
  }
}

#news .tab_spacer {
  display: none;
}

@media (min-width: 576px) {
  #news .tab_link_entry {
    position: relative;
    margin-left: 185px;
    min-height: 105px;
    border-bottom: none !important;
    padding: 20px;
    background: #fff;
  }
}

@media (max-width: 575px) {
  #news .tab_link_entry {
    position: relative;
    min-height: 105px;
    border-bottom: none !important;
    padding: 20px;
    padding-top: 140px;
    background: #fff;
  }
}

#news .tab_link_title a {
  display: block;
}

#news .tab_link_title a::after {
  content: "";
  background: #ffffff url('../img/platzhalterbild-aktuelles.png') center no-repeat;
}

#news .tab_preview_picture {
  background: #ffffff;
  z-index: -1;
}

#news .tab_link_title a::after,
#news .tab_preview_picture {
  display: block;
  width: 170px;
  height: 100%;
  position: absolute;
  left: -185px;
  top: 0;
  overflow: hidden;
}

@media (max-width: 575px) {

  #news .tab_link_title a::after,
  #news .tab_preview_picture {
    display: block;
    width: 100%;
    height: 120px;
    position: absolute;
    left: 0;
    right: 0px;
    top: 0;
    overflow: hidden;
  }

  #news .tab_link_entry {
    border: 1px solid #c2c2c2 !important;
  }

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

#news .tab_preview_picture img {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

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

.tab_link_mehr {
  margin-top: 15px;
}

.tab_link_mehr {
  color: transparent;
  font-size: 0;
  text-align: right;
}

.tab_link_mehr a {
  font-weight: 600;
  color: #52741b;
  padding: 8px 35px 8px 20px;
  position: relative;
  text-decoration: none;
  display: inline-block;

}

.tab_link_mehr a::before {
  content: "Alle Meldungen";
  font-size: 1.1875rem;
}

#events .tab_link_mehr a::before {
  content: "Alle Termine";
  font-size: 1.1875rem;
}

#events .tab_link_mandat {
  display: none !important;
}

.tab_link_mehr a::after {
  content: '\279C';
  display: block;
  position: absolute;
  right: 13px;
  top: 54%;
  text-align: center;
  font-size: 16px;
  line-height: 0;
  transform: translateY(-50%);
}



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

#newsletterInputs {
  height: 53px;
  background: #fff;
  display: inline-block;
  position: relative;
  width: 100%;
  border: 1px solid #d0d0d0;

}

#newsletter_input {
  color: #444444;
  font-size: 1.1875rem;
  font-style: 400;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 49px;
  padding-left: 51px;
  padding-right: 43px;
  height: 49px;
  width: 100%;
  font-family: "Oswald", sans-serif;
  text-align: center;
  background: url(../img/icon-mail.png) no-repeat left 10px center;
}

#newsletter_submit {
  width: 53px;
  padding: 0;
  cursor: pointer;
  line-height: 53px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  background: transparent;
}

#submitWrapper {
  width: 53px;
  padding: 0;
  cursor: pointer;
  line-height: 53px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

#submitWrapper::after {
  content: '\279C';
  display: block;
  position: absolute;
  right: 19px;
  top: 50%;
  text-align: center;
  font-size: 16px;
  line-height: 0;
  transform: translateY(-50%);
  color: #52741b;
}

#newsletter_submit:hover {
  background-color: rgba(0, 0, 0, 0.10);
}

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

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

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

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

#newsletter_input:focus-within::placeholder {
  opacity: 0 !important;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #52741b;
  font-weight: 500;
  line-height: 1.2;
  font-family: "Oswald", sans-serif;
}

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

@media (min-width: 768px) {

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

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

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



@media (min-width: 768px) {
  footer {
    padding-top: 70px;

  }
}

#counter {
  font-size: 1.0625rem;
}

#counter p>span {
  font-weight: 500;
  color: #52741b;
  font-family: "Oswald", sans-serif;
}

#search {
  height: 30px;
  display: inline-block;
  position: relative;
}

#search {
  max-width: 335px;
  width: 100%;
}

#search_input {
  color: #444444;
  font-size: 17px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 54px;
  padding-left: 10px;
  padding-right: 43px;
  height: 42px;
  width: 100%;
  font-family: "Oswald", sans-serif;
}

@media (min-width: 768px) {
  #search_input {
    padding-left: 50px;
  }

  #search {
    position: relative;
    height: 54px;
    border: #d0d0d0 1px solid;
    padding: 5px;
  }

  #search::before {
    content: '';
    display: block;
    height: 54px;
    width: 54px;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/icon-suche.png') center no-repeat;
    background-size: 50%;
  }

  #search {
    margin-right: -15px
  }
}

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

#search_submit:hover {
  background-color: rgba(0, 0, 0, 0.10);
}

#search_input::-ms-input-placeholder {
  color: #bdcdcd !important;
}

#search_input::-webkit-input-placeholder {
  color: #bdcdcd !important;
}

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

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


#search_input:focus-within::placeholder {
  opacity: 0 !important;
}


@media (max-width: 767px) {
  footer .row>.col-xs-12:not(:first-child)::before {
    background: #000000;
    content: " ";
    height: 1px;
    width: 100%;
    display: block;
    margin: 25px 0;
    opacity: 0.1;
  }

  footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
  footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
    display: none;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: block;
}

#innerfooter a {
  color: #444444;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  font-family: "Oswald", sans-serif;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: #b02a0c;
}


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

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

@media (max-width: 991px) {
  #footerTop {
    padding-top: 60px;
  }
}

#footerTop {
  padding-bottom: 30px;
}

#footerBottom {
  font-size: 1.0625rem;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  #footerBottom>.row>div+div {
    border-left: 1px solid #c2c2c2;
  }
}

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

#footerBottom .tabHeadline {
  font-size: 1.5625rem;
}

.iframetab {
  height: 100%;
}

.iframetab iframe,
.iframetab .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
  max-height: 100% !important;
  min-height: 100% !important;
  height: 100% !important;
}

.iframetab * {
  height: 100% !important;
}


.iframetab .cleaner {
  display: none;
}

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

#vernetzt {
  text-align: right;
  font-size: 0.875rem;
  color: #444444;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 300;
  display: inline-block;
}

#vernetzt b {
  color: #b02a0c;
  font-weight: 600;
}

#vernetzt span {
  color: #444444;
}

#vernetzt span span {
  display: block;
}

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

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