@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+Pro:400,600%7CKhand:400,500");
body {
   font-family: "Source Sans Pro", sans-serif;
   color: #444444;
   background: #ffffff;
   font-size: 0.9rem;
   /* 1rem = 16px */
   line-height: 1.5;
}

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

@media (min-width: 768px) {
   body {
      font-size: 1.1875rem;
      background: url("../img/figur.png") top 80px left / 440px auto no-repeat;
   }
}

@media (min-width: 992px) {
   body {
      background-position: top left;
      background-size: auto;
   }
}

a {
   color: #50791b;
}

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

#content a,
b,
strong {
   font-weight: 600;
}

/* ---------------------------------------------- header ---------------------------------------------- */

header {
   padding-top: 20px;
   padding-bottom: 20px;
}

@media (min-width: 768px) {
   header {
      padding-top: 0;
   }
}

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

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

#logo {
   display: inline-block;
   margin-bottom: 10px;
}

@media (min-width: 768px) {
   #logo {
      margin: 30px 0;
      position: absolute;
      width: 120%;
      z-index: 8;
   }
}

#logo img {
   display: block;
}

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

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

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

#headerpic .nivo-imageLink,
#headerpic .nivo-main-image {
   height: 250px !important;
   width: 100%;
   overflow: hidden;
}

#slider {
   overflow: visible;
}

@media (min-width: 576px) {
   #headerpic .nivo-imageLink,
   #headerpic .nivo-main-image {
      height: 300px !important;
   }

   .index #headerpic .nivo-imageLink,
   .index #headerpic .nivo-main-image {
      height: 300px !important;
   }
}

@media (min-width: 768px) {
   #headerpic .nivo-imageLink,
   #headerpic .nivo-main-image {
      height: 400px !important;
   }

   .index #headerpic .nivo-imageLink,
   .index #headerpic .nivo-main-image {
      height: 400px !important;
   }
}

@media (min-width: 992px) {
   #headerpic .nivo-imageLink,
   #headerpic .nivo-main-image {
      height: 350px !important;
   }

   .index #headerpic .nivo-imageLink,
   .index #headerpic .nivo-main-image {
      height: 500px !important;
   }
   #headerpic a.nivo-prevNav {
      left: 65px;
   }
   #headerpic a.nivo-nextNav {
      right: 65px;
   }
}

@media (min-width: 1200px) {
   #headerpic .nivo-imageLink,
   #headerpic .nivo-main-image {
      height: 400px !important;
   }

   .index #headerpic .nivo-imageLink,
   .index #headerpic .nivo-main-image {
      height: 600px !important;
   }
}

#headerpic .slider-wrapper,
#headerpic::after {
   margin-left: -15px;
   margin-right: -15px;
}

@media (min-width: 768px) {
   #headerpic .slider-wrapper,
   #headerpic::after {
      margin-left: 0;
      margin-right: calc(-50vw + 369px);
   }
}

@media (min-width: 992px) {
   #headerpic .slider-wrapper,
   #headerpic::after {
      margin-right: calc(-50vw + 481px);
   }
}

@media (min-width: 1200px) {
   #headerpic .slider-wrapper,
   #headerpic::after {
      margin-right: calc(-50vw + 585px);
   }
}

.slider-mask {
   display: none;
}

#headerpic::after {
   content: "";
   display: block;
   position: absolute;
   left: 0;
   right: 15px;
   bottom: -20px;
   height: 110px;
   z-index: 59;
   background: url("../img/banner-overlay.svg") bottom right no-repeat;
   pointer-events: none;
}

@media (min-width: 992px) {
   #headerpic::after {
      height: 150px;
   }
}

@media (min-width: 1200px) {
   #headerpic::after {
      height: 210px;
      bottom: -70px;
   }
}

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

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

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

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

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

#headerpic .theme-default .nivo-controlNav {
   z-index: 60;
   font-size: 0;
   bottom: calc(0px + (20 - 0) * (100vw - 320px) / (575 - 320));
   text-align: right;
   right: 15px;
}

@media (min-width: 576px) {
   #headerpic .theme-default .nivo-controlNav {
      bottom: 20px;
   }
}

@media (min-width: 768px) {
   #headerpic .theme-default .nivo-controlNav {
      bottom: calc(20px + (28 - 20) * (100vw - 768px) / (991 - 768));
   }
}

@media (min-width: 992px) {
   #headerpic .theme-default .nivo-controlNav a + a {
      margin-left: 10px;
   }
   #headerpic .theme-default .nivo-controlNav {
      right: 210px;
      bottom: calc(30px + (38 - 30) * (100vw - 992px) / (1199 - 992));
   }
}

