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

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

@media (min-width: 768px) {
  html {
    position: relative;
  }

  body {
    font-size: 1.125rem;
  }

  body::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("../img/background-overlay.svg") center top / 100% auto repeat-y;
    z-index: 1;
  }
}

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

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

a {
  color: #5c8118;
}

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

b,
strong {
  font-weight: 700;
}

#content a {
  font-style: italic;
}

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

#style2 button:focus,
#style button:focus {
  outline: 3px solid #86bc24 !important;
}

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

#topbar {
  color: #454c4c;
}

#topbar>div.row:nth-child(1) {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #topbar>div.row:nth-child(1) {
    margin-top: 10px;
  }
}

.border {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 13px;
  padding-top: 25px;
  position: relative;
  right: 15px;
  padding-right: 0px;
}

@media (max-width: 992px) {
  #topbar {
    background-color: #fff;
    padding: 30px 0;
  }
}

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

#search {
  background: #f4f4f4;
  display: block;
  position: relative;
  border-radius: 10px;
  width: 100%;
  margin: 0 auto;
}

.contrast_light_font #search,
.contrast_light_font #search_input {
  color: #000 !important;
}

@media (min-width: 768px) {
  #search {
    border-radius: 30px;
    height: 30px;
    max-width: 400px;
    margin-left: 50px;
  }
}

@media (min-width: 992px) {
  #search {
    max-width: 180px;
    margin: 0 0px 0 30px;
  }
}

@media (max-width: 992px) {
  #search {
    margin-top: 20px;
  }
}

#search_input {
  color: #6e6e6e;
  font-size: 0.8125rem;
  font-weight: 300;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 30px;
  padding-left: 10px;
  padding-right: 14px;
  height: 30px;
  text-align: center;
  width: 100%;
  position: relative;
  top: -7px;
}

@media (max-width: 992px) {
  #search_input {
    position: relative;
    top: 0px;
  }
}

@media (min-width: 768px) {
  #search_input {
    padding-right: 47px;
    text-align: left;
  }
}

#search_submit {
  font-size: 0;
  width: 100%;
  height: 30px;
  background: #5c8118 url("../img/lupe.png") center no-repeat;
  border: none;
  padding: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
  display: block;
  -webkit-transition: transform 150ms linear;
  -moz-transition: transform 150ms linear;
  -ms-transition: transform 150ms linear;
  -o-transition: transform 150ms linear;
  transition: transform 150ms linear;
}

@media (min-width: 768px) {
  #search_submit {
    position: absolute;
    border-radius: 50%;
    top: -5px;
    right: -5px;
    width: 38px;
    height: 38px;
    border: 5px solid #fbfbfb;
  }

  #search_submit:hover,
  #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);
  }
}

@media (min-width: 992px) {
  #search_submit {
    border-color: #ffffff;
  }
}

#search_input::-ms-input-placeholder,
#newsletter_input::-ms-input-placeholder {
  color: #6e6e6e !important;
}

#search_input::-webkit-input-placeholder,
#newsletter_input::-webkit-input-placeholder {
  color: #6e6e6e !important;
}

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

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

#language1 a,
#language2 a {
  text-decoration: none;
  font-size: 1rem;
  padding-right: 50px;
  position: relative;
  white-space: nowrap;
}

#language1 a span,
#language2 a span {
  color: #444444;
  font-size: 1rem;
  font-weight: 400;
  position: relative;
  bottom: 13px;
  margin-right: 8px;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .langbox {
    flex-wrap: wrap;
  }
}

@media (min-width: 1200px) {

  #language1,
  #language2 {
    margin-top: 9px;
  }
}

#language1 a::before,
#language2 a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  margin-top: -18px;
  right: 10px;
  height: 37px;
  width: 37px;
}

#language1 a::before {
  background: url(../img/lang1.png) no-repeat;
}

#language2 a::before {
  background: url(../img/lang2.png) no-repeat;
}

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

/* -------------------------------------------- contrast + styler ------------------------------------------ */

#stylerBox, #stylerBox2 {
  font-size: 1rem;
  font-weight: 400;
  color: #444444;
  margin-bottom: 16px;
}

#contrast_style button,
#contrast_style2 button {
  color: #254c6b;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.6);
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 400;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {

  #contrast_style button,
  #contrast_style2 button {
    width: 25px;
    height: 25px;
  }
}

#contrast_style span,
#contrast_style2 span {
  position: relative;
  left: 0;
}

#style button, #style2 button {
  color: #fff;
  padding: 0;
  border-color: transparent !important;
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  position: relative;
  z-index: 1;
  background-color: #5c8118;
  font-weight: 300;
  font-size: 0.9375rem;
  transition: all, 250ms;
}

#style button:hover,
#style button:focus,
#style2 button:hover,
#style2 button:focus {
  background-color: #517215;
}

#contrast_style button::before,
#contrast_style2 button::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: -2px;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  -webkit-transition: opacity 150ms linear;
  -moz-transition: opacity 150ms linear;
  -ms-transition: opacity 150ms linear;
  -o-transition: opacity 150ms linear;
  transition: opacity 150ms linear;
}

