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

body {
  font-family: "Source Sans Pro", sans-serif;
  color: #2b2b2b;
  background: #f1f1f1;
  font-size: 1rem;
  /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #015db0;
}

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

b,
strong {
  font-weight: 600;
}

a:focus,
input:focus,
button:focus {
  outline: 3px solid #010101;
}

#style button:focus,
#styleMobil button:focus,
#search_submit:focus {
  outline: 3px solid #010101;
}

#myNavbar a:focus {
  outline: 3px solid #010101;
}

#newsmain a:focus {
  outline: 3px solid #010101;
}

#right a:focus {
  outline: 3px solid #010101;
}

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

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

/* --------------------------------------- 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: #3f5d17;
    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 {
    padding-top: 30px;
    top: 0;
    background: #f1f1f1;
    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: 6px;
    right: 0;
  }

  .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,
  #menu-sticky-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
  }

  .is-sticky #menu {
    bottom: unset !important;
  }

  #menu:hover::after,
  #menu:focus::after {
    opacity: 1;
  }

  #menu:focus-within::after {
    opacity: 1;
  }

  nav.horizontally .navbar-nav {
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
  }

  nav.horizontally .navbar-default .navbar-nav>li {
    flex-grow: 1;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]>ul {
    display: flex;
    min-height: 250px;
    column-count: 4;
    pointer-events: none;
    position: absolute;
    opacity: 0;
    top: calc(100% + 30px);
    left: 15px;
    right: 15px;
    z-index: 1000;
    padding: 30px;
    -webkit-transition: top 300ms linear, opacity 300ms linear;
    -moz-transition: top 300ms linear, opacity 300ms linear;
    -ms-transition: top 300ms linear, opacity 300ms linear;
    -o-transition: top 300ms linear, opacity 300ms linear;
    transition: top 300ms linear, opacity 300ms linear;
    flex-wrap: wrap;
  }

  .navbar-default .navbar-nav li[class*="toplevel"].open>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    top: 100%;
    z-index: 1003;
  }

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

  .nav li[class*="toplevel"].open>.dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }

  nav.horizontally .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    display: block !important;
    padding-bottom: 10px;
  }
}

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

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

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

.navbar-default .navbar-nav>li:nth-child(6n + 1) {
  background-color: #93db20;
}

.navbar-default .navbar-nav>li:nth-child(6n + 2) {
  background-color: #87cc17;
}

.navbar-default .navbar-nav>li:nth-child(6n + 3) {
  background-color: #7dc211;
}

.navbar-default .navbar-nav>li:nth-child(6n + 4) {
  background-color: #73b50d;
}

.navbar-default .navbar-nav>li:nth-child(6n + 5) {
  background-color: #6fa51b;
}

.navbar-default .navbar-nav>li:nth-child(6n + 6) {
  background-color: #609310;
}

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

  .navbar-default .navbar-nav>li>a::before {
    content: "";
    width: 20px;
    height: 9px;
    display: block;
    position: absolute;
    left: 10px;
    margin: auto;
    bottom: 0;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    background-color: #ffffff;
    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+li {
    margin-left: 0;
  }

  .navbar-default .navbar-nav>li>a {
    padding: 15px 60px;
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    min-height: 101px;
  }

  .navbar-default .navbar-nav>li>a::before {
    content: "";
    width: 20px;
    height: 9px;
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -9px;
    bottom: 0;
    border-top-left-radius: 90px;
    border-top-right-radius: 90px;
    background-color: #ffffff;
    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 screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
  .navbar-default .navbar-nav>li>a {
    display: block;
    min-height: 0px;
  }
}

/* -------------------------------------------- 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: #121a04;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu::after {
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    left: 0;
    right: 0;
    top: -10px;
  }
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  color: #0f0f0f;
  text-align: left;
  font-size: 1rem;
  padding: 9px 25px;
  line-height: 1.2;
  text-decoration: none;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  font-weight: 400;
}

@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>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
  color: #4b7119;
}

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

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

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

#slider {
  overflow: hidden;
  position: relative;
  height: 100%;
}

@media (min-width: 992px) {
  #headerpic a.nivo-prevNav {
      left: 65px;
  }

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

  #headerpic .nivo-controlNav {
      bottom: 5.5vw;
      top: unset;
  }

  .slider-wrapper {
      position: absolute !important;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
  }

  #headerpic{
      min-height: 620px;
  }
}

@media (min-width: 991px) and (max-width: 1600px) {
  .index #headerpic a.nivo-nextNav {
      left: 65px;
      right: unset;
      top: 51%;
  }
}

@media (max-width: 991px) {
  #slider-onebanner,
  #slider .nivo-box>div,
  #slider .nivo-slice>div,
  #slider .nivo-main-image {
      background-attachment: unset !important;
      background-size: 100% auto !important;
  }

  #slider {
      height: 40vw;
  }
  
  body:not(.index) #slider {
      height: 28vw;
  }
}

@media (min-width: 768px) {
  .slider-mask {
    display: block;
    background-image: url("../img/bannermaske.png");
    background-position: top center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 459px) {
  .theme-default a.nivo-prevNav,
  .theme-default a.nivo-nextNav {
    bottom: 3px !important;
    top: unset;
  }
}

/* ------------------------------------------------ overlay ----------------------------------------------- */

