.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 {
  background: #E3E3E3;
  color: #135195;
}

.table-dre-expenses {
  background: #E3E3E3;
  color: #8A0500;
}