@media (max-width: 991px) {

  #contrast_style button::before,
  #contrast_style2 button::before {
    width: 25px;
    height: 25px;
  }
}

#stylerBox button:hover::before, #stylerBox2 button:hover::before,
#stylerBox button:focus::before, #stylerBox2 button:focus::before {
  opacity: 1;
}

#contrast_style *+*,
#contrast_style2 *+* {
  margin-left: 10px;
}

#style *+*, #style2 *+* {
  margin-left: 10px;
}

#contrast_style button,
#contrast_style2 button {
  font-size: 0;
}

#style button:nth-of-type(2),
#style2 button:nth-of-type(2) {
  font-size: 1.0625rem;
  line-height: 1;
}

#style button:nth-of-type(1),
#style button:nth-of-type(3),
#style2 button:nth-of-type(1),
#style2 button:nth-of-type(3) {
  font-size: 1.3125rem;
  line-height: 0.95;
}

@media (max-width: 991px) {

  #style button,
  #style2 button {
    width: 25px;
    height: 25px;
    font-size: 1rem !important;
  }
}

#contrast_style button::after,
#contrast_style2 button::after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  right: 3px;
  left: 3px;
  bottom: 3px;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
}

#contrast_style button:nth-of-type(1)::after,
#contrast_style2 button:nth-of-type(1)::after {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6) 50%, rgba(255, 255, 255, 1) 50%);
}

#contrast_style button:nth-of-type(2)::after,
#contrast_style2 button:nth-of-type(2)::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 0.6) 50%);
}

#contrast_style button:nth-of-type(3)::after,
#contrast_style2 button:nth-of-type(3)::after {
  background: #ea5b0c;
  border: none;
}

#style,
#style2 {
  margin-top: 20px;
}

@media (min-width:767px) and (max-width: 991px) {

  #style,
  #style2 {
    margin-top: 0;
    margin-left: 30px;
  }
}

#stylerBox span, #stylerBox2 span {
  text-align: right;
  display: inline-block;
}

#contrast_style span,
#contrast_style2 span {
  min-width: 220px;
}

#style span,
#style2 span {
  min-width: 230px;
}

@media (max-width: 767px) {

  #contrast_style span,
  #contrast_style2 span {
    min-width: unset;
  }

  #style span,
  #style2 span {
    min-width: unset;
  }
}

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

.logo {
  display: inline-block;
}

.logo img {
  display: block;
}

