
.table__table {
    --font-size: var(--root-font-size); /* Reset, use REM */
}

.table__table caption {
    --color: var(--root-heading-3-color);
    --font-family: var(--root-heading-3-family);
    --font-size: var(--root-heading-3-size);
    --font-style: var(--root-heading-3-style);
    --font-weight: var(--root-heading-3-weight);
    --line-height: var(--root-heading-3-line-height);
}

.table__table thead tr,
.table__table tbody th {
    --color-background: transparent;
    --color: var(--root-color--primary);
    --font-family: var(--root-heading-4-family);
    --font-size: var(--root-heading-4-size);
    --font-style: var(--root-heading-4-style);
    --font-weight: var(--root-heading-4-weight);
    --line-height: var(--root-heading-4-line-height);
}

.table__table tr {
    --border-color: var(--root-color-border);
    --border-width: 0.063rem;
}

.table__table tbody tr:nth-of-type(odd) {
    --color-background: transparent;
}

.table__table tbody tr:nth-of-type(even) {
    --color-background: transparent;
}

.table__table th,
.table__table td {
    /*
     * Set value to 1 when a background color is used
     * Adds padding to first (left) and last (right) cell
     */
    --padding-horizontal--on: 0;
}

.table__table tbody td {
    --color: var(--root-color-text);
    --font-family: inherit;
    --font-size: 1em; /* Mobile 16px / > Mobile 18px */
    --font-style: normal;
    --font-weight: var(--root-font-weight--normal);
    --line-height: inherit;
}

.table__table tfoot {
    --color-background: transparent;
    --color: hsl(0, 0%, 41%);
    --font-family: inherit;
    --font-size: 0.889em;
    --font-style: normal;
    --font-weight: var(--root-font-weight--normal);
    --line-height: inherit;
}

.table__container {
    margin-top: 1rem;
    overflow-x: auto;
}

.table__table {
    width: 100%;
    border-collapse: collapse;
}

.table__table caption,
.table__table th {
    text-align: left;
}

.table__table thead tr,
.table__table tbody tr {
    border-bottom-style: solid;
}

.table__table th,
.table__table td {
    padding: 0.5rem 1rem;
    vertical-align: top;
}

@media (max-width: 47.999rem) {
    .table__table {
        min-width: 44.5rem;
    }
}

@media (min-width: 48rem) {
    .collapsible__content .section:first-child .table__container {
        margin-top: 0;
    }
}


.table__table {
    font-size: var(--font-size, 1rem);
}

.table__table caption {
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1.166em);
    font-weight: var(--font-weight, bold);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
    color: var(--color, black);
}

.table__table thead tr,
.table__table tbody th {
    background-color: var(--color-background, transparent);
    color: var(--color, black);
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1em);
    font-weight: var(--font-weight, bold);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}

.table__table thead tr,
.table__table tbody tr {
    border-bottom-width: var(--border-width, 0.063rem);
    border-bottom-color: var(--border-color, hsla(0, 0%, 0%, 0.2));
}

.table__table tbody tr {
    background-color: var(--color-background, transparent);
}

.table__table th:first-child,
.table__table td:first-child {
    padding-left: calc(1rem * var(--padding-horizontal--on, 0));
}

.table__table th:last-child,
.table__table td:last-child {
    padding-right: calc(1rem * var(--padding-horizontal--on, 0));
}

.table__table tbody td {
    color: var(--color, black);
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1em);
    font-weight: var(--font-weight, normal);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}

.table__table tfoot {
    background-color: var(--color-background, grey);
    color: var(--color, black);
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 1em);
    font-weight: var(--font-weight, normal);
    font-style: var(--font-style, italic);
    line-height: var(--line-height, inherit);
}
