/* **************************************************** */
/*   TTC Holzwickede - MKTT-Online Custom Design       */
/*   Basierend auf MKTT-Online by Robert Rimbach       */
/*   Angepasst mit TTC Holzwickede Vereinsfarben       */
/*                                                      */
/*   Farben:                                           */
/*   - Primär (Rot): #BF1B2C                           */
/*   - Sekundär (Blau): #0027FF                        */
/*   - Text: #000000                                   */
/* ******************************************************/

/* =====================================================
   RESET & GRUNDLAYOUT
   ===================================================== */

html, body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
}

html {
    height: 100%;
}

body {
    background-size: 100%;
    background-color: #ffffff;
}

* {
    box-sizing: border-box;
}

a {
    color: #0027FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #BF1B2C;
    text-decoration: underline;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 15px;
}

/* ******************************************************************** */
/* Clearfix: http://csscreator.com/attributes/containedfloat.php        */
/* ******************************************************************** */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    display: inline-block;
}

/* für IE-mac verstecken */
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}
/* Ende in IE-mac verstecken */

/* =====================================================
   HAUPT-NAVIGATION
   ===================================================== */

.mktt_nav_bar_top td {
    width: 120px;
    border-left: 1px solid #BF1B2C;
    text-align: center;
}

.mktt_nav_link {
    color: #000000;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mktt_nav_link:hover {
    color: #BF1B2C;
}

.mktt_nav_link_fix {
    color: #000000;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mktt_nav_link_fix:hover {
    color: #ffffff;
}

