/* =====================================================================
   user.css – Template "ok6" (Child-Template von Cassiopeia, Joomla 6.2)
   Ballettschule Kreuzlingen
   Pfad: media/templates/site/ok6/css/user.css
   ---------------------------------------------------------------------
   Inhalt
    1.  Schrift
    2.  Variablen
    3.  Typografie
    4.  Links und Buttons
    5.  Formulare
    6.  Seitenkopf, Logo, Navigation, Suche, Sprachen
    7.  Banner und Slider
    8.  Breadcrumbs und Seitennavigation
    9.  Inhaltsbereich und Module
   10.  Blog
   11.  Bilder
   12.  Inhaltselemente (FAQ, Stundenplan, Linklisten, Anker)
   13.  Erweiterungen (JCE, EasyBlog, Tabs)
   14.  Seitenfuss
   15.  Nach oben / Sonstiges
   16.  Responsive
   17.  Archiv (auskommentierte Regeln)
   ===================================================================== */


/* =====================================================================
   1. Schrift
   ===================================================================== */

/* Noto Sans als variable Schrift (alle Stärken in einer Datei) */
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-VariableFont_wdth,wght.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}


/* =====================================================================
   2. Variablen
   ===================================================================== */

:root {
  /* Template-Farben */
  --cassiopeia-color-primary: #fff;
  --cassiopeia-color-link: #abbf5b;
  --cassiopeia-color-hover: #f6891f;

  /* Linkfarben für Bootstrap 5.3 (entsprechen --cassiopeia-color-link / -hover) */
  --link-color: #abbf5b;
  --link-color-rgb: 171, 191, 91;
  --link-hover-color: #f6891f;
  --link-hover-color-rgb: 246, 137, 31;

  /* Template-Schriften */
  --cassiopeia-font-family-body: Noto Sans, Arial, Helvetica, sans-serif;
  --cassiopeia-font-family-headings: Noto Sans, Arial, Helvetica, sans-serif;
  --cassiopeia-font-weight-headings: 380;
  --cassiopeia-font-weight-normal: 380;

  /* Bootstrap-Farben */
  --blue: #0d6efd;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #d63384;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #198754;
  --teal: #20c997;
  --cyan: #0dcaf0;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --primary: #0d6efd;
  --secondary: #6c757d;
  --success: #abbf5b;
  --info: #0dcaf0;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #212529;
  --primary-rgb: 13, 110, 253;
  --secondary-rgb: 108, 117, 125;
  --success-rgb: 25, 135, 84;
  --info-rgb: 13, 202, 240;
  --warning-rgb: 255, 193, 7;
  --danger-rgb: 220, 53, 69;
  --light-rgb: 248, 249, 250;
  --dark-rgb: 33, 37, 41;
  --white-rgb: 255, 255, 255;
  --black-rgb: 0, 0, 0;
  --body-color-rgb: 33, 37, 41;
  --font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));

  /* Seitentext */
  --body-font-family: var(--cassiopeia-font-family-body);
  --body-font-size: 18px;
  --body-font-weight: 380;
  --body-line-height: 1.8;
  --body-color: #444444;

  /* Hintergrund für Bausteine wie Eingabefelder, Tabellen, Listen, Karten,
     Dropdowns, Akkordeons, Modale. Bootstrap 5.3 nutzt dafür --body-bg.
     Die graue Seitenfarbe steht deshalb direkt am body (siehe unten). */
  --body-bg: #fff;
  --body-bg-rgb: 255, 255, 255;

  /* Graue Seitenfarbe */
  --site-page-bg: #eeecec;
}

body {
  background-color: var(--site-page-bg);
}


/* =====================================================================
   3. Typografie
   ===================================================================== */

body {
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  font-weight: 380;
}
strong {
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  font-weight: 600;
}

h1, h2, h4, h5, h6 {
  color: #abbf5b;
  font-size: 24px;
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 380;
}
h3 {
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 600;
}

/* Hervorhebungen (auch Suchtreffer) */
mark, .mark {
  padding: 0 !important;
  background-color: rgba(171, 191, 91, 0.25) !important;
}

/* Definitionslisten (z. B. Benutzerprofil, Details) */
dd {
  margin-bottom: 0 !important;
  margin-left: 0;
}
dt {
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  font-weight: 500;
}

/* Formular-Überschriften (z. B. Benutzerprofil) */
legend {
  float: left;
  width: 100%;
  padding: 0;
  margin-bottom: 10px !important;
  line-height: 30px;
  font-size: 24px !important;
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #abbf5b;
  letter-spacing: -.5px;
}


