.table-histo {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0.5em 0 2em 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  padding: 40px 48px;
  height: 1px; /* Pour mettre le div de mon td à 100%*/
}
.table-avis {
  max-width: 700px;
  margin: auto;
}
.table-cheque {
  max-width: 800px;
}
.table-histo caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #6c757d;
  text-align: left;
  caption-side: top;
}

/* .table-histo tr {
  border: 1px solid #ddd;
  padding: 0.35em;
} */
.table-histo thead {
  color: var(--color-head-table);
}
.table-histo thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.table-histo thead tr {
  background-color: var(--color-primary);
}
.table-histo th,
.table-histo td {
  padding: 0px;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table-histo th {
  font-size: 0.85em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.table-histo tbody tr:nth-of-type(odd) {
  background-color: var(--bg-color-tr-odd); /*rgba(0, 0, 0, 0.05);*/
}
.full-height {
  display: flex;
  height: 100%;
  align-items: center;
}
.pdf-download {
  text-align: center;
}
.QrCode-mobile {
  display: none;
}
.pdf-pc {
  display: block;
}
.td-avis {
  width: 70%;
}
.datarow {
  font-size: 0.8em;
}
@media screen and (max-width: 992px) {
  .table-histo {
    border: 0;
  }

  .table-histo caption {
    font-size: 1.3em;
  }

  .table-histo thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .table-histo tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: 0.625em;
  }

  .table-histo td {
    border-bottom: 1px solid #ddd;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8em;
    text-align: right;
    border-top: none;
  }
  .td-mobile {
    display: flex;
  }

  .table-histo td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    text-align: left;
  }

  .table-histo td:last-child {
    border-bottom: 0;
  }

  .table-histo tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 0.35em;
  }
  .table-histo tbody tr:nth-of-type(odd) {
    background-color: #f8f8f8;
  }
  .QrCode-mobile {
    display: flex;
  }
  .pdf-pc {
    display: none;
  }
}
.text-code {
  width: 100%;

  border: 1px solid transparent;
  background-color: transparent;
  padding: 5px 10px;
}
.text-code:focus-visible {
  border-color: var(--color-primary);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(var(--color-shadow), 0.2);
  border-radius: 7px;
}
