
/**
 * This element is using CSS from the following:
 *
 * - opengemeenten_site/Components/Table/OpenGemeentenSite-Table.css
 * - opengemeenten_cefeaturecollapsible/Feature/Collapsible/OpenGemeentenCeFeatureCollapsible.css
 * - opengemeenten_cefeaturecollapsible/Feature/Collapsible/OpenGemeentenCeFeatureCollapsible-Header.css
 * - opengemeenten_cefeaturecollapsible/Feature/Collapsible/OpenGemeentenCeFeatureCollapsible-Panel.css
 *
 * Variables can be set there globally or override them here!
 */

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

.ce-table__header {
    /*--color-text: initial;*/
    /*--font-family: initial;*/
    /*--font-size: initial;*/
    /*--font-style: initial;*/
    /*--font-weight: initial;*/
    /*--line-height: initial;*/
}

/* Add top margin when no header available */
.ce-table__container > *:first-child + .table__container {
    margin-top: 3rem;
}

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

.ce-table__header {
    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);
}

.ce-table .swipe-hint__icon {
    fill: var(--color, black);
}

.ce-table .swipe-hint__text {
    color: var(--color, black);
    font-family: var(--font-family, inherit);
    font-size: var(--font-size, 0.875em);
    font-weight: var(--font-weight, normal);
    font-style: var(--font-style, normal);
    line-height: var(--line-height, inherit);
}

.ce-table .table__table caption {
    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);
    color: var(--color, black);
}

.ce-table .table__table thead tr,
.ce-table .table__table tbody th {
    background-color: var(--color-background, dimgrey);
    color: var(--color, white);
    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);
}

.ce-table .table__table tbody tr {
    background-color: var(--color-background, white);
}

.ce-table .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);
}

.ce-table .table__table tfoot {
    background-color: var(--color-background, grey);
    color: var(--color, white);
    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);
}