/* =====================================================================
   4. Links und Buttons
   ===================================================================== */

a, a:hover {
  text-decoration: none !important;
}
/* Links im Fliesstext etwas kräftiger */
main p a,
main li a {
  font-weight: 420;
}

/* Weiterlesen, EasyBlog-Buttons, Buttons im Beitrag */
.readmoretextfield, div#eb .btn, .com-content-article__body button {
  background-color: #abbf5b;
  background-image: linear-gradient(to bottom, #b9d736, #abbf5b);
  background-repeat: repeat-x;
  border-color: #abbf5b #abbf5b #005321;
  border-image: none;
  border-radius: 4px;
  border-style: solid;
  border-width: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #fff !important;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 0;
  padding: 6px 12px 6px 12px;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}
.readmoretextfield:hover, div#eb .btn:hover, .com-content-article__body button:hover {
  background-color: #f6891f !important;
  color: #fff !important;
  text-decoration: none;
  background-position: 0 -47px;
  transition: background-position .1s linear;
}

/* Bootstrap-Buttons */
.btn.btn-primary, .btn.btn-secondary {
  background-color: #abbf5b;
  background-image: linear-gradient(to bottom, #b9d736, #abbf5b);
  background-repeat: repeat-x;
  border-color: #abbf5b #abbf5b #abbf5b;
  border-image: none;
  border-radius: 5px;
  border-style: solid;
  border-width: 0;
  font-size: 18px;
  font-weight: 380;
  line-height: 1.8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #fff !important;
  padding: 6px 12px 6px 12px;
}
.btn.btn-primary:hover, .btn.btn-secondary:hover {
  background-color: #f6891f !important;
  color: #fff !important;
  text-decoration: none;
  background-position: 0 -47px;
  transition: background-position .1s linear;
}

/* Pfeil-Link */
.hyperlink {
  background-attachment: scroll;
  background-image: url(../images/arrow-link_passive.png);
  background-repeat: no-repeat;
  display: inline-block;
  cursor: pointer;
  color: #abbf5b !important;
  font-family: Noto Sans, Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-decoration: none;
  line-height: 23px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 3px;
  padding-right: 20px;
  padding-bottom: 3px;
  padding-left: 25px;
  background-position: left center;
}
.hyperlink:hover {
  background-attachment: scroll;
  background-image: url(../images/arrow-link_hover.png);
  background-repeat: no-repeat;
  background-position: left center;
  color: #f6891f !important;
}


/* =====================================================================
   5. Formulare
   ===================================================================== */

/* Eingabefelder (gilt global, ursprünglich für die Suchseite) */
.form-control {
  padding: 0.52rem 1rem !important;
}

/* Eingabefelder und Auswahllisten: grüner statt blauer Fokus */
.form-control:focus,
.form-select:focus {
  border-color: #abbf5b;
  box-shadow: 0 0 0 .2rem rgba(171, 191, 91, 0.35);
}

/* Ankreuzfelder: deutlicher Rahmen, grüner Fokus */
.form-check-input {
  border-color: #a9a3a3;
}
.form-check-input:hover {
  border-color: #abbf5b;
}
.form-check-input:focus {
  border-color: #abbf5b;
  box-shadow: 0 0 0 .2rem rgba(171, 191, 91, 0.35);
}

/* Angehakte Checkboxen, Radios und Schalter in Grün */
.form-check-input:checked,
.form-check-input[type="checkbox"]:indeterminate {
  background-color: #abbf5b;
  border-color: #abbf5b;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -3px;
}

/* Fix, um Formulare im Frontend einzufügen */
.modal-backdrop.show {
  display: none;
}


/* =====================================================================
   6. Seitenkopf, Logo, Navigation, Suche, Sprachen
   ===================================================================== */

/* Header leicht transparent, beim Scrollen deckend (Klasse "active" setzt index.php) */
.header {
  background-color: rgba(255, 255, 255, .8);
  background-image: none;
  box-shadow: none;
  height: 153px;
  transition: all 0.15s linear;
  border-bottom: 1px #333 solid;
  padding: 0 1em;
}
.header.active {
  background-color: #fff;
  background-image: none;
  box-shadow: none;
  height: 153px;
  padding: 0 1em;
}

.container-header {
  z-index: 101;
}
.container-header .grid-child {
  height: 80px;
  padding: 0;
}
.container-header nav {
  width: 100% !important;
  margin-top: 0 !important;
}
.container-below-top {
  justify-content: space-between;
}

/* Maximale Breite aller Inhaltsbereiche (gilt global) */
.grid-child {
  max-width: 1323px;
}

/* Logo */
.logo {
  margin: 20px 0 0 10px;
  max-width: 460px;
  width: 460px;
  filter: drop-shadow(0px 0px 5px rgb(255, 255, 255));
  z-index: 11;
  position: absolute;
}

/* Suchfenster im Menü */
.maximenuck_mod .moduletable .mod-finder.js-finder-searchform.form-search {
  margin-bottom: -1rem;
}
.maximenuck_mod .moduletable .mod-finder.js-finder-searchform.form-search .form-control {
  border: none;
}

/* Autocomplete-Liste im Suchfenster
   (entfernt: "position: -30px" – ungültiger Wert, hatte keine Wirkung) */
.awesomplete > ul {
  border-radius: 0 !important;
  margin: 20px 0 0 -16px !important;
  padding: 20px 0 !important;
  background: #fff !important;
  width: 249px !important;
}
.awesomplete > ul > li {
  font-size: 16px !important;
  line-height: 25px !important;
}
.awesomplete mark {
  background: rgba(171, 191, 91, 0.25) !important;
}

/* Sprachauswahl im Mobilmenü */
div.mod-languages ul {
  margin: 0 !important;
  padding: 0 !important;
}
div.mod-languages ul.lang-block li {
  padding: 0 !important;
}
div.mod-languages li {
  margin: 0 !important;
}
div.mod-languages a {
  padding: 0 !important;
}
.lang-active > a {
  color: #B3B3B3 !important;
  background-color: #777;
}


/* =====================================================================
   7. Banner und Slider
   ===================================================================== */

.container-banner {
  margin: -110px 0 0 0;
}
.container-banner .banner-overlay {
  height: 60vh;
}
.container-banner .banner-overlay .overlay {
  background-color: rgba(0, 0, 0, 0);
}

/* Platzhalter Slider */
.moduletable.sliderplaceholder {
  height: 132px;
}


/* =====================================================================
   8. Breadcrumbs und Seitennavigation
   ===================================================================== */

.breadcrumb {
  background-color: rgba(0, 0, 0, 0);
}
.mod-breadcrumbs__wrapper {
  margin-top: -32px !important;
  margin-bottom: -13px !important;
  background-color: #fff;
  color: #999;
  font-size: 12px;
  padding-left: 25px;
}

/* Achtung: überschreibt die Bootstrap-Hilfsklasse .py-2 global */
.py-2 {
  padding-top: 1rem !important;
  padding-bottom: 0 !important;
}

/* Seitennavigation: weiss mit grüner Schrift */
.pagination {
  --pagination-color: #abbf5b;
  --pagination-bg: #fff;
  --pagination-border-color: #e5e2e2;
  --pagination-hover-color: #f6891f;
  --pagination-hover-bg: #f5f4f4;
  --pagination-hover-border-color: #e5e2e2;
  --pagination-focus-color: #f6891f;
  --pagination-focus-bg: #f5f4f4;
  --pagination-focus-box-shadow: 0 0 0 .2rem rgba(171, 191, 91, 0.35);
  --pagination-active-color: #fff;
  --pagination-active-bg: #abbf5b;
  --pagination-active-border-color: #abbf5b;
  --pagination-disabled-color: #c8c8c8;
  --pagination-disabled-bg: #fff;
  --pagination-disabled-border-color: #e5e2e2;
}
.page-item.active .page-link {
  font-weight: 600;
}


/* =====================================================================
   9. Inhaltsbereich und Module
   Module haben die Klasse .card und zusätzlich ihre Position als Klasse
   (z. B. .main-top.card). Für einzelne Module eine eigene Modulklasse
   in den Moduleinstellungen vergeben.
   ===================================================================== */

.item-content .page-header {
  padding: 0 !important;
  margin-bottom: 0 !important;
}

.com-content-category-blog.blog .page-header {
  border-radius: 0 !important;
  padding: 30px 40px 20px;
  margin-bottom: 16px;
  display: flow-root;
}

/* Schatten nur bei klickbaren Blogkarten (mit Weiterlesen-Link) */
.blog-item:has(.readmore a):hover {
  box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.5s;
}

/* Weisse Boxen */
.no-card .newsflash-horiz li, .blog-items .blog-item, .card, .category-desc.clearfix, .com-content-article.item-page, .com-finder.finder, .content-category, #jevents, .eb-post-content, #eb .eb-comments, .com-users-registration.registration, .com-users-profile.profile, .com-users-login.login, .com-content-category-blog.blog .page-header, .com-users-profile__edit.profile-edit {
  background-color: #fff;
  border: none;
}
.item-content, .category-desc.clearfix, .com-content-article.item-page, .com-finder.finder, .content-category, #jevents, .eb-post-content, #eb .eb-comments, .card, .com-users-registration.registration, .com-users-profile.profile, .com-users-login.login, .com-users-profile__edit.profile-edit {
  border-radius: 0 !important;
  padding: 30px 40px 20px;
  display: flow-root;
}
.category-desc.clearfix {
  padding: 30px 40px 10px;
  margin-bottom: 17px;
  display: flow-root;
}

