@import url("https://fonts.verwaltungsportal.de/import/?family=Playfair+Display:300,400,500,600,700,300i,400i,500i,600i,700i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Lato:300,400,500,600,700,300i,400i,500i,600i,700i");

html {
  max-width: 1930px;
  margin-left: auto;
  margin-right: auto;
  background: #e6ece2;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  scrollbar-color: #2d2b3f #ffffff;
  scrollbar-width: thin;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #191919;
  background: #ffffff;
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: #2d2b3f;
}

a:is(:hover, :focus) {
  color: #2d2b3f;
  text-decoration: underline;
}

b,
strong {
  font-weight: 700;
}

.overflow {
  overflow: clip;
  position: relative;
}
/* ------------------------------------------------- logo ------------------------------------------------ */
#topbar {
  padding: 60px 0 35px 0;
}
#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #2d2b3f;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

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

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

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

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButton::before {
    top: 24px;
    content: "";
  }

  #burgerButton::after {
    top: 32px;
    content: "";
  }

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

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition:
      left 300ms linear,
      opacity 300ms linear,
      box-shadow 600ms linear;
    box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
  }

  .navbar-collapse:is([aria-expanded="true"], .in) {
    left: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
  }

  .navbar-header {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
  }

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

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

/* menu desktop */

@media (min-width: 992px) {
  #menu {
    background: #ffffff;
    padding: 10px 25px 10px 25px;
    transition: box-shadow 300ms linear;
    border-bottom: 6px solid #d8ba9d;
  }

  .is-sticky #menu {
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
  }

  header > :is(nav.horizontally, .sticky-wrapper) {
    top: 35px;
  }

  nav.horizontally .navbar-nav {
    padding-left: clamp(15px, 2vw, 30px);
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  nav.horizontally .navbar-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear;
  }

  nav.horizontally .navbar-nav [class*="secondlevel"] > ul {
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav li {
    position: relative;
  }

  nav.horizontally .navbar-nav li:is(.open:focus-within, :hover) > ul,
  nav.horizontally .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible;
  }

  nav.horizontally .navbar-nav li:is(:hover, :focus-within) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #191919;
  text-transform: uppercase;
  font-weight: 400;
  text-align: left;
  padding: 10px 35px 10px 10px;
  font-family: "Lato", sans-serif;
  font-size: 0.9063rem;
  line-height: 1.2;
  text-decoration: none;
}
nav.horizontally a[class*="toplevel"]::after {
  content: '';
    display: block;
    position: absolute;
    bottom: -22px;
    left: 0;
    right: 0;
    height: 6px;
    background: #2d2b3f;
    width: 0;
    transition: width 300ms;
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-left: 10px;
  }

  nav.horizontally a[class*="toplevel"] {
    padding: 15px 0;
    text-align: center;
  }
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"] {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus) {
  color: #2d2b3f;
  background-color: #ffffff;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #ffffff;
  box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  nav.horizontally [class*="toplevel"] > ul {
    padding: 15px;
  }
}

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 30px;
    left: -20px;
  }

  nav.horizontally :is([class*="toplevel"], [class*="secondlevel"]) > ul::before {
    content: "";
    position: absolute;
    display: block;
  }

  nav.horizontally [class*="toplevel"] > ul::before {
    height: 30px;
    left: 0;
    right: 0;
    top: -30px;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    margin-left: 10px;
    margin-top: -18px;
  }

  nav.horizontally [class*="secondlevel"] > ul::before {
    width: 10px;
    top: 0;
    bottom: 0;
    left: -10px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #191919;
  font-weight: 400;
  text-align: left;
  padding: 7px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
    padding: 7px 20px;
  }
}
@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}
/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
  background: #2d2b3f;
  color: #fff;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

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

#search {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
  padding-top: 16px;
}

@media (min-width: 992px) {
  #search {
    border-top: none;
    margin-left: 15px;
    padding: 16px 0 16px 15px;
    flex: 0 0 auto;
  }
}

