/* ==========================================================================
   AKTIVE STYLES zur HTML-Vorlage: sl-1st-2cols-3boxes )
   ========================================================================== */

/*** headings ***/
.boxContent h1,
.boxContent h2{
    line-height: 100%;
    margin-top: 0.5em;
    margin-bottom:0.5em;
}
h1, h2, h3, h4{
    color: #7d2d64;
	margin-top: 0.1em;
	margin-bottom: 0.5em;
}

p{
margin-top: 0.8em;
}
 a:link {color:blue;}
 a:visited {color:blue;}
 a:hover   {color:Green;}
 a:active  {color:#00BFFF;}
/*** list styles ***/

body {
background-color: #faf0e6;
    text-align: left;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 75.01%;
    line-height: 1.4em;
    /*line-height: 2.7em;*/
    /*background-color: #E6D99A;*/
    /*background-color: #FFFFCC;*/
}

#pageHome {
    margin: auto;
    width: 950px;
}

#bigHeader {
    margin-bottom: 2px;
    height: 178px;
}

#bigRightBox {
    float: right;
    height: 160px;
    width: 330px;
    padding: 3px 5px 0px 5px;
    border-width: 3px;
    border-color: #882D64;
    border-style: solid;
    border-radius: 10px;
}

#bigLeftBox {
    height: 170px;
    width: 630px;
    background-image: url(uploads/salsa-libre/headerBigRightBox_transparent_4.png);
    background-repeat: no-repeat;
    background-position: 30px;
}

#menuBar {
    margin: 100 0 0 0;
    width: 100%;
    height: 40px;
}

#menuBarLeft {
    float: left;
    width: 10px;
    height: 40px;
    background-image: url(uploads/salsa-libre/menuBarLeft.png);
}

#menuBarMiddle {
    height: 40px;
    margin: 0 10px 0 10px;
    background-image: url(uploads/salsa-libre/menuBarMiddle.png);
    background-repeat: repeat-x;
}

#menuBarRight {
    float: right;
    width: 10px;
    height: 40px;
    background-image: url(uploads/salsa-libre/menuBarRight.png);
}


#pageContent {
    clear: both;
	margin-top: 10px !important; /* Gibt dir den gewünschten Abstand nach oben */
}

#rightColumn {
    float: right;
    width: 32%;
    margin-bottom: 1px;
}

#mainColumn {
    float: left !important;
    width: 635px !important;
    margin-right: 0px !important; /* Der gewünschte Abstand zur rightColumn */
    margin-bottom: 0px !important;
    box-sizing: border-box !important;
}

.clearBoth {
    clear: both;
}

#footer {
    margin-top: 3px;
    background-color: #7d2d64;
}

div.roundBox {
    border-width: 2.5px;
    border-color: #882D64;
    border-style: solid;
    border-radius: 7px;
    margin-bottom: 10px !important; /* Gibt den Boxen endlich Luft nach unten */
    box-sizing: border-box !important; /* Verhindert Layout-Ausreißer durch Ränder */
    background: #ffffff; /* Sorgt für einen sauberen, weißen Hintergrund */
	padding: 10px 10px !important;/* Optimaler Innenabstand für Text und Elemente */
}

#r1 {
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 330px;
    margin-left: -7px;
}

#r2 {
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 330px;
    width: 99%;
}




.pageIcon {
    float: right;
}

/* ==========================================================================
   Kompaktes CSS für sl_accessible_cssmenu (.primary-nav)
   ========================================================================== */

.menuwrapper {
    margin: 0;
    padding: 0;
}

ul.primary-nav, 
ul.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.primary-nav {
    padding-left: 10px;
}

/* Hauptmenü-Ebene */
ul.primary-nav li {
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
}

ul.primary-nav li a {
    display: block;
    font-size: 1em;
    font-weight: normal;
    color: #fff;
    padding: 12px 15px;
    text-decoration: none;
}

ul.primary-nav li a:hover {
    background-color: transparent;
}

ul.primary-nav li a.menuactive {
    color: #000;
    font-weight: bold;
    background: url(uploads/salsa-libre/nav.png) repeat-x left 0px;
}

