@import url("https://fonts.verwaltungsportal.de/import/?family=Zen+Antique+Soft:300,400,300i,400i,600,600i%7CLora:400,700");
@import url("https://fonts.verwaltungsportal.de/import/?family=Courgette:300,400,300i,400i,600,600i%7CLora:400,700");
body {
  font-family: "Zen Antique Soft", sans-serif;
  font-weight: 400;
  color: #595959;
  background: #fffef4;
  font-size: 1rem;
  /* 1rem = 16px */
  line-height: 1.5;
}

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

a {
  color: #be0177;
}

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

#content a,
b,
strong {
  font-weight: 400;
}

#overflow {
  overflow: clip;
  position: relative;
}

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

@media (min-width: 1200px) {
  #topbar {
    padding-top: 10px;
    background: #ffffff url("../img/background-top.jpg") center bottom no-repeat;
    background-size: cover;
  }
}

#topbar {
  padding-top: 10px;
  padding-bottom: 10px;
}

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

  #wappen img {
    max-width: 120px;
    display: inline-block;
  }
}

@media (max-width: 767px) {
  #wappen img {
    margin-top: 20px;
  }
  #logo img {
    margin-bottom: 15px;
  }
  #wappen img {
    max-width: 100px;
    margin-top: 20px;
    display: inline-block;
  }
}

/* ----------------------------------------------- Slogan ----------------------------------------------- */

.tabSlogan {
  font-family: "Courgette", sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    border: none;
    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: #be0177;
    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: #60391b;
    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: 15px;
}

.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 {
    background: #60391b url("../img/menu-background.jpg") center no-repeat;
    background-size: cover;
  }
  nav.horizontally .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify !important;
    -ms-flex-pack: justify !important;
    justify-content: space-between !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: stretch !important;
  }
  nav.horizontally .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }
  nav.horizontally .navbar-nav > li:last-of-type > .dropdown-menu {
    left: auto;
    right: 0;
  }
  nav.horizontally .navbar-nav > li:last-of-type > .dropdown-menu > li > .dropdown-menu {
    left: auto;
    right: 100%;
  }
  nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
  }
  nav.horizontally .navbar-nav > li,
  nav.horizontally .navbar-nav > li > .dropdown-menu > li {
    position: relative;
  }
  .navbar-default .navbar-nav li[class*="toplevel"] > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"] > ul {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }
  .navbar-default .open > .dropdown-menu,
  .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
  }
  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:focus-within > ul {
    pointer-events: auto !important;
    opacity: 1 !important;
  }
  .navbar-default .nav .open > .dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  nav.horizontally .navbar-nav {
    flex-wrap: wrap;
  }
}
/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
  color: #ffffff;
  font-weight: 400;
  text-align: center;
  padding: 19px 15px;
  position: relative;
  font-family: "Courgette", sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }
  /*auf Toplevel und Untermenü*/
  .navbar-default .navbar-nav > li > a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
  .navbar-default .navbar-nav > li > a {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li + li {
    margin-left: 10px;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 18px 15px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: 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:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
  color: #be0177;
  background-color: #ffffff;
}

.navbar-nav > li:focus-within > a {
  color: #be0177;
  background-color: #ffffff;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background-color: #ffffff;
  font-family: "Courgette", sans-serif;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu {
    margin-top: 10px;
    left: 50%;
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -12px;
    margin-left: 10px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    left: 0;
    right: 0;
    top: -10px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    top: 0;
    bottom: 0;
    left: -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: #be0177;
  font-weight: 300;
  text-align: center;
  padding: 8px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}
@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}
@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 {
    padding: 8px 25px;
    text-align: left;
  }
}

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

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

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
  background: #be0177;
  color: #ffffff;
}

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

#slider,
#headerpic {
  overflow: hidden;
  max-height: 300px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

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

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

.slider-mask {
  display: none;
}

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

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

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

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

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

.eventHeadline {
  color: #ffffff;
  text-align: left;
  font-size: 2.25rem;
}