.container-bottom-a > *, .container-bottom-b > * {
  flex: 1;
  margin: 0 0 1em;
}
.container-component > * + *, .container-sidebar-left > * + *, .container-sidebar-right > * + * {
  margin-top: 12px;
}

/* Modul mit Landkarte */
.bottom-a.card.map {
  background-image: url("/images/slider/map.jpg");
  background-color: #fff;
  height: auto;
  background-position: 31% 16%;
  background-repeat: no-repeat;
  background-size: cover;
}

main {
  z-index: 0;
}

.main-top.card {
  background: #e1e9f5;
}
.card-body {
  padding: 0;
}
.card-header {
  padding: 0;
  margin-bottom: 0;
  background-color: rgba(255, 255, 255, 0);
  border-bottom: 0px none #fff;
}

/* Systemmeldungen */
#system-message-container joomla-alert {
  margin-top: 18px;
}

/* Listen in Spalten (Startseite) */
.wf-column ul {
  margin-bottom: 0rem;
}

/* Abstand Spalten unten */
.wf-columns-gap-large {
  gap: 0rem 2rem !important;
}

/* Fehlerseite */
#forseo_error_page_content {
  background: #FFF;
  padding: 30px 40px 20px !important;
  margin-top: 27px;
}


/* =====================================================================
   10. Blog
   ===================================================================== */