/* Dropdown-Ebenen (Submenüs) */
ul.primary-nav li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #F3F5F5;
    z-index: 999;
    min-width: 180px;
    border: 1px solid #C8D3D7;
}

ul.primary-nav li ul ul {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

ul.primary-nav li li {
    float: none;
    width: 220px;
}

ul.primary-nav li ul a {
    color: #000;
    font-weight: normal;
    padding: 8px 12px;
    border: none;
}

/* Hover-Effekte und Einblendung */
.primary-nav li:hover > ul,
.primary-nav li.menuparenth > ul {
    display: block;
}

.primary-nav li:hover,
.primary-nav li.menuactive {
    background: url(uploads/salsa-libre/darknav.png) repeat-x left center;
    color: #000;
}

/* Spezifisches Styling für das Footer-Menü */
#footer {
    margin-top: 3px;
	height: 40px;
    background: url(uploads/salsa-libre/menuBarMiddle.png) repeat-x left center;
    padding: 5px 10px;
}


#footer .primary-nav li a:hover,
#footer .primary-nav li.menuactive a {
    background: url(uploads/salsa-libre/darknav.png) repeat-x left center;
    color: #000;
	}


/* ==========================================================================
   Hier style ich das Suchfenster
   ========================================================================== */

#search {
    float: right;
    color: #ffffff;
    margin: 7px 10px 0 0;
}

#search-desktop {
    float: right;
    width: 280px;
    margin: 5px 10px 0 0;
    box-sizing: border-box;
}

#search-desktop form {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
}

#search-desktop label {
    display: none; 
}

#search-desktop .search-input {
    flex: 1;
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#search-desktop .search-button {
    padding: 6px 12px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

#search-desktop .search-button:hover {
    background-color: #555;
}

/* Die mobile Suche ist auf dem Desktop komplett unsichtbar */
.search-mobile {
    display: none;
}

.mobile-cta-btn {
    /* Layout & Zentrierung */
    display: block !important;           /* Wechsel zu block für konsistente Breitensteuerung */
    width: 100% !important;              /* Darf sich im Container ausbreiten... */
    max-width: 320px !important;         /* ...aber wird nach oben hin begrenzt, damit er nicht gigantisch wird */
    min-width: 260px !important;         /* Die gewünschte Mindestbreite: Hier wird der Button breiter! */
    margin: 0 auto !important;           /* Bleibt perfekt zentriert */
    
    /* Höhe & Umbruch */
    height: auto !important;
    min-height: unset !important;
    white-space: normal !important;
    overflow: visible !important;
    
    /* Hintergrund & Skalierung */
    background: #882D64 url(uploads/salsa-libre/menuBarMiddle.png) left top no-repeat !important;
    background-size: 100% 100% !important;
    
    /* Text- und Innenabstände */
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

/* ==========================================================================
   CSS-Anweisungen für Salsa- und Bachata-Einsteigerkurse
   ========================================================================== */

.kurs-header {
    margin-top: 5px;
    margin-bottom: 14px;
    text-align: left;
}

.einsteiger {
    font-size: 1.6rem; /* Standard-Größe für große Bildschirme (Desktop) */
    font-weight: bold;
    color: #008000 !important; 
    line-height: 1.2;
    display: inline-block;
}

div.kurs-header span.einsteiger {
    color: #008000 !important;
}



.kurs-liste {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Sorgt für einen sauberen, gleichmäßigen Abstand zwischen den Kursen */
    text-align: left;
}

.kurs-eintrag {
    text-align: left;
}

.kurs-eintrag a.homekurs,
.kurs-liste a.homekurs {
    color: #333399;
    text-decoration: none;
    font-size: 1.25rem !important;
    font-weight: 500;
    display: block !important; /* Nimmt die volle Breite der Karte ein */
    width: 100% !important;
    box-sizing: border-box;
    padding: 6px 0; /* Bessere Klickfläche auf Handys */
    transition: color 0.2s ease;
}

a.homekurs:hover {
    color: #008000; /* Schöner Hover-Effekt (passt zum Salsa-Grün) */
    text-decoration: underline;
}



/* Das CSS für die mobile Karten-Optik */
.mobile-card {
    background: #fff;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Design für das Template sl-2nd-2cols-box-right
   ========================================================================== */

#page {
    margin: auto;
    width: 950px;
}

#smallHeader {
    height: 100px;
    margin: 0 0 8px 0;
    background-image: url(uploads/salsa-libre/smallHeader_blumen.png);
    background-repeat: no-repeat;
    background-position: 470px;
}