.mktt_nav_group {
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, #0027FF 0%, #001BAD 100%);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   GRUPPEN-TABELLE
   ===================================================== */

.mktt_gruppen td {
    color: #000000;
    max-width: none;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
}

.mktt_gh_platz {
    width: 15px;
    color: #000000;
}

.mktt_gh_spieler {
    width: 150px;
    color: #000000;
}

.mktt_gh_verein {
    width: 140px;
    color: #000000;
}

.mktt_gh_spiele {
    width: 60px;
    color: #000000;
}

.mktt_gh_saetze {
    width: 60px;
    color: #000000;
}

.mktt_gh_baelle {
    width: 60px;
    color: #000000;
}

.mktt_gh_raster {
    width: 35px;
    color: #000000;
}

.mktt_gh_spacing {
    width: 10px;
}

.mktt_gruppenheader {
    background: linear-gradient(135deg, #0027FF 0%, #001BAD 100%);
    color: #ffffff;
}

td.mktt_gruppenname {
    background: linear-gradient(135deg, #BF1B2C 0%, #8B1520 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 15px 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mktt_gruppenname a {
    color: #ffffff;
    font-weight: 700;
}

.mktt_gruppenname a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.mktt_gruppen_links td {
    width: 70px;
    border-left: 1px solid #e0e0e0;
    text-align: center;
    padding: 8px 15px;
}

.mktt_gruppen_links td:first-child {
    border-left: none;
}

.mktt_gruppen_links a {
    color: #0027FF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.mktt_gruppen_links a:hover {
    color: #BF1B2C;
    text-decoration: underline;
}

.mktt_ko_link {
    font-weight: 700;
    color: #000000;
}

.mktt_gruppen_uplink {
    background: linear-gradient(135deg, #0027FF 0%, #001BAD 100%);
}

.mktt_gruppen_uplink a {
    color: #ffffff;
}

.mktt_gruppen_uplink a:hover {
    color: #ffffff;
}

.mktt_kowinner {
    font-weight: 700;
    color: #BF1B2C;
}

.mktt_gruppen_ueberschrift {
    font-family: inherit;
    font-size: 28px;
    font-weight: 700;
    color: #BF1B2C;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #0027FF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mktt_grouptype {
    font-family: inherit;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    background-color: #f5f5f5;
    padding: 10px 20px;
    margin: 20px 0 15px 0;
    border-radius: 5px;
    border-left: 4px solid #BF1B2C;
    text-decoration: none;
}

.mktt_keine_gruppen {
    display: block;
    padding: 40px 20px;
    text-align: center;
    font-size: 18px;
    color: #666666;
    background-color: #f5f5f5;
    border-radius: 8px;
    border: 2px dashed #e0e0e0;
}

/* =====================================================
   GRUPPEN-DETAILS
   ===================================================== */

.mktt_group_single_results {
    color: #000000;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.mktt_group_single_results th {
    background: linear-gradient(135deg, #BF1B2C 0%, #8B1520 100%);
    color: #ffffff;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mktt_group_single_results td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.mktt_group_single_results tr:last-child td {
    border-bottom: none;
}

.mktt_group_single_results tr:hover {
    background-color: #f5f5f5;
}

.mktt_gsr_runde {
    color: #000000;
    width: 15px;
}

.mktt_gsr_uhrzeit {
    color: #000000;
    width: 30px;
}

.mktt_gsr_spieler {
    color: #000000;
    width: 180px;
}

.mktt_gsr_einzelsaetze {
    color: #000000;
    width: 220px;
}

.mktt_gsr_saetze {
    color: #000000;
}

/* =====================================================
   AKTIVE TISCHE + STARTERS
   ===================================================== */

.mktt_active_tables {
    color: #000000;
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.mktt_active_tables th {
    background: linear-gradient(135deg, #BF1B2C 0%, #8B1520 100%);
    color: #ffffff;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.mktt_active_tables td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    color: #000000;
    font-size: 14px;
}

.mktt_active_tables tr:last-child td {
    border-bottom: none;
}

.mktt_active_tables tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.2s ease;
}

.mktt_at_tisch {
    color: #000000;
}

.mktt_at_spieler {
    color: #000000;
    width: 180px;
}

.mktt_at_klasse {
    color: #000000;
    width: 120px;
}

.mktt_at_verein {
    color: #000000;
    width: 300px;
}

.mktt_at_matchtyp {
    color: #000000;
}

/* =====================================================
   GRUPPEN-TABELLE (ERGÄNZUNG)
   ===================================================== */

.mktt_gruppen {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.mktt_gruppen th {
    background: linear-gradient(135deg, #BF1B2C 0%, #8B1520 100%);
    color: #ffffff;
    padding: 15px 12px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

.mktt_gruppen td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    color: #000000;
    font-size: 14px;
}

.mktt_gruppen tr:last-child td {
    border-bottom: none;
}

.mktt_gruppen tr:hover {
    background-color: #f5f5f5;
    transition: background-color 0.2s ease;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .mktt_gruppen_ueberschrift {
        font-size: 22px;
    }

    .mktt_grouptype {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mktt_gruppen_ueberschrift {
        font-size: 20px;
    }

    .mktt_grouptype {
        font-size: 14px;
    }

    /* Tabellen scrollbar auf Mobile */
    .mktt_active_tables,
    .mktt_gruppen,
    .mktt_group_single_results {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .mktt_active_tables td,
    .mktt_gruppen td,
    .mktt_group_single_results td {
        font-size: 13px;
        padding: 10px 8px;
    }

    .mktt_active_tables th,
    .mktt_gruppen th,
    .mktt_group_single_results th {
        font-size: 12px;
        padding: 12px 10px;
    }
}

/* Sehr kleine Screens */
@media (max-width: 480px) {
    .mktt_gruppen_ueberschrift {
        font-size: 18px;
    }

    .mktt_active_tables th,
    .mktt_gruppen th,
    .mktt_group_single_results th {
        font-size: 11px;
        padding: 12px 8px;
    }

    .mktt_active_tables td,
    .mktt_gruppen td,
    .mktt_group_single_results td {
        font-size: 12px;
        padding: 8px 6px;
    }
}

/* =====================================================
   DRUCK-EIGENSCHAFTEN
   ===================================================== */

@media print {
    /* Bei Druck Navigation verstecken */
    #mktt_Navigation {
        display: none;
    }

    #mktt_Content {
        width: 100%;
        float: none;
    }

    .mktt_active_tables,
    .mktt_gruppen,
    .mktt_group_single_results {
        box-shadow: none;
    }
}
