.table-dre {
  border: 1px solid #4a4a4a;
  position: relative;

  /* Necessário para o preenchimento vertical */
  /*overflow: hidden;*/
}

.table-dre > tbody > tr > td,
.table-dre > tbody > tr > th,
.table-dre > tfoot > tr > td,
.table-dre > tfoot > tr > th,
.table-dre > thead > tr > td,
.table-dre > thead > tr > th { padding: 2px 5px; }

.table-dre thead th {
  position: sticky;
  background: #4a4a4a;
  top: 62px; /* Necessário por conta do menu superior fixo */
  box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.table-dre thead tr,
.table-dre tfoot tr {
  background: #4a4a4a;
  color: white;
}

.table-dre thead tr th,
.table-dre thead tr td,
.table-dre tfoot tr th,
.table-dre tfoot tr td {
  border-top: none;
  border-bottom: none;
}

.table-dre tbody tr td {
  border: none;
}

.table-dre .btn-note {
  padding: 0 8px;
  visibility: hidden;
}

.table-dre > tbody > tr:hover > td .btn-note {
  visibility: visible;
}

.table-dre-revenue > * {
  --bs-table-bg: #E3E3E3;
  --bs-table-color: #135195;
  --bs-table-hover-bg: #d9d9d9;
  --bs-table-hover-color: #135195;
  background-color: #E3E3E3 !important;
  color: #135195 !important;
}

.table-dre-expenses > * {
  --bs-table-bg: #E3E3E3;
  --bs-table-color: #8A0500;
  --bs-table-hover-bg: #d9d9d9;
  --bs-table-hover-color: #8A0500;
  background-color: #E3E3E3 !important;
  color: #8A0500 !important;
}