div#leftBox h1 a {
    display: block;
    height: 100px;
    text-indent: -999em;
    text-decoration: none;
}

#rightBox {
    float: right;
    height: 100px;
    width: 300px;
    border-width: 3px;
    border-color: #882D64;
    border-style: solid;
    border-radius: 10px;
}

.quickBox {
    padding-left: 5px;
    padding-top: 5px;
}

#leftBox {
    height: 100px;
    width: 634px;
    background-image: url(uploads/salsa-libre/logoHeader-small_new.png);
    background-repeat: no-repeat;
    background-position: 10px;
    overflow: hidden;
}

#parentTitle {
    position: relative;
    top: -85px;
    left: 300px;
    width: 400px;
    z-index: 100;
    font-size: 200%;
}

#pageTitle {
    position: relative;
    width: 400px;
    left: 270px;
    top: -60px;
    z-index: 200;
    font-size: 150%;
}

/* ==========================================================================
   Elegantes Kurs-Karten-Design (Modern & Markenkonform)
   ========================================================================== */

.kurs-uebersicht-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.kurs-karte {
	background: #ffffff;
    border: 2.5px solid #882D64;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(136, 45, 100, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100% !important;          /* <-- Hier integriert */
    box-sizing: border-box !important; /* <-- Hier integriert */
}

.kurs-karte:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(136, 45, 100, 0.2);
}

/* Die Kopfzeile der Karte im klassischen Gelb-Ton */
.kurs-titel {
    background-color: #CFCF04; 
    border-bottom: 2px solid #882D64;
    padding: 12px 20px;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
}

.kurs-titel a {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    display: inline !important; /* Verhindert, dass der Link durch Flexbox-Erzwungung schrumpft */
    width: auto !important;
}

.kurs-titel a:hover {
    color: #008000;
    text-decoration: underline;
}

/* Inhaltsbereich der Karte */
.kurs-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 16px 20px;
    background: #faf8f5; /* Ganz zarter Cremeton passend zum Body-Hintergrund */
}

/* Jedes Detail als schicker, kleiner Info-Chip (Pill) */
.kurs-details .meta-item {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #dcd3cc;
    font-size: 0.92rem;
    color: #444;
}

.kurs-details .meta-item strong {
    color: #882D64; /* Die Beschriftungen (Wochentag:, Uhrzeit:) in deiner Markenfarbe */
    margin-right: 4px;
}


/* ==========================================================================
   Design für das Anmelde-Formular: anmeldeformular.php 
   ========================================================================== */

/* Formular-Container und Box-Modell global absichern */
.salsa-form-wrapper,
.salsa-form-wrapper * {
    box-sizing: border-box;
}

/* Container */
.salsa-form-wrapper {
    max-width: 600px;
    width: 100%;
    margin: 20px 0;
    font-family: inherit;
}

