@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto:300,400,500%7CMerriweather:400,700%7CKalam:300,400,700%7CWork+Sans:300,400,500,600,700');
body {
  font-family: 'Work Sans', sans-serif;
  color: #596458;
  background: #ffffff;
  font-size: 18px;
}

body.intro {
  font-family: 'Work Sans', sans-serif;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 100px), url('../img/main_bg.jpg') top center no-repeat;
  font-size: 16px;
  background-attachment: fixed;
}

a {
  color: #d68c22;
  -webkit-transition: background-color 300ms linear, color 300ms linear;
  -moz-transition: background-color 300ms linear, color 300ms linear;
  -ms-transition: background-color 300ms linear, color 300ms linear;
  -o-transition: background-color 300ms linear, color 300ms linear;
  transition: background-color 300ms linear, color 300ms linear;
}

a:hover {
  color: #d68c22;
}

b, strong {
  font-weight: 500;
}

#maindiv {
  width: 100%;
  line-height: 1.6em;
  text-align: left;
}

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

.innerfooter {
  padding-top: 6px;
  padding-bottom: 6px;
  background-color: #f5f5f5;
}

@media (min-width: 768px) {
  .menufooter {
    display: inline-block;
  }
}

.menufooter a {
  color: #9f9f9f;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
}

.menufooter a:hover {
  color: #859222;
}

@media (max-width: 991px) {
  .menufooter a {
    display: inline;
  }
  .menufooter a::after {
    content: "\A";
    white-space: pre;
  }
}

@media (min-width: 992px) {
  .menufooter a+a::before {
    content: "•";
    margin: 0 40px;
    color: #9f9f9f;
  }
}

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

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

@media (min-width: 768px) {
  .menufooter-intro {
    display: inline-block;
  }
}

.menufooter-intro a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  font-family: 'Kalam', cursive;
  padding: 0 15px;
}

.menufooter-intro a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 991px) {
  .menufooter-intro a {
    display: inline;
  }
  .menufooter-intro a::after {
    content: "\A";
    white-space: pre;
  }
}

@media (min-width: 1200px) {
  #menufooter-intro a+a::before {
    margin: 0 25px;
  }
}

/* ---------------------------------------------- language ---------------------------------------------- */

.language {
  border-bottom: 2px solid #dcdcdc;
  display: block;
  margin: 10px 0 30px 0;
  padding-bottom: 10px;
}

@media (min-width: 992px) {
  .language {
    border-bottom: none;
    display: inline-block;
    margin: 0 50px;
    padding-bottom: 0;
  }
}

.language a {
  color: #9f9f9f;
}

.language a:hover {
  color: #596458;
}

.language a+a::before {
  content: "|";
  margin: 0 6px;
  color: #9f9f9f;
}

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

#style {
  display: inline-block;
  margin-left: 70px;
}

#style a {
  color: #9f9f9f;
}

#style a:hover {
  color: #859222;
}

#style a+a::before {
  content: "|";
  margin: 0 6px;
  color: #9f9f9f;
}

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

#logo a {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

#counter {
  color: #fff;
  border: 2px solid #fff;
  padding: 6px;
  background: url("../img/counter.png") center left no-repeat;
}

#counter-r {
  padding-left: 80px;
}

/* ------------------------------------------------ menu ------------------------------------------------ */

.sticky-wrapper {
  position: relative;
  z-index: 51;
}

#menu-wrapper {
  position: relative;
  background: #adc020;
}

@media (min-width: 1920px) {
  #menu-wrapper::after {
    background-size: cover;
  }
}

@media (min-width: 992px) {
  #menu-wrapper>div.container .row {
    display: flex;
    align-content: center;
    align-items: center;
  }
}

/* --------------------------------------- navigation bar (20736) --------------------------------------- */

.navbar {
  min-height: 0;
  margin-bottom: 0px;
  border: none;
}

.navbar-collapse {
  padding-left: 0;
  padding-right: 0;
}

/* burgermenu - background */

.navbar-default .navbar-toggle, .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
  background-color: #ffffff;
  border-color: transparent;
  -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  .navbar-default ul.navbar-nav {
    height: auto;
    background: #adc020;
  }
  .navbar-collapse {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    z-index: 100;
    width: 70%;
    background: #ffffff;
    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);
    border: none;
    opacity: 0;
    pointer-events: none;
    -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::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    z-index: -1;
    pointer-events: none;
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .navbar-collapse.collapse.in, .navbar-header .collapse, .navbar-toggle {
    left: 0;
    opacity: 1;
    border: none;
    pointer-events: auto;
    z-index: 60;
  }
  .navbar-header, .navbar-nav>li {
    float: none;
  }
  .navbar-nav {
    max-width: 400px;
    float: none;
    margin: 12px auto;
    padding-top: 12px;
  }
  .navbar-nav li .dropdown-menu {
    position: static;
    float: none;
    width: auto;
  }
  .navbar-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 101;
    left: auto;
    margin: 0 !important;
    padding: 6px 5px;
    line-height: 0;
    display: block;
    -webkit-transition: background 300ms linear;
    -moz-transition: background 300ms linear;
    -ms-transition: background 300ms linear;
    -o-transition: background 300ms linear;
    transition: background 300ms linear;
  }
  #myNavbar.navbar-collapse.collapse {
    overflow-y: auto !important;
  }
}

