@import url("https://fonts.verwaltungsportal.de/import/?family=Jost:400,400i,500,500i,700,700i");

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

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

a {
   color: #b7241b;
}

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

a:focus {
   outline: 3px solid #b7241b;
}

#navContainer a:focus {
   outline: 3px solid #b7241b;
}

#footer a:focus {
   outline: 3px solid #b7241b;
}

#style button:focus {
   outline: 3px solid #b7241b;
}

#news a:focus {
   outline: 3px solid #b7241b;
}

#tabs a:focus {
   outline: 3px solid #b7241b;
}

#content a:focus {
   outline: 3px solid #b7241b;
}

iframe:focus {
   outline: 3px solid #b7241b;
}

#vernetzt a:focus {
   outline: 3px solid #b7241b;
}

b,
strong {
   font-weight: 500;
}

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

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

#topbar {
   position: relative;
   -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
   box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

@media (max-width: 991px) {
   #topbar {
      min-height: 95px;
   }
}

@media (min-width: 992px) {
   #topbar {
      background: #ffffff url("../img/hintergrund-topbar.png") bottom 16px right 184px no-repeat;
   }

   #topbar > .row > div:last-child {
      padding-top: 34px;
      padding-bottom: 18px;
   }
}

/* ----------------------------------------------- styler ----------------------------------------------- */

#style {
   display: inline-block;
}

#style button + button::before {
   border-left: 1px solid #444444;
   content: "";
   left: -16px;
   position: relative;
}

@media (min-width: 992px) {
   #style button {
      border: none;
      color: #444444;
      display: inline-block;
      width: 38px;
      height: 38px;
      font-weight: 400;
      text-align: center;
      background-color: transparent;
      position: relative;
      line-height: 1;
      -webkit-transition: transform 150ms linear;
      -moz-transition: transform 150ms linear;
      -ms-transition: transform 150ms linear;
      -o-transition: transform 150ms linear;
      transition: transform 150ms linear;
   }

   #style button + button {
      margin-left: 2px;
   }
}

@media (min-width: 992px) {
   #style button {
      font-size: 16px;
      background: transparent;
      padding: 0;
      border: none;
      color: #444444;
      display: inline-block;
      font-weight: 400;
      text-align: center;
      position: relative;
      line-height: 1;
      -webkit-transition: color 150ms linear;
      -moz-transition: color 150ms linear;
      -ms-transition: color 150ms linear;
      -o-transition: color 150ms linear;
      transition: color 150ms linear;
   }

   #style button + button {
      margin-left: 2px;
   }

   #style button:hover {
      color: #b7241b;
   }
}

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

@media (min-width: 992px) {
   #logo {
      display: block;
      padding: 14px 20px 20px 20px;
      background: #ffffff;
      -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
      box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
      border-bottom-left-radius: 2px;
      border-bottom-right-radius: 2px;
      position: absolute;
      top: -75px;
      left: 15px;
      z-index: 50;
   }
}


#logo img {
   display: block;
}

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

@media (max-width: 567px) {
   #logo img {
      max-width: 80px;
      width: 100%;
      padding: 5px 0;
   }
}

#optionsbar {
   display: block;
}
/* ----------------------------------------------- search ----------------------------------------------- */

form[id^="search"] {
   height: 38px;
   display: inline-block;
   position: relative;
   margin: 20px auto;
   max-width: 250px;
   width: 100%;
}

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

form [id^="search_input"] {
   color: #444444;
   font-size: 17px;
   font-style: normal;
   background: transparent;
   padding: 0;
   border: 0;
   line-height: 38px;
   padding-left: 14px;
   padding-right: 47px;
   height: 38px;
   width: 100%;
}

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

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
   background-color: rgba(0, 0, 0, 0.1);
}

[id^="search_input"]::-ms-input-placeholder {
   color: #444444 !important;
}

[id^="search_input"]::-webkit-input-placeholder {
   color: #444444 !important;
}

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

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

.innerfooter {
   font-size: 1.25rem;
}

@media (min-width: 992px) {
   form[id^="search"] + .innerfooter {
      border-left: 1px solid rgba(180, 180, 180, 0.3);
      padding: 8px 30px 8px 30px;
   }

   .innerfooter + #style {
      border-left: 1px solid rgba(180, 180, 180, 0.3);
      padding: 8px 0 8px 30px;
   }

   .innerfooter {
      display: block;
   }
}

.innerfooter ul {
   padding: 0;
}

@media (max-width: 991px) {
   .innerfooter ul {
      padding: 20px 0;
   }
}