.salsa-form-wrapper h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.salsa-form-wrapper .salsa-kurs-art {
    color: #666;
    margin-top: 0;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Erfolgs-Box */
.salsa-alert-success {
    background: #e6ffed;
    border: 1px solid #b7eb8f;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #237804;
}

/* Fehler-Box */
.salsa-alert-error {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    color: #cf1322;
}

/* Formular-Box */
.salsa-form-wrapper form {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
}

/* Formular-Gruppen */
.salsa-form-group {
    margin-bottom: 15px;
    width: 100%;
    display: block;
}

.salsa-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Flexbox-Zeilen für mehrspaltige Felder (Desktop) */
.salsa-form-row {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-bottom: 0;
}

.salsa-form-row .salsa-form-group {
    flex: 1;
    margin-bottom: 15px;
}

/* Spezial-Layout für PLZ und Ort */
.salsa-row-plz-ort .salsa-group-plz {
    flex: 0 0 120px;
}

.salsa-row-plz-ort .salsa-group-ort {
    flex: 1;
}

/* Text-, E-Mail- und Telefon-Eingabefelder */
.salsa-form-wrapper input[type="text"],
.salsa-form-wrapper input[type="email"],
.salsa-form-wrapper input[type="tel"],
.salsa-form-wrapper textarea {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 10px !important;
    margin: 0 !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
}

/* Fokus-Effekt */
.salsa-form-wrapper input[type="text"]:focus,
.salsa-form-wrapper input[type="email"]:focus,
.salsa-form-wrapper input[type="tel"]:focus,
.salsa-form-wrapper textarea:focus {
    border-color: #7d2d64 !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(125, 45, 100, 0.2) !important;
}

/* Absende-Button */
.salsa-form-wrapper button[type="submit"],
.salsa-form-wrapper .salsa-submit-btn {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.2s ease;
}

.salsa-form-wrapper button[type="submit"]:hover,
.salsa-form-wrapper .salsa-submit-btn:hover {
    background: #218838;
}

/* Radio-Buttons */
.salsa-radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    height: 42px;
}

.salsa-radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal !important;
    cursor: pointer;
    color: #333;
}

.salsa-radio-label input[type="radio"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #7d2d64;
}

/* Tanzpartner-Container */
.salsa-partner-container {
    margin-top: 5px;
    padding-top: 5px;
    animation: salsaFadeIn 0.3s ease-in-out;
}

@keyframes salsaFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.salsa-form-wrapper textarea {
    resize: vertical;
    font-family: inherit;
}

.salsa-payment-prompt-box {
    background: #fdfdfd;
    border: 1px solid #e8e8e8;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin-top: 15px;
}

.salsa-payment-prompt-box p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333;
}

.salsa-payment-details {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
    animation: salsaFadeIn 0.3s ease-in-out;
}

.salsa-payment-details h4 {
    margin-top: 0;
    color: #7d2d64;
}

/* ==========================================================================
   Design für die lesenden Kurs-Informationen im Formular
   ========================================================================== */

.salsa-kurs-info-box {
    background: #faf8f5; /* Passender zarter Cremeton */
    border: 1px solid #dcd3cc;
    border-radius: 6px;
    padding: 15px 18px;
    margin-bottom: 20px;
}

.salsa-info-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.salsa-info-row:last-child {
    margin-bottom: 0;
}

.salsa-info-row.single {
    flex-direction: column;
}

.salsa-info-item {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
}

.salsa-info-item .info-label {
    font-weight: bold;
    color: #882D64; /* Markenfarbe für die Labels */
    margin-right: 6px;
}

.salsa-info-item .info-value {
    color: #2c3e50;
}

/* ==========================================================================
   Dreigeteiltes Layout für den Zahlungs-Container
   ========================================================================== */

.salsa-payment-options-grid {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.salsa-payment-col {
    flex: 1;
    background: #ffffff;
    padding: 12px 15px;
    border: 1px solid #e0d6cd;
    border-radius: 6px;
    box-sizing: border-box;
}

.salsa-payment-group-title {
    display: block;
    font-weight: bold;
    color: #882D64; /* Markenfarbe */
    margin-bottom: 8px;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0e6ed;
    padding-bottom: 4px;
}

.salsa-radio-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
}



/* ==========================================================================
   CSS Media Queries

   ========================================================================== */

.mobile-content {
    display: none;
}
.desktop-content {
    display: block;
}
.mobile-footer-menu {
	display: none !important;
}
.desktop-footer-menu {
	display: block !important;
}

/* ==========================================================================
   Einstellungen für mobile Bildschirm < 768 px
   ========================================================================== */