@media (min-width: 992px) {
  #overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    top: 0;
    left: 0;
    z-index: 12;
    pointer-events: none;
  }

  #topbar>.row,
  #middlebar>.row,
  #menu {
    pointer-events: all;
  }
}

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

@media (max-width: 767px) {
  #topbar {
    padding-top: 30px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  #topbar {
    padding-top: 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 12;
  }
}

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

#style span,
#styleMobil span {
  color: #0f0f0f;
  font-size: 14px;
  margin-right: 10px;
}

#style button,
#styleMobil button {
  border: none;
  color: #2b2b2b;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  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,
#styleMobil button {
  font-size: 22px;
  background: transparent;
  padding: 0;
  border: none;
  color: #3f5d17;
  display: inline-block;
  font-weight: 700;
  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,
#styleMobil button+button {
  margin-left: 8px;
}

#style button:hover,
#styleMobil button:hover {
  color: #2b2b2b;
}

/* ------------------------------------------------ middlebar ----------------------------------------------- */

@media (min-width: 992px) {
  #middlebar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 125px;
  }

  #middlebar .tabContact::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("../img/contact-bg.png");
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
  }
}

@media (max-width: 991px) {
  #middlebar {
    margin: 30px 0;
  }
}

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

#middlebar .tabContact {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #0f0f0f;
  position: relative;
}

#middlebar .tabContact .tabHeadline {
  color: #3f5d17;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 10px;
}

#middlebar .tabContact a {
  color: #3f5d17;
}

#search {
  height: 33px;
  background: #ffffff;
  display: inline-block;
  position: relative;
  width: 100%;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.05);
}

#search_input {
  color: #2b2b2b;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  width: 100%;
}

#search_submit {
  width: 33px;
  background: url("../img/lupe-icon.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0 !important;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

#search_submit:hover,
#newsletter_submit:hover {
  background-color: transparent;
}

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

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

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

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

/* ------------------------------------------------ ticker ----------------------------------------------- */

.ticker {
  background-color: #e4e4e4;
  padding: 20px 0 25px 0;
}

.newsticker,
.newsticker a {
  margin: 0;
  font-size: 1rem;
  color: #0f0f0f;
}

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

#biwapp {
  margin-bottom: 30px;
}

#tabs {
  color: #ffffff;
}

#tabs a {
  width: calc(100% + 10px);
  height: calc(100% + 40px);
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  hyphens: auto;
  font-size: 0.875rem !important;
}

#tabs .tab {
  background-color: #015db0;
  padding: 15px 20px;
  font-size: 1.25rem;
  font-weight: 600;
  height: 100%;
  min-height: 100%;
  line-height: 1.2;
}

@media (min-width: 992px) {
  #tabs .tab {
    padding: 15px 45px;
    font-size: 25px;
  }

  #tabs a {
    width: calc(100% + 10px);
    height: calc(100% + 80px);
    display: inline-block;
    text-decoration: none;
  }
}

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

#tabs .tabtermin {
  background-image: url("../img/kalender-icon.png");
  background-position: left 20px center;
  background-repeat: no-repeat;
}

#tabs .tabinfo {
  background-image: url("../img/info-icon.png");
  background-position: left 25px center;
  background-repeat: no-repeat;
}

/* ------------------------------------------------ content ----------------------------------------------- */
main {
  text-align: left;
}

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

.maincontent {
  padding-top: 30px;
}

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

  .maincontent {
    padding-top: 35px;
  }
}

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

#newsmain .tabHeadline {
  color: #015db0;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 30px;
}

#newsmain .tab_link_entry {
  font-size: 1rem;
  position: relative;
  width: 100%;
  color: #010101;
}

