/*
 * DSFR v1.0.0-rc1.0 | restricted use
 */
@charset "UTF-8";

/* ------------------------------------ *\
  TABLE
\* ------------------------------------ */

.fr-table {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 2.5rem;
  /* Style bordered, enleve le style even/odd et ajoute des bordures entre chaque ligne *//*
  * Cache la caption
  *//*
  * Fixe le caption en bas du tableau
  *//*
  * pas de scroll ni de shadow
  *//*
  * Fixe la taille des colonnes du tableau
  *//*
* Ombres ajoutées en Js si le contenu est plus grand que le conteneur
*/
}

.fr-table:not(.fr-table--no-scroll) table {
  width: 100%;
}

.fr-table table {
  border-spacing: 0;
}

.fr-table caption {
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.75rem;
  margin: 0 0 1rem;
  font-weight: bold;
  text-align: left;
}

.fr-table td, .fr-table th {
  text-align: left;
  vertical-align: middle;
  display: table-cell;
  border: 0;
  padding: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.fr-table th {
  font-weight: 700;
}

.fr-table thead td, .fr-table thead th {
  font-weight: 700;
}

.fr-table--bordered tbody td, .fr-table--bordered tbody th {
  border: 0;
}

.fr-table--no-caption caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* added line */
  border: 0;
}

.fr-table--caption-bottom caption {
  margin-bottom: 0;
  margin-top: 1rem;
  caption-side: bottom;
}

.fr-table--no-scroll {
  min-width: auto;
}

.fr-table--no-scroll caption {
  max-width: calc(100vw - 2rem);
}

.fr-table--layout-fixed table {
  table-layout: fixed;
}

.fr-table--shadow caption {
  position: absolute;
}

.fr-table--shadow .fr-table__wrapper {
  overflow: visible;
  position: relative;
}

.fr-table--shadow .fr-table__wrapper table::before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  transition: box-shadow ease-out 0.2s;
}

.fr-table--shadow table {
  width: 100%;
  display: block;
  overflow-y: hidden;
  overflow-x: auto;
}

.fr-table {
  /* Style bordered, enleve le style even/odd et ajoute des bordures entre chaque ligne *//*
  * Ombres ajoutées en Js si le contenu est plus grand que le conteneur
  */
}

.fr-table caption {
  color: var(--g800);
}

.fr-table thead td, .fr-table thead th {
  border-bottom: 0.125rem solid var(--g600);
  background-color: var(--beige);
  color: var(--g700);
}

.fr-table tbody tr:nth-child(even) {
  background-color: var(--beige);
}

.fr-table tbody tr:nth-child(odd) {
  background-color: var(--white);
}

.fr-table--bordered tbody td, .fr-table--bordered tbody th {
  border-bottom: 1px solid var(--g400);
}

.fr-table--bordered tbody tr:nth-child(odd),
.fr-table--bordered tbody tr:nth-child(even) {
  background-color: var(--t-plain);
}

.fr-table--shadow {
  /**
    * Modifier ombre à gauche
    **//**
    * Modifier ombre à droite
    **//**
    * Modifier combinaison ombre à gauche et ombre à droite
    **/
}

.fr-table--shadow .fr-table__wrapper table::before {
  box-shadow: inset 0 0 0 transparent, inset 0 0 0 transparent;
}

.fr-table--shadow-left .fr-table__wrapper table::before {
  display: block;
  content: "";
  box-shadow: inset 2rem 0 1rem -1.5rem var(--scroll-shadow), inset 0 0 0 transparent;
}

.fr-table--shadow-right .fr-table__wrapper table::before {
  display: block;
  content: "";
  box-shadow: inset 0 0 0 transparent, inset -2rem 0 1rem -1.5rem var(--scroll-shadow);
}

.fr-table--shadow-left.fr-table--shadow-right .fr-table__wrapper table::before {
  display: block;
  content: "";
  box-shadow: inset 2rem 0 1rem -1.5rem var(--scroll-shadow),
                inset -2rem 0 1rem -1.5rem var(--scroll-shadow);
}

@media (min-width: 48em) {
  .fr-table caption {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .fr-table td, .fr-table th {
    padding: 1rem;
  }
}