@media screen and (max-width: 768px) {
    
	.desktop-content {
        display: none !important;
    }
    .mobile-content {
        display: block !important;
    }
	.mobile-footer-menu {
		display: block !important;
	}
	.desktop-footer-menu {
		display: none !important;
	}
    /* ==========================================================================
       im Anmeldeformular Eingabefelder einzeilig
       ========================================================================== */
	
	
	.salsa-payment-options-grid {
        flex-direction: column;
        gap: 12px;
    }
	.salsa-info-row {
        flex-direction: column;
        gap: 6px;
    }
	.salsa-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    /* PLZ und Ort auf Mobilgeräten wieder auf volle Breite setzen */
    .salsa-row-plz-ort .salsa-group-plz {
        flex: 0 0 100%;
    }
	
	
	.kurs-details {
        flex-direction: column;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .kurs-titel {
        padding: 10px 15px;
    }
	
	
	
	
	
	
	/* 1. Alles, was starr ist, auf 100% zwingen */
    /* ==========================================================================
       Ultimativer Mobile-Fix: Fluidität für Container & Inhalte (< 768px)
       ========================================================================== */

    /* 1. Gesamtes Layout auf 100% zwingen, damit nichts starr bleibt */
    html, body, #page {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;		
    }

    /* 2. Mobile Hauptspalte absolut flüssig machen */
    #mainColumn {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 0 8px !important; /* Etwas Luft zu den Bildschirmrändern */
        overflow: hidden !important;
    }

    #mainColumn .boxContent {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 12px !important;
        font-size: 0.95rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* 3. Schützt Bilder, Tabellen, Iframes und Grid-Elemente vor dem Ausbrechen */
    #mainColumn img, 
    #mainColumn table, 
    #mainColumn iframe,
    #mainColumn .kurs-karte,
    #mainColumn .kurs-uebersicht-grid {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
	
	/* 2. Überschriften und Texte im Content mobil stabil halten */
    #mainColumn h1 {
        font-size: 1.5rem !important;
        line-height: 1.1 !important;
    }

    #mainColumn h2 {
        font-size: 1.25rem !important;
        line-height: 1.1 !important;
    }

    #mainColumn h3 {
        font-size: 1.1rem !important;
    }

	#mainColumn p,
    #mainColumn li,
    #mainColumn span {
        font-size: 0.85rem !important; /* Angenehme, lesbare Handy-Größe */
        line-height: 1.4 !important;
    }




    /* 3. Zwingt den History-Back-Button und darin enthaltene Bilder/Links in eine normale Größe */
    #mainColumn img,
    #mainColumn button,
    #mainColumn input,
    #mainColumn a {
        max-width: 40% !important;
        box-sizing: border-box !important;
    }

    /* Falls der Back-Button ein spezieller Link oder Button ist */
    #mainColumn .history-back,
    #mainColumn a[href*="back"],
    #mainColumn input[type="button"],
    #mainColumn input[type="submit"] {
        font-size: 1rem !important;
        padding: 8px 14px !important;
        display: inline-block !important;
        height: auto !important;
    }
	
	
	
	
	
	
    
	/* ==========================================================================
   Sauberes Kurs-Listen-Layout & Mobile Card (Zentral & Übersichtlich)
   ========================================================================== */

	/* 1. Die Basis-Karte */
	div.mobile-card,
    .mobile-card {
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        clear: both !important;
        box-sizing: border-box !important;
        margin: 0 0 12px 0 !important;
    }

	/* 2. Die Kursliste als sauberer Container */
	.kurs-liste {
		display: flex;
		flex-direction: column;
		gap: 10px;
		width: 100%;
		box-sizing: border-box;
	}

	/* 3. Jeder einzelne Eintrag / Link füllt die volle Breite */
	.kurs-eintrag {
		width: 100%;
	}

	.kurs-eintrag a.homekurs,
	.kurs-liste a.homekurs {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box !important;
		color: #333399;
		text-decoration: none;
		font-size: 1.1rem;
		font-weight: 500;
		padding: 8px 12px;
		background: #faf8f5;
		border-radius: 6px;
		border: 1px solid #dcd3cc;
		transition: background 0.2s ease, color 0.2s ease;
	}

	.kurs-eintrag a.homekurs:hover {
		background: #f0e6ed;
		color: #008000;
	}
	
	.einsteiger {
        font-size: 1.30rem !important; 
    }
	/* 1. Container-Höhe auf automatisch stellen, damit die Grafik mitwächst */
    #footer, 
    #menuBarMiddle {
        height: auto !important;
        min-height: initial;
        overflow: visible; /* Verhindert das Herausrutschen nach oben/unten */
    }

    
    #footer, 
    #menuBarMiddle {
        height: auto !important;
        min-height: initial;
        overflow: visible;
    }
	
	/* Menüelement horizontal mittig */
	#menuBarMiddle {
		display: flex;
		align-items: center; /* Zentriert alle Menüpunkte und die Lupe vertikal */
	}

