@import url("https://fonts.verwaltungsportal.de/import/?family=Lato:400,400i,700,700i%7CKhand:400,500,600");
body {
   font-family: "Lato", sans-serif;
   font-weight: 400;
   color: #676767;
   background: #fff;
   font-size: 1rem; /* 1rem = 16px */
   line-height: 1.5;
}

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

a {
   color: #c93518;
}

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

b,
strong {
   font-weight: 700;
}

@media (min-width: 1200px) {
   .row,
   .compact,
   ._op-container .container {
      max-width: 1440px;
   }
}

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

header {
   background: #ffffff;
}

#topbar > .row {
   padding-top: 10px;
   padding-bottom: 6px;
}

@media (min-width: 992px) {
   #topbar > .row {
      position: relative;
      padding-top: 20px;
      padding-bottom: 20px;
   }
}

#logo {
   display: inline-block;
}

#logo img {
   display: block;
}

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

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

#stylerBox {
   font-size: 0.9375rem;
   font-weight: 700;
   color: #2d3133;
   width: 100%;
   margin-bottom: 26px;
}

#contrast_style + #style {
   margin-left: 30px;
}

#stylerBox button {
   color: #043c19;
   padding: 0;
   border: 1px solid rgba(0, 0, 0, 0.6);
   font-family: "Khand", sans-serif;
   display: inline-block;
   width: 20px;
   height: 20px;
   border-radius: 50%;
   font-weight: 400;
   text-align: center;
   background: transparent;
   position: relative;
   z-index: 1;
}

#stylerBox button::before {
   content: "";
   display: block;
   position: absolute;
   z-index: -1;
   left: -6px;
   top: -6px;
   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;
}

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

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

#contrast_style button {
   font-size: 0;
}

#style button:nth-of-type(2) {
   font-size: 17px;
   line-height: 1;
}

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

#contrast_style 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 {
   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 {
   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 {
   background: #ea5b0c;
   border: none;
}

.contrast_dark form[id^="search"] {
   background: #000;
}

.contrast_light form[id^="search"] {
   background: #fff;
}

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

form[id^="search"] {
   height: 48px;
   background: #0a8035;
   display: inline-block;
   position: relative;
   border-radius: 30px;
   margin-top: 20px;
   width: 100%;
   max-width: 290px;
   border: 4px solid #ffffff;
}

@media (min-width: 992px) {
   form[id^="search"] {
      margin-top: 0;
   }

   form#search1 label {
      color: #ffffff;
      font-size: 15px;
      font-weight: 700;
      position: absolute;
      top: 9px;
      left: 15px;
      padding-right: 15px;
      border-right: 1px solid rgba(255, 255, 255, 0.2);
   }
}

form [id^="search_input"] {
   color: #d3e2ee;
   font-size: 15px;
   font-style: normal;
   background: transparent;
   padding: 0;
   border: 0;
   line-height: 40px;
   padding-left: 15px;
   padding-right: 47px;
   height: 40px;
   width: 100%;
   border-radius: 30px;
}

@media (min-width: 992px) {
   form #search_input1 {
      padding-left: 82px;
   }
}

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

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

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

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

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

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

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

@media (min-width: 992px) {
   #slider {
      max-height: 565px;
   }
   body.index #slider {
      max-height: 565px;
   }
   #headerpic a.nivo-prevNav {
      left: 65px;
   }
   #headerpic a.nivo-nextNav {
      right: 65px;
   }
}

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

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

.slider-mask {
   display: none;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #burgerButton {
      font-size: 0;
      display: block;
      height: 50px;
      width: 60px;
      border-radius: 2px;
      padding: 6px 8px;
      cursor: pointer;
      background: #ffffff;
      border: none !important;
      -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
      box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
   }
   #burgerButtonInner2,
   #burgerButton:after,
   #burgerButtonInner {
      background-color: #043c19;
      border-radius: 2px;
      position: absolute;
      width: 40px;
      height: 3px;
      left: 10px;
      -webkit-transition: transform 200ms linear, opacity 200ms linear;
      -moz-transition: transform 200ms linear, opacity 200ms linear;
      -ms-transition: transform 200ms linear, opacity 200ms linear;
      -o-transition: transform 200ms linear, opacity 200ms linear;
      transition: transform 200ms linear, opacity 200ms linear;
   }
   #burgerButton[aria-expanded="true"] #burgerButtonInner {
      -webkit-transform: rotate(-45deg) translate(-6px, 6px);
      transform: rotate(-45deg) translate(-6px, 6px);
   }
   #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
      opacity: 0;
   }
   #burgerButton[aria-expanded="true"]:after {
      -webkit-transform: rotate(45deg) translate(-4px, -6px);
      transform: rotate(45deg) translate(-4px, -6px);
   }
   #burgerButtonInner {
      top: 16px;
   }
   #burgerButtonInner2 {
      top: 24px;
   }
   #burgerButton:after {
      top: 32px;
      content: "";
      display: block;
   }
   .navbar-nav {
      margin: 20px 0;
   }
   .navbar-collapse {
      top: 0;
      background: #043c19;
      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;
   }
   .dropdown-toggle-button-wrapper {
      top: 14px;
   }
   .dropdown-toggle-button-wrapper2 {
      top: 3px;
   }
}

