
.container {
    width: 80%;
    margin: 2rem auto;
    display: flex;
    flex-direction: row;
    gap: 2rem;
}

body {
    font-family: arial,helvetica;
    font-size: 1em;
    color: #666;
}

/* Tabellen - einheitliche Einstellungen */

/* table.filterauswahl td, table.suchmaske td, table.wunschspaltenauswahl td { border: solid 1px red; } */

table.header, table.seitennavigation, table.seitennavigation-dashboard, table.dashboardnavigation, table.filterauswahl, table.suchmaske, table.wunschspaltenauswahl, table.suchergebnisse, table.detailtabelle, table.statisch, table.fehlermeldung, table.erfolgsmeldung {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    min-width: 80%;
    max-width: 80%;
    padding: 10px 15px 10px 15px;
    background-color: #eee;
    border: solid 1px #aaa;
    box-shadow: 0 0 10px #aac;
    font-size: em;
}

table.filterauswahl td:nth-child(1), table.wunschspaltenauswahl td:nth-child(1), table.suchmaske td:nth-child(1) {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    padding-right: 0px;
    text-align: center;
    font-size: 0.85em;
    line-height: 0.85em;
}

table.filterauswahl td:nth-child(2), table.wunschspaltenauswahl td:nth-child(2), table.suchmaske td:nth-child(2) {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    padding-left: 0px;
    padding-right: 5px;
    text-align: right;
    font-size: 1em;
    line-height: 0.5em;
}

table.filterauswahl td:nth-child(3), table.wunschspaltenauswahl td:nth-child(3), table.suchmaske td:nth-child(3) {
    width: 225px;
    min-width: 225px;
    max-width: 225px;
    padding-left: 0px;
    text-align: link;
    font-size: 1em;
    line-height: 0.5em;
}

table.filterauswahl td:nth-child(4), table.wunschspaltenauswahl td:nth-child(4), table.suchmaske td:nth-child(4) {
    width: auto;
    padding-left: 0px;
    text-align: left;
    font-size: 1em;
    line-height: 0.5em;
}

table.filterauswahl td:nth-child(5), table.wunschspaltenauswahl td:nth-child(5), table.suchmaske td:nth-child(5) {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    padding-right: 0px;
    text-align: center;
    font-size: 1em;
    line-height: 1em;
}

/* Tabelle und Text Header */

table.header {
    margin-top: 25px;
    margin-bottom: 15px;
    border-radius: 15px 15px 0 0;
    padding: 15px 15px 5px 15px;
    cursor: context-menu;
}

table.header th {
    color: #666;
}

table.header a:link, table.header td a:visited {
    color: #666;
    text-decoration: none;
}

table.header td a:hover, table.header td a:active {
    color: #00a0e0;
    text-decoration: underline;
}

table.header th:nth-child(1), table.header th:nth-child(3) {
    width: 15%;
    min-width: 15%;
}

table.header th:nth-child(2) {
    width: 70%; min-width: 70%;
    padding-top: 0.125em;
    text-align: center;
    font-size: 3.25em;
    font-weight: bold;
    color: #fafcff;
    text-shadow: #023 0 -3px 10px; 
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #46a;
}

table.header td:nth-child(2) {
    padding-bottom: 0.25em;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #fafcff;
    text-shadow: #023 0 -3px 7px;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #46a;
}

table.header td:nth-child(3) {
    text-align: right;
    font-size: 0.75em;
    font-weight: normal;
}

/* Tabelle und Text Seitennavigation */

table.seitennavigation {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0 0 15px 15px;
    padding: 5px 15px 5px 15px;
    cursor: context-menu;
}

table.seitennavigation-dashboard {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0 0 0 0;
    padding: 5px 15px 5px 15px;
    cursor: context-menu;
}

table.seitennavigation td, table.seitennavigation-dashboard {
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
    color: #666;
}

table.seitennavigation td:nth-child(1), table.seitennavigation td:nth-child(3), table.seitennavigation-dashboard td:nth-child(1), table.seitennavigation-dashboard td:nth-child(3) {
    width: 0%;
    min-width: 0%;
    max-width: 0%;
}