@media (min-width: 1200px) {
   #headerpic .theme-default .nivo-controlNav {
      right: 210px;
      bottom: calc(-10px + (46 - 10) * (100vw - 1200px) / (1920 - 1200));
   }
}

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

@media (min-width: 992px) {
   #headerpic .nivo-directionNav {
      position: absolute;
      z-index: 60;
      right: 60px;
      bottom: calc(18px + (26 - 18) * (100vw - 992px) / (1199 - 992));
      text-align: right;
   }
}

@media (min-width: 1200px) {
   #headerpic .nivo-directionNav {
      bottom: calc(-20px + (56 - 20) * (100vw - 1200px) / (1920 - 1200));
   }
}

#headerpic .theme-default .nivo-directionNav a {
   background: #ffffff;
   width: 40px;
   height: 40px;
   display: inline-block;
   text-indent: 0;
   font-size: 0;
}

@media (min-width: 992px) {
   #headerpic .theme-default .nivo-directionNav a {
      position: relative;
      left: auto;
      right: auto;
      top: auto;
      opacity: 1;
      -webkit-transition: background 200ms linear;
      -moz-transition: background 200ms linear;
      -ms-transition: background 200ms linear;
      -o-transition: background 200ms linear;
      transition: background 200ms linear;
   }
}

#headerpic .theme-default .nivo-directionNav a:hover,
#headerpic .theme-default .nivo-directionNav a:focus {
   background: rgba(255, 255, 255, 0.7);
}

#headerpic .theme-default .nivo-directionNav a::after {
   font-size: 2.5rem;
   position: absolute;
   line-height: 1;
   top: 3px;
   font-family: "Khand", sans-serif;
   color: #50791b;
}

#headerpic .theme-default .nivo-directionNav a.nivo-prevNav::after {
   content: "\2039";
   left: 12px;
}

#headerpic .theme-default .nivo-directionNav a.nivo-nextNav::after {
   content: "\203A";
   right: 12px;
}

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

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

/* burgermenu for tablet */

#burgerButton {
   font-size: 0;
   border: none !important;
   display: block;
   height: 50px;
   width: 28px;
   border-radius: 2px;
   padding: 0;
   cursor: pointer;
   position: relative;
   background: transparent;
}

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

#burgerButtonInner {
   top: 16px;
}

#burgerButtonInner2 {
   top: 24px;
}

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