#newsmain .tab_link_title a {
  line-height: 1.2;
  font-weight: 600;
  font-size: 1.25rem;
  display: block;
  margin-bottom: 8px;
  color: #4b7119;
  text-align: center;
}

@media (min-width: 576px) {
  #newsmain .tab_link_entries {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

#newsmain {
  padding: 30px 0;
}

#newsmain .tab,
#newsmain .tab_link,
#newsmain .tab_link>div {
  height: 100%;
  min-height: 100%;
}

#newsmain .tab_link_entry {
  background: #ffffff;
  padding: 190px 20px 30px 20px;
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

@media (max-width: 991px) {
  #newsmain .tab_link {
    margin-top: 30px;
  }
}

#newsmain .tab_link_title a::before,
#newsmain .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 150px;
  overflow: hidden;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

#newsmain .tab_link_title a::before {
  content: "";
  background: url("../img/news-standard.jpg") center / cover no-repeat;
}

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

#newsmain .tab_date {
  font-size: 1rem;
  font-weight: 400;
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  width: 120px;
  margin: auto;
  top: 130px;
  z-index: 1;
  display: inline-block;
  padding: 8px 15px;
  background: #015db0;
  color: #ffffff;
}

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

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

@media (min-width: 768px) {
  #newsmain .tab_link_mehr {
    margin-top: 30px;
  }
}

#newsmain .tab_link_mehr a {
  display: inline-block;
  padding: 8px 35px;
  line-height: 1.2;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}

#newsmain .tab_link_mehr a {
  background-color: #015db0;
  color: #ffffff;
}

#newsmain .tab_link_mehr a:hover,
#newsmain .tab_link_mehr a:focus {
  background-color: #6fa51b;
}

@media (max-width: 767px) {
  #newsmain .tab_link_mehr a {
    margin-top: 20px;
  }
}

/* ----------------------------------------------- right  -------------------------------------------- */

#right>*+* {
  margin-top: 30px;
}

#right .tab {
  background-color: #ffffff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}

#right .tabHeadline {
  color: #ffffff;
  background-color: #015db0;
  text-align: center;
  margin-bottom: 0;
  font-size: 1.375rem;
  padding: 20px 15px 15px 15px;
}

#right .tab_link,
#right .tabContent {
  padding: 20px 30px;
  color: #0f0f0f;
}

#right .tab_link_title a {
  color: #3f5d17;
  font-weight: 600;
}

#right .tab_link_mandat a {
  color: #0f0f0f;
}

#right .tab_link_mehr {
  font-size: 0;
}

#right .buttn {
  text-align: center;
}

#right .buttn .tabContent {
  padding: 10px 20px;
}

#right .buttn a,
#right .tab_link_mehr a {
  background-color: #6fa51b;
  color: #121a04;
  font-size: 1.125rem;
  text-decoration: none;
  padding: 8px 12px;
  text-align: center;
  font-weight: 600;
  margin-top: 5px;
  display: inline-block;
}

#right .buttn a {
  padding: 5px 10px 5px 10px;
  border-radius: 7px;
  margin-bottom: 8px;
  margin-top: 8px;
  font-size: 1rem;
}

#right .buttn .tiny_p a {
  line-height: 1.2;
}

#right .buttn .tiny_p {
  line-height: 0;
}

#right .tab_link_mehr a:hover,
#right .tab_link_mehr a:focus,
#right .buttn a:hover,
#right .buttn a:focus {
  background-color: #93db20;
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #4b7119;
  font-weight: 600;
  line-height: 1.2;
}

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

@media (min-width: 768px) {

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

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

@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 #4b7119;
}

/* ----------------------------------------------- partner ----------------------------------------------- */

#partner {
  background-color: #ffffff;
  padding: 30px 0;
}

@media (min-width: 992px) {
  #partner {
    padding: 40px 0;
  }
}

@media (max-width: 991px) {
  #partner {
    margin-top: 30px;
  }
}

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

footer {
  background-color: #015db0;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #ffffff;
}

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

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

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

#innerfooter li+li::before {
  content: "|";
  margin: 0 15px;
  color: #ffffff;
}

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

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

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

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

#vernetzt {
  text-align: right;
  font-size: 0.9375rem;
  color: #ffffff !important;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 400;
  display: inline-block;
  text-decoration: none;
}

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

#vernetzt b {
  color: #ffffff !important;
  font-weight: 400;
}

#vernetzt span {
  color: #ffffff !important;
}

#vernetzt span span {
  display: block;
}

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