/* Datum und Lesezeit (Override blog_item.php) */
.ballet-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
  color: #858585;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
}

/* Zurück zur Blogübersicht (Override article/default.php)
   Neu: .ballett-blog-back ergänzt – so heisst die Klasse im Override,
   die bisherige Regel .blog-back-link griff dort nicht. */
.blog-back-link, .ballett-blog-back {
  margin-top: 35px;
  font-size: 0.9rem;
}
.blog-back-link a, .ballett-blog-back a {
  color: inherit;
  text-decoration: none;
}
.blog-back-link a:hover, .ballett-blog-back a:hover {
  text-decoration: underline;
}
.blog-item {
  position: relative;
}
.blog-item .readmore a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.blog-item .icons,
.blog-item .item-content a:not(.btn) {
  position: relative;
  z-index: 2;
}


/* =====================================================================
   11. Bilder
   ===================================================================== */

.blog-item .item-image {
  margin-top: 0;
  margin-bottom: 0px !important;
}
.left.item-image {
  float: none;
}
.left.item-image img {
  width: 100%;
  height: auto;
}
.item-image {
  border: none;
}

.images-full {
  width: 100%;
  height: auto;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  margin-left: 0;
}

/* Zwei bisherige Regeln zusammengeführt */
.images-overwiew {
  max-width: 100%;
  height: auto;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4);
  margin-top: 0.7em;
  margin-right: 2%;
  margin-bottom: 0.7em;
  margin-left: 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #dddddd;
}

.images-half {
  height: auto;
  width: 50%;
  float: right;
  padding-left: 1%;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  margin-left: 0;
}
.images-40 {
  height: auto;
  width: 40%;
  float: right;
  padding-left: 1%;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  margin-left: 0;
}
.images-quarter {
  height: auto;
  width: 25%;
  float: right;
  padding-left: 1%;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  margin-left: 0;
}
.images-quarter-left {
  height: auto;
  width: 25%;
  float: left;
  padding-right: 1%;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  margin-left: 0;
}
.images-filter {
  width: 68px;
  float: left;
  height: auto;
  margin-right: 10px;
}


/* =====================================================================
   12. Inhaltselemente
   ===================================================================== */

