/* Wisselweergave voor album- en bandgrafieken. */
.grafiektabel-wisselaar {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
}

.grafiektabel-wisselaar button {
    margin: 0;
    padding: 2px 3px;
    border: 0;
    background: transparent;
    color: #5f6468;
    font: inherit;
    cursor: pointer;
}

.grafiektabel-wisselaar button:hover,
.grafiektabel-wisselaar button:focus-visible {
    color: #2a4b9b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.grafiektabel-wisselaar button[aria-pressed="true"] {
    color: #2a4b9b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.grafiektabel-wisselaar-scheiding {
    color: rgba(39,49,58,.35);
    font-weight: 400;
}

.grafiektabel-houder[hidden] { display: none !important; }
.grafiektabel-houder {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.grafiektabel {
    width: 100%;
    min-width: 610px;
    border-collapse: collapse;
    table-layout: fixed;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(39,49,58,.14);
    border-radius: 8px;
    overflow: hidden;
    color: #20262b;
    font: 13px/1.25 Verdana,Arial,Helvetica,sans-serif;
    font-variant-numeric: tabular-nums;
}

.grafiektabel th,
.grafiektabel td {
    height: 29px;
    padding: 5px 8px;
    border-right: 1px solid rgba(39,49,58,.09);
    border-bottom: 1px solid rgba(39,49,58,.09);
    text-align: right;
    vertical-align: middle;
    white-space: nowrap;
}

.grafiektabel tr > *:last-child { border-right: 0; }
.grafiektabel tbody tr:last-child > * { border-bottom-color: rgba(39,49,58,.20); }
.grafiektabel tfoot tr:last-child > * { border-bottom: 0; }

.grafiektabel thead th {
    background: rgba(42,75,155,.06);
    color: #2a4b9b;
    font-weight: 700;
}

.grafiektabel th:first-child,
.grafiektabel td:first-child {
    width: 74px;
    text-align: left;
}

.grafiektabel thead th:nth-child(6) { border-left: 1px solid rgba(39,49,58,.20); }
.grafiektabel tbody td:nth-child(6),
.grafiektabel tfoot td:nth-child(6) { border-left: 1px solid rgba(39,49,58,.20); }

.grafiektabel a {
    color: inherit;
    text-decoration: none;
}

.grafiektabel a:hover,
.grafiektabel a:focus-visible {
    color: #2a4b9b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.grafiektabel-rijhoogste { font-weight: 700; }

.grafiektabel-kolomhoogste,
.grafiektabel-samenvatting-hoogste {
    background: rgba(42,75,155,.10);
}

.grafiektabel tfoot th,
.grafiektabel tfoot td {
    background-color: rgba(255,255,255,.58);
    font-weight: 700;
}

.grafiektabel tfoot th { color: #2a4b9b; }
.grafiektabel-leeg { color: transparent; }

@media (max-width: 680px) {
    .grafiektabel-wisselaar {
        width: 100%;
        justify-content: flex-end;
        margin-left: 0;
        font-size: 12px;
    }
    .grafiektabel {
        min-width: 560px;
        font-size: 12px;
    }
    .grafiektabel th,
    .grafiektabel td {
        height: 28px;
        padding: 5px 7px;
    }
}
