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

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

body {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  color: #252525;
  background: #e6ebdf;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.5;
}

a {
  color: #4e6921;
}

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

b,
strong {
  font-weight: 700;
}

.overflow {
  overflow: clip;
  position: relative;
}
/* --------------------------------------------- logo ------------------------------------------- */

#logo {
  display: flex;
  align-items: end;
  align-content: end;
  gap: 10px;
  text-decoration: none;
}

#logo .logoImg img {
  display: block;
}

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

#logo .logoTxt {
  line-height: 1;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #5a7826;
  font-weight: 400;
  text-transform: uppercase;
}

#logo .logoTxt :is(b, strong) {
  color: #252525;
  display: block;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5625rem, 3vw, 2rem);
  text-transform: none;
  margin-top: 8px;
}

.headerButton a {
  color: #5a7826;
  font-family: "Barlow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}
.topbar {
  border-bottom: solid 1px rgba(37, 37, 37, 0.2);
  padding: 10px 0 5px;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .topbar {
    border-bottom: solid 1px transparent;
  }
}
/* #region ---------------------------------- navigation ---------------------------------------- */

nav.horizontally {
  padding: 20px 0;
  background: #ffffff;
}

nav.horizontally > .row {
  row-gap: 20px;
}

/* 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: 8px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #fff;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #5a7826;
    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 0;
  }

  .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;
    right: 15px;
    top: 15px;
    z-index: 101;
  }

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

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    padding: 57px 0 11px 0;
    transition: padding 200ms linear;
  }

  .is-sticky nav.horizontally {
    padding: 10px 0 10px 0;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 2px;
    margin-top: 12px;
    transition: margin-top 200ms linear;
  }

  .is-sticky nav.horizontally .navbar-nav {
    margin-top: 12px;
  }

  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.open > ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(: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) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #252525;
  font-weight: 400;
  padding: 12px 15px;
  position: relative;
  text-align: left;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Source Sans 3", sans-serif;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 9px 12px;
  }
}

/* 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: #5a7826;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background: #5a7826;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

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

  nav.horizontally [class*="secondlevel"] > ul {
    padding: 15px;
  }
}

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
}

/* 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: #fff;
  color: #5a7826;
}

/* #endregion ------------------------------- navigation ---------------------------------------- */
#search {
  height: 33px;
  background: #fff;
  display: inline-block;
  position: relative;
  min-width: 284px;
}
#search_input {
  color: #252525;
  font-size: 0.9375rem;
  font-style: italic;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  width: 100%;
  opacity: 1 !important;
}
#search_submit {
  width: 33px;
  background: #fff url("../img/icon-lupe.png") center no-repeat;
  padding: 10px;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -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 {
  background-color: #e6ebdf;
}
#search_input::-ms-input-placeholder {
  color: #252525 !important;
  opacity: 1 !important;
}
#search_input::-webkit-input-placeholder {
  color: #252525 !important;
  opacity: 1 !important;
}
#search_input::-moz-placeholder {
  opacity: 1;
}
#search_input:-moz-placeholder {
  opacity: 1;
}
/* -------------------------------------------- banner ------------------------------------------ */

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

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

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

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

#headerpic {
  margin-top: 60px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

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

.slider-mask {
  display: none;
}

.sloganBereich {
  border-bottom: solid #5a7826 4px;
}

#slogan {
  margin: 35px 0 54px 0;
  color: #4c2704;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  font-size: 1.375rem;
  position: relative;
}
@media (max-width: 991px) {
  #slogan {
    margin: 20px 0;
  }
}

@media (min-width: 1200px) {
  #slogan::before {
    content: "";
    position: absolute;
    background: url(../img/wasserzeichen-links.png) no-repeat;
    width: 199px;
    height: 196px;
    bottom: -55px;
    z-index: 0;
    pointer-events: none;
    left: -30px;
    display: block;
  }
  #slogan::after {
    content: "";
    position: absolute;
    background: url(../img/wasserzeichen-rechts.png) no-repeat;
    width: 199px;
    height: 196px;
    bottom: -55px;
    z-index: 0;
    pointer-events: none;
    right: -30px;
    display: block;
  }
}
/* ------------------------------------------------ content ----------------------------------------------- */

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

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

/* #region --------------------------------------- news ----------------------------------------- */

#news {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(73px, 10vw, 60px);
  padding-top: clamp(40px, 10vw, 70px);
}

@media (max-width: 767px) {
  .news-content {
    margin-bottom: 60px;
  }
}

@media (min-width: 992px) {
  .news-content {
    padding-bottom: clamp(40px, 10vw, 90px);
  }
}

#news .tab_link_entries {
  display: grid;
  column-gap: 30px;
  margin-bottom: clamp(20px, 2vw, 32px);
}

#news .tab_link_entry {
  position: relative;
  z-index: 1;
  font-weight: 400;
  padding: clamp(20px, 2vw, 28px) 0;
  font-size: 1.125rem;
  padding-left: 40px;
  border-bottom: 1px dotted transparent !important;
}
#news .tab_link_entry + .tab_link_entry {
  border-top: solid 1px rgba(37, 37, 37, 0.2);
}

