/* Farben
* Lila: #5F3696
* Gelb: #f2dc6d
* Header Hintergrund: #f7f4f4
*/

html {
  font-size: 100%;
}

.seiteninhalt {
  hyphens: auto;
  word-wrap: break-word;
}
.bild-cover img {
width: 100%;
}
/* Überschriften */
h1,
.h1 {
  margin-bottom: 2rem;
}

h2,
.h2 {
  margin-bottom: 1rem;
}

h1.mittellinie {
  overflow: hidden;
  position: relative;
  color: #5f3696;
}

h1.mittellinie span {
  position: relative;
  padding: 0 15px 0 0;
  display: inline-block;
  max-width: 80%;
  background-color: #fff;
}

h1.mittellinie span:after {
  content: "";
  position: absolute;
  width: 10000px;
  height: 1px;
  top: 70%;
  border-bottom: 1px solid #5f3696;
  left: 100%;
}
.nachrichten-startseite h2 {
  font-size: 1.3rem;
}

/* Weiterlesen-Button */
p.readmore {
  text-align: right;
}
a.as-readmore {
  display: inline-block;
  color: #ffffff;
  background-color: #5F3696;
  border-color: #5F3696;
  padding: 0.375rem 0.75rem;
  border-radius: 0.25rem;
  text-decoration: none;
}
.caption,
.figure-caption {
  background-color: #7f7f7f;
  font-size: 0.9rem;
  color: #ffffff;
  padding: 0.5rem 1rem;
  text-align: center;
}
/* Links */
.seiteninhalt a,
.seitenende a,
.nachrichten-startseite a,
.breadcrumb {
  text-decoration: none;
  font-weight: 600;
}

a:not(.astroid-logo)[href^="http://"]:after,
a:not(.astroid-logo)[href^="https://"]:after,
a:not(.astroid-logo)[href^="www."]:after {
  font: var(--fa-font-solid);
  content: "\f35d";
  font-weight: 600;
  margin-left: 0.25rem;
}

.gallery-item a[href^="http://"]:after,
.gallery-item a[href^="https://"]:after,
.gallery-item a[href^="www."]:after {
  content: none;
  margin-left: 0;
}

a[href^="mailto:"]:before {
  font: var(--fa-font-solid);
  content: "\f199";
  font-weight: 600;
  margin-right: 0.25rem;
}

a[href$=".pdf"]:before {
  font: var(--fa-font-solid);
  content: "\f1c1";
  margin-right: 0.25rem;
}

/* Top-Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: sans-serif;
  flex-wrap: nowrap;
}

.top-bar .links {
  display: flex;
  align-items: center;
}

.top-bar .kontakt {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1em;
}

.top-bar .telefonnummer:before {
  font: var(--fa-font-solid);
  content: "\f095";
  color: #ffffff;
  margin-right: 0.25rem;
}

.top-bar .bürozeiten {
  white-space: nowrap;
}

.top-bar .rechts .nav-links {
  display: flex;
  gap: 1em;
  justify-content: flex-end;
}

.top-bar .nav-links a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.astroid-header-section header.astroid-header:not(.astroid-header-sticky) {
  padding: 15px 0 0 0;
}

.astroid-header-sticky,
section#hs-6394375a1471d054271707 {
  box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.1);
}

.astroid-logo .astroid-logo-default {
  max-width: 100%;
  max-height: 160px;
  margin: 0 auto 0px auto;
}

/* Navigation */
##.header-offcanvas-trigger .button::after,
.header-mobilemenu-trigger .button::after {
  content: 'Menü';
  float: left;
  font-size: 12px;
  font-weight: 600 !important;
  color: black;
  padding-top: 10px;
}

nav.navbar.navbar-expand-md {
  padding: 0;
}

.astroid-nav-wraper {
  background-color: #f2dc6d;
}

.astroid-nav .nav-submenu>li>.as-menu-item {
  padding: 12px 15px;
}

#astroid-sticky-header .astroid-nav-wraper {
  background: none;
}

.megamenu-container,
.megamenu-container .nav-submenu .nav-submenu {
  border: 1px solid #5f3696;
}

.megamenu-container.nav-submenu-container.nav-item-level-1 {
  top: 41px !important;
}

.nav-link {
  padding: 0.7rem;
}

.burger-menu-button {
  margin-right: 20px;
}

.burger-menu-button .inner,
.burger-menu-button .inner::before,
.burger-menu-button .inner::after {
  /*Strichstärke Hamburger-Menü */
  height: 3px;
}





/* Rechte Spalte */
.subnav-right li a {
  padding-left: 0.4rem;
}
.subnav-right li.active {
  background-color: #5f3696;
}

.subnav-right li.active a {
  color: #ffffff;
}
.subnav-right li a:hover {
  background-color: #5f3696;
  color: #ffffff;
  display: block;
}

.moduletable.subnav-right,
.moduletable.fv-right {
  /* Abstand Modultitle zum Inhalt */
  border: 1px solid #5F3696;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
  padding: 8px;
}

.subnav-right .module-title,
.fv-right .module-title {
  margin-bottom: 0.8rem;
  padding: 6px;
  background-color: #5F3696;
  font-weight: 500;
  color: #fff;
}

.subnav-right .module-title:before {
  font: var(--fa-font-solid);
  content: "\f0c9";
  color: #f2dc6d;
  margin-right: 0.25rem;
}

