/* Grouped list: a short table that falls apart along one attribute (participants by employer,
   dates by month). The attribute stands as a row above its entries instead of being repeated
   in every one of them – see the styleguide, "Gruppierte Liste".

   Markup: <table class="table table-sm table-vcenter table-grouped">, one
   <tr class="table-section"> per group, the entries of the group below it. */

/* No horizontal rules: the section headings already do the dividing. */
.table-grouped > tbody > tr > td {
    border-bottom: 0;
}

/* The heading of a section is a label, not a line of data: it sits close to the rows it
   belongs to, and the first one does not push the table away from what stands above it. */
.table-grouped .table-section td {
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.table-grouped .table-section:first-child td {
    padding-top: 0;
}

/* The entries stand indented under their heading. */
.table-grouped > tbody > tr:not(.table-section) > td:first-child {
    padding-left: 1rem;
}