@media (min-width: 1200px) {
  #search {
    padding: 16px 9px 16px 24px;
  }
}

#search img {
  display: block;
  margin: 0 auto;
  padding: 10px;
  border: 2px solid transparent;
  transition: border 200ms linear;
}

@media (min-width: 992px) {
  #search img {
    padding: 4px;
  }
}

#search:is(:hover, :focus) img {
  border-color: #2d2b3f;
}
/* -------------------------------------------- banner ------------------------------------------ */

#slider {
  max-height: clamp(200px, 42vw, 300px);
  position: relative;
}

@media (min-width: 992px) {
  body.index #slider {
    max-height: clamp(300px, 62vw, 370px);
  }

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.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: 55px;
  }
}




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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #2d2b3f;
  font-weight: normal;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
}

body.index h1,
body.index .h1,
body.index .legacy_h1 {
  text-align: center;
}
h1,
.h1,
.legacy_h1 {
  font-size: 2.1875rem;
}

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: 1.75rem;
}

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

h6,
.h6,
.legacy_h6 {
  font-size: 1.5rem;
}
/* ----------------------------------------------- Event Bereich ----------------------------------------------- */
#eventBereich > .row {
  background-color: #2d2b3f;
  padding: 20px;
  color: #fff;
  border-bottom: 6px solid #d8ba9d;
}
@media (min-width: 1200px) {
  #eventBereich > .row {
    max-width: 1170px;
    width: 100%;
  }
}
#eventBereich .eventclndr-tab {
  align-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 0;
  padding-right: 10px;
}

#eventBereich #clr-events-hide {
  display: none;
  font-size: 0;
}

#eventBereich .event .tab_link_entry {
  display: grid;
}

#eventBereich .event .tab_spacer {
  display: none;
}
#eventBereich .event .tab_link_entry:not(:last-of-type) {
  margin-bottom: 40px;
}
#eventBereich .event .tab_link_title a {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 1rem;
  order: 1;
}

#eventBereich .event .tab_link_date {
  font-family: "Playfair Display", serif;
  color: #fff;
  font-size: 1rem;
  order: 3;
}

#eventBereich .event .tab_link_mandat a {
  font-family: "Lato", sans-serif;
  color: #fff;
  order: 2;
}

#eventBereich .event .tab_link_mehr {
  display: none;
  font-size: 0;
}

#eventBereich .infoTab .tabHeadline {
  color: #fff;
  font-size: 25px;
  margin-bottom: 60px;
}

#eventBereich .infoTab .tabButton a {
  color: #191919;
  font-size: 0.8125rem;
  background-color: #d8ba9d;
  padding: 10px 20px;
  text-transform: uppercase;
  text-decoration: none;
  border: solid 1px transparent;
  position: relative;
  margin-top: 20px;
  display: inline-block;
}

#eventBereich .infoTab .tabButton a:is(:hover, :focus) {
  background-color: #fff;
  border: solid 1px #191919;
  color: #191919;
}

#eventBereich .infoTab {
  padding: 0 22px;
  align-content: center;
  align-items: center;
}

@media (min-width: 992px) {
  #eventBereich .infoTab::before {
    content: "";
    position: absolute;
    background: #fff;
    width: 1px;
    min-height: 338px;
    bottom: 0px;
    top: -20px;
    bottom: -20px;
    z-index: 0;
    left: 10px;
    margin: auto;
    pointer-events: none;
    display: block;
  }
  #eventBereich .clndr::before {
    content: "";
    position: absolute;
    background: #fff;
    width: 1px;
    min-height: 338px;
    bottom: 0px;
    top: -20px;
    bottom: -20px;
    z-index: 0;
    right: 5px;
    margin: auto;
    pointer-events: none;
    display: block;
  }
}