@media (max-width: 991px) {
   .dropdown-toggle-button-wrapper {
      right: 4px;
      top: 4px;
   }
   .dropdown-toggle-button-wrapper2 {
      right: 4px;
      top: 5px;
   }
   #burgerButton {
      height: 50px;
      width: 48px;
      padding: 6px 8px;
      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);
   }
   #burgerButtonInner2,
   #burgerButton:after,
   #burgerButtonInner {
      left: 10px;
   }
   #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);
   }
   .navbar-nav {
      margin: 20px 5px;
   }
   .navbar-collapse {
      top: 0;
      background: #f8f8f8;
      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) {
   #burgerButton {
      pointer-events: none;
   }
   nav {
      padding: 8px 20px 20px 20px;
      min-height: 430px;
      background-color: #f8f8f8;
      border-radius: 3px;
      position: relative;
   }
   nav::after {
      content: "";
      position: absolute;
      left: 30px;
      right: 30px;
      bottom: 0;
      height: 30px;
      z-index: -1;
      -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
      box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
   }
   #navBox {
      position: relative;
      z-index: 63;
      margin-bottom: 60px;
      border: 1px solid #d2e3ee;
      border-radius: 5px;
   }
   #navBox::before {
      content: "";
      position: fixed;
      left: 0;
      right: 0;
      bottom: 0;
      top: 0;
      background: rgba(0, 0, 0, 0.2);
      pointer-events: none;
      z-index: -1;
      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;
   }
   #navBox:hover::before,
   #navBox:focus::before {
      opacity: 1;
   }
   .navbar-header {
      margin-bottom: 8px;
   }
   .navbar-header .menuTitle {
      font-family: "Khand", sans-serif;
      margin-left: 18px;
      font-size: 1.5rem;
      color: #50791b;
      background: linear-gradient(to right, #50791b, #50791b);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      -moz-background-clip: text;
      -moz-text-fill-color: transparent;
   }
   .navbar-header .menuTitle b {
      margin-right: 13px;
   }
   .navbar-default .navbar-nav {
      width: 100%;
   }
   .navbar-default .navbar-nav > li {
      display: block !important;
      width: 100%;
      float: none;
   }
   .navbar-default .navbar-nav > li {
      position: relative;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li:not(:first-of-type):not(:last-of-type) {
      -webkit-column-break-inside: avoid;
      page-break-inside: avoid;
      break-inside: avoid-column;
      display: table;
      width: 100%;
   }
   .navbar-default .navbar-nav > li > ul {
      position: absolute;
      left: 100%;
      top: 0 !important;
      column-count: 1;
      column-gap: 0;
      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.open:hover > .dropdown-menu,
   .navbar-default .navbar-nav > li:hover > ul {
      pointer-events: auto !important;
      opacity: 1 !important;
      z-index: 1003;
   }
   .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 .navbar-nav > li.open > .dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      opacity: 1;
   }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
   .navbar-header .menuTitle {
      background: transparent;
   }
}

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

.navbar-default .navbar-nav > li > a {
   color: #444444;
   font-weight: 400;
   text-align: left;
   padding: 7px 35px 7px 10px;
   position: relative;
   z-index: 0;
   font-size: 1.25rem;
   background: #f3f3f3;
   border-radius: 3px;
   line-height: 1.2;
   text-decoration: none;
}

.navbar-default .navbar-nav > li + li > a {
   margin-top: 2px;
}

.navbar-default .navbar-nav > li > a::after {
   content: "";
   position: absolute;
   left: 0;
   top: 0;
   right: 0;
   bottom: 0;
   background: linear-gradient(to right, #c5e183, #c5e183);
   border-radius: 3px;
   z-index: -1;
   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;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > a {
      padding: 8px 20px 8px 20px;
   }
   .navbar-default .navbar-nav > li > a.dropdown-toggle::before {
      content: "\00BB";
      position: absolute;
      right: 20px;
      top: 23px;
      line-height: 0;
      font-family: "Khand", sans-serif;
   }
   .navbar-default .navbar-nav > li > a.dropdown-toggle {
      padding-right: 40px;
   }
}

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

.navbar-default .navbar-nav > li:hover > a,
.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: #444444;
}

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

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

.navbar-nav > li:focus-within > a::after {
   opacity: 1;
}

/* -------------------------------------- second+thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu {
   padding: 10px;
   background: #f8f8f8 url("../img/berge-hintergrund.jpg") center bottom / 100% auto no-repeat;
   border-radius: 3px;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu {
      padding: 20px;
      width: 660px;
      margin-left: 40px;
      min-height: 200px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li {
      margin-bottom: 2px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      width: 40px;
      top: 0;
      bottom: 0;
      left: -40px;
   }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
   margin: 0px;
   padding: 4px 0;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      display: block !important;
   }
}

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

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
   padding: 8px 35px 8px 10px;
   font-size: 1.25rem;
   background: #f3f3f3;
   border-radius: 3px;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu > li > a {
      padding: 8px 20px 8px 20px;
   }
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   padding: 6px 15px 6px 38px;
   font-size: 1.125rem;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::before {
   content: "\00BB";
   display: block;
   position: absolute;
   top: 15px;
   line-height: 0;
   left: 25px;
}

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

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

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

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

#content {
   text-align: left;
   min-height: 200px;
}

@media (min-width: 768px) {
   #overflow {
      overflow: hidden;
   }
}

@media (min-width: 1200px) {
   #content {
      padding-left: 15px;
      padding-right: 15px;
   }
}

main {
   padding-top: 30px;
   position: relative;
}

@media (max-width: 991px) {
   #bg-left {
      order: 13;
   }
}

@media (min-width: 992px) {
   main {
      padding-top: 70px;
   }
   #bg-left {
      position: relative;
      z-index: 60;
      margin-top: -410px;
      padding-right: 30px;
   }

   .index #bg-left {
      position: relative;
      z-index: 60;
      margin-top: -210px;
      padding-right: 30px;
   }
}

@media (min-width: 1200px) {
   #bg-left {
      margin-top: -290px;
   }

   .index #bg-left {
      margin-top: -490px;
   }
}

.shadow {
   position: relative;
   z-index: 1;
}

#bg-left .shadow {
   max-width: 400px;
   margin-left: auto;
   margin-right: auto;
}

.shadow::after {
   content: "";
   position: absolute;
   left: 30px;
   right: 30px;
   bottom: 0;
   height: 30px;
   z-index: -1;
   -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
   box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.16);
}

#kalender .shadow::after {
   -webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.45);
   box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.45);
}

/* ------------------------------------------------ kalender ----------------------------------------------- */

#kalender {
   padding-top: 90px;
   padding-bottom: 90px;
   position: relative;
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center;
}

