table#Tabelle1 {
border: 1px solid black;
}

table#Tabelle1 tr:nth-child(even) {
background-color: #eee
}

table#Tabelle1 tr:nth-child(odd) {
background-color: #fff;
}

table#Tabelle1 th {
color: white;
background-color: black;
padding: 4px 4px 2px 4px;
}

table#Tabelle1 td {
border: 1px solid black;
padding: 2px;
}

table#Tabelle1 tr:last-of-type td {
background-color: fffb99;
text-align: center;
}

.flex-container {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    }
.flex-item:nth-child(1) {
    -webkit-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    align-self: auto;
    }
.flex-item:nth-child(2) {
    -webkit-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    align-self: auto;
    }
.flex-item:nth-child(3) {
    -webkit-order: 0;
    order: 0;
    -webkit-flex: 0 1 auto;
    flex: 0 1 auto;
    -webkit-align-self: auto;
    align-self: auto;
    }
.round {
  border: 1px solid black;
  border-collapse: collapse;
  border-spacing: 30px;
  padding: 15px;
}

.round table {
	width: 1400px;
}

a.tooltip {
  position: relative;
}
a.tooltip:after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 20%;
  background: yellow;
  padding: 5px 15px;
  color: #000000;
  font-size: 16px;
  -webkit-border-radius: 10px;
  -moz-border-radius : 10px;
  border-radius : 10px;
  white-space: nowrap;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
}
a.tooltip:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid red;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
  opacity: 0;
  left: 30%;
  bottom: 90%;
}
a.tooltip:hover:after {
  bottom: 100%;
}
a.tooltip:hover:before {
  bottom: 70%;
}
a.tooltip:hover:after, a:hover:before {
  opacity: 1;
}
/* Grunddesign der Tabelle */
.hkm-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: sans-serif;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Header Styling - Ein schönes sportliches Grün oder Blau */
.hkm-table thead tr {
    background-color: #27ae60; /* Sportliches Grün */
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.hkm-table th,
.hkm-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

/* Abwechselnde Zeilenfarben (Zebra-Muster) */
.hkm-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.hkm-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3; /* Hellgrau für gerade Zeilen */
}

.hkm-table tbody tr:nth-of-type(odd) {
    background-color: #ffffff; /* Weiß für ungerade Zeilen */
}

/* Letzte Zeile hervorheben */
.hkm-table tbody tr:last-of-type {
    border-bottom: 2px solid #27ae60;
}

/* Hover-Effekt: Zeile färbt sich beim Drüberfahren */
.hkm-table tbody tr:hover {
    background-color: #e8f4fd; /* Ganz helles Blau */
    cursor: default;
}

/* Link-Styling innerhalb der Tabelle */
.hkm-table a {
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

.hkm-table a:hover {
    text-decoration: underline;
    color: #27ae60;
}

/* Sortierbare Header */
.hkm-th-sort {
    cursor: pointer;
    position: relative;
    user-select: none; /* Textmarkierung beim Klicken verhindern */
    transition: background 0.2s;
}

.hkm-th-sort:hover {
    background-color: #145a32 !important; /* Etwas dunkleres Grün beim Hover */
}

.hkm-th-sort span {
    font-size: 0.8em;
    margin-left: 5px;
    opacity: 0.8;
}

/* Optional: Ein Icon andeuten, dass sortiert werden kann */
.hkm-th-sort::after {
    content: '\f156'; /* Dashicons Sort Symbol */
    font-family: dashicons;
    float: right;
    margin-top: 3px;
    opacity: 0.3;
}

/* Responsive Anpassung für Mobilgeräte */
@media screen and (max-width: 600px) {
    .hkm-table thead {
        display: none; /* Header auf Handy verstecken */
    }
    .hkm-table, .hkm-table tbody, .hkm-table tr, .hkm-table td {
        display: block;
        width: 100%;
    }
    .hkm-table tr {
        margin-bottom: 15px;
        border: 1px solid #ccc;
    }
    .hkm-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    .hkm-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 45%;
        font-weight: bold;
        text-align: left;
    }

.hkm-chronik h2 { border-bottom: 2px solid #ccc; margin-top: 20px; }
.chronik-row { padding: 5px 0; border-bottom: 1px dotted #eee; display: flex; justify-content: space-between; }
}
