/**
 * Tables generated by Drupal (Views tables, admin listings in the front-end
 * theme). Content tables are in content/text.css.
 */
table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--ncmg-color-border);
}

thead th {
  font-weight: 600;
  color: var(--ncmg-color-heading);
  border-bottom-width: 2px;
}

tr.selected td,
tr.drag td {
  background: #fff8e1;
}

th.is-active,
td.is-active {
  background: var(--ncmg-color-gray-25);
}

.tablesort {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 4px;
}

.tablesort--asc::after { content: "▲"; font-size: 9px; }
.tablesort--desc::after { content: "▼"; font-size: 9px; }

.table-wrapper,
.views-table-wrapper {
  overflow-x: auto;
}