.innerfooter li {
   display: block;
   text-align: right;
}

.innerfooter a {
   color: #fff;
   text-decoration: none;
}

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

.innerfooter li::after {
   content: "\00B7";
   margin: 0 15px;
   color: #fff;
}

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

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

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

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

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

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

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

/* #headerpic .nivo-controlNav {
   bottom: 25px;
}

@media (min-width: 768px) {
   #headerpic .nivo-controlNav {
      bottom: 40px;
   }

   .index #headerpic .nivo-controlNav {
      bottom: 110px;
   }
}

@media (min-width: 992px) {
   .index #headerpic .nivo-controlNav {
      bottom: 170px;
   }
}

@media (min-width: 1200px) {
   #headerpic .nivo-controlNav {
      bottom: 90px;
   }
} */

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

.slider-mask {
   display: none;
}

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

/* 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);
   }

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

   .dropdown-toggle-button-wrapper2 {
      top: 2px;
   }
}

@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: 15px 0 0 0;
      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 .navbar-nav > li > .dropdown-menu {
      display: flex !important;
      flex-wrap: wrap;
      pointer-events: none;
      position: absolute;
      opacity: 0;
      margin-top: 18px;
      top: 100%;
      left: 15px;
      right: 15px;
      z-index: 1000;
      padding: 30px 30px 0 30px;
      -ms-transform-origin: top center;
      -webkit-transform-origin: top center;
      transform-origin: top center;
      -webkit-transition: opacity 300ms linear, top 300ms linear;
      -moz-transition: opacity 300ms linear, top 300ms linear;
      -ms-transition: opacity 300ms linear, top 300ms linear;
      -o-transition: opacity 300ms linear, top 300ms linear;
      transition: opacity 300ms linear, top 300ms linear;
   }

   nav.horizontally .navbar-nav > li:hover > .dropdown-menu {
      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%;
   }
   .navbar-default .nav .open > li[class*="toplevel"] > .dropdown-menu {
      pointer-events: none !important;
      opacity: 0 !important;
   }
   nav.horizontally .navbar-nav > li > .dropdown-menu > li {
      margin-bottom: 30px;
      width: 25%;
   }
   nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      display: block !important;
   }

   /* Pseudo */

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

   /* Fade in Hover End */
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */
#toplevel5_23214 {
   position: static;
}
.navbar-default .navbar-nav > li > a {
   color: #fff;
   font-weight: 500;
   text-align: left;
   padding: 10px 45px 10px 20px;
   position: relative;
   font-size: 1.125rem;
}

.navbar-default .navbar-nav > li:nth-child(5n + 1) > a {
   color: #fff;
   background: #b7241b;
}

.navbar-default .navbar-nav > li:nth-child(5n + 2) > a {
   color: #fff;
   background: #008bc2;
}

.navbar-default .navbar-nav > li:nth-child(5n + 3) > a {
   color: #fff;
   background: #1b823e;
}

.navbar-default .navbar-nav > li:nth-child(5n + 4) > a {
   color: #fff;
   background: #eb751f;
}

.navbar-default .navbar-nav > li:nth-child(5n + 5) > a {
   color: #fff;
   background: #062b48;
}

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

   .navbar-default .navbar-nav > li > a {
      padding: 10px 15px 7px 15px;
      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;
   }
}

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

.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;
   text-decoration: underline;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
   padding: 10px;
   margin: 0;
   background-color: transparent;
}

.navbar-default .navbar-nav > li:nth-child(5n + 1) > .dropdown-menu {
   background-color: #b7241b;
}

.navbar-default .navbar-nav > li:nth-child(5n + 2) > .dropdown-menu {
   background-color: #008bc2;
}

.navbar-default .navbar-nav > li:nth-child(5n + 3) > .dropdown-menu {
   background-color: #1b823e;
}

.navbar-default .navbar-nav > li:nth-child(5n + 4) > .dropdown-menu {
   background-color: #eb751f;
}