@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) {
   #menu {
      border-top: 5px solid rgba(255, 255, 255, 0.9);
      background-color: rgba(10, 128, 53, 0.9);
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 8;
   }
   nav.horizontally .navbar-nav {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify !important;
      -ms-flex-pack: justify !important;
      justify-content: space-between !important;
      -webkit-box-align: center !important;
      -ms-flex-align: center !important;
      align-items: center !important;
   }
   nav.horizontally .navbar-nav > li {
      flex-grow: 1;
   }
   nav.horizontally .dropdown-menu {
      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;
   }
   .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: #ffffff;
   font-weight: 500;
   text-align: left;
   padding: 15px 15px;
   position: relative;
   font-size: 1.375rem;
   line-height: 1.2;
   text-decoration: none;
   font-family: "Khand", sans-serif;
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav > li {
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
   }
   nav.horizontally .navbar-nav > li > a.dropdown-toggle {
      padding-right: 35px;
   }
}

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

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

.navbar-default .navbar-nav > li > a::before {
   content: "";
   width: 0;
   height: 5px;
   display: block;
   position: absolute;
   left: 50%;
   bottom: 0;
   background: #ffffff;
   opacity: 0;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
   -webkit-transition: opacity 300ms linear, width 300ms linear;
   -moz-transition: opacity 300ms linear, width 300ms linear;
   -ms-transition: opacity 300ms linear, width 300ms linear;
   -o-transition: opacity 300ms linear, width 300ms linear;
   transition: opacity 300ms linear, width 300ms linear;
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > a::before {
      bottom: auto;
      top: -5px;
      background: #076429;
   }
}

/* -------------------------------------------- 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 {
   background: #0a8035;
}

.navbar-nav > li:focus-within > a {
   background: #0a8035;
}

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

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

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
   border-top: 5px solid #076429;
   background: #ffffff;
   -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
   box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav > li > .dropdown-menu {
      padding: 10px 0;
   }
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav > li > .dropdown-menu,
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      padding-top: 18px;
      padding-bottom: 18px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu {
      margin-top: 20px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      height: 25px;
      left: 0;
      right: 0;
      top: -25px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      margin-top: -23px;
      margin-left: 6px;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
      content: "";
      position: absolute;
      display: block;
      width: 6px;
      top: 0;
      bottom: 0;
      left: -6px;
   }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   color: #2d3133;
   font-weight: 400;
   text-align: left;
   padding: 8px 25px;
   font-size: 1.125rem;
   line-height: 1.2;
   text-decoration: none;
   font-family: "Khand", sans-serif;
}

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

/* ------------------------------------------ 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 {
   background: rgba(0, 0, 0, 0.06);
   color: #cc3835;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
   background: rgba(0, 0, 0, 0.06);
   color: #cc3835;
}

/* ----------------------------------------------- links ----------------------------------------------- */
#links {
   padding-top: 20px;
   padding-bottom: 20px;
   -webkit-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
   -moz-box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
   box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.05);
   background: url("../img/gallery-hintergrund.jpg") no-repeat center;
}

.linkHeadline {
   font-size: 1.5625rem;
   font-weight: 600;
   color: #c93518;
}

#links a {
   font-size: 1.375rem;
   font-weight: 400;
   color: #444444;
   padding: 10px 25px;
   background: #f5f5f5;
   display: inline-block;
}

#links a:hover,
#links a:focus {
   color: #fff;
   text-decoration: none;
   background: #076429;
}

@media (max-width: 991px) {
   #links a + a {
      margin-top: 20px;
   }
}

@media (min-width: 992px) {
   #links a + a {
      margin-left: 10px;
   }

   #links .linkHeadline {
      padding-right: 50px;
      font-family: "Khand";
      font-size: 1.625rem;
   }

   #links p {
      display: inline-flex;
   }
}

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

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

@media (max-width: 991px) {
   #contentCol {
      -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
      order: -1;
   }
}

