/* Tables on blog posts and teamfile.html: flat, with a strong rule under the head row,
   as on wiffy.me. Horizontal lines only; the first column is the label.
   Selectors repeat the Bootstrap ones they replace, so this file only has to load after
   plugins.css and style.css. */
.table {
  --bs-table-hover-bg: rgba(34, 80, 252, .04);
  --bs-table-hover-color: inherit;
  border-color: #e4e6ef;
}
.table:not(.table-sm) > :not(caption) > * > * { padding: 14px 16px; }
.table > :not(caption) > * > * { vertical-align: top; }

/* Lines */
.table-bordered { border: 0; }
.table-bordered > :not(caption) > * { border-width: 0; }
.table-bordered > :not(caption) > * > * { border-width: 0 0 1px; }
.table > :not(:first-child) { border-top: 0; }

/* Head row */
.table > :not(:last-child) > :last-child > * {
  color: #1e2022;
  font-weight: 700;
  vertical-align: bottom;
  border-bottom: 2px solid #1e2022;
}
/* Tables without a head row start with the same rule */
.table > tbody:first-child > tr:first-child > * { border-top: 2px solid #1e2022; }

/* First column */
.table > tbody > tr > th,
.table > tbody > tr > td:first-child {
  color: #1e2022;
  font-weight: 700;
  border-right: 1px solid #e4e6ef;
}

/* the template's .table-danger sets white text, which is unreadable on its pale red background */
.table tr.table-danger > th,
.table tr.table-danger > td { color: #1d2939; }
