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

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

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

a {
  color: #6c7821;
}

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

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

b,
strong {
  font-weight: 700;
}

@media (min-width: 1200px) {

  .row,
  .compact,
  ._op-container .container {
    max-width: 1600px;
    width: 100%;
  }
}

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

header {
  background: #ffffff;
}

#topbar {
  z-index: 19;
  position: relative;
}

@media (min-width: 992px) {
  #topbar {
    position: fixed !important;
    left: 0;
    right: 0;
    top: 0;
    background-color: #ffffff;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    -webkit-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -o-transition: all 300ms linear;
    transition: all 300ms linear;
    z-index: 55;
    max-height: 165px;
  }

  .is-sticky #topbar {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 991px) {
  #topbar-sticky-wrapper {
    height: 0 !important;
  }

  #topbar {
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  #logo {
    margin-bottom: 20px;
  }

  #topbar .btgrid div[class^="col"]+div[class^="col"],
  .template-page div[class^="col"]+div[class^="col"] {
    margin-top: 0 !important;
  }
}

#logo {
  display: inline-block;
}

#logo img {
  display: block;
  -webkit-transition: all 400ms linear;
  -moz-transition: all 400ms linear;
  -ms-transition: all 400ms linear;
  -o-transition: all 400ms linear;
  transition: all 400ms linear;
}

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

  .is-sticky #topbar {
    position: relative !important;
  }

}

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

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

#stylerBox,
#stylerBox2 {
  font-size: 1rem;
  font-weight: 400;
  color: #2e2e2d;
  width: 100%;
  flex-wrap: wrap;
}

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

#stylerBox button,
#stylerBox2 button {
  color: #2e2e2d;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.6);
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 17px;
  text-align: center;
  background: transparent;
  position: relative;
  z-index: 1;
}

#stylerBox button:hover,
#stylerBox2 button:hover {
  color: #6c7821;
}

#stylerBox button::before,
#stylerBox2 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,
#stylerBox2 button:hover::before,
#stylerBox2 button:focus::before {
  opacity: 1;
}

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

@media (max-width: 991px) {
  #stylerBox2 {
    padding: 20px 0;
  }
}

#contrast_style button,
#contrast_style2 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,
#contrast_style2 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,
#contrast_style2 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,
#contrast_style2 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,
#contrast_style2 button:nth-of-type(3)::after {
  background: #6c7821;
  border: none;
}

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

form[id^="search"],
form[id^="search2"] {
  height: 43px;
  background: #ffffff;
  display: inline-block;
  position: relative;
  border-radius: 21px;
  margin-top: 20px;
  width: 100%;
  border: 1px solid #2e2e2d;
}

form[id^="search"],
form[id^="search2"] {
  margin-top: 0;
}

@media (min-width: 992px) {
  form#search1 {
    position: relative;
    margin-top: 22px;
    width: 430px;
  }
}


form#search1 label,
form#search2 label {
  color: #2e2e2d;
  font-size: 15px;
  font-weight: 400;
  position: absolute;
  top: 1px;
  left: 1px;
  background-color: #ccdc65;
  border-radius: 19px;
  padding: 8px 25px;
  height: auto;
  bottom: 1px;
}


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

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

form [id^="search_submit"],
form [id^="search_submit2"] {
  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,
form [id^="search_submit2"]:hover,
form [id^="search_submit2"]: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,
[id^="search_input2"]::-ms-input-placeholder {
  color: #2e2e2d !important;
  font-style: italic;
}

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

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

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

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

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

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

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

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

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

.slider-mask {
  display: block;
  background-image: url("../img/banner_welle.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: -1px;
}




@media (min-width: 768px) {
  #bannerOverlay {
    position: absolute;
    right: 0;
    bottom: 40%;
    left: 0;
    z-index: 53;
    pointer-events: none;
  }
}

#bannerOverlay p,
#bannerOverlay a {
  pointer-events: auto;
}

#slogan {
  padding: 20px 0 10px 0;
  color: #2e2e2d;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
}

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

#slogan p {
  background: rgba(255, 255, 255, 0.75);
  display: table;
  padding: 10px 0;
}

@media (min-width: 768px) {
  #slogan p {
    padding: 6px 20px;
  }
}

#slogan p:first-of-type {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 4px solid #ccdc65;
  font-size: 25px;
  padding: 10px 0;
  color: #6c7821;
}

