/* Grundlegendes Tabellen-Layout */
.icengo-slider table {
    width: 90%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 350px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    border: 1px solid transparent;
    overflow: hidden; /* Stellt sicher, dass die Rundungen auch bei der Tabelle sichtbar sind */
}

@media screen and (max-device-width: 480px) and (orientation: portrait) {
    .icengo-slider table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        margin: 25px 0;
        font-size: 0.9em;
        font-family: sans-serif;
        /*min-width: 330px;*/
        min-width: 280px;
        box-shadow: none;
        border-radius: 10px;
        border: 1px solid transparent;
        overflow: hidden; /* Stellt sicher, dass die Rundungen auch bei der Tabelle sichtbar sind */
    }
}

/* Die TH- und TD-Elemente stilisieren */
.icengo-slider table th,
.icengo-slider table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dddddd;
}

/* Die oberste TH-Reihe stilisieren */
.icengo-slider table thead th {
    background-color: #fff4d4;
    color: #333;
    text-align: center;
    font-weight: bold;
    border-bottom: 2px solid #333; /* Dickeres Gitternetz unten */
}

/* Die letzte TD-Reihe stilisieren */
.icengo-slider table tbody tr:last-child td {
    border-bottom: none;
}

/* Gitternetzlinien für Spalten hinzufügen */
.icengo-slider table td, .icengo-slider table th {
    border-left: 1px solid #dddddd;
    border-right: 1px solid #dddddd;
}

/* Erste Spalte keine linke Gitterlinie */
.icengo-slider table td:first-child, .icengo-slider table th:first-child {
    border-left: none;
}

/* Letzte Spalte keine rechte Gitterlinie */
.icengo-slider table td:last-child, .icengo-slider table th:last-child {
    border-right: none;
}

/* Streifen-Look für die Tabelle */
.icengo-slider table tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

/* Beim Hovern eine andere Farbe anzeigen */
.icengo-slider table tr:hover {
    background-color: #f1f1f1;
    cursor: default;
}

/* Das Footer-Element der Tabelle stilisieren */
.icengo-slider table tfoot td {
    font-size: 0.8em;
    font-style: italic;
    padding: 10px;
    background-color: #fff4d4;
    color: #333;
    border-top: 2px solid #333; /* Dickeres Gitternetz oben */
    border-bottom: 1px solid transparent;
    text-align: center;
}

/* Prozentzahlen rechts ausrichten */
.icengo-slider table .percentage {
    text-align: right;
}

/* Hervorhebung von wichtigen Zahlen */
.icengo-slider table .highlight {
    font-weight: bold;
    color: #333;
}