/* ==========================================================================
   Mobile-Suche (Wird nur auf Handys/Tablets aktiv)
   ========================================================================== */

	/* Desktop-Suche auf kleinen Bildschirmen ausblenden */
    #search-desktop {
        display: none !important;
    }

    /* Mobile Suche einblenden */
    .search-mobile {
        display: block;
        float: right;
        position: relative;
        margin: 5px 10px 0 0;
    }

    .search-mobile summary.search-icon {
        list-style: none;
        cursor: pointer;
        font-size: 1.3rem;
        padding: 4px;
    }

    /* Das aufgeklappte Dropdown-Fenster auf dem Handy */
    .search-mobile[open] .search-dropdown-content {
        position: absolute;
        right: 0;
        top: 100%;
        background: #ffffff;
        border: 2px solid #882D64;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        width: 260px;
        z-index: 1000;
        margin-top: 5px;
    }

    .search-dropdown-content form {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .search-dropdown-content .search-input {
        width: 100%;
        padding: 8px;
        box-sizing: border-box;
    }

    .search-dropdown-content .search-button {
        width: 100%;
        padding: 8px;
        background-color: #882D64;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

	
	/* Gesamtaufnahme und Header auf volle Bildschirmbreite begrenzen */
    #pageHome, #bigHeader {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
		height: auto !important; /* Hebt die feste Desktop-Höhe auf */
    }
	
	

	/* Oberen rechten Container (TeaserBox) ausblenden */
    
	#rightBox {
        display: none;
    }
	
	#bigRightBox {
        display: none;
    }
	/* Rechte Spalte mit Galerie/Videos ausblenden */
    #rightColumn {
        display: none;
    }

    /* Linken Header-Container und Grafik korrekt skalieren */
    #bigLeftBox {
        width: 100%;
        height: 100%;
		aspect-ratio: 630 / 170; /* Hält das exakte Format von 630x170 bei */
        background-image: url(uploads/salsa-libre/headerBigRightBox_transparent_4.png);
        background-repeat: no-repeat;
        background-size: contain; /* Skaliert proportional, ohne zu beschneiden */
        background-position: center;
	}
	/* 1. Hauptspalte absolut zwingen, KEIN Innenabstand der bremst */
    #mainColumn {
        float: none;
		width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important; /* Nur ein kleiner, sicherer Rand links/rechts für das gesamte Display */
        box-sizing: border-box !important;
    }

    /* 2. Die Box-Inhalte der Hauptspalte auf volle 100% zwingen */
    #mainColumn .boxContent {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* 3. Die Karte erzwingt exakt die 100% des verfügbaren Raums */
    #mainColumn .mobile-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
	
	#mainColumn a.homekurs,
    .mobile-card a.homekurs {
        max-width: 100% !important;
        width: 100% !important;
    }
	
	/* 1. Kleinen Header für Mobilgeräte anpassen */
    #smallHeader {
        height: 90px !important;            /* Etwas flacher auf dem Handy */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 8px 0 !important;
        background-image: none !important;  /* Blumen-Grafik auf Handys ausblenden, um Platz zu sparen */
    }

    /* 2. Linke Box (Logo) auf volle Breite bringen */
    #leftBox {        
        width: 100% !important;
        max-width: 100% !important;        
    }
}

@media screen and (max-width: 480px) {
    #menuBarMiddle li a {
        padding: 12px 5px; /* Innenabstände auf ein Minimum reduzieren */
    }
}

/* ==========================================================================
   2. FEHLENDE KLASSEN UND IDS (Bereit für deine CSS-Anweisungen)
   ========================================================================== */