#news .tab_link_entry::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0px;
  bottom: 0;
  left: 0px;
  background: #ffffff;
  transition: opacity 300ms linear;
  opacity: 0;
}

#news .tab_link_entry:is(:hover, :focus-within) {
  z-index: 2;
}

#news .tab_link_entry:is(:hover, :focus-within)::after {
  opacity: 1;
}

#news .tab_link_title a {
  display: inline-block;
  padding-bottom: 10px;
  line-height: 1.4;
  font-size: 1.25rem;
  font-family: "Barlow", sans-serif;
  text-transform: uppercase;
  color: #4e6921;
  font-weight: 400;
}

#news .tab_link_title a:not(:hover):not(:focus) {
  text-decoration: none;
}

#news .tab_preview_picture {
  display: none;
}

#news .tab_spacer {
  height: 0px;
}

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

#news .newsButton a {
  color: #ffffff;
  font-size: 1rem;
  padding: 13px 40px;
  background-color: #4e6921;
}

#news .newsButton a:is(:hover, :focus) {
  background-color: #fff;
  color: #4e6921;
  text-decoration: none;
}

#news .tab-headline :is(h1, h2, h3) {
  font-size: clamp(1.5rem, 3vw, 1.75rem) !important;
  margin-bottom: 10px;
}
#news .tab-headline {
  margin-bottom: 20px;
}
/* #endregion ------------------------------------ news ----------------------------------------- */
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #4b2704;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Barlow", sans-serif;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(1.875rem, 5.5vw, 2.375rem);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.75rem, 5vw, 2.1875rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(1.625rem, 4.5vw, 2rem);
}

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

h5,
.h5,
.legacy_h5 {
  font-size: clamp(1.375rem, 3.5vw, 1.625rem);
}

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* ----------------------------------------------- @2f footer ----------------------------------------------- */

#footer {
  color: #fff;
  padding-top: 65px;
  padding-bottom: 50px;
  background-color: #5a7826;
  border-top: 5px solid #fff;
}

@media (min-width: 1200px) {
  #footer > .row::before {
    content: "";
    position: absolute;
    background: url(../img/deko-logo-schule-niederau.png) no-repeat;
    width: 266px;
    height: 295px;
    top: -295px;
    z-index: 0;
    pointer-events: none;
    right: -150px;
    display: block;
  }
}

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

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

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

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

#footer a {
  color: #fff;
}
/* --------------------------------------------- logoFooter -------------------------------------------- */

#footer .tabKontaktTitle {
  font-family: "Barlow", sans-serif;
  font-size: 1.125rem;
  text-transform: uppercase;
  font-weight: 400;
}
#footer .tabKontaktTitle :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
  text-transform: none;
  font-family: "Barlow", sans-serif;
  font-size: clamp(1.5625rem, 3vw, 1.875rem);
  color: #fff;
  font-weight: 600;
  margin-bottom: 5px;
}

#footer .tabKontaktTitle a {
  text-decoration: underline;
}

#logoFooter {
  display: inline-block;
}

#logoFooter img {
  display: block;
}

/* --------------------------------------------- footerTab -------------------------------------------- */

#footerTab {
  font-size: 1.125rem;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 2px solid #fff;
}
#footerTab a {
  text-decoration: underline;
}
/* ----------------------------------------------- scrollTop ----------------------------------------------- */

#scrollTop {
  text-decoration: none;
  text-transform: uppercase;
  color: #5a7826 !important;
  font-size: 1rem;
  font-weight: 700;
  opacity: 1 !important;
  max-width: 170px;
  padding: 10px 20px;
  margin: 0 auto 25px auto;
  background-color: #ffffff;
  font-family: "Barlow", sans-serif;
}

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

#scrollTop:hover,
#scrollTop:focus {
  background-color: #e6ebdf;
}

#scrollTop span {
  position: relative;
  display: inline-block;
  font-size: 0;
  height: 35px;
  width: 18px;
  margin-right: 4px;
  transition: border-radius 300ms linear;
}

#scrollTop span::after {
  content: "";
  position: absolute;
  display: inline-block;
  margin-top: -1px;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  border-right: 2px solid #5a7826;
  border-top: 2px solid #5a7826;
  transform: rotate(-45deg);
}

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

#vernetzt {
  gap: 12px;
  text-align: right;
  font-size: 0.9375rem;
  color: #fff;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

#vernetzt :is(b, strong) {
  font-weight: 700;
}
/* ---------------------------------------------- innerfooter ---------------------------------------------- */

#innerfooter {
  font-size: 1rem;
  color: #252525;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #e6ebdf;
}

#innerfooter ul {
  padding: 0 !important;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #252525;
  text-decoration: none;
  display: inline-block;
}

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

#innerfooter li + li::before {
  content: "•";
  margin: 0 10px;
}

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

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

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