@media (min-width: 992px) {
   #content {
      padding-bottom: 50px;
      padding-top: 50px;
      border-bottom: 1px solid #dddede;
      background: url("../img/main-left.png") no-repeat left bottom;
   }
   #contentCol {
      padding-top: 26px;
   }
}

/* ------------------------------------------------ tabs ----------------------------------------------- */

#tabsLeft > * + *,
#tabsRight > * + * {
   margin-top: 60px;
}

@media (max-width: 991px) {
   #tabsLeft,
   #tabsRight {
      padding-top: 40px;
   }
}

@media (min-width: 992px) {
   #tabsLeft {
      padding-right: 20px;
   }
   #tabsRight {
      padding-left: 20px;
   }
}

@media (min-width: 1200px) {
   #tabsLeft {
      padding-right: 40px;
   }
   #tabsRight {
      padding-left: 40px;
   }
}

.tab {
   max-width: 320px;
   margin-left: auto;
   margin-right: auto;
   margin-top: 32px;
   position: relative;
   padding: 45px 20px 20px 20px;
   background: #ffffff;
   font-size: 15px;
   color: #676767;
   border-top: 4px solid #0a7e34;
   -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
   box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
   text-align: center;
}

.tab::before {
   content: "";
   display: block;
   width: 60px;
   height: 60px;
   position: absolute;
   top: -32px;
   left: 50%;
   margin-left: -30px;
   border-radius: 50%;
   background-color: #ffffff;
   background-position: center;
   background-repeat: no-repeat;
   -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
   box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tab1::before {
   background-image: url("../img/icon1.png");
}

#tab2::before {
   background-image: url("../img/icon2.png");
}

#bekannt,
#events {
   margin-top: 50px;
   position: relative;
}

#bekannt::before,
#events::before {
   display: block;
   position: absolute;
   content: "";
   width: 100px;
   height: 4px;
   top: -25px;
   background-color: #0a8035;
   left: calc(50% - 50px);
}

#tab3::before {
   background-image: url("../img/icon3.png");
}

#tab3 h3 {
   margin-top: 50px;
   position: relative;
}

#tab3 h3::before {
   display: block;
   position: absolute;
   content: "";
   width: 100px;
   height: 4px;
   top: -25px;
   background-color: #0a8035;
   left: calc(50% - 50px);
}

.tab h1,
.tab h2,
.tab h3,
.tab h4,
.tab h5,
.tab h6,
.tab .tabHeadline {
   color: #0a8035;
   font-size: 1.625rem;
   margin: 0 0 16px 0;
   text-align: center;
}

.tab .tab_link_title a {
   color: #2d3133;
   font-weight: 700;
}

.tab .tab_link_mandat a {
   color: #676767;
}

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

#tab3 a,
.tab .tab_link_mehr a,
#teaser a,
#gallery a {
   text-decoration: none;
   padding: 4px 15px 3px 15px;
   display: inline-block;
   border-radius: 2px;
   font-size: 0.9375rem;
   background: rgba(0, 0, 0, 0.02);
   color: #cc3835;
   font-weight: 600;
   font-family: "Khand", sans-serif;
   border: 1px solid rgba(0, 0, 0, 0.15);
}

#tab3 a,
#teaser a {
   margin-top: 15px;
}

#tab3 a:hover,
#tab3 a:focus,
.tab .tab_link_mehr a:hover,
.tab .tab_link_mehr a:focus,
#teaser a:hover,
#teaser a:focus,
#gallery a:hover,
#gallery a:focus {
   background: #cc3835;
   color: #ffffff;
}

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

.tab #clr-events-hide > p:first-child {
   margin-bottom: 15px;
}

.tab .tab_spacer {
   height: 15px;
}

.tab hr {
   height: 4px;
   opacity: 1;
   background: #043c19;
   max-width: 100px;
   width: 100%;
   margin: 28px auto;
   display: block;
}

#tab3 img {
   margin: 0 -20px 25px -20px;
   display: block;
   width: calc(100% + 40px) !important;
   min-width: calc(100% + 40px) !important;
}

/*---------- gallerie --------*/

#gallery {
   padding-top: 40px;
   padding-bottom: 40px;
   background: url("../img/gallery-hintergrund.jpg") center bottom / cover no-repeat;
}

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

#gallery h2 {
   color: #0a8035;
   font-weight: bold;
   font-size: 2.5rem;
}

#gallery img {
   display: block;
   width: 100%;
   height: 100%;
}

#gallery .btgrid > .row {
   margin-left: -1px;
   margin-right: -1px;
}

