.scrollable-table-wrap {
  overflow-x: scroll;
  width: calc(100% - 48px);
  margin: 0 24px 30px;
}

.scrollable-column-heading-table td,
.scrollable-column-heading-table th,
.scrollable-row-heading-table td,
.scrollable-row-heading-table td.row-heading {
  text-align: center;
}
.scrollable-column-heading-table th,
.scrollable-row-column-heading-table th,
.scrollable-row-heading-table td.row-heading {
  background: #eda421;
  color: #fff;
  font-weight: 700;
}
.scrollable-column-heading-table {
  border: 1px solid #e7e7e7;
  border-radius: 5px;
}
.scrollable-row-heading-table {
  border: 1px solid #e7e7e7;
  border-radius: 5px;
}

.scrollable-column-heading-table,
/* .scrollable-row-column-heading-table, */
.scrollable-row-heading-table {
  width: max-content;
  min-width: 100%;
}
.scrollable-column-heading-table tr {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #e7e7e7;
}
.scrollable-column-heading-table tr:last-of-type {
  border-bottom: 0;
}
.scrollable-column-heading-table td,
.scrollable-column-heading-table th {
  width: 100%;
  padding: 10px;
  border-bottom: 0;
  border-right: 1px solid #e7e7e7;
}
.scrollable-column-heading-table td:last-of-type,
.scrollable-column-heading-table th:last-of-type,
.scrollable-row-heading-table tr:last-of-type td:last-of-type {
  border-bottom: 0;
  border-right: 0;
}
.scrollable-column-heading-table th {
  display: flex;
  justify-content: center;
  align-items: center;
}
.scrollable-column-heading-table td {
  text-align: left;
}
.scrollable-row-heading-table tr {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #e7e7e7;
}
.scrollable-row-heading-table tr:last-of-type {
  border-bottom: 0;
}
.scrollable-row-heading-table td {
  flex-shrink: 1;
  border-bottom: 0;
  border-right: 1px solid #e7e7e7;
  text-align: left;
  width: 100%;
  padding: 10px;
}
.scrollable-row-heading-table td:last-of-type {
  border-right: 0;
}

.scrollable-row-column-heading-table th:first-of-type {
  width: 520px;
  flex-shrink: inherit;
}
.scrollable-row-column-heading-table .row-sub-heading {
  background: #fbf2e1;
  font-weight: 700;
  text-align: center;
  width: 520px;
}

.scrollable-row-column-heading-table {
  border: 1px solid #e7e7e7;
  border-radius: 5px;
}
.scrollable-row-column-heading-table tr:last-of-type td:last-of-type {
  border-bottom: 0;
}

.scrollable-row-column-heading-table tr {
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #e7e7e7;
  flex-wrap: nowrap;
}
.scrollable-row-column-heading-table tr:last-of-type {
  border-bottom: 0;
}
.scrollable-row-column-heading-table td,
.scrollable-row-column-heading-table th {
  width: 100%;
  padding: 10px;
  border-right: 1px solid #e7e7e7;
}
.scrollable-row-column-heading-table td:last-of-type,
.scrollable-row-column-heading-table th:last-of-type {
  border-right: 0;
}
.scrollable-row-column-heading-table th {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}
.scrollable-row-column-heading-table td {
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 1021px) {
  .scrollable-table-wrap {
    overflow-x: auto;
  }
  .scrollable-column-heading-table,
  .scrollable-row-column-heading-table,
  .scrollable-row-heading-table {
    width: 100%;
    table-layout: fixed;
  }
}