/* FAQ-Akkordeon */
.faq-list {
  margin-top: 2rem;
}
.faq-item {
  border-top: 1px solid #ddd;
}
.faq-item:last-child {
  border-bottom: 1px solid #ddd;
}
.faq-item summary {
  position: relative;
  padding: 1rem 2.5rem 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-content {
  padding: 0 2.5rem 1rem 0;
}
.faq-content p {
  margin: 0;
  line-height: 1.7;
}

/* Stundenplan */
.stundenplan td, .stundenplanend td {
  border-bottom: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  padding: 2px;
}
.stundenplan, .stundenplanend {
  float: left;
  font-size: 14px;
  line-height: 22px;
  width: 16.6%;
  margin-bottom: 10px;
}

/* Linkliste */
.footerlinks {
  line-height: 22px;
  padding-top: 5px;
  padding-bottom: 5px;
  display: inline-block;
  border-bottom: 1px dotted #d5cece;
  width: 100%;
}

/* Anker unter dem fixen Header positionieren */
a.anchorPos {
  display: block;
  position: relative;
  top: -200px;
  visibility: hidden;
}


/* =====================================================================
   13. Erweiterungen
   ===================================================================== */

/* --- JCE: Editor-Hintergrund ----------------------------------------- */
.mceContentBody {
  background-color: #fff;
}

/* --- EasyBlog: Newsslider im Footer ----------------------------------- */
#eb .eb-featured--magazine .eb-gallery-cover__img {
  background-position: 50% 25% !important;
  padding-bottom: 430px !important;
}
#eb .eb-featured--magazine .swiper-wrapper {
  background-color: transparent !important;
}
.swiper-slide.swiper-slide-active {
  margin-bottom: 30px;
}

/* --- Tabs und Slider (jwts) ------------------------------------------- */
div.jwts_toggleControlContainer a.jwts_toggleControl {
  font-size: 18px !important;
}
div.jwts_content {
  display: table;
}
.jwts_toggleControlNotice {
  display: none !important;
}


/* =====================================================================
   14. Seitenfuss
   ===================================================================== */

/* Grundstil der fünf Footer (stand bisher in template.css) */
.footer-a, .footer-b, .footer-c, .footer-d, .footer-e {
  margin-top: 0;
  color: #fff;
}
.footer-a {
  background: #6d635a;
  padding-bottom: 10px;
}
.footer-b {
  background: #6d635a;
}
.footer-c, .footer-d {
  background: #2f2e2e;
}
.footer-e {
  background: #d8d4d4;
}

.footer-a .grid-child, .footer-b .grid-child, .footer-c .grid-child, .footer-d .grid-child, .footer-e .grid-child {
  align-items: center;
  justify-content: space-between;
}
.footer-a .grid-child {
  padding: 20px 0 0 0;
}
.footer-b .grid-child, .footer-d .grid-child, .footer-e .grid-child {
  padding: 30px 40px 20px;
}
.footer-c .grid-child {
  padding: 0;
  max-width: 100%;
}
.container-footer.footer-a.full-width .grid-child, .container-footer.footer-c.full-width .grid-child {
  display: block;
}

.footer-b .mod-custom, .footer-c .mod-custom, .footer-d .mod-custom {
  width: 100%;
}

/* Links im Footer */
.footer-a a, .footer-b a, .footer-c a, .footer-d a, .footer-e a {
  color: currentColor;
}
.footer-b a {
  color: #fff;
}
.footer-b a:hover {
  color: #c8c8c8;
}

/* Menüs im Footer */
.footer-a .mod-menu, .footer-b .mod-menu, .footer-c .mod-menu, .footer-d .mod-menu, .footer-e .mod-menu {
  position: relative;
}
.footer-a .metismenu.mod-menu .mm-collapse, .footer-b .metismenu.mod-menu .mm-collapse, .footer-c .metismenu.mod-menu .mm-collapse, .footer-d .metismenu.mod-menu .mm-collapse, .footer-e .metismenu.mod-menu .mm-collapse {
  background: var(--cassiopeia-color-primary);
}

/* Achtung: gilt für alle Menüs, nicht nur im Footer */
.mod-menu {
  flex-direction: row;
}
.mod-menu.mod-list.nav._untenrechts li {
  padding-right: 20px;
}
.mod-menu.mod-list.nav._untenrechts a {
  color: #444444;
}
.mod-menu.mod-list.nav._untenrechts a:hover {
  color: #999999;
}


/* =====================================================================
   15. Nach oben / Sonstiges
   ===================================================================== */

