.table-wrap {
  overflow-x: auto;
}
table.sortable {
  width: 100%;
}
.table-wrap.extend {
    width: 60vw;
}
@media (max-width: 1079px) {
    .table-wrap.extend {
        width: 100%;
    }
}
.sr-only {
  position: absolute;
  top: -30em;
}

table.sortable td,
table.sortable th {
  padding: 0.5em 0.25em;
  width: 100%;
}
@media (min-width: 768px) {
  table.sortable.justify td,
  table.sortable.justify th {
    width: auto;
  }
}
table.sortable.top-align td {
  vertical-align: top;
}
table.sortable.highlighted tr:hover {
    background-color: #cccccc;
    cursor: pointer;
}

table.sortable td {
  padding: 0.5em 1em 0.5em 0.5em;
  width: 20%;
}

table.sortable th {
  font-weight: bold;
  border-bottom: thin solid #888;
  position: relative;
  white-space: nowrap;
}

table.sortable th.no-sort {
  padding-top: 0.35em;
}

table.sortable th:nth-child(5) {
  width: 10em;
}

table.sortable th button {
  padding: 4px 15px 4px 0.25px;
  margin: 1px;
  font-size: 100%;
  font-weight: bold;
  background: transparent;
  border: none;
  display: inline;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  text-align: left;
  outline: none;
  cursor: pointer;
}

table.sortable th button span {
  position: absolute;
  right: 4px;
}

table.sortable th[aria-sort="descending"] span::after {
  content: "▼";
  color: currentcolor;
  font-size: 100%;
  top: 0;
}

table.sortable th[aria-sort="ascending"] span::after {
  content: "▲";
  color: currentcolor;
  font-size: 100%;
  top: 0;
}

table.show-unsorted-icon th:not([aria-sort]) button span::after {
  content: "♢";
  color: currentcolor;
  font-size: 100%;
  position: relative;
  top: -3px;
  left: -4px;
}

table.sortable td.num {
  text-align: right;
}

table.sortable tbody tr:nth-child(odd) {
  /* background-color: #ddd; */
}

/* Focus and hover styling */

table.sortable th button:focus,
table.sortable th button:hover {
  color: #888;
}

table.sortable th button:focus span,
table.sortable th button:hover span {
  right: 2px;
}

table.sortable th:not([aria-sort]) button:focus span::after,
table.sortable th:not([aria-sort]) button:hover span::after {
  content: "▼";
  color: currentcolor;
  font-size: 100%;
  top: 0;
}

table.sortable.compact th, 
table.sortable.compact td {
  padding: 0.05em 1em 0.05em 0.5em;
}