/* Earth Central theme for Tabulator (overrides tabulator_midnight). */

.tabulator {
  background-color: #0c0809 !important;
  border: 1px solid var(--ee-border) !important;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  overflow: hidden;
}

.tabulator .tabulator-header {
  background-color: #150d0f !important;
  border-bottom: 1px solid var(--ee-border-bright) !important;
  color: var(--ee-cream) !important;
}
.tabulator .tabulator-header .tabulator-col {
  background-color: #150d0f !important;
  border-right: 1px solid rgba(43, 25, 29, .7) !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
  color: var(--ee-cream) !important;
  padding: 9px 8px !important;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
  background-color: #211417 !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select {
  background-color: #0c0809 !important;
  border: 1px solid var(--ee-border-bright) !important;
  color: var(--ee-text) !important;
  border-radius: 5px !important;
  padding: 3px 6px !important;
  font-size: 12.5px !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus,
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select:focus {
  outline: none;
  border-color: var(--ee-red) !important;
}

.tabulator .tabulator-tableholder .tabulator-table .tabulator-row {
  background-color: #0c0809 !important;
  color: var(--ee-text) !important;
  border-bottom: 1px solid rgba(43, 25, 29, .62) !important;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-row-even {
  background-color: #100a0b !important;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row:hover {
  background-color: rgba(204, 51, 51, .09) !important;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell {
  border-right: 1px solid rgba(43, 25, 29, .55) !important;
  padding: 8px !important;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell a {
  color: var(--ee-pink);
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell a:hover {
  color: #fff;
}

.tabulator .tabulator-footer {
  background-color: #150d0f !important;
  border-top: 1px solid var(--ee-border-bright) !important;
  color: var(--ee-muted) !important;
}
.tabulator .tabulator-footer .tabulator-page {
  background-color: #0c0809 !important;
  border: 1px solid var(--ee-border-bright) !important;
  color: var(--ee-text) !important;
  border-radius: 6px !important;
  padding: 4px 10px !important;
  margin: 0 2px !important;
}
.tabulator .tabulator-footer .tabulator-page.active {
  background-color: var(--ee-red) !important;
  border-color: var(--ee-red) !important;
  color: #fff !important;
}
.tabulator .tabulator-footer .tabulator-page:hover:not(.active):not(:disabled) {
  background-color: #2a181c !important;
  color: #fff !important;
}
.tabulator .tabulator-footer .tabulator-page:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.tabulator .tabulator-placeholder {
  color: var(--ee-muted) !important;
}

/* Mobile: let the table scroll instead of cramming columns. */
@media (max-width: 760px) {
  .tabulator { font-size: 13.5px; }
  .tabulator .tabulator-header .tabulator-col .tabulator-col-content { padding: 8px 6px !important; }
  .tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell { padding: 7px 6px !important; }
}
