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

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

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

a {
   color: #338316;
}

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

b,
strong {
   font-weight: 600;
}

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

#topbar {
   padding-top: 10px;
}

#logoMobil {
   pointer-events: none;
}

#logo2 img {
   position: relative;
   z-index: 102;
   display: block;
   width: 100%;
   max-width: 240px;
   pointer-events: all;
}

#logo {
   display: inline-block;
   z-index: 8;
}

#logo img {
   display: block;
}

@media (min-width: 992px) {
   #logo {
      position: absolute;
      top: 50px;
   }
}

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

   #logo {
      position: absolute;
      top: 9px;
      left: 0;
      z-index: 107;
   }
}

/* ------------------------------------ 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: #338316;
      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) {
   nav.horizontally {
      padding: 16px 0;
      background: #ffffff;
   }

   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 {
      position: relative;
   }

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

   .navbar-default .navbar-nav li[class*="toplevel"]>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*="toplevel"]:hover>ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      top: 100%;
   }

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

   .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul,
   .navbar-default .navbar-nav li[class*="secondlevel"]:hover>u {
      z-index: 1003;
   }
}

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

.navbar-default .navbar-nav>li>a {
   color: #444444;
   font-weight: 500;
   text-align: left;
   padding: 8px 15px 8px 15px;
   position: relative;
   font-size: 1.3125rem;
   line-height: 1.2;
   text-decoration: none;
   font-variant: small-caps;
}

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

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

@media (min-width: 992px) {
   .navbar-default .navbar-nav>li+li {
      margin-left: 20px;
   }

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu {
   background-color: #ffffff;
   border: 1px solid #dbe2e1;
   padding: 10px 0 10px 25px;
}

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
   padding-top: 4px;
   padding-bottom: 4px;
}

@media(min-width:992px) {
   .navbar-default .navbar-nav>li>.dropdown-menu {
      margin-left: 4px;
      margin-top: 40px;
      padding-top: 12px;
      padding-bottom: 12px;
   }

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

   .navbar-default .navbar-nav>li>.dropdown-menu::after {
      content: "";
      position: absolute;
      display: block;
      left: -1px;
      top: -21px;
      background: url('../img/subnav.png') center no-repeat;
      width: 27px;
      height: 21px;
   }

   .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
      display: block !important;
   }
}

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

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

.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.0625rem;
   line-height: 1.2;
   text-decoration: none;
   hyphens: auto;
}

@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::before { 
      top: 67px;
   }
}

@media (min-width:992px) {

   .navbar-default .navbar-nav>li>.dropdown-menu>li>a,
   .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
      font-size: 1.1875rem;
   }
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
   content: "";
   display: block;
   position: absolute;
   z-index: 1;
   left: -6px;
   top: 15px;
   width: 10px;
   height: 10px;
   border-radius: 50%;
   background: #ffffff;
   border: 1px solid #338316;
   -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: #338316;
}

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

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

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before {
   background: #338316;
}

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

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

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

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

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

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

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

#headerpic::before,
#menu::after {
   content: "";
   height: 13px;
   background: rgba(82, 176, 48, 0.5);
   position: absolute;
   left: 0;
   right: 0;
   z-index: 10;
   pointer-events: none;
}

#headerpic::before {
   top: 0;
}

#menu::after {
   bottom: -13px;
}

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

.slider-mask {
   display: none;
}

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

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

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

   #main {
      background: url('../img/content.png') no-repeat bottom left;
   }
}

#bg-center {
   padding-bottom: 50px;
}

/*------ breaker ------*/

#breaker {
   position: relative;
   background-size: cover;
   background-position: center;
   font-size: 1rem;
}

#breaker .tab {
   background: rgba(255, 255, 255, 0.9);
   padding: 25px;
}

#breaker .tabHeadline {
   font-size: 1.5625rem;
   font-family: "Work Sans";
   font-variant: small-caps;
}

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

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

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

@media (min-width: 768px) {

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

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 #2e7614;
}

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

footer {
   background-color: #fff;
   padding-top: 30px;
   padding-bottom: 30px;
   color: #3f4445;
   position: relative;
}

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

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

footer::before {
   content: "";
   display: block;
   position: absolute;
   left: 0;
   right: 0;
   top: -13px;
   border-bottom: 13px solid rgba(82, 176, 48, 0.5);
   z-index: 8;
   pointer-events: none;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

#innerfooter a {
   color: #3f4445;
   text-decoration: none;
   display: inline-block;
   font-weight: 400;
   font-size: 0.9375rem;
}

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

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

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

@media (max-width: 767px) {
   #innerfooter li {
      display: block;
      text-align: center;
      padding: 5px;
      margin: 0;
   }

   #innerfooter li+li::before {
      display: none;
   }

   #innerfooter li+li {
      margin: 0;
   }
}

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

#vernetzt {
   text-align: right;
   font-size: 0.875rem;
   color: #3f4445;
   line-height: 1.3;
   margin: 0 auto;
   font-weight: 300;
}

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

#vernetzt b {
   color: #3f4445;
   font-weight: 400;
}

#vernetzt span {
   color: #3f4445;
}

#vernetzt span span {
   display: block;
}

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

#vernetzt:hover,
#vernetzt:active,
#vernetzt:focus {
   text-decoration: none;
}

/*------ arrows -----*/