#gallery .btgrid .row > div {
   padding-left: 1px;
   padding-right: 1px;
}

#gallery > .row > .col-xs-12 > .template-page > .row > .col-xs-12 > .btgrid > .row > .col > .content,
#gallery > .row > .col-xs-12 > .template-page > .row > .col-xs-12 > .btgrid > .row > .col > .content > .tiny_p {
   height: 100%;
}

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

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

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

@media (min-width: 768px) {
   h1,
   .h1,
   .legacy_h1 {
      font-size: 40px;
   }
}

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

@media (min-width: 768px) {
   h2,
   .h2,
   .legacy_h2 {
      font-size: 1.875rem;
   }
}

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

/* ----------------------------------------------- teaser ----------------------------------------------- */

#teaser {
   margin-top: 5px;
   margin-bottom: 5px;
   padding: 40px 0;
   min-height: 200px;
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   background-attachment: fixed;
}

@media (min-width: 992px) {
   #teaser {
      min-height: 300px;
   }
   #teaser > .row > div {
      padding-left: 20px;
   }
}

@media (min-width: 1200px) {
   #teaser > .row > div {
      padding-left: 40px;
   }
}

#teaser .tab {
   margin-bottom: -95px;
   padding-top: 30px;
   -webkit-box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
   box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
}

#teaser .tab::before {
   display: none;
}

#teaser img {
   margin: -30px -20px 25px -20px;
   display: block;
   width: calc(100% + 40px) !important;
   min-width: calc(100% + 40px) !important;
}

#teaser a {
   margin-top: 15px;
}

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

footer,
#footer {
   position: relative;
}

@media (min-width: 992px) {
   #footer {
      background: url("../img/gallerie.png") no-repeat bottom right;
   }
}

footer::before {
   content: "";
   display: block;
   height: 100px;
   background: #0a8035;
   margin: 0 15px;
   pointer-events: none;
   position: relative;
   z-index: 1;
}

footer::after {
   content: "";
   display: block;
   position: absolute;
   top: -20px;
   background: url("../img/footer.png") no-repeat;
   width: 123px;
   height: 147px;
   left: calc(50% - 61.5px);
   z-index: 2;
}

#footer::before,
#footer::after {
   content: "";
   display: block;
   width: 117px;
   height: 100px;
   position: absolute;
   top: -80px;
   pointer-events: none;
}

#footer::before {
   left: 0;
   background: #076429 linear-gradient(9deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 51%) bottom -14px right / 102px 50px no-repeat;
}

#footer::after {
   right: 0;
   background: #076429 linear-gradient(-9deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.4) 51%) bottom -14px left / 102px 50px no-repeat;
}

@media (min-width: 992px) {
   footer::before {
      margin: 0 158px;
   }
   #footer::before,
   #footer::after {
      width: 260px;
   }
}

#footerlogo {
   position: absolute;
   z-index: 2;
   top: -140px;
   left: 50%;
   -moz-transform: translateX(-50%);
   -webkit-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   transform: translateX(-50%);
}

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

@media (min-width: 992px) {
   #footerlogo {
      top: -190px;
   }
}

#footer {
   padding-top: 30px;
   padding-bottom: 30px;
   font-size: 1rem;
}

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

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

#footer a {
   text-decoration: underline;
}

#footer .footerHeadline {
   font-size: 1.0625rem;
   text-transform: uppercase;
   margin-bottom: 6px;
}

#footer .footerHeadline::before {
   content: "";
   display: block;
   width: 70px;
   height: 70px;
   border-radius: 50%;
   background: #784544;
   margin: 0 auto 15px auto;
   background-position: center;
   background-repeat: no-repeat;
}

#footer .tab1 .footerHeadline::before {
   background-image: url("../img/telefon-icon.png");
}

#footer .tab2 .footerHeadline::before {
   background-image: url("../img/ort-icon.png");
}

#footer .tab3 .footerHeadline::before {
   background-image: url("../img/mail-icon.png");
}

#innerfooter {
   background-color: #043c19;
   padding-top: 26px;
   padding-bottom: 26px;
   font-size: 1rem;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

#innerfooter a {
   color: #ffffff;
}

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

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

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

#vernetzt {
   text-align: right;
   font-size: 0.875rem;
   color: #ffffff;
   line-height: 1.3;
   margin: 20px auto 0 auto;
   text-decoration: none;
}

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

#vernetzt span span {
   display: block;
}

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

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

@media (min-width: 992px) {
   .nivo-directionNav a {
      top: 52% !important;
   }
}

.theme-default .nivo-controlNav {
   z-index: 7 !important;
}

#overflow {
   overflow: hidden;
}