.boxContent {
    /* Hier kannst du allgemeine Eigenschaften für alle Boxen festlegen */
}

#l2 {
    /* Deine Styles für die oberste linke Box */
}

#l3 {
    /* Deine Styles für die obere linke Box (Bachata) */
}

#l35 {
    /* Deine Styles für die neue Salsa-Box */
}

#l4 {
    /* Deine Styles für die mittlere linke Box (News) */
}

#l5 {
    /* Deine Styles für die untere linke Box (Facebook/Inhalt) */
}
/* CSS für den globalen Inhaltsblock "freiheit_desktop" */

.linkWeiter {
    font-size: large;
    display: block;        /* Zwingt den Link in eine eigene Zeile */
    clear: both;           /* Räumt alle vorherigen Floats (Links/Rechts) ab */
    float: none !important;/* Verhindert jegliches Mitschwimmen */
    text-align: left;      /* Links ausrichten */
    margin-top: 1px;
}

a.linkWeiter.linksbuendig {
    clear: left;
    display: block; /* Nimmt die volle Breite oder bricht sauber um */
    text-align: left;
}



/* --- 1. Zustand Steuerung (:target) --- */
#akkordeon:not(:target) .inhalt_2 { 
    display: none !important; 
}
#akkordeon:not(:target) .hide { 
    display: none !important; 
}
#akkordeon:not(:target) .show { 
    display: inline-block !important; 
}

#akkordeon:target .inhalt_2 { 
    display: block !important; 
}
#akkordeon:target .hide { 
    display: inline-block !important; 
}
#akkordeon:target .show { 
    display: none !important; 
}

/* --- 2. Flexbox-Layout für Text und Bild --- */
#akkordeon {
    width: 100%;
}

.akkordeon-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.akkordeon-left {
    flex: 1;
    min-width: 0;
}

.akkordeon-right {
    margin-top: 5px;
	margin-right: 5px;
	width: 110px;
    flex-shrink: 0;
    background-color: green;
	border: 1px solid #882D64;
	border-radius: 5px;
}

.akkordeon-right img {
    display: block;
    width: 100%;
    height: auto;
}

.inhalt_2 {
    margin-top: 15px;
}




/* ==========================================================================
   3. ARCHIV / FRIEDHOF (In dieser Vorlage ungenutzt, aber sicher verwahrt)
   ========================================================================== */
/*

#logo {
    width: 500px;
}

#slider {
    float: right;
    width: 480px;
    height: 250px;
}

#leftColumn {
    float: left;
    width: 300px;
}


.ro {
    background: url([[root_url]]/uploads/salsa-libre/roundedbox_ro.png) top right no-repeat;
}
.lo {
    background: url([[root_url]]/uploads/salsa-libre/roundedbox_lo.png) top left no-repeat;
}
.ru {
    background: url([[root_url]]/uploads/salsa-libre/roundedbox_ru.png) bottom right no-repeat;
}
.lu {
    background: url([[root_url]]/uploads/salsa-libre/roundedbox_lu.png) bottom left no-repeat;
}

Link-Quelle: http://www.web-toolbox.net/webtoolbox/css/css-format-hr.htm#ixzz35Ypc4zQc

.linie {
    border: none;
    border-top: 1px solid #0090E0;
    background-color: #FFFFFF;
    height: 1px;
    margin: 0px 20px 0px 20px;
}

.slideshow_text_picture {
    float: right;
    z-index: 1;
}

#more { 
    display: none; 
}

#more_less_button {
    border: none;
    background: none;
    font-size: large;
    text-align: left;
    text-decoration: underline;
    color: #0000EE;
}


.fc-slats td {
    height: 2.0em;
}

#r1 {
    overflow-y: scroll;
    overflow-x: hidden;
    min-height: 330px;
    margin-left: -7px;
}

a.homekurs {
    text-decoration: none;
    color: #333399;
    font-family: Comic Sans MS;
    font-size: 175%;
}

a.homekurs:hover {
    text-decoration: underline;
}

.einsteiger {
    color: #008000;
    font-family: Comic Sans MS;
    font-size: xx-large;
}

*/