.navbar-default .navbar-nav > li:nth-child(5n + 5) > .dropdown-menu {
   background-color: #062b48;
}

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

   .navbar-default .navbar-nav > li > .dropdown-menu,
   .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
      padding: 0;
   }
   .navbar-default .navbar-nav > li > .dropdown-menu::after {
      content: "";
      position: absolute;
      top: -12px;
      left: 26%;
      margin-left: -20px;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 20px 12px 20px;
      border-color: transparent transparent #008bc2 transparent;
   }

   .navbar-default .navbar-nav > li:nth-child(5n + 1) > .dropdown-menu::after {
      left: 14%;
      border-color: transparent transparent #b7241b transparent;
   }

   .navbar-default .navbar-nav > li:nth-child(5n + 2) > .dropdown-menu::after {
      left: 34%;
      border-color: transparent transparent #008bc2 transparent;
   }

   .navbar-default .navbar-nav > li:nth-child(5n + 3) > .dropdown-menu::after {
      left: 52%;
      border-color: transparent transparent #1b823e transparent;
   }

   .navbar-default .navbar-nav > li:nth-child(5n + 4) > .dropdown-menu::after {
      left: 70%;
      border-color: transparent transparent #eb751f transparent;
   }

   .navbar-default .navbar-nav > li:nth-child(5n + 5) > .dropdown-menu::after {
      left: 90%;
      border-color: transparent transparent #062b48 transparent;
   }
}

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

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   text-align: left;
   padding: 8px 45px 8px 20px;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a {
   color: #fff;
   font-size: 1.125rem;
   font-weight: 500;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
   color: #fff;
   font-size: 1rem;
   font-weight: 400;
}

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

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::before {
   content: "";
   margin-right: 4px;
   display: block;
   width: 5px;
   height: 5px;
   border-radius: 50%;
   color: #008bc2;
   border: 1px solid #fff;
   left: 20px;
   top: calc(50% - 3px);
   position: absolute;
   -webkit-transition: all 0.5s 0s ease;
   -moz-transition: all 0.5s 0s ease;
   -o-transition: all 0.5s 0s ease;
   transition: all 0.5s 0s ease;
}

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

.navbar-nav > li:hover > a,
.navbar-nav > li:focus > 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: #fff;
   text-decoration: underline;
}

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

.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 {
   background-color: #b7241b;
   border-color: #b7241b;
}

/* --------------------------------------------- vernetzt -------------------------------------------- */
#navContainer {
   position: relative;
   background: #ffffff;
   border-radius: 2px;
   width: 100%;
   padding: 20px 20px 20px 20px;
   -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
   box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
   margin-top: 20px;
}
#vernetzt {
   text-align: left;
   font-size: 1rem;
   color: #444444;
   justify-content: center;
   line-height: 1.3;
   margin: 0 auto 30px auto;
   text-decoration: none;
}

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

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

#vernetzt b {
   font-weight: inherit;
   color: #b7241b;
}

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

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

#content {
   text-align: left;
   padding-top: 35px;
   padding-bottom: 35px;
   position: relative;
}

#content::before {
   content: "";
   position: absolute;
   display: block;
   left: 0;
   top: 12px;
   right: 0;
   height: 5px;
   background: #107c34;
   pointer-events: none;
}

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

   body:not(.index) #content {
      padding-top: 50px;
   }

   main {
      background: url("../img/hintergrund.png") bottom left 40px no-repeat;
   }
}

@media (max-width: 991px) {
   #bg-left {
      -webkit-box-ordinal-group: 14;
      -ms-flex-order: 13;
      order: 13;
   }
}

hr,
.hrstyle {
   opacity: 1;
   background: rgba(110, 110, 110, 0.3);
}

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

@media (min-width: 768px) {
   #news {
      position: relative;
      z-index: 60;
   }
}

@media (min-width: 992px) {
   #news {
      margin-top: -148px;
   }
}

@media (min-width: 576px) {
   #news .tab_link_entries {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
   }
}

#news .tab_link_entry {
   border-bottom: none !important;
   position: relative;
   background: #ffffff;
   border-radius: 2px;
   width: 100%;
   padding: 220px 20px 40px 20px;
   -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
   box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

@media (min-width: 576px) and (max-width: 767px) {
   #news .tab_link_entry {
      width: calc(50% - 15px);
   }

   #news .tab_link_entry:nth-child(2n + 1) {
      margin-right: 15px;
   }

   #news .tab_link_entry:nth-child(2n + 2) {
      margin-left: 15px;
   }
}

@media (min-width: 768px) {
   #news .tab_link_entry {
      width: calc(33.33% - 20px);
   }

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

@media (max-width: 767px) {
   #news .tab_link_entry + .tab_link_entry {
      margin-top: 30px;
   }
}

@media (min-width: 576px) {
   #news .tab_link_entry:nth-child(2) {
      margin-top: 0;
   }
}

#news .tab_link_entry::before {
   content: "";
   position: absolute;
   display: block;
   border-top-left-radius: 2px;
   border-top-right-radius: 2px;
   overflow: hidden;
   top: 0;
   left: 0;
   right: 0;
   height: 180px;
   background: url("../img/news-standard.jpg") center / cover no-repeat;
}

