/**
 * =============================================================================
 * Anpassungen in diese Datei - Adjustments to this file
 * ==========================================================================
 */
 
 /* Alle Bilder immer in Farbe */
img,
#main img,
#heroimage img,
.slider-wrapper img,
#main .slider-wrapper img {
    -webkit-filter: none !important;
    filter: none !important;
}

/* Auch bei Hover in Farbe lassen */
img:hover,
#main img:hover,
#heroimage:hover img,
.slider-wrapper:hover img,
#main .slider-wrapper:hover img {
    -webkit-filter: none !important;
    filter: none !important;
}

/* fuer alle Geraete-Klassen */

.myClass p {
    color: #ff0000;
}

/* fuer tablets und groessere Displays*/
@media only screen and (min-width:768px) {

    .myClass p {
        color: #00ff99;
    }

}


/* fuer tablets und groessere Displays*/
@media only screen and (min-width:992px) {

    .myClass p {
        color: #f300ff;
    }

}

/* fuer desktop */
@media only screen and (min-width:1025px) {

    .myClass p {
        color: #0800ff;
    }

}

/* fuer Smartphones */
@media only screen and (max-width:767px) {}

/* Grid-Linien entfernen - Remove grid lines */
.layout-grid,
.grid-container,
.container,
body {
    background-image: none !important;
    background: none !important;
}

*::before,
*::after {
    background-image: none !important;
}

.basic4-grid,
.theme-basic4 {
    background-image: none !important;
}

/* Mobile Navigation Hintergrund - helles Grau */
@media (max-width: 767px) {
    .mod_quicknav,
    .quick-navigation {
        background-color: #f5f5f5 !important;
    }
    
    /* Falls das Menü in einem Container ist */
    .mod_quicknav .navigation,
    .quick-navigation ul {
        background-color: #f5f5f5;
    }
}
/* 30-08-2025 */
/* Hamburger Farbe */

.mobile_menu_trigger .nav-mobile i {
    background-color: #E12413 !important;
}

/* Hamburger Styling */
.mobile_menu_trigger .nav-mobile i {
    background-color: #E12413 !important;
    color: #ffffff !important;
}

/* Responsive - 80% Größe bei kleinen Bildschirmen */
@media (max-width: 480px) {
    .mobile_menu_trigger .nav-mobile i {
        font-size: 21px !important;
        padding: 6px 8px !important;
    }
}



/* Event Grid Layout für XG Template */
.event-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

/* Header verstecken */
.event-grid-container .header {
  display: none;
}

/* Event-Block */
.event-grid-container .event {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 280px;
  background: #343434;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 15px;
  transition: box-shadow 0.3s ease;
}

.event-grid-container .event:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Event Time - zentriert 95% Breite */
.event-grid-container .event .time {
  background: #f43534 !important;
  color: white !important;
  padding: 8px 12px;
  border-radius: 0;
  font-weight: bold;
  margin: -15px auto 15px auto !important;
  text-align: center;
  width: 95% !important;
  display: block !important;
  word-spacing: 20px;
}

/* Event Bilder - zentriert 95% Breite */
.event-grid-container .event img {
  width: 95% !important;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 0;
  margin: 0 auto 10px auto !important;
  display: block !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

/* Float-Verhalten in Events überschreiben */
.event-grid-container .event .ce_text .image-container,
.event-grid-container .event .ce_text figure {
  float: none !important;
  margin: 0 auto !important;
  display: block !important;
  text-align: center !important;
}

/* Event Titel */
.event-grid-container .event h2,
.event-grid-container .event .event-title {
  margin: 15px 0 20px 0;
  text-align: center;
  font-size: 1.5em;
  line-height: 1.5;
  min-height: 50px;
  color: #f43534 !important;
}

.event-grid-container .event h2 a,
.event-grid-container .event .event-title a {
  color: #f43534 !important;
  text-decoration: none;
}

.event-grid-container .event h2 a:hover,
.event-grid-container .event .event-title a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Event Links */
.event-grid-container .event a.more,
.event-grid-container .event .more a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  color: #f43534;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 0.3s ease;
}

