/* ==========================================================================
   TABLEAU / TABLEFIELD
   ========================================================================== */

.tablefield {
  caption-side: top;
  width: 100%;
}

/* Titre du tableau */
.tablefield caption {
  caption-side: top;
  padding: 0 0 .75rem;
  color: var(--color-blue-uco-dark);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 700;
  text-align: left;
}

/* En-tête */
.tablefield thead {
  background: var(--color-green);
}

.tablefield thead tr th {
  color: var(--color-blue-uco-dark);
  font-size: 1rem;
  font-weight: 700;
}

/* Corps */
.tablefield tbody {
  border-radius: 0 0 10px 10px;
}

.tablefield tbody td,
.table-striped>tbody>tr:nth-of-type(odd)>* {
  color: var(--color-blue-uco-dark);
  font-size: 1rem;
}

.tablefield tbody tr.odd {
  background-color: var(--color-white);
}

.tablefield tbody tr.even {
  background-color: var(--color-beige);
}

.tablefield tbody tr {
  border-color: var(--color-beige);
}

/* Cellules */
.tablefield > :not(caption) > * > * {
  padding: 1rem;
}

/* Coins supérieurs */
.tablefield thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

.tablefield thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

/* Coins inférieurs */
.tablefield tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.tablefield tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.tablefield {
  caption-side: top;
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--color-white);
  border-radius: 10px;
  overflow: hidden;
}

.tablefield caption {
  caption-side: top;
  padding: 0 0 .75rem;
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.tablefield thead {
  background: var(--color-green);
}

.tablefield thead th {
  color: var(--color-blue-uco-dark);
  font-size: 1rem;
  font-weight: 700;
}

.tablefield tbody tr.odd {
  background-color: var(--color-white);
}

.tablefield tbody tr.even {
  background-color: var(--color-beige);
}

.tablefield tbody td {
  color: var(--color-blue-uco-dark);
  font-size: 1rem;
}

.tablefield > :not(caption) > * > * {
  padding: 1rem;
}

.tablefield tbody tr:last-child td {
  border-bottom: 0;
}