#news .tab_link_entry .tab_preview_picture {
   display: block;
   position: absolute;
   left: 0;
   right: 0;
   top: 0;
   height: 180px;
   overflow: hidden;
   border-top-left-radius: 2px;
   border-top-right-radius: 2px;
}

#news .tab_preview_picture img {
   position: absolute;
   margin: 0 !important;
   left: 50%;
   top: 50%;
   max-width: none;
   min-width: 100%;
   min-height: 100%;
   max-width: 500px;
   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%);
}

#news .tab_date {
   font-size: 1rem;
   font-weight: 400;
   position: absolute;
   right: -15px;
   top: 164px;
   z-index: 1;
   display: inline-block;
   padding: 4px 10px;
   background: #b7241b;
   color: #ffffff;
}

#news .tab_link_title a {
   color: #18813b;
   font-weight: 700;
   font-size: 1.25rem;
   line-height: 1.2;
   display: block;
   margin-bottom: 10px;
}

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

#news .tab_link_mehr {
   margin-top: 15px;
}

#news .tab_link_mehr a {
   font-weight: 500;
}

#news .tab_link_mehr a::after {
   content: "\00BB";
   margin-left: 4px;
   display: inline-block;
}

#news .tab_link_mehr hr {
   margin: 15px 0 0 0;
}

#tabbar > .row hr {
   margin: 30px 0 0 0;
}

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

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

h1 em,
h1 i,
h2 em,
h2 i,
h3 em,
h3 i {
   font-style: normal;
   font-weight: 500;
   color: #0a5824;
   font-size: 75%;
   position: relative;
   top: -5px;
}

@media (min-width: 768px) {
   h1 em,
   h1 i,
   h2 em,
   h2 i,
   h3 em,
   h3 i {
      margin-left: 35px;
   }
}

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

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

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

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

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

@media (min-width: 768px) {
   h3,
   .h3,
   .legacy_h3 {
      font-size: 1.9rem;
   }
}

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

@media (min-width: 768px) {
   h4,
   .h4,
   .h4link a:link,
   .h4link a:hover,
   .h4link a:focus,
   .h4link a:visited,
   .legacy_h4 {
      font-size: 1.7rem;
   }
}

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

@media (min-width: 768px) {
   h5,
   .h5,
   .legacy_h5 {
      font-size: 1.6rem;
   }
}

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

@media (min-width: 768px) {
   h6,
   .h6,
   .legacy_h6 {
      font-size: 1.5rem;
   }
}

#newslinks,
#newsmandate {
   border: 1px solid #304b78;
}

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

#tabs {
   padding-bottom: 35px;
}

#tabs hr {
   margin: 0 0 35px 0;
}

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

   #tabs hr {
      margin: 0 0 50px 0;
   }
}

@media (max-width: 991px) {
   #tabs > .row > div:not(:first-child) + div {
      margin-top: 15px;
   }
}

@media (min-width: 768px) {
   #tabs > .row > div:not(:first-child):nth-child(2) + div {
      margin-top: 0;
   }
}

#tabs .tab {
   height: 100%;
   min-height: 100%;
   background: #ffffff;
   max-width: 400px;
   margin-left: auto;
   margin-right: auto;
   -webkit-box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
   box-shadow: 0 0 5px 0 rgba(43, 43, 43, 0.2);
}

#tabs .tab1 {
   padding: 20px;
}

@media (min-width: 1200px) {
   #tabs .tab1 {
      padding: 40px 30px;
   }
}

#tabs .tab1 h1,
#tabs .tab1 h2,
#tabs .tab1 h3,
#tabs .tab1 h4,
#tabs .tab1 h5,
#tabs .tab1 h6 {
   color: #1e8440;
   margin-bottom: 15px;
   font-size: 1.5625rem;
}

@media (min-width: 992px) {
   #tabs .tab1 h1,
   #tabs .tab1 h2,
   #tabs .tab1 h3,
   #tabs .tab1 h4,
   #tabs .tab1 h5,
   #tabs .tab1 h6 {
      margin-bottom: 25px;
   }
}

#tabs .tab2 h1,
#tabs .tab2 h2,
#tabs .tab2 h3,
#tabs .tab2 h4,
#tabs .tab2 h5,
#tabs .tab2 h6 {
   color: #1e8440;
   padding: 20px 15px;
   font-size: 1.5625rem;
}

@media (min-width: 992px) {
   #tabs .tab2 h1,
   #tabs .tab2 h2,
   #tabs .tab2 h3,
   #tabs .tab2 h4,
   #tabs .tab2 h5,
   #tabs .tab2 h6 {
      padding: 30px 15px;
   }
}