/* menu fixed top (tablet) */

/*** Menü über komplette Breite (1200px) ***/

@media (min-width: 992px) {
  .navbar-default .navbar-nav {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: space-between;
  }
  .navbar-default .navbar-nav>li {
    float: none;
  }
  .navbar-nav::after, .navbar-nav::before {
    display: none;
  }
  .navbar-collapse {
    -webkit-box-shadow: none;
    box-shadow: none
  }
  .navbar-nav>li {
    display: inline-block !important;
    flex-grow: 1;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 10px 5px;
  text-transform: uppercase;
  font-family: 'Kalam', cursive;
}

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

/* -------------------------------------------- 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-default .navbar-nav>li.menue_point_toplevel_20736_over>a, .navbar-default .navbar-nav>li.menue_point_toplevel_20736_over>a:hover, .navbar-default .navbar-nav>li.menue_point_toplevel_20736_over>a:focus {
  color: #fff;
  background-color: #859222;
  font-family: 'Kalam', cursive;
}

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

.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>li>.dropdown-menu {
  margin: 0;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    background-color: rgba(0, 0, 0, 0.8);
  }
}

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

/* keep dropdown open in case the secondlevel is active */

.menue_point_secondlevel_20736_over>.dropdown-menu {
  display: block !important;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu>li {
    position: relative;
  }
  .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 15px;
  }
}

.menue_group_20736_start, .menue_group_20736_end, .menue_list_thirdlevel_20736_start, .menue_list_thirdlevel_20736_end {
  display: none;
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  padding: 8px 25px;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>.dropdown-menu>li>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
    text-align: left;
  }
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>a {
  color: #ffffff;
  background-color: rgba(133, 146, 34, 0.85);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a {
  color: #596458;
  background-color: rgba(255, 255, 255, 0.85);
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li>a:focus, .navbar-default .navbar-nav>li>.dropdown-menu>li.open>a, .navbar-default .navbar-nav>li>.dropdown-menu>li.open>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li.open>a:focus, .navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_20736_over>a, .navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_20736_over>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li.menue_point_secondlevel_20736_over>a:focus {
  color: #ffffff;
  background-color: rgba(173, 192, 32, 0.85);
}

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li>a:focus, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.open>a:focus, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_20736_over>a, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_20736_over>a:hover, .navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li.menue_point_thirdlevel_20736_over>a:focus {
  color: #ffffff;
  background-color: rgba(173, 192, 32, 0.85);
}

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

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

@media (min-width: 768px) {
  .theme-default .nivo-controlNav {
    bottom: 70px;
  }
}

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

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

@media (min-width: 992px) {
  #headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 489px;
    margin: 0 auto;
  }
}

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

#headerpic::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  display: none;
  background: url('../img/slider_mask1.png') bottom center no-repeat;
}

@media (min-width: 590px) {
  #headerpic::after {
    display: block;
  }
}

@media (min-width: 1199px) {
  #headerpic::after {
    background: url('../img/slider_mask.png') top center no-repeat;
    display: block;
  }
}

#logo-intro img {
  padding: 130px 0 15px 0;
  max-width: 100%;
}

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

#tabs>.row {
  display: flex;
  flex-wrap: wrap;
}

#tabs>.row>*+* {
  margin-top: 30px;
}

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

@media (min-width: 992px) {
  #tabs>.row>*+*:nth-child(3) {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  #tabs>.row>*+*:nth-child(4) {
    margin-top: 0;
  }
}

#tab-wrapper {
  margin-bottom: 30px;
}

@media (max-width: 767px) {
  #teaser>.row>div {
    margin-top: 15px;
  }
}

@media (min-width: 768px) {
  #teaser {
    position: relative;
    z-index: 53;
    margin-top: -40px;
  }
  #teaser>.row {
    display: flex;
    flex-wrap: wrap;
  }
}

.tab {
  color: #ffffff;
  position: relative;
  min-height: 100%;
  height: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  background: #adc020;
  border-radius: 6px;
  overflow: hidden;
}

.tab img {
  border-radius: 6px 6px 0 0;
}