@media (min-width: 576px) {
   #kalender {
      padding-top: 110px;
      padding-bottom: 110px;
   }
}

@media (min-width: 768px) {
   #kalender {
      padding-top: 130px;
      padding-bottom: 140px;
   }
}

@media (min-width: 1200px) {
   #kalender {
      padding-top: 180px;
      padding-bottom: 170px;
   }
}

#kalender::before {
   content: "";
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   background: linear-gradient(3.5deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, #ffffff 50.5%) center top / 100% 130px no-repeat, url("../img/berge.png") center bottom / contain no-repeat;
}

#kalender .tabCalendar {
   background: #ffffff;
   border-radius: 3px;
   padding: 15px;
   position: relative;
   z-index: 2;
}

@media (max-width: 767px) {
   #kalender .tabCalendar {
      padding-bottom: 30px;
   }
}

#kalender .tabCalendar > .row,
#kalender .tabCalendar > .row > div {
   position: static;
}

#clr-events-hide,
#clr-events-hide + div {
   display: none;
}

.eventclndr-tab {
   margin-bottom: 15px;
}

@media (min-width: 768px) {
   .eventclndr-tab {
      margin-bottom: 0;
   }
}

#kalender .tabHeadline {
   margin-top: 10px;
   margin-bottom: 15px;
}

.tab_link_title a {
   color: #4c4c4c;
   font-weight: 600;
}

.tab_link_mandat a {
   color: #4c4c4c;
}

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

.tab_link_mehr a {
   padding-top: 32px;
   padding-left: 40px;
   text-align: left;
   display: block;
   color: #ffffff;
   font-weight: 500;
   font-family: "Khand", sans-serif;
   font-size: 1.1875rem;
   width: 99px;
   height: 89px;
   background: url("../img/polygon-button.png") center / contain no-repeat;
   position: absolute;
   right: -14px;
   bottom: -45px;
   text-decoration: none;
   backface-visibility: hidden;
   -webkit-transition: transform 300ms linear;
   -moz-transition: transform 300ms linear;
   -ms-transition: transform 300ms linear;
   -o-transition: transform 300ms linear;
   transition: transform 300ms linear;
}

@media (min-width: 992px) {
   .tab_link_mehr a {
      right: -35px;
      bottom: 15px;
   }
}

.tab_link_mehr a:hover,
.tab_link_mehr a:focus {
   -moz-transform: rotate(-15deg);
   -webkit-transform: rotate(-15deg);
   -o-transform: rotate(-15deg);
   -ms-transform: rotate(-15deg);
   transform: rotate(-15deg);
}

#kalender .tab_link_entries {
   padding-left: 55px;
   background: url("../img/icon-info.png") center left no-repeat;
}

@media (min-width: 992px) {
   #kalender .tab_link_entries {
      padding-right: 55px;
   }
}

#kalender .tab_link_entries > div:last-child .tab_spacer {
   height: 0;
}

/* ---------------------------------------------------- tab ---------------------------------------------------- */

address {
   font-style: normal;
}

.tab {
   position: relative;
   border: 1px solid rgba(29, 117, 171, 0.2);
   margin-top: 30px;
   border-radius: 3px;
   background-color: #ffffff;
   line-height: 1.4;
   color: #666666;
}

@media (min-width: 768px) {
   .tab {
      font-size: 1rem;
   }
}

@media (min-width: 992px) {
   nav + .tab {
      margin-top: 60px;
   }
}

.tabHeadline {
   font-weight: 500;
   color: #50791b;
   font-size: 1.5rem;
   line-height: 1.2;
   font-family: "Khand", sans-serif;
}

.tab .tabHeadline {
   padding: 16px 20px 12px 20px;
   border-bottom: 1px solid rgba(29, 117, 171, 0.2);
   margin: 0;
}

.tab .tabContent a {
   color: #666666;
   text-decoration: underline;
}

.tab .tabContent a:hover,
.tab .tabContent a:focus {
   color: #50791b;
}

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

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

h1,
.h1,
.legacy_h1 {
   font-size: calc(22px + (38 - 22) * (100vw - 320px) / (1920 - 320));
}

h2,
.h2,
.legacy_h2 {
   font-size: calc(22px + (32 - 22) * (100vw - 320px) / (1920 - 320));
}