.back-to-top-link {
  position: absolute;
  inset-inline-end: 1rem;
  bottom: 20px;
  z-index: 10000;
  padding: 9px 11px;
  pointer-events: all;
  background-color: #d8d4d4;
  border: 1px solid #847e7e;
}
.icon-arrow-up.icon-fw {
  color: #847e7e !important;
}
.back-to-top-link:hover, .back-to-top-link:focus {
  background-color: #d8d4d4;
  border-color: var(--white, white);
}

/* Popup-Fenster (Versionen, Bildauswahl, Druckansicht usw.)
   Diese Seiten nutzen component.php, deren <body> nicht die Klasse "site" hat. */
body:not(.site) {
  background-color: #fff;
}


/* =====================================================================
   16. Responsive
   ===================================================================== */

/* --- bis 991.98px (Tablet) ------------------------------------------- */
@media (max-width: 991.98px) {
  /* Footer untereinander (stand bisher in template.css) */
  .footer-a .grid-child, .footer-b .grid-child, .footer-c .grid-child, .footer-d .grid-child, .footer-e .grid-child {
    flex-direction: column;
  }
  .footer-a .grid-child .mod-footer, .footer-b .grid-child .mod-footer, .footer-c .grid-child .mod-footer, .footer-d .grid-child .mod-footer, .footer-e .grid-child .mod-footer {
    margin: 0.375rem 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .patientinfolinks, .patientinfolinksend, .stundenplan, .stundenplanend, .worldwide, .worldwideend {
    width: 49%;
  }
  .header {
    height: 120px;
  }
  .header.active {
    height: 120px;
  }
  .position-sticky {
    position: sticky !important;
  }
}

@media (max-width: 991px) {
  /* Seitenleisten unter den Inhalt */
  .site-grid {
    grid-template-areas: ". banner banner banner banner ." ". top-a top-a top-a top-a ." ". top-b top-b top-b top-b ." ". side-l side-l side-l side-l ." ". comp comp comp comp ." ". side-r side-r side-r side-r ." ". bot-a bot-a bot-a bot-a ." ". bot-b bot-b bot-b bot-b .";
  }
}

/* --- 576px bis 767.98px ---------------------------------------------- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .mod-breadcrumbs__wrapper {
    display: none;
  }
  .patientinfolinks, .patientinfolinksend, .worldwide, .worldwideend, .stundenplan, .stundenplanend, .table33, .table50 {
    width: 100%;
  }
  .logo {
    margin: 26px 0 0 10px;
    max-width: 360px;
    position: absolute;
    width: 360px;
  }
  .header {
    height: 115px;
  }
  .header.active {
    height: 115px;
  }
  .footerlinks, .footerlinksend {
    width: 100%;
  }
  .images, .images-full, .images-overwiew, .images-half, .images-40, .images-quarter, .images-quarter-left {
    height: auto;
    max-width: 100%;
  }
  .table50, .table50left, .table50right, .stundenplan, .stundenplanend, .table4, .table4end, .table5, .table5end, .table3, .table3end, .table2, .table2end {
    width: 100%;
  }
  .position-sticky {
    position: sticky !important;
  }
}

/* --- bis 575px (Mobil) ------------------------------------------------ */
@media (min-width: 0px) and (max-width: 575px) {
  .mod-breadcrumbs__wrapper {
    display: none;
  }
  .patientinfolinks, .patientinfolinksend, .worldwide, .worldwideend, .table33, .table50 {
    width: 100%;
  }
  .logo {
    margin: 35px 0 0 10px;
    max-width: 260px;
    position: absolute;
    width: 260px;
  }
  .header {
    height: 110px;
  }
  .header.active {
    height: 110px;
  }
  .images, .images-full, .images-overwiew, .images-half, .images-40, .images-quarter, .images-quarter-left {
    height: auto;
    width: 100%;
  }
  .table50, .table50left, .table50right, .stundenplan, .stundenplanend, .table4, .table4end, .table5, .table5end, .table3, .table3end, .table2, .table2end {
    width: 100%;
  }
  .position-sticky {
    position: sticky !important;
  }
}

/* --- ab 1200px -------------------------------------------------------- */
@media (min-width: 1200px) {
  .com-users-profile dt {
    min-width: 420px !important;
  }
}


/* =====================================================================
   17. Archiv (auskommentiert, ohne Wirkung)
   ===================================================================== */

/* Schatten für Navigation und Boxen
.grid-child.container-nav,
.card {
  box-shadow: 12px 4px 18px 0px rgba(0, 0, 0, 0.2);
}
*/

/* Alle Icons einfärben
.fa, .fas, [class*=" icon-"], [class^="icon-"] {
  color: #ffffff;
}
*/