.tab1 {
  background-color: #808d1f;
  color: #ffffff;
  position: relative;
  min-height: 100%;
  height: 100%;
  border-radius: 6px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.TabTop {
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  font-family: 'Kalam', cursive;
  background: rgba(128, 141, 31, 0.75);
  position: absolute;
  width: 100%;
  margin-top: -43px;
  padding: 5px 0;
}

.TabTop1 {
  color: #fff;
  font-size: 23px;
  font-weight: bold;
  font-family: 'Kalam', cursive;
  background: transparent;
  padding-top: 30px;
  padding-bottom: 5px;
}

.TabContent {
  line-height: 1.5em;
  color: #e7ede6;
  margin-top: -8px;
  width: 100%;
  border-radius: 0 0 6px 6px;
  padding: 10px;
}

.TabContent1 {
  line-height: 1.5em;
  color: #e7ede6;
  background: transparent;
}

.TabContent1 img {
  width: 100% !important;
  height: auto !important;
}

.TabContent2 {
  line-height: 1.5em;
  color: #ffffff;
  font-size: 16px;
  font-weight: normal;
  background: transparent;
  padding-bottom: 20px;
}

.TabContent2 a {
  color: #2e3020;
}

.TabContent a {
  color: #e7ede6;
  text-decoration: underline;
}

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

#content-wrapper {
  line-height: 1.6em;
  text-align: left;
  padding-bottom: 30px;
  padding-top: 30px;
}

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

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

/* ie-fix btgrid images */

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .btgrid .row img {
    width: auto;
  }
}

/* --------------------------------------------- share buttons -------------------------------------------- */

#content_buttons_div {
  top: 45%;
  z-index: 100;
}

@media (max-width: 991px) {
  #content_buttons_div {
    display: none;
  }
}

/* ------------------------------------------ h1, #content .legacy_h1, .legacy_h1 - h6, #content .legacy_h6, .legacy_h6, newslink ----------------------------------------- */

.h4link a:link, .h4link a:hover, .h4link a:visited, h6, #content .legacy_h6, .legacy_h6, h5, #content .legacy_h5, .legacy_h5, h4, #content .legacy_h4, .legacy_h4, h3, #content .legacy_h3, .legacy_h3, h2, #content .legacy_h2, .legacy_h2, h1, #content .legacy_h1, .legacy_h1 {
  color: #adc020;
  font-weight: bold;
  line-height: 1.2em;
  font-family: 'Kalam', cursive;
}

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

/* ------------------------------------------------ for white background ------------------------------------------------ */

#startseite_news ul a {
  font-size: 12px;
  color: #7c7c7c;
  font-weight: normal;
}

/* -------------------------------- optimized events for white background ------------------------------- */

.weekdays, .weekdays a:link a:visited a:active a:hover, .weekdays_active {
  color: #cccccc;
}

.weekdays_active a:link a:visited a:active a:hover {
  color: #f7911e;
}

.events-header-heute {
  color: #ffffff;
  background-color: #4c4c4c;
}

.events-header {
  color: #5b5b5b;
  background-color: #e3e3e3;
}

.event-ort, .event-info {
  color: #4c4c4c;
}

/* --------------------------------------------- links below content -------------------------------------------- */

#content_footer {
  margin-top: 40px;
  height: auto;
  font-size: 80%;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 479px) {
  #contentbottom_left, #contentbottom_right {
    width: 100% !important;
    text-align: center !important;
  }
  .content_footer, #content_footer {
    height: auto !important;
  }
}

@media (max-width: 499px) {
  #breadcrumbincontent, #contenttop_right {
    width: 100%;
  }
}

#content_footer a {
  text-decoration: none;
}

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

@media (min-width: 768px) {
  #footer .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
  }
}

#footer {
  background-color: #859222;
  padding-top: 22px;
  padding-bottom: 22px;
}

#footer-intro {
  padding-bottom: 22px;
  position: absolute;
  width: 100%
}

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

#vernetzt {
  text-align: left;
  font-size: 95%;
  color: #eaf5e8;
  display: flex;
  align-items: center;
  align-content: center;
  line-height: 130%;
  justify-content: center;
  margin: 0 auto;
  font-weight: 300;
}

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

#vernetzt b {
  color: #eaf5e8;
  font-weight: 500;
}

#vernetzt span {
  color: #eaf5e8;
}

#vernetzt span span {
  display: block;
}

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

/* ----------------------------------------------- scroll top ----------------------------------------------- */

#scrollTop {
  text-transform: uppercase;
  color: #eaf5e8;
  display: flex;
  align-content: center;
  align-items: center;
  margin: 30px auto 0 auto;
  width: 140px;
  font-size: 85%;
}

@media (min-width: 767px) {
  #scrollTop {
    margin: 0;
    float: right;
    width: auto;
  }
}

#scrollTop span {
  font-size: 0;
  width: 35px;
  height: 35px;
  display: inline-block;
  position: relative;
  margin: 0 auto;
  margin-left: 22px;
  border: 2px solid #ffffff;
  -webkit-transition: background-color 300ms linear, color 300ms linear;
  -moz-transition: background-color 300ms linear, color 300ms linear;
  -ms-transition: background-color 300ms linear, color 300ms linear;
  -o-transition: background-color 300ms linear, color 300ms linear;
  transition: background-color 300ms linear, color 300ms linear;
}

#scrollTop span::after {
  content: "";
  position: absolute;
  border-radius: 1px;
  left: 9px;
  top: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 6px 6px;
  border-color: transparent transparent #ffffff transparent;
}

#scrollTop span:hover {
  background-color: rgba(0, 0, 0, 0.2);
}