:root {
    --color-primary: #00005c;
    --color-secondary: #FFFFFF;
    --color-table1: #FFFFFF;
    --color-table2: #c6c5ff8c;
    --color-SI: #ff000050;
    --color-SN: #353535a0;
    --color-SP: #FFFFFF00;
    --color-SO: #99ff6650;
    --color-SF: var(--color-SI);
    --color-link: #0073e6;
}

*{
    margin: 0;
    font-family: 'TitlingGothicFB', sans-serif;
    font-size: 16px;
}

#banner_header, #banner_footer, #banner_imas {
    display: none !important;
}

#datei_links, #div_filter {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-primary);
}
#datei_links a {
    color: var(--color-link);
    font-size: 18px;
}


#inhalt {
    margin-top: 0;
    margin-left: 0;
}

#table_rennliste > tbody > tr:nth-child(even) {
    background-color: var(--color-table1);
    color: black;
}

#table_rennliste > tbody > tr:nth-child(odd) {
    background-color: var(--color-table2);
    color: black;
}

#table_rennliste > tbody > tr > td > a {
    background-color: unset;
    color: black;
}

#table_rennliste > tbody > tr:first-child {
    background-color: var(--color-primary);
}
#table_rennliste > tbody > tr:first-child > th > a {
    color: white !important;
    font-size: 18px;
}

.tr_rennstatus_SO > td {
    background-color: var(--color-SO);
}

.tr_rennstatus_SI > td {
    background-color: var(--color-SI);
}

.tr_rennstatus_SN > td {
    background-color: var(--color-SN);
}

.tr_rennstatus_SF > td {
    background-color: var(--color-SF);
}

.tr_rennstatus_SP > td {
    background-color: var(--color-SP);
}

#table_rennliste {
    border-collapse: collapse;
    border: none;
}

#table_rennliste th,
#table_rennliste td {
    border: none;
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

#table_rennliste tr {
    border: none;
    border-bottom: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

/* Start Generation Here */
/* Modern button styles */
button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    background: var(--color-primary);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover {
    background: var(--color-primary);
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

button:active,
.btn:active,
input[type="button"]:active,
input[type="submit"]:active,
input[type="reset"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

button:focus,
.btn:focus,
input[type="button"]:focus,
input[type="submit"]:focus,
input[type="reset"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 0, 92, 0.3);
}

/* Disabled state */
button:disabled,
.btn:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

button:disabled:hover,
.btn:disabled:hover,
input[type="button"]:disabled:hover,
input[type="submit"]:disabled:hover,
input[type="reset"]:disabled:hover {
    background: #cccccc;
    transform: none;
    box-shadow: none;
}
/* End Generation Here */


.image_flag {
    width: 3cm;

}

.table_renn_platzierungen > thead > tr > th {
    width: 1%;
    white-space: nowrap;
}

.table_renn_platzierungen > tbody > tr > td {
    padding-left: 5px;
    padding-right: 5px;
}

#table_renn_platzierungen_rank, #table_renn_platzierungen_lane {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

#table_renn_platzierungen_boat{
    width: 100%;
    white-space: unset;
}

.table_renn_platzierungen > tbody > tr:nth-child(even) {
    background-color: var(--color-table1);
    color: black;
}

.table_renn_platzierungen > tbody > tr:nth-child(odd) {
    background-color: var(--color-table2);
    color: black;
}
.table_renn_platzierungen {
    border-collapse: collapse;
    border: none;
}

.table_renn_platzierungen > tbody > tr > td:first-child, .table_renn_platzierungen > tbody > tr > td:nth-child(2) {
    text-align: center;
    justify-content: center;
    align-items: center;
}