@media (min-width: 768px) {
  #slogan p:first-of-type {
    padding: 10px 20px;
  }
}

@media (min-width: 992px) {
  #slogan p {
    font-size: 20px;
  }

  #slogan p:first-of-type {
    font-size: 40px;
  }
}

@media (min-width: 1200px) {
  #slogan p:first-of-type {
    font-size: 50px;
  }
}


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

#headerpic .nivo-directionNav a {
  background: #ccdc65;
  width: 70px;
  height: 48px;
  -moz-transform: skewX(-25deg);
  -webkit-transform: skewX(-25deg);
  -o-transform: skewX(-25deg);
  -ms-transform: skewX(-25deg);
  transform: skewX(-25deg);
  -webkit-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
  -moz-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
  -ms-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
  -o-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
  transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
}

#headerpic .nivo-directionNav a:hover,
#headerpic .nivo-directionNav a:focus {
  background: #ccdc65;
}

#headerpic .nivo-directionNav a::before,
#headerpic .nivo-directionNav a::after {
  content: "";
  display: block;
  position: absolute;
}

#headerpic .nivo-directionNav a::before {
  height: 2px;
  width: 16px;
  top: 50%;
  margin-top: -1px;
  background: #2e2e2d;
  -webkit-transition: background 300ms linear;
  -moz-transition: background 300ms linear;
  -ms-transition: background 300ms linear;
  -o-transition: background 300ms linear;
  transition: background 300ms linear;
}

#headerpic .nivo-directionNav a:hover::before,
#headerpic .nivo-directionNav a:focus::before {
  background: #2e2e2d;
}

#headerpic .nivo-directionNav a::after {
  height: 8px;
  width: 8px;
  top: 50%;
  margin-top: -5px;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: border-color 300ms linear;
  -moz-transition: border-color 300ms linear;
  -ms-transition: border-color 300ms linear;
  -o-transition: border-color 300ms linear;
  transition: border-color 300ms linear;
}

#headerpic .nivo-directionNav a:hover::after,
#headerpic .nivo-directionNav a:focus::after {
  border-color: #2e2e2d;
}

#headerpic a.nivo-prevNav {
  left: -11px;
  top: 0;
}

#headerpic a.nivo-prevNav::before {
  right: 16px;
}

#headerpic a.nivo-prevNav::after {
  right: 22px;
  border-left: 2px solid #2e2e2d;
  border-bottom: 2px solid #2e2e2d;
}

#headerpic a.nivo-nextNav {
  right: -11px;
  top: 0;
}

#headerpic a.nivo-nextNav::before {
  left: 16px;
}

#headerpic a.nivo-nextNav::after {
  left: 22px;
  border-right: 2px solid #2e2e2d;
  border-top: 2px solid #2e2e2d;
}

.nivo-pauseNav {
  display: none !important;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    border: none !important;
    position: absolute;
    z-index: 1002;
    display: block;
    width: 46px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
    right: 15px;
    top: 50%;
    margin-top: -20px;
  }

  #burgerButtonInner2,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #6c7821;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 3px;
    -webkit-transition: transform 200ms linear, opacity 200ms linear;
    -moz-transition: transform 200ms linear, opacity 200ms linear;
    -ms-transition: transform 200ms linear, opacity 200ms linear;
    -o-transition: transform 200ms linear, opacity 200ms linear;
    transition: transform 200ms linear, opacity 200ms linear;
  }

  #burgerButton[aria-expanded="true"] #burgerButtonInner {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  #burgerButton[aria-expanded="true"] #burgerButtonInner2 {
    opacity: 0;
  }

  #burgerButton[aria-expanded="true"]:after {
    -webkit-transform: rotate(45deg) translate(-4px, -6px);
    transform: rotate(45deg) translate(-4px, -6px);
  }

  #burgerButtonInner {
    top: 10px;
  }

  #burgerButtonInner2 {
    top: 18px;
  }

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

  .navbar-nav {
    margin: 20px 0;
  }

  .navbar-collapse {
    top: 70px;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-transition: left 300ms linear, opacity 300ms linear;
    -moz-transition: left 300ms linear, opacity 300ms linear;
    -ms-transition: left 300ms linear, opacity 300ms linear;
    -o-transition: left 300ms linear, opacity 300ms linear;
    transition: left 300ms linear, opacity 300ms linear;
  }

  .navbar-collapse[aria-expanded="true"],
  .navbar-collapse.in {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-header {
    height: 70px;
    line-height: 1;
    border-radius: 2px;
    padding: 10px 15px;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
  }

  .navbar-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    width: 0;
    z-index: -1;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: width 300ms linear, opacity 300ms linear;
    -moz-transition: width 300ms linear, opacity 300ms linear;
    -ms-transition: width 300ms linear, opacity 300ms linear;
    -o-transition: width 300ms linear, opacity 300ms linear;
    transition: width 300ms linear, opacity 300ms linear;
  }

  .navbar-toggle[aria-expanded="true"]::before {
    opacity: 1;
    width: 70px;
  }
}

