html {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  font-size: 16px;
}

body {
  margin: 0rem;
  border: none;
  padding: 0rem;
}

body {
  --primary: #f00;
  --secondary: #00f;
  --text: #333;

  --button-bg: #ccc;
  --button-text: var(333);

  --button-unsafe-bg: #f00;
  --button-unsafe-bg-hover: #f33;
  --button-unsafe-text: #fff;

  --separator: #ccc;
  --input-outline: #ccc;

  --highlight-bg-color: #f00;

  --bg: #fff;
  --bg-hover: #eee;
  --bg-overlay: #f5f5f5;

  --link: var(--primary);
  --visited: #b90000;
  --primary-hover: #c00;
  --secondary-hover: #00c;
  --hover-danger: #c00;

  background-color: var(--bg);
  color: var(--text);
}

/* TODO
@media (prefers-color-scheme: dark) {
  body {
    --text: #ccc;
    color: var(--text);
  }
}
*/

#activity {
  margin: 1rem;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--primary-hover);
}

a:visited {
  color: var(--visited);
}

code {
  display: block;
  white-space: pre-wrap;
}

.monospaced {
  font-family: monospace, monospace;
  font-size: 14px;
  white-space: nowrap;
}

.compact {
  margin: 0rem;
  padding: 0rem;
  border: none;

  p {
    margin: 0rem;
    padding: 0rem;
    border: none;
  }

  tr {
    margin: 0rem;
    padding: 0rem;
    border: none;
  }

  td {
    margin: 0rem;
    padding: 0rem 0.3rem 0rem 0rem;
    border: none;
  }
}

.row {
  display: flex;
  flex-direction: row;
}

.col {
  display: flex;
  flex-direction: column;
}

.align-right {
  text-align: right;
}

.align-left {
  text-align: left;
}

.align-top {
  vertical-align: top;
}

.align-baseline {
  vertical-align: baseline;
}

.align-bottom {
  vertical-align: bottom;
}

.push-right {
  margin-left: auto;
}

.bold {
  font-weight: bold;
}

.hidden {
  display: none;
}

.full-wid-container {
  width: 100%;
}

.super-wide {
  width: 95%;
}

.std-wid-datetime {
  width: 11rem;
}

.std-wid-date {
  width: 6rem;
}

.std-wid-id {
  width: 4rem;
}

.std-wid-name-trunc {
  width 7rem;
}

.std-wid-email-trunc {
  width 7rem;
}

.std.wid-domain-trunc {
  width 7rem;
}

.std.wid-spec-trunc {
  width 7rem;
}

th, td {
  padding: 0.25rem;
}

.table-super-wide {
  width: 95%;
}

.table-wid-half {
  width: 50%;
}

.table-wid-third {
  width: 33%;
}

.table-wid-quarter {
  width: 25%;
}

.nowrap {
  white-space: nowrap;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
}

.max-wid-12-rem {
  max-width: 12rem;
}

.max-wid-40-rem {
  width: 40rem;
}

.flash-highlight {
  animation: 1s flash-highlight;
}