.event-grid-container .event a.more:hover,
.event-grid-container .event .more a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .event-grid-container .event {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .event-grid-container {
    gap: 15px;
  }
  
  .event-grid-container .event {
    flex: 1 1 100%;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .event-grid-container {
    margin-top: 15px;
    gap: 10px;
  }
  
  .event-grid-container .event {
    padding: 12px;
  }
  
  .event-grid-container .event .time {
    margin: -12px auto 12px auto !important;
  }
}


/* 2025 - 09 - 19*/
/* Event Teaser - Linien unterschiedlich stylen */

/* Linie unter Datum/Uhrzeit - verstärkte Spezifität */
.header.event-date-header,
div.event-date-header {
    border-bottom: 2px solid #f43534 !important; /* Rot, 2px dick */
    padding-bottom: 10px;
    margin-bottom: 15px;
     color: #d4d4d4 !important; /* Helles Grau für guten Kontrast auf schwarz */
    font-size: 1.2em !important; /* Text etwas größer */
}

/* Linie unter Event-Content - verstärkte Spezifität */
.event.layout_teaser.event-item,
div.event-item {
    
    border-bottom: 0,5px solid #cccccc !important; /* Grau, 1px dünn */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

/* =============================================================================
 * Event Teaser XG - Mobile Bildoptimierung
 * 2025-12-28 15:35
 * ============================================================================= */

/* Desktop: Bild und Text nebeneinander */
.event-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.event-image {
    flex-shrink: 0;
    max-width: 300px; /* Desktop: 300px breit */
}

.event-image img {
    width: 100%;
    height: auto; /* Proportionale Höhe */
    display: block;
}

/* Mobile: Bild über dem Text, 80% Breite */
@media screen and (max-width: 768px) {
    .event-content-wrapper {
        flex-direction: column;
        gap: 15px;
        align-items: center; /* Zentriert das Bild */
    }
    
    .event-image {
        max-width: 80% !important; /* 80% Breite auf mobil */
        width: 80%;
    }
    
    .event-image img {
        width: 100% !important;
        height: auto !important; /* Proportionale Höhe beibehalten */
        max-height: none !important;
        object-fit: contain; /* Bild nicht beschneiden */
    }
    
    .event-details {
        width: 100%;
    }
}

/* Sehr kleine Bildschirme (Smartphones im Hochformat) */
@media screen and (max-width: 480px) {
    .event-content-wrapper {
        gap: 10px;
    }
    
    .event-image {
        max-width: 80%; /* Auch auf kleinen Geräten 80% */
    }
    
    .event-image img {
        border-radius: 8px; /* Optional: abgerundete Ecken */
    }
}


/* =============================================================================
 * Folderpage Navigation Anpassungen
 * 2025-12-23 16:45
 * ============================================================================= */

/* 1. Abstände zwischen Menüpunkten erste Ebene */
.mainmenu > ul.level_1 > li {
    margin-right: 5px;
}

.mainmenu > ul.level_1 > li:last-child {
    margin-right: 0;
}

/* 2. Styling für span-Elemente (folderpage) */
.mainmenu ul>li span {
    display: block;
    position: relative;
    padding: 6px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: All 0.4s ease;
    cursor: default;
}

/* 3. Pfeil-Icon für folder-submenu */
.mainmenu ul li.submenu span:after {
    content: "\f0d7";
    margin-left: 5px;
    text-decoration: none;
    font-size: 12px;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/* 4. Hover-Effekt für span */
.mainmenu>ul>li:hover>span,
.mainmenu>ul>li.active>span {
    color: #f43534;
    transition: All 0.4s ease;
}

/* 5. Unterstrich-Animation für span */
.mainmenu > ul > li > span span::after {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    height: 2px;
    background: #f43534;
    content: '';
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateY(10px);
}

.mainmenu > ul > li:hover > span span::after {
    opacity: 1;
    transform: translateY(-5px);
}

/* 6. Level 2 + 3 span-Styling */
.mainmenu ul ul>li span {
    padding: 8px 20px;
    font-size: 14px;
    color: #ccc;
    text-transform: none;
}

.mainmenu ul ul>li.submenu>span:after {
    display: block;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-9px);
    content: "\f105";
    margin-left: 5px;
    margin-top: 1px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.mainmenu ul li.last ul>li.submenu>span:after {
    right: auto;
    left: 8px;
    margin-left: 0;
    content: "\f104";
}

.mainmenu>ul ul li:hover>span {
    background-color: #232323;
    color: #f43534;
}

.mainmenu ul ul li span:after {
    display: none;
}

/* =============================================================================
 * Mobile Menu - Folderpage Links deaktivieren (CSS-only)
 * 2025-12-23 17:10
 * ============================================================================= */

/* Verhindere Klick auf Folder-Links */
#mobile-menu-60 a[href="/61.html"],
#mobile-menu-60 a[href="/100.html"],
#mobile-menu-60 a[href="/111.html"] {
    pointer-events: none;
    cursor: default;
    font-weight: bold !important; /* Schrift fett */
    opacity: 1 !important; /* Entferne die 0.7 Transparenz */
}

/* Home-Link im mobilen Menü fett darstellen - stärkere Spezifität */
#mobile-menu-60 .mod_navigation li.active > strong,
#mobile-menu-60 .mod_navigation li.active > a,
#mobile-menu-60 nav li.active > strong {
    font-weight: bold !important;
}

/* Deaktiviere den Folder-Link in der Breadcrumb */
.mod_breadcrumb a[href="/111.html"] {
    pointer-events: none;
    cursor: default;
   
}

.mod_breadcrumb {
    display: none !important;
}

/* Nur im Mini-Kalender und Kalender-Ansicht: Kalender 5 in Lila */
.mod_calendar .cal_5,
.mod_calendar .cal_5 a,
.mod_calendar .calendar_5 a,
.cal_default .cal_5,
.cal_default .cal_5 a,
.cal_default .calendar_5 a {
    color: #E0BFB8 !important;
}

/* Hover-Effekt */
.mod_calendar .cal_5 a:hover,
.mod_calendar .calendar_5 a:hover,
.cal_default .cal_5 a:hover,
.cal_default .calendar_5 a:hover {
    color: #e74c3c !important;
}


/* =============================================================================
 * Galerie - Bildabstände
 * Datum: 2025-12-28 13:45
 * =============================================================================
 * 5px Abstand rundherum für alle Galeriebilder
 */

.ce_gallery ul li {
    padding: 5px;
}

/* =============================================================================
 * Formularfelder - Höhe reduzieren
 * Datum: 2025-12-28 14:20
 * =============================================================================
 * Alle Formularfelder kleiner/niedriger machen
 */

/* Alle Eingabefelder kleiner */
input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
input:not([type]),
textarea,
select {
    padding: 4px 6px !important;  /* Statt 8px 6px - HALB so hoch */
    font-size: 0.95em;            /* Etwas kleinere Schrift */
}

/* Buttons auch kleiner (optional) */
form button,
input[type="submit"],
.button {
    padding: 8px 24px !important;  /* Statt 12px 32px */
}

/* Abstand zwischen Feldern reduzieren (optional) */
.widget {
    margin-bottom: 8px !important;  /* Statt 12px */
}

/* Nur auf mobilen Geräten (Smartphone & kleine Tablets) */
@media only screen and (max-width: 767px) {
    
    /* Feldüberschriften (Labels) kleiner */
    form label,
    .widget label,
    .formbody label {
        font-size: 0.75em !important;
        margin-bottom: 4px !important;
    }
    
    /* Formularfelder auch anpassen (optional) */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    textarea,
    select {
        font-size: 0.9em !important;
    }
}

/* =============================================================================
 * Kalender - Ausgewählten Monat hervorheben
 * 2025-12-29 16:55
 * ============================================================================= */
/* Monat in der Mitte (current) größer und fett - NUR für größere Bildschirme */
@media (min-width: 992px) {
    th.head.current {
        font-size: 1.3em !important;
        font-weight: bold !important;
        letter-spacing: 2px !important;
        line-height: 1.3 !important;
    }
}

/* =============================================================================
 * Kalender - Mobile Optimierungen
 * 2025-12-29 17:10
 * ============================================================================= */
@media (max-width: 991px) {
    /* Gesamte Kalender-Schrift kleiner */
    .calendar {
        font-size: 0.70em;
    }
    
    /* Zellen-Innenabstand reduzieren */
    .calendar th,
    .calendar td {
        padding: 2px 0px;
    }
    
    /* Current-Monat normale Größe und wenig Padding */
    .calendar .head.current {
        padding: 2px 2px;
        font-size: 1.3em;
        vertical-align: middle;
    }
    
    /* Datum in Zellen */
    .calendar .header {
        font-size: 0.9em;
        margin-bottom: 2px;
    }
    
    /* Event-Einträge */
    .calendar .event {
        font-size: 0.8em;
        line-height: 1.2;
    }
    
    .calendar .event a {
        display: block;
        padding: 0px 1px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
        /* FontAwesome Navigation-Icons größer */
    .calendar .head.previous .mobile-nav i,
    .calendar .head.next .mobile-nav i {
        font-size: 1.5em;
        vertical-align: middle;
    }
}

.icon-left::before {
  content: "\f274"; /* Unicode für fa-calendar-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -30px; /* Abstand nach links */
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

/* Für das zweite Accordion mit anderem Icon */
.accordion-wrapper-outer {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.accordion-icon-outside {
  flex-shrink: 0;
  margin-top: 12px;
  font-size: 1.2em;
}

.accordion-inner-content {
  flex-grow: 1;
}
/* =============================================================================
 * Nur container-FLUID - 80% Breite
 * Datum: 2025-12-28 15:25
 * =============================================================================
 */

/* Desktop: 80% - NUR für container-FLUID */
.mod_article.container-fluid,
.mod_article.container-fluid .inside,
.container-fluid > .inside {
    max-width: 80% !important;
    width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Tablet: 90% */
@media only screen and (max-width: 1024px) {
    .mod_article.container-fluid,
    .mod_article.container-fluid .inside,
    .container-fluid > .inside {
        max-width: 90% !important;
        width: 90% !important;
    }
}

/* Mobile: 95% */
@media only screen and (max-width: 767px) {
    .mod_article.container-fluid,
    .mod_article.container-fluid .inside,
    .container-fluid > .inside {
        max-width: 95% !important;
        width: 95% !important;
    }
}