@media (max-width: 575px) {
  .navbar-collapse {
    width: calc(100% - 70px);
  }
}

@media (min-width: 575px) and (max-width: 991px) {
  .navbar-collapse {
    width: 60%;
  }

  .navbar-collapse.collapse.in:after,
  .navbar-toggle[aria-expanded="true"]::before {
    width: 40%;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav {
    border-left: 1px solid #dbe2e1;
    border-top: 1px solid #dbe2e1;
    border-bottom: 1px solid #dbe2e1;
  }

  .navbar-default .navbar-nav {
    width: 100%;
  }

  .navbar-default .navbar-nav>li {
    display: block !important;
    width: 100%;
    float: none;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within>ul {
    display: block;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #2e2e2d;
  font-weight: 600;
  text-align: left;
  padding: 8px 15px 8px 15px;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
}

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

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

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

.navbar-default .navbar-nav>li+li {
  border-top: 1px solid #dbe2e1;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>a.dropdown-toggle::after {
    content: "+";
    position: absolute;
    display: block;
    right: 10px;
    top: 50%;
    margin-top: -14px;
    font-variant: normal;
    font-weight: 400;
  }
}

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

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li.open>a,
.navbar-default .navbar-nav>li.open>a:hover,
.navbar-default .navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:hover,
.navbar-nav>li[class$="_over"]>a:focus {
  color: #6c7821;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu {
  border-top: 1px solid #dbe2e1;
  padding: 12px 0 12px 14px;
  position: relative;
}

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

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

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

.navbar-nav li[class*="_over"]>.dropdown-menu,
.navbar-nav li[class*="open"]>.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: #2e2e2d;
  font-weight: normal;
  text-align: left;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #2e2e2d;
  -webkit-transition: background 300ms linear;
  -moz-transition: background 300ms linear;
  -ms-transition: background 300ms linear;
  -o-transition: background 300ms linear;
  transition: background 300ms linear;
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a,
.navbar-nav>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:hover,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li[class$="_over"]>a:focus {
  color: #6c7821;
}

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

.navbar-nav>li>.dropdown-menu>li:hover>a::before,
.navbar-nav>li>.dropdown-menu>li>a:hover::before,
.navbar-nav>li>.dropdown-menu>li>a:focus::before,
.navbar-nav>li>.dropdown-menu>li.open>a::before,
.navbar-nav>li>.dropdown-menu>li.open>a:hover::before,
.navbar-nav>li>.dropdown-menu>li.open>a:focus::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:hover::before,
.navbar-nav>li>.dropdown-menu>li[class$="_over"]>a:focus::before {
  background: #ccdc65;
  border: 1px solid #ccdc65;
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a::before {
  background: #ccdc65;
  border: 1px solid #ccdc65;
}

/* ------------------------------------------------ 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;
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  #content {
    padding-bottom: 95px;
    padding-top: 90px;
    background-image: url("../img/Kirche-Zeichnung.png");
    background-position: right bottom;
    background-repeat: no-repeat;
  }

  #contentCol {
    padding-top: 26px;
  }
}

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

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

@media (max-width: 767px) {
  #tabsLeft {
    margin-bottom: 30px;
  }
}

.tab {
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  position: relative;
  background: #f9f9f9;
  font-size: 15px;
  color: #2e2e2d;
}

.tabContent {
  padding: 15px;
}

.tab h1,
.tab h2,
.tab h3,
.tab h4,
.tab h5,
.tab h6,
.tab .tabHeadline {
  color: #2e2e2d;
  font-size: 1.3125rem;
  margin: 0 0 16px 0;
  text-align: center;
  background-color: #ccdc65;
  padding: 15px;
  text-transform: uppercase;
}

#tab3 a {
  text-decoration: none;
  padding: 10px 0 10px 30px;
  display: block;
  font-size: 1rem;
  color: #2e2e2d;
  font-weight: 400;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  border-image-source: linear-gradient(to left, #f9f9f9, #e8e8e8);
  border-image-slice: 1;
  border-width: 1px;
  position: relative;
}

#tab3 p a::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

#tab3 p:nth-child(3n+1) a::before {
  background: url('../img/kirche-icon.png') no-repeat;
  height: 25px;
  width: 21px;
}

#tab3 p:nth-child(3n+2) a::before {
  background: url('../img/gruppen-icon.png') no-repeat;
  height: 17px;
  width: 21px;
}


#tab3 p:nth-child(3n+3) a::before {
  background: url('../img/antrag-icon.png') no-repeat;
  height: 17px;
  width: 19px;
}


#tab3 a:hover,
#tab3 a:focus {
  color: #6c7821;
}


.tab .tab_spacer {
  height: 15px;
}

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

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  color: #6c7821;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Open Sans", sans-serif;
}

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

@media (min-width: 768px) {

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

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

@media (min-width: 768px) {

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

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

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

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

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



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

#teaser {
  margin-bottom: 5px;
  min-height: 245px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (min-width: 992px) {
  #teaser {
    min-height: 345px;
  }
}

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

footer {
  color: #2e2e2d;
  font-size: 0.9375rem;
}

footer a,
footer a:hover {
  color: #2e2e2d;
}

.footerTab a {
  text-decoration: underline;
}

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

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

@media (min-width: 576px) {
  #footer>.row>*+*:nth-child(2) {
    margin-top: 0;
  }
}

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

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6,
.footerHeadline {
  color: #2e2e2d;
  font-size: 1.375rem;
  margin: 0;
}

#innerfooter ul {
  padding: 0;
  line-height: 1.7;
}

@media (min-width: 992px) {
  #innerfooter ul {
    margin-bottom: -10px;
  }
}

#innerfooter a {
  color: #2e2e2d;
  font-weight: 400;
  font-size: 1.25rem;
}

#innerfooter li::before {
  content: "\0007C";
  color: #2e2e2d;
  position: relative;
  bottom: 2px;
  margin-right: 4px;
}

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

.socialTab {
  padding-left: 10px;
  line-height: 1;
  color: #2e2e2d;
}

.socialTab a,
.socialTab a:hover,
.socialTab a:focus {
  color: #2e2e2d;
}

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

.socialTab img {
  margin-top: 2px;
}

/* --------------------------------------------- counter -------------------------------------------- */

.lastOne {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  flex-direction: column;
}

#counter {
  color: #2e2e2d;
  font-size: 1rem;
  border: 1px solid rgba(46, 46, 45, 0.5);
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  padding: 6px 18px;
  max-width: 235px;
  width: 100%;
}

@media (min-width: 768px) {
  #counter {
    margin-left: auto;
  }
}

#counter span {
  font-weight: 700;
}

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

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