#tabs .tabLinks a {
   text-decoration: underline;
}

#tabs .tabLinks p {
   margin-bottom: 8px;
}

#tabs iframe,
#tabs .iframe-wrapper-manual-enabling {
   min-width: 100% !important;
   width: 100%;
   display: block;
}

#rightTabs .tab {
   padding: 10px;
   border: 1px solid #1b823e;
}

#rightTabs > .row > div + div {
   margin-top: 15px;
}

@media (max-width: 991px) {
   #rightTabs > .row > div {
      margin-top: 15px !important;
   }
}

#rightTabs .tabContent {
   padding: 20px;
   font-size: 1.125rem;
   font-weight: 400;
   color: #444444;
}

#rightTabs .tabHeadline {
   display: block;
   width: 100%;
   background-color: #1b823e;
   color: #fff;
   font-size: calc(20px + (25 - 20) * (100vw - 400px) / (1920 - 400));
   font-weight: 600;
   text-align: center;
   margin: 0px;
   padding: 10px 0;
}

/* ------------------------------------------- veranstaltungen ------------------------------------------- */

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

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

.eventclndr-tab table td,
.eventclndr-tab table th {
   padding: 4px 4px;
}

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

footer .tab_link_title a {
   font-weight: 500;
}

footer .tab_link_mehr {
   color: transparent;
}

footer .tab_link_mehr a {
   font-size: 0;
   text-decoration: none;
}

footer .tab_link_mehr a::after {
   content: "Alle Veranstaltungen \00BB";
   font-size: 1rem;
   font-weight: 500;
   text-decoration: underline;
}

footer .tab_spacer {
   height: 15px;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer .footerHeadline {
   font-size: 25px;
   margin-bottom: 20px;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
footer a,
footer a:hover {
   color: #ffffff;
}

.footerTab a {
   text-decoration: underline;
}

@media (max-width: 767px) {
   .footerTab {
      margin-top: 30px;
   }
}

@media (max-width: 575px) {
   .socialTab {
      margin: 30px 0;
   }

   .socialTab p {
      display: inline-block;
      padding: 0 8px;
   }
}

.socialTab img {
   line-height: 2;
}

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

#footer {
   color: #ffffff;
   position: relative;
   background: #1d843f;
   padding-top: 45px;
   padding-bottom: 30px;
   margin-bottom: 200px;
}

footer {
   position: relative;
}

@media (min-width: 992px) {
   footer::after {
      content: "";
      position: absolute;
      background: url("../img/hintergrund-footer.png");
      height: 278px;
      width: 164px;
      right: 66px;
      background-repeat: no-repeat;
      bottom: 5px;
      pointer-events: none;
   }
}

@media (min-width: 576px) and (max-width: 991px) {
   #footer > .row > div + div {
      border-top: 1px solid rgba(255, 255, 255, 0.3);
   }

   #footer > .row > div:first-child {
      padding-bottom: 25px;
   }

   #footer > .row > div:last-child {
      padding-top: 25px;
   }
}

@media (min-width: 992px) {
   #footer > .row > div + div {
      border-left: 1px solid rgba(255, 255, 255, 0.3);
   }

   #footer > .row > div:first-child {
      padding-right: 40px;
   }

   #footer > .row > div:last-child {
      padding-left: 40px;
   }
}

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

#footer::after {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   bottom: -200px;
   display: block;
   height: 200px;
   background-position: center top -5px, center;
   background-size: 100% auto, cover;
   background-repeat: no-repeat;
}

@media (min-width: 992px) {
   #footer {
      margin-bottom: 375px;
   }

   #footer::after {
      bottom: -365px;
      height: 365px;
   }
}

#footer::before {
   content: "";
   position: absolute;
   display: block;
   left: 0;
   top: 12px;
   right: 0;
   height: 5px;
   background: #ffffff;
   pointer-events: none;
}

/* ----------------------------------------------- contrast ----------------------------------------------- */

.contrast_light_font #topbar,
.contrast_dark_font #topbar,
.contrast_light_font main,
.contrast_dark_font main {
   background: inherit;
}

.contrast_light_font [id^="search_submit"] {
   background: #ffffff url("../img/lupe-icon.png") center no-repeat !important;
}

.contrast_light_font .navbar-default .navbar-nav > li > .dropdown-menu::after {
   border-color: transparent #000000 transparent transparent;
}

.contrast_light_font #bg-content {
   z-index: 60;
   position: relative;
}
