.table-histo {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 40px 0 1em 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
  padding: 40px 48px;
  height: 1px; /* Pour mettre le div de mon td à 100%*/
}
.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: 0.75rem;
  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: rgb(236, 236, 236); /*rgba(0, 0, 0, 0.05);*/
}
.full-height {
  display: flex;
  height: 100%;
  align-items: center;
}
.pdf-download {
  text-align: center;
  display: table-cell;
}

.code-cheque-download {
  display: none;
}
.text-code {
  width: 100%;
  max-width: 200px;
  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;
}
@media screen and (max-width: 992px) {
  /*Ancien Model responsibe table*/
  /* .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;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8em;
    text-align: left;
    border-top: none;
  }

  .table-histo td::before {
   
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }

  .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;
  } */
  /*Ancien Model responsibe table*/
  .table-histo th {
    font-size: 10px;
    letter-spacing: normal;
    font-weight: 500;
    padding: 0.5em 0.3em;
  }
  .table-histo thead th:last-child {
    width: 100px;
    text-align: center;
  }
  .table-histo thead th:nth-child(2) {
    width: 100px;
    text-align: center;
  }
  .pdf-download {
    display: none;
  }
  .code-cheque-download {
    display: table-cell;
  }
  .full-height {
    font-size: 10px;
    justify-content: center;
  }
  .table-histo td {
    padding: 0.3em;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
  }
  .text-code {
    padding: 0;
  }
}