table.seitennavigation td:nth-child(2), table.seitennavigation-dashboard td:nth-child(2) {
    width: auto;
    text-align: center;
    font-weight: bold;
    color: #666;
}

a.statisch, table.seitennavigation td a:link, table.seitennavigation td a:visited, table.seitennavigation-dashboard td a:link, table.seitennavigation-dashboard td a:visited {
    color: #00a0e0;
    text-decoration: none;
}

a.statisch:hover, table.seitennavigation td a:hover, table.seitennavigation td a:active, table.seitennavigation-dashboard td a:hover, table.seitennavigation-dashboard td a:active {
    color: #00a0e0;
    text-decoration: underline;
}

a.navipfeil:link, a.navipfeil:visited {
    font-size: 1.25em;
    color: #00a0e0;
    text-decoration: none;
}

a.navipfeil:hover, a.navipfeil:active {
    color: #cfefff !important;
    text-decoration: none !important;
    text-shadow: 0 0 10px #00a0e0;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #00a0e0;
}

a.bulb, a.bulb:link, a.bulb:visited {
    text-decoration: none;
    opacity: 50%;
}

a.bulb:hover, a.bulb:active {
    color: #cfefff !important;
    opacity: 100%;
    text-decoration: none;
    text-shadow: 0 0 10px #ff0;
    -webkit-text-stroke-width: 5px inset;
    -webkit-text-stroke-color: #ff0;
}

/* Tabelle und Text Dashboardnavigation */

table.dashboardnavigation {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0 0 15px 15px;
    padding: 5px 15px 5px 15px;
    cursor: context-menu;
}

table.dashboardnavigation td:nth-child(1) {
    width: 20%;
    min-width: 20%;
    max-width: 20%;
    padding-left: 15px;
    text-align: left;
    font-size: 1.75em;
    color: #eee;
    font-weight: 700;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #a50;
    font-style: italic;
    text-shadow: 0 -3px 5px #a50;
}

table.dashboardnavigation td:nth-child(2) {
    width: auto;
    text-align: center;
    font-size: 0.925em;
    font-weight: bold;
    color: #666;
    line-height: 1.9em;
}

table.dashboardnavigation td:nth-child(3) {
    width: 20%;
    min-width: 20%;
    max-width: 20%;
    padding-right: 15px;
    text-align: right;
}

table.dashboardnavigation td:nth-child(2) a:link, table.dashboardnavigation td:nth-child(2) a:visited {
    margin: 0.15em;
    padding: 0.225em 0.5em 0.2em 0.5em;
    border: 1px solid #a50;
    border-radius: 0.25em;
    box-shadow: 0 0 5px #a50 inset;
    color: #a50;
    text-decoration: none;
}

table.dashboardnavigation td:nth-child(2) a:hover, table.dashboardnavigation td:nth-child(2) a:active {
    background-color: #a50;
    text-decoration: none;
    border-radius: 0.25em;
    box-shadow: 0 0 5px #a50;
    color: #fff;
}

/* Tabelle und Text Erfolgsmeldung */

table.erfolgsmeldung {
    margin-top: 25px;
    margin-bottom: 15px;
    border-radius: 15px 15px 15px 15px;
    padding: 5px 15px 5px 15px;
    cursor: context-menu;
    box-shadow: 0 0 10px #0a0;
    font-size: 1em;
}

table.erfolgsmeldung td:nth-child(1), table.erfolgsmeldung td:nth-child(3) {
    width: 20%;
    min-width: 20%;
    max-width: 20%;
}

table.erfolgsmeldung td:nth-child(1) {
    padding-left: 0px;
    text-align: left;
    font-size: 1em;
    color: #0a0;
    font-weight: 700;
}

table.erfolgsmeldung td:nth-child(2) {
    width: auto;
    text-align: center;
    font-size: 1em;
    color: #0a0;
    font-weight: 500;
}

table.erfolgsmeldung td:nth-child(3) {
    padding-right: 0px;
    text-align: right;
}

table.erfolgsmeldung td:nth-child(2) a:link, table.erfolgsmeldung td:nth-child(2) a:visited {
    padding: 0.25em 0.75em 0.25em 0.75em;
    border: 1px solid #0a0;
    border-radius: 0.25em;
    box-shadow: 0 0 5px #0a0 inset;
    color: #0a0;
    text-decoration: none;
}