#vernetzt {
  text-align: right;
  font-size: 0.8125rem;
  color: #2e2e2d;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 400;
  text-decoration: none;
}

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

#vernetzt span {
  color: #2e2e2d;
}

#vernetzt span span {
  display: block;
}

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

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
  padding: 15px 0;
  background: #ffffff;
  color: #2e2e2d;
}

#footer2 .row div .template-page .row>div {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

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

.contrast_light_font form[id^="search"],
.contrast_light_font form #search_input1 {
  background-color: #000000 !important;
}

.contrast_dark_font form[id^="search"],
.contrast_dark_font form #search_input1,
.contrast_dark_font #scrollTopBtn {
  background-color: #ffffff !important;
}

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

.contrast_light_font #content,
.contrast_dark_font #content,
.contrast_light_font #teaser>.row,
.contrast_light_font #teaser>.row>* {
  background: none !important;
}

.contrast_light_font.contrast_dark #burgerButtonInner2,
.contrast_light_font.contrast_dark #burgerButton:after,
.contrast_light_font.contrast_dark #burgerButtonInner {
  background-color: #fff !important;
}

.contrast_dark_font.contrast_light #burgerButtonInner2,
.contrast_dark_font.contrast_light #burgerButton:after,
.contrast_dark_font.contrast_light #burgerButtonInner {
  background-color: #000 !important;
}