table {
  --_table-margin: 4em;

  margin: 0px var(--_table-margin);
  padding: 0px;
  border: 2px solid var(--theme-color);
  border-radius: var(--default-border-radius);
  border-spacing: 0px;

  width: calc(100% - 2 * var(--_table-margin)); /* Tabelle nimmt die gesamte Breite des Bildschirms ein */
  table-layout: auto; /* Spalten passen sich automatisch dem Inhalt an */
}

.no-margin {
  --_table-margin: 0px;
}

.no-max {
   width: auto;
}

@media (max-width: 768px) {
  table {
    --_table-margin: 0px;
  }
}

table caption {
  font-size: 0.8em;
  font-style: italic;
}

th {
  background-color: var(--theme-color);
  color: var(--theme-color-overlay);
  vertical-align: bottom;
}

th,
td {
  text-align: left;
  padding: 0.2em 0.5em;
}

th svg {
  fill: var(--theme-color-overlay);
}

th a,
th a:visited {
  color: var(--theme-color-overlay);
}

tr:nth-last-child(2) th {
  border-radius: var(--default-border-radius);
}

tr:hover th a,
tr:hover th a:visited {
  color: var(--theme-color-overlay);
  background-color: var(--theme-color-lighter);
  text-decoration-color: var(--theme-color-overlay);
}
tr:hover th a:hover {
  color: var(--theme-color);
  background-color: var(--theme-color-overlay);
  text-decoration-color: var(--theme-color-overlay);
}
th a:hover,
th a:active {
  color: var(--theme-color);
  background-color: var(--theme-color-overlay);
}

th a:hover svg,
th a:active svg {
  fill: var(--theme-color);
}

.line-h tr:not(:last-child) td {
  border-bottom: 2px solid var(--theme-color);
}

.line-v tr td:not(:last-child) {
  border-right: 2px solid var(--theme-color);
}

td {
  align-content: center;
  vertical-align: middle;
  word-break: break-word;
}

.eo-color tr:nth-child(2n) {
  background-color: var(--header-grey);
}

.eo-color tr:last-child td:first-child {
  border-radius: var(--default-border-radius);
}

.highlight,
.highlight a,
.highlight a:visited,
tr:nth-child(2n).highlight {
  color: var(--special1-hightlight-overlay);
  background-color: var(--special1-hightlight);
  text-decoration-color: var(--special1-hightlight-overlay);
}

tr:last-child.highlight td:first-child {
  border-radius: var(--default-border-radius);
}

.highlight svg {
  fill: var(--theme-color-overlay);
}
.highlight a svg,
.highlight a:visited svg {
  fill: var(--theme-color-overlay);
}

.highlight ul li::marker {
  color: var(--theme-color-overlay);
}

.line-hover tr:hover,
.line-hover tr:hover ul li::marker,
.line-hover tr:hover a,
.line-hover tr:hover a:visited {
  color: var(--theme-color-overlay);
  background-color: var(--theme-color-lighter);
  text-decoration-color: var(--theme-color-overlay);
}

.line-hover tr:last-child:hover td:first-child {
  border-radius: var(--default-border-radius);
}

.line-hover tr:only-child:hover td:first-child {
  border-radius: var(--default-border-radius);
}

.line-hover tr:hover a:active,
.line-hover tr:hover a:hover {
  color: var(--theme-color-lighter);
  background-color: var(--theme-color-overlay);
}

.line-hover tr:hover td svg {
    fill: var(--theme-color-overlay);
}
.line-hover tr:hover td a:hover svg {
    fill: var(--theme-color);
}

.oneliner {
  display: flex;
  flex-wrap: nowrap; /* Verhindert Zeilenumbruch */
}