@media (max-width: 991px) {
  .logo {
    margin-bottom: 15px;
  }

  .logo img {
    max-width: 190px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  .logo {
    margin-top: 0;
    width: auto;
  }
}

.contrast_light_font .logo {
  background-color: #fff !important;
}

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

.navbar-nav {
  background-color: #5c8118;
}

/* burgermenu for tablet */

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

  .contrast_light_font #burgerButtonInner2,
  .contrast_light_font #burgerButton:after,
  .contrast_light_font #burgerButtonInner {
    background-color: #fff !important;
  }

  .contrast_dark_font #burgerButtonInner2,
  .contrast_dark_font #burgerButton:after,
  .contrast_dark_font #burgerButtonInner {
    background-color: #000 !important;
  }

  #burgerButtonInner2,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #5c8118;
    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;
  }

  .contrast_dark_font .navbar-collapse {
    background-color: #fff !important;
  }

  .navbar-collapse {
    top: 0;
    background: #5c8118;
    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) {
  nav.horizontally .navbar-nav {
    margin: 10px auto 10px auto;
    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 {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav>li,
  nav.horizontally .navbar-nav>li>.dropdown-menu>li {
    position: relative;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]>ul {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }

  .navbar-default .open>.dropdown-menu,
  .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:hover>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

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

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

.navbar-default .navbar-nav>li>a {
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 10px 15px;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>a {
    padding: 17px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
  .navbar-default .navbar-nav>li>a {
    display: block;
  }
}

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

.navbar-nav>li:hover>a,
.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:hover,
.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: #fff;
  background-color: #517215;
}

.navbar-nav>li:focus-within>a {
  color: #fff;
  background-color: #517215;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
  padding: 12px 0;
  background-color: #ffffff;
  border: 1px solid #8db15c;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu {
    margin-top: 0;
    left: 50%;
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }

  .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    margin-left: 10px;
    margin-top: -13px;
  }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  color: #444444;
  font-weight: 400;
  text-align: left;
  padding: 4px 30px;
  background-color: transparent;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  display: block;
  width: 7px;
  height: 7px;
  background-color: #86bc24;
  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;
}

/* ------------------------------------------ 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: #5c8118;
}

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

.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,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
  opacity: 1;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a::before {
  opacity: 1;
}

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

#slider,
.slider-wrapper {
  max-height: 300px;
  overflow: hidden;
}

@media (min-width: 768px) {
  #headerpic .nivo-directionNav a {
    top: auto;
    bottom: 12px;
  }

  #headerpic .nivo-controlNav {
    pointer-events: none;
  }

  #headerpic .nivo-controlNav a {
    pointer-events: auto;
  }
}

@media (min-width: 992px) {
  #headerpic .nivo-directionNav a {
    bottom: 18px;
  }

  #slider,
  .slider-wrapper {
    max-height: 305px;
  }
}

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

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

.slider-mask {
  display: none;
}

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

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

@media (min-width: 768px) {
  #content.md-gutter {
    margin-left: -15px;
    margin-right: -15px;
  }
}

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

  #contentCol {
    padding: 0px 20px 0 50px;
  }
}

@media (min-width: 1200px) {
  #contentCol {
    padding: 30px 45px 0 45px;
  }

  body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.rsbtn_toollist) li:not(.gallery-list-item):not(.album-list-item):not(.entry)::before {
    top: 24px;
  }
}

.compact {
  padding: 15px;
  background-color: #ffffff;
  -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 5;
}

@media (min-width: 768px) {
  .compact {
    padding: 15px 15px 15px 15px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .compact {
    padding: 20px 30px 30px 30px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #5c8118;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Source Sans Pro", sans-serif;
}

h1,
.h1,
.legacy_h1 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

@media (min-width: 768px) {

  h1,
  .h1,
  .legacy_h1 {
    font-size: 2.25rem;
    margin-bottom: 35px;
  }
}

.h1::after,
#content h1::after,
#content .legacy_h1::after {
  content: "";
  display: block;
  height: 5px;
  width: 100px;
  background-color: #86bc24;
  margin-top: 10px;
}

#content h1[style*="center"]::after,
#content .legacy_h1[style*="center"]::after {
  margin-left: auto;
  margin-right: auto;
}

#content h1[style*="right"]::after,
#content .legacy_h1[style*="right"]::after {
  margin-left: auto;
  margin-right: 0;
}

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

@media (min-width: 768px) {

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

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

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

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

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

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

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

#aktuellesBG {
  font-size: 1rem;
}

#aktuelles h2 {
  margin: 0;
  font-size: 1.875rem;
  color: #5c8118;
  font-weight: 600;
}

@media (min-width: 1200px) {
  #aktuelles h2 {
    margin-left: 30px;
  }

  #aktuelles>.row:nth-child(1)>div:nth-child(2) {
    padding: 0px !important;
  }
}

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

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

  #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: 0px 0px 2px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.05);
  color: #444444;
  font-size: 1rem;
}

@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/platzhalter.png") center / cover no-repeat;
  margin: unset !important;
  bottom: unset !important;
}

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

#aktuelles .tab_link_title a {
  color: #5c8118;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

#aktuelles .tab_link_entry>div:nth-last-child(2) {
  color: transparent;
  line-height: 0;
}

/* 
#aktuelles .tab_link_entry > div:nth-last-child(2) > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(229, 130, 60, 0.8), rgba(229, 130, 60, 1) 150px);
    z-index: 1;
    color: #ffffff;
    text-align: center;
    font-size: 0;
    font-weight: 600;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    opacity: 0;
    text-decoration: none;
    -webkit-transition: opacity 200ms linear;
    -moz-transition: opacity 200ms linear;
    -ms-transition: opacity 200ms linear;
    -o-transition: opacity 200ms linear;
    transition: opacity 200ms linear;
} */

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

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

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

/* 
#aktuelles .tab_link_mehr {
    margin-top: 30px;
} */

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

#aktuelles .tab_link_mehr a {
  display: inline-block;
  border-radius: 2px;
  background-color: #517215;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 9px 35px;
  position: relative;
  right: -15px;
}

#aktuelles .tab_link_mehr {
  margin: 30px 0;
}

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

footer {
  background-color: #5c8118;
  padding: 30px 15px;
  position: relative;
}

footer::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(81, 114, 21, 0.5), rgba(81, 114, 21, 0.5) 35%, rgba(81, 114, 21, 0) 35%), linear-gradient(#5c8118, #5c8118);
}

footer>.row {
  position: relative;
  z-index: 2;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter a,
#innerfooter li {
  display: inline-block;
}

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

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

#innerfooter li+li::before {
  content: "";
  display: inline-block;
  margin: 0 25px;
}

@media (max-width: 767px) {
  #innerfooter li+li::before {
    content: "";
    display: inline-block;
    margin: 0 15px;
  }

  #innerfooter {
    margin-top: 30px;
  }
}

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

#vernetzt {
  text-align: left;
  font-size: 0.875rem;
  max-width: 280px;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt b {
  font-weight: 600;
}

#vernetzt span {
  color: #ffffff;
  display: block;
}

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

body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.rsbtn_toollist):not(.units) li:not(.gallery-list-item):not(.album-list-item):not(.entry):not(.unit-title)::before {
  top: 0 !important;
  bottom: 0 !important;
  margin: auto !important;
}

body:not(.noListStyle) .template-page ul,
body:not(.noListStyle) main ul:not([class*="menue"]):not([class*="slick-dots"]):not(.units) {
  margin: 0 !important;
}