@media (max-width: 575px) {
  .eventHeadline {
    margin-top: 10px;
    font-size: 1.6rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .eventHeadline {
    font-size: 1.6rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .eventHeadline {
    font-size: 1.6rem;
  }
}

.tab_link_entries {
  color: #ffffff;
  font-size: 1rem;
}

.tab_link_title a {
  font-weight: 400;
  color: #ffffff;
}

.tab_link_mandat a {
  color: #ffffff;
}

.tab_link_mehr {
  color: #ffffff;
}

.tab_link_mehr a {
  font-size: 0;
  text-decoration: none;
  color: #ffffff;
}

.tab_link_mehr a::after {
  content: "Alle Veranstaltungen \00BB";
  font-family: "Courgette", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  text-decoration: none;
  color: #ffffff;
}

.tab_link_mehr a:hover,
.tab_link_mehr a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.tab_spacer {
  height: 15px;
}

#event-background {
  background: #60391b url("../img/wood-background.jpg") center;

  padding: 20px 0;
}
@media (max-width: 575px) {
  #event-background {
    background: #60391b url("../img/wood-background.jpg") center center / auto 100% no-repeat;
  }
}
@media (max-width: 991px) {
  #event-background {
    padding: 30px 0;
  }
}

/* ------------------------------------------ image ----------------------------------------- */

@media (min-width: 1200px) {
  #event-background2 {
    background: url("../img/kaffee.png") center right no-repeat;
    background-size: contain;
  }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
  font-weight: 400;
  line-height: 1.2;
  font-family: "Courgette", sans-serif;
  text-align: center;
}

H1,
H3,
H5 {
  color: #be0177;
}

H2,
H4,
H6 {
  color: #be0177;
}

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

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

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

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

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

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

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

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

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

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

#footerHeadline {
  color: #be0177;
  text-align: left;
}

#footer {
  background: #fffef4;
  background-size: cover;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #595959;
  font-weight: 300;
}

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

#footer a {
  color: #be0177;
}

#footer H1,
#footer H2,
#footer H3,
#footer H4,
#footer H5,
#footer H6 {
  color: #be0177;
  font-size: 2.25rem;
}

@media (max-width: 991px) {
  #footer H1,
  #footer H2,
  #footer H3,
  #footer H4,
  #footer H5,
  #footer H6 {
    margin-bottom: 10px;
  }
}

#footer2 {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* ----------------------------------------------- maps ----------------------------------------------- */

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

#maps {
  color: #ffffff;
  position: static;
  padding-top: 30px;
}

#maps a {
  color: #ffffff;
}

@media (min-width: 992px) {
  #position {
    position: static;
  }

  #maps > aside {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 47%;
  }

  #maps > aside > .template-page,
  #maps > aside > .template-page > .row,
  #maps > aside > .template-page > .row > .col-xs-12,
  #maps > aside > .template-page > .row > .col-xs-12 > .tiny_p,
  #maps > aside > .template-page > .row > .col-xs-12 > .tiny_p > span,
  #maps > aside > .template-page > .row > .col-xs-12 > .tiny_p iframe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
  }
}

#maps > aside > .template-page > .row > .col-xs-12 > .tiny_p iframe {
  min-height: 250px;
  height: 100%;
}
@media (min-width: 1200px) {
  #maps > aside {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
  }
}
@media (max-width: 767px) {
  #contacttab .tabKontakt {
    border-bottom: solid 1px rgba(253, 191, 191, 0.8);
    padding-bottom: 30px;
    margin-bottom: 30px;
  }
}

/* ----------------------------------------------- contact & available ----------------------------------------------- */

#bg-wood {
  background: #60391b url("../img/contact-background.jpg") center center;
  position: relative;
  padding: 60px 0;
}

#bg-wood .tabHeadline {
  color: #ffffff;
  font-size: 1.875rem;
  font-weight: 400;
  text-align: left;
}
@media (max-width: 767px) {
  #bg-wood .tabHeadline {
    color: #ffffff;
    font-size: 1.5625rem;
    font-weight: 400;
    text-align: center;
  }
}

#bg-wood .tabContent {
  color: #ffffff;
  font-size: 1rem;
}

#bg-wood .tabContent a {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 1200px) {
  #bg-wood #contacttab {
    padding-left: 45px;
  }
}

/*-------------------------------------------------Maps and contact--------------------------------------------------*/

@media (min-width: 992px) {
  #map-and-contact {
    display: flex;
  }
}

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

#innerfooter {
  color: #595959;
  background-color: #ffffff;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 0px;
  font-size: 1rem;
}

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: solid 2px rgba(0, 0, 0, 0.3);
    padding-bottom: 30px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #595959;
  text-decoration: none;
  display: inline-block;
  font-weight: 300;
}

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

#innerfooter li + li::before {
  content: "\2022";
  margin: 0 10px;
  color: #595959;
}

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

@media (min-width: 768px) {
  #innerfooter {
    text-align: center;
  }
}

@media (min-width: 991px) {
  #innerfooter {
    text-align: left;
  }
}

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

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

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

#vernetzt span {
  color: #595959;
}

#vernetzt span span {
  display: block;
}

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