@media (max-width: 767px) {
  #eventBereich .infoTab {
    margin-top: 30px;
    padding-top: 30px;
    border-top: solid 1px rgba(255, 255, 255, 0.5);
  }

  #eventBereich .tab_link_entries {
    margin-top: 30px;
    text-align: center;
  }
}



/* #region ------------------------------------- sight ------------------------------------------ */

#sight {
    padding: clamp(30px, 8vw, 65px) 0 clamp(30px, 8vw, 70px) 0;
}

#sight>.row {
    row-gap: 30px;
}

@media (min-width: 992px) {
    .tabSpecial {
        margin-bottom: 20px;
    }
}

.tabSpecial :is(h1, h2, h3, h4, h5, h6) {
    margin: 4px 0 20px 0;
}

#sight .tab {
    padding: 30px 20px 20px 20px;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    height: 100%;
    overflow: hidden;
    background: #2d2b3f;
    color: #fff;
}

#sight .tab :is(.row, .row>div) {
    position: static;
}

#sight .tab :is(h1, h2, h3, h4, h5) {
    color: inherit;
    margin: 4px 0;
    font-size: 20px;
}

#sight .tab a {
    font-size: 0;
}

#sight .tab a {
  content: '';
    display: block;
    position: absolute;
    top: 30px;
    right: 20px;
    width: 19px;
    height: 15px; 
    background: url('../img/arrow-icon.png') no-repeat;
}

#sight .tab a:is(:hover, :focus) {
    background-position: center right 0;
}


/* ----------------------------------------------- tabBereich ----------------------------------------------- */
#tabBereich {
  margin: 30px 0;
}

#tabBereich .tabWidget .tabHeadline {
  font-family: "Playfair Display", serif;
  font-size: 1.5625rem;
  color: #191919;
}

/* ----------------------------------------------- Map ----------------------------------------------- */
#mapBereich {
  margin: 30px 0 90px 0;
}

#mapBereich :is(iframe, .iframe-wrapper-manual-enabling) {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}
/* ----------------------------------------------- footer ----------------------------------------------- */
footer .footerLogo {
  margin-bottom: 20px;
}

footer {
  background-color: #2d2b3f;
padding-top: clamp(30px,10vw,50px);
  padding-bottom:clamp(35px,10vw,65px);
  color: #fff;
  border-top: 6px solid #d8ba9d;

}

@media (min-width: 1200px) {
footer > .row::before {
  content: "";
  position: absolute;
  background: url(../img/wappen-gemeinde-beilrode-wasserzeichen.png) no-repeat;
  width: 173px;
  height: 227px;
  bottom: 0px;
  top:0;
  margin:auto;
  z-index: 0;
  pointer-events: none;
  right: -270px;
  display: block;
}
}

@media (max-width: 767px) {
  footer .tabFooter {
    border-top: solid 1px rgba(255, 255, 255, 0.5);
    border-bottom: solid 1px rgba(255, 255, 255, 0.5);
    padding: 30px 0;
  }

}

footer .tabFooter {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  hyphens: auto;
line-height: 1.6;
}

footer .tabFooter .tabHeadline {
  font-family: "Playfair Display",serif;
  font-size: clamp(1.25rem,2vw,1.5625rem);
  font-weight: 400;
  margin-bottom: 30px;;
  color:#fff;
}

footer .tabFooter a {
  text-decoration: underline;
  color: #fff;
}
footer .tabFooter a:is(:hover, :focus) {
  text-decoration: none;
}
#innerfooter {
  font-size: 1rem;
  font-weight: 300;
}

#innerfooter ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.8;
}


#innerfooter a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
}

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

@media (min-width: 576px) {


  #innerfooter li {
    display: inline-block;
  }
}



/* #endregion -------------------------------- footer ------------------------------------------- */

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

#vernetzt {
  gap: 18px;
  text-align: left;
  font-size: 0.75rem;
  color: #fff;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}


.vernetztBereich {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: start;
  align-content: start;
  gap: 30px;
}