.fv-right .module-title:before {
  font: var(--fa-font-solid);
  content: "\f2b5";
  color: #fff;
  margin-right: 0.25rem;
}

/* Nachrichtenmodul Startseite Anfang */
.mod-articles-items {
  /*äußere Begrenzung der Gruppe von Kacheln */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* am Anfang vier Spalten */
  gap: 15px;
  /* Abstand zwischen Kacheln */
}

.mod-articles-item {
  /* Artikel-Kacheln gleich hoch + Rahmen + Ecken + Schatten */
  /* äußere Begrenzung der einzelen Kachel */
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #ddd;
  /* Heller Rahmen */
  border-radius: 8px;
  /* Abgerundete Ecken */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  /* Leichter Schatten */
  overflow: hidden;
  /* Ecken auch fürs Bild abrunden */
  background: #fff;
  /* Weißer Hintergrund */
}

.mod-articles-image {
  /* Bild + Caption Block */
  display: flex;
  flex-direction: column;
}

.mod-articles-image img {
  /* Bild selbst */
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 100% 25%;
  display: block;
}


.mod-articles-item-content {
  /* Inhalt unter dem Bild mit Innenabstand */
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
  /* Abstand zum Text */
}
/* Nachrichtenmodul Startseite Ende */



/* Einzel Blog Ansicht */
.item-page .article-info {
  margin: 0 0 8px;
}

.article-info>dd {
  padding-left: 0;
}

/* Blogübersicht Schulleben Anfang */


.blog-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 100% 25%;
  display: block;
}

.com-content-category-blog__items .row {
  /* Der Container der Zeile: alle Spalten gleich hoch */
  display: flex;
  flex-wrap: wrap;
}


.com-content-category-blog__item {
  /* Jede Kachel-Spalte füllt die Höhe aus */
  display: flex;
}

.com-content-category-blog__item .item-content {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
}

/* Bild immer oben, volle Breite */
.com-content-category-blog__item figure.item-image {
  margin: 0;
}

##.com-content-category-blog__item figure.item-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Inhalt unterhalb */
.com-content-category-blog__item .d-flex.flex-column.has-image {
  flex: 1 1 auto;
  /* Füllt den Rest der Höhe */
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.com-content-category-blog__item .article-title {
  margin-top: 0.5rem;
}

.com-content-category-blog__item .article-title h2 {
  font-size: 1.5rem;
  margin: 0;
}

.com-content-category-blog__item .article-info {
  font-size: 0.875rem;
  ##color: #6c757d;
  margin-top: 0.5rem;
}

.com-content-category-blog__item .article-intro-text {
  margin-top: 1rem;
}

.pagination .page-item.active .page-link,
li.page-item a:hover {
  color: #ffffff !important;
  background-color: #5f3696 !important;
  border-color: #5f3696 !important;
}

/* Blog einzelner Artikel */


/* Images */
.astroid-banner-inner {
  background: none;
  padding: 80px 0;
}



div#ar-63917a6892934850510854 {
  display: inline-flex;
}
/* Aufzählung */
ul.fa-ul li {
  padding: 2px 0;
}
ul.fa-ul li:before {
    font: var(--fa-font-solid);
    content: "\f0a9";
    font-weight: 600;
    color: #d6b213;
    font-size: 14px;
    margin-right: 0.25rem;
}
.blockquote-footer {
  margin-top: 0;
}

/* Seitenende */
.seitenende {
  border-top: 1px solid #5f3696;
}

.seitenende img {
  max-width: 200px;
  margin-bottom: 15px;
}

.seitenende .routenplanung:before {
  font: var(--fa-font-solid);
  content: "\f5a0";
  color: #5f3696;
  margin-right: 0.25rem;
}





/* Media Queries */
/* <= 1399px */

/* <= 1199px */
@media (width <=1199px) {
  .mod-articles-items {
    grid-template-columns: repeat(2, 1fr);
    /* Responsiv: 2 Spalten */
  }
}

/* <= 991px */
@media (width <=991px) {
  .astroid-logo .astroid-logo-mobile {
    display: block;
    max-width: 100%;
    max-height: 120px;
  }

  .astroid-logo .astroid-logo-default {
    display: none;
  }

  .astroid-banner-inner {
    padding: 50px 0;
  }

  .astroid-header-section header.astroid-header:not(.astroid-header-sticky) {
    padding: 15px 0 15px 0;
  }

  .astroid-header-section .astroid-header-sticky .astroid-logo .astroid-logo-sticky:not([hidden]) {
    display: none !important;
  }

  .astroid-component-section {
    padding-top: 35px;
  }
  .mod-articles-items {
    grid-template-columns: repeat(1, 1fr);
    /* Responsiv: 1 Spalte */
  }
}

/* <= 767px */
@media (width <=767px) {
  .mod-articles-items {
    grid-template-columns: 1fr;
    /* Responsiv: 1 Spalte */
  }
}

/* <= 575px */
@media (width <=575px) {
  h1.mittellinie span:after {
    display: none;
  }

  .top-bar .kontakt {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .top-bar .bürozeiten {
    font-size: 0.9em;
  }

  .top-bar .rechts .nav-links {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2em;
  }

  .navbar-expand-md .navbar-toggler {
    display: none;
  }

  .collapse:not(.show) {
    display: inline-block;
  }
}
.accordion-item {
  margin-bottom: 10px;
}