h3,
.h3,
.legacy_h3 {
   font-size: calc(22px + (30 - 22) * (100vw - 320px) / (1920 - 320));
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
   font-size: calc(22px + (28 - 22) * (100vw - 320px) / (1920 - 320));
}

h5,
.h5,
.legacy_h5 {
   font-size: calc(22px + (26 - 22) * (100vw - 320px) / (1920 - 320));
}

h6,
.h6,
.legacy_h6 {
   font-size: calc(22px + (24 - 22) * (100vw - 320px) / (1920 - 320));
}

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

h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i,
h1 em,
h2 em,
h3 em,
h4 em,
h5 em,
h6 em {
   color: #333333;
   font-size: 65%;
   font-style: normal;
   font-weight: 400;
}

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

#footer {
   padding-top: 40px;
   padding-bottom: 40px;
}

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

/* --------------------------------------------- social ----------------------------------------------- */

#social {
   line-height: 1.2;
}

#social img + img,
#social img + a,
#social a + a,
#social a + img {
   margin-left: 10px;
}

/* --------------------------------------------- suche ----------------------------------------------- */

#search {
   height: 30px;
   display: block;
   position: relative;
   max-width: 300px;
   width: 100%;
   font-family: "Khand", sans-serif;
}

@media (max-width: 991px) {
   #search {
      margin: 25px auto;
   }
}

@media (min-width: 992px) and (max-width: 1200px) {
   #search {
      max-width: 170px;
   }
}

#search_input {
   color: #858585;
   font-size: 17px;
   font-style: normal;
   background: transparent;
   padding: 0;
   border: 0;
   line-height: 30px;
   padding-left: 0;
   padding-right: 30px;
   height: 30px;
   width: 100%;
}

#search_submit {
   width: 24px;
   background: url("../img/lupe-icon.png") center right 3px no-repeat;
   padding: 0;
   cursor: pointer;
   line-height: 30px;
   border: none;
   position: absolute;
   top: 0;
   right: 0;
   height: 100%;
   font-size: 0;
}

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

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

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

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

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

/* ------------------------------------------- innerfooter ------------------------------------------ */

#innerfooter {
   font-size: 1.0625rem;
   padding-top: 4px;
   padding-bottom: 4px;
   font-family: "Khand", sans-serif;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

#innerfooter a {
   color: #333333;
   text-decoration: none;
   display: inline-block;
}

#innerfooter a:hover,
#innerfooter a:focus {
   color: #50791b;
}

#innerfooter li + li {
   margin-left: 15px;
}

@media (min-width: 1200px) {
   #innerfooter li + li {
      margin-left: 22px;
   }
}

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

#contact {
   padding-bottom: 40px;
}

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

@media (min-width: 992px) {
   #contact {
      padding-bottom: 60px;
   }
}

#contact hr {
   opacity: 1;
   background: rgba(0, 0, 0, 0.1);
   margin: 0 0 10px 0;
}

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

#contact .footerTab a[href*="mailto"] {
   color: #50791b;
   text-decoration: underline;
}

#contact .footerTab a:not([href*="mailto"]) {
   color: #ffffff;
   font-family: "Khand", sans-serif;
   border-radius: 3px;
   background: linear-gradient(to right, #50791b, #50791b);
   display: inline-block;
   font-weight: 500;
   padding: 6px 25px 4px 25px;
   font-size: 1.1875rem;
}

@media (min-width: 992px) {
   #contact .footerTab a:not([href*="mailto"]) {
      padding: 6px 40px 4px 40px;
   }
}

#contact h1,
#contact h2,
#contact h3,
#contact h4,
#contact h5,
#contact h6 {
   margin-bottom: 0;
}

#contact h1 i,
#contact h2 i,
#contact h3 i,
#contact h4 i,
#contact h5 i,
#contact h6 i,
#contact h1 em,
#contact h2 em,
#contact h3 em,
#contact h4 em,
#contact h5 em,
#contact h6 em {
   color: #50791b;
   font-style: normal;
   font-size: 85%;
   display: block;
}

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

#contact #vernetzt {
   text-align: center;
   color: #6e6e6e;
   line-height: 1.3;
   margin: 0 auto;
   text-decoration: none;
   font-size: 0.875rem;
   font-weight: 400;
}

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

#vernetzt span {
   color: #6e6e6e;
   display: block;
}

#vernetzt img {
   display: block;
   margin: 0 auto 8px auto;
}
#vernetzt b {
   color: #50791b;
   font-weight: 500;
}

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