table.erfolgsmeldung td:nth-child(2) a:hover, table.erfolgsmeldung td:nth-child(2) a:active {
    background-color: #0a0;
    color: #fff;
    text-decoration: none;
    border-radius: 0.25em;
}

/* Tabelle und Text Fehlermeldung */

table.fehlermeldung {
    margin-top: 25px;
    margin-bottom: 15px;
    border-radius: 15px 15px 15px 15px;
    padding: 5px 15px 5px 15px;
    cursor: context-menu;
    box-shadow: 0 0 10px #c00;
    font-size: 1em;
}

table.fehlermeldung td:nth-child(1), table.fehlermeldung td:nth-child(3) {
    width: 20%;
    min-width: 20%;
    max-width: 20%;
}

table.fehlermeldung td:nth-child(1) {
    padding-left: 0px;
    text-align: left;
    font-size: 1em;
    color: #c00;
    font-weight: 700;
}

table.fehlermeldung td:nth-child(2) {
    width: auto;
    text-align: center;
    font-size: 1em;
    color: #c00;
    font-weight: 500;
}

table.fehlermeldung td:nth-child(3) {
    padding-right: 0px;
    text-align: right;
}

table.fehlermeldung td:nth-child(2) a:link, table.fehlermeldung td:nth-child(2) a:visited {
    padding: 0.25em 0.75em 0.25em 0.75em;
    border: 1px solid #c00;
    border-radius: 0.25em;
    box-shadow: 0 0 5px #c00 inset;
    color: #c00;
    text-decoration: none;
}

table.fehlermeldung td:nth-child(2) a:hover, table.fehlermeldung td:nth-child(2) a:active {
    background-color: #c00;
    color: #fff;
    text-decoration: none;
    border-radius: 0.25em;
}

/* Tabelle und Text Wunschspaltenauswahl */

table.wunschspaltenauswahl, table.wunschspaltenauswahl td {
    margin-top: 25px;
    margin-bottom: 15px;
    border-radius: 15px 15px 0 0;
    cursor: context-menu;
    cursor: context-menu;
}

.wunschspaltenkaestchen {
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 1.45em;
    min-height: 1.4em;
    max-height: 1.45em;
    margin: auto;
    padding: auto;
    border: 0.1em solid #666;
    border-radius: 0.3em;
    background-color: #aaa;
    text-align: center;
    font-size: 0.85em;
    color: #eee;
    cursor: context-menu;
}

/* Tabelle und Text Filterauswahl */

table.filterauswahl {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0 0 0 0;
    cursor: context-menu;
}

table.filterauswahl td a:link, table.filterauswahl td a:visited {
    color: #00a0e0;
    text-decoration: none;
}

table.filterauswahl td a:hover, table.filterauswahl td a:active {
    color: #00a0e0;
    text-decoration: underline;
    text-shadow: 0 0 1px #10b0f0;
}

.wahlkategorie {
    cursor: help;
    font-size: 3em;
    line-height: 1.25em;
    color: #f5faff;
    text-shadow: 0 0 5px #666;
}

/* Tabelle und Text Suchmaske */

table.suchmaske {
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 0 0 15px 15px;
    cursor: context-menu;
}

table.suchmaske td {
    font-size: 0.95em;
    font-weight: normal;
    color: #666;
}

table.suchmaske a:link, table.suchmaske a:visited {
    color: #666;
    text-decoration: none;
}

/* Reset-Buttons */

button[type="submit"][name^="reset"] {
  border: none;
  background: #eee;
  color: #a00;
  font-weight: bold;
  font-size: 1.75em;
  border-radius: 1.5em;
  width: 1.5em; height: 1.5em;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 2px;
}

button[type="submit"][name^="reset"]:hover {
  background: #a00;
  color: #fff;
}

/* Tabelle und Text Suchergebnisse */

table.suchergebnisse {
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 15px 15px 15px 15px;
}

table.suchergebnisse th {
    height: 30px;
    padding-top: 5px;
    padding-bottom: 10px;
    font-size: 1em;
    font-weight: bold;
    color: #666;
}

table.suchergebnisse td {
    height: 30px;
    font-stretch: condensed;
    font-size: 1em;
    font-weight: normal;
    color: #333;
    text-shadow: 0 0 2px #fff;
}

table.suchergebnisse th a:link, table.suchergebnisse th a:visited {
    color: #666;
    text-decoration: none;
}

table.suchergebnisse th a:hover, table.suchergebnisse th a:active {
    color: #00a0e0;
    text-decoration: underline;
    text-shadow: 0 0 3px #333;
}

table.suchergebnisse th:first-child {
    cursor: not-allowed;
    color: #666;
}

table.suchergebnisse td a:link, table.suchergebnisse td a:visited {
    color: #00a0e0;
    font-weight: 500;
    text-decoration: none;
}

table.suchergebnisse td a:hover, table.suchergebnisse td a:active {
    color: #00a0e0;
    text-decoration: underline;
    text-shadow: 0 0 1px #10b0f0;
}

table.suchergebnisse th:nth-child(1) { text-align: center; }
table.suchergebnisse td:nth-child(1) { text-align: center; }
table.suchergebnisse th:nth-child(2), table.suchergebnisse td:nth-child(2) { text-align: left; }
table.suchergebnisse th:nth-child(3), table.suchergebnisse td:nth-child(3) { text-align: left; }
table.suchergebnisse th:nth-child(4), table.suchergebnisse td:nth-child(4) { text-align: left; }
table.suchergebnisse th:nth-child(5), table.suchergebnisse td:nth-child(5) { text-align: left; }
table.suchergebnisse th:nth-child(6), table.suchergebnisse td:nth-child(6) { text-align: left; }
table.suchergebnisse th:nth-child(7), table.suchergebnisse td:nth-child(7) { text-align: left; }
table.suchergebnisse th:nth-child(8), table.suchergebnisse td:nth-child(8) { text-align: left; }
table.suchergebnisse th:nth-child(9), table.suchergebnisse td:nth-child(9) { text-align: left; }
table.suchergebnisse th:nth-child(10), table.suchergebnisse td:nth-child(10) { text-align: left; }

.suchergebnisse {
    font-family: arial,helvetica;
    font-size: 0.95em;
    color: #666;
}

.zeilenlink {
    cursor: pointer;
    color: #333;
    transition: background 0.5s;
}

.zeilenlink:hover, .zeilenlink:focus {
    background: #f6f6e7;
    outline: 1px solid #b6b6a6;
}

.zeilenlink:hover td {
    color: #00a0e0;
    text-decoration: underline;
    outline: 1px solid #f6f6e7;
}

#resulttable th {
    cursor: pointer;
    transition: background 1s, color 1s;
}

#resulttable th:hover {
    background: #00a0e0;
    color: #fff;
}

.spaltenkaestchen {
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 1.45em;
    min-height: 1.4em;
    max-height: 1.45em;
    border: 0.1em solid #666;
    border-radius: 0.3em;
    background-color: #aaa;
    text-align: center;
    font-size: 0.9em;
    color: #eee;
    text-shadow: none;
    font-stretch: normal;
    cursor: context-menu;
}

.trefferanzahl {
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 1.45em;
    min-height: 1.4em;
    max-height: 1.45em;
    border: 0.1em solid #666;
    border-radius: 0.3em;
    box-shadow: 0 0 5px #aaa;
    background-color: #f5faff;
    text-align: center;
    font-size: 0.95em;
    color: #333;
    text-shadow: none;
    font-stretch: normal;
    cursor: context-menu;
}

.detailtabelle {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    border-radius: 15px 15px 15px 15px;
    padding: 15px 15px 15px 15px;
    line-height: 1.5em;
    font-size: 1em;
    font-weight: normal;
    color: #666;
}

.detailtabelle th {
    padding: 5px 15px;
    min-height: 5em;
}

.detailtabelle th.rubrik {
    background: #00a0e0;
    color: #fff;
    border-radius: 15px 15px 0 0;
    border-bottom: 0px solid #fff;
    font-size: 1em;
    text-align: left;
    font-weight: 600;
    letter-spacing: 1px;
}

.detailtabelle td {
    padding: 2px 15px;
}

