.ag-table-wrapper {
    margin: 20px 0;
    border: 1px solid #222;
    background-color: #000;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.ag-table {
    width: 100%;
    border-collapse: collapse;
    color: #ffffff;
    font-family: 'Open Sans', Arial, sans-serif;
}

/* HEADER */
.ag-table th {
    background-color: #fff000;
    color: #000;
    padding: 12px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 800;
}

/* BASIS */
.ag-table td {
    padding: 12px;
    border-bottom: 1px solid #222;
    color: #ffffff !important;
}

/* TEAM HIGHLIGHT */
.ag-table td.ag-team-vbcw {
    color: #fff000 !important;
    font-weight: 800 !important;
}

/* ZEILE HIGHLIGHT */
.ag-highlight-row {
    background-color: rgba(255, 240, 0, 0.08);
}

/* RESULTAT */
.ag-result-cell {
    text-align: left;
    min-width: 80px;
}

.ag-hall-cell {
    white-space: nowrap;
}

.ag-res-box {
    background: #000;
    color: #ffffff;
    border: 2px solid #fff000;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
}

.ag-res-empty {
    color: #ffffff;
    opacity: 0.5;
}

#vbcw-allgames-container .ag-hall-link,
#vbcw-allgames-container .ag-hall-link:link,
#vbcw-allgames-container .ag-hall-link:visited,
#vbcw-allgames-container .ag-hall-link:hover,
#vbcw-allgames-container .ag-hall-link:focus,
#vbcw-allgames-container .ag-hall-link:active {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* MOBILE */
.ag-icon-mobile {
    display: none;
}

@media (max-width: 600px) {
    .ag-hide-mobile { display: none; }
    .ag-table thead { display: none; }

    .ag-table tr {
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 15px 10px;
        border-bottom: 2px solid #222;
    }

    .ag-table td {
        padding: 3px 0;
        border: none;
    }

    .ag-date-cell {
        color: #fff000 !important;
        margin-bottom: 6px;
        font-size: 0.85em;
    }

    .ag-result-cell {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .ag-hall-cell {
        margin-top: 8px;
        font-size: 0.85em;
        white-space: normal;
    }
}

/* LOADER */
.ag-loader {
    color: #fff000;
    text-align: center;
}