.detailtabelle td.label {
    vertical-align: top;
    width: 30%;
    font-weight: bold;
    color: #666;
    text-align: left;
    background-color: #fbfbfb;
}

.detailtabelle td.wert {
    vertical-align: top;
    width: 70%;
    color: #333;
    text-align: left;
    background-color: #fefefe;
}

img.zeilentitelbild {
    max-width: 60px;
    max-height: 40px;
    border: 3px solid transparent;
    transition: transform 0.25s, box-shadow 0.25s;
}

img.zeilentitelbild:hover {
    z-index: 99999;
    transform: scale(2.5);
    box-shadow: 3px 3px 6px #333;
    border: 3px solid #fff;
    background: #fff;
}

.titelbild {
    max-width: 320px;
    max-height: 200px;
    border-radius: 16px;
    box-shadow: 0 2px 12px #bbb;
    transition: transform 0.5s, box-shadow 0.5s, background 0.5s;
}

img.titelbild:focus {
    z-index: 99999;
    transform: scale(3);
    box-shadow: 3px 3px 6px #333;
    border: 3px solid #fff;
    background: #fff;
}

.zoomimg-container {
    position: relative;
    display: inline-block;
}

.zoomimg {
    max-height: 120px;
    max-width: 160px;
    margin: 5px;
    border-radius: 5px;
    box-shadow: 3px 3px 6px #333;
    /* cursor: pointer; */
    transition: transform 0.5s, box-shadow 0.5s;
    background: #fff;
    position: relative;
    z-index: 1;
}

.zoomimg:focus {
    position: absolute;
    transform: translateY(-350%) scale(5) rotate(2.5deg);
    box-shadow: 3px 3px 5px #333;
    border: 3px solid #fff;
    z-index: 9999;
    background: #fff;
}

.videoplayer {
    margin: 5px;
    height: 233px;
    width: 415px;
    border-radius: 5px;
    box-shadow: 3px 3px 6px #333;
}

/* Für Inhalte auf statischen Seiten */

table.statisch {
    margin-top: 25px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 25px;
    padding: 15px 15px 15px 15px;
    border-radius: 15px 15px 15px 15px;
    line-height: 1.5em;
    font-size: 0.9em;
    font-weight: normal;
    color: #666;
}

.statisch th {
    padding: 5px 15px;
    min-height: 5em;
}

.statisch th.dashboard-headline {
    padding: 0px;
    text-align: center;
    font-size: 1.375em;
    font-weight: 600;
    color: #a50;
}

.statisch td.dashboard-headline {
    padding-bottom: 8px;
    text-align: center;
    font-size: 1em;
    font-weight: 400;
    color: #a50;
    font-style: italic;
}

.statisch th.rubrik {
    background: #00a0e0;
    color: #fff;
    border-radius: 15px 15px 0 0;
    border-bottom: 0px solid #fff;
    font-size: 1.1em;
    text-align: left;
    font-weight: 600;
    letter-spacing: 1px;
}

.statisch td {
    padding: 5px 15px;
}

.statisch td.label {
    vertical-align: top;
    width: 30%;
    /* border-radius: 0 0 0 15px; */
    font-weight: bold;
    color: #666;
    text-align: left;
    background-color: #fbfbfb;
}

.statisch td.wert {
    vertical-align: top;
    width: 70%;
    /* border-radius: 0 0 15px 0; */
    color: #333;
    text-align: left;
    background-color: #fefefe;
}

/* Medienlöschmodul in beabeiten.php */
.medien-loeschbtn {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 2;
}


/* Skalierung für mobile Endgeräte */

@media (max-width: 700px) {
    .container, table.header, table.seitennavigation, table.filterauswahl, table.suchmaske, table.suchergebnisse {
        width: 98% !important;
        min-width: 98% !important;
        max-width: 100% !important;
        margin-left: 1%;
        margin-right: 1%;
        font-size: 0.98em;
        padding-left: 4px;
        padding-right: 4px;
    }

    .wahlkategorie {
        font-size: 2em;
    }

    table.suchergebnisse th, table.suchergebnisse td {
        font-size: 0.95em;
        padding: 2px 3px;
    }

    body {
        font-size: 1em;
    }

    .suchergebnisse {
        overflow-x: auto;
        display: block;
    }
}
