:root {
  --c-navy: #006;
  --c-gold: #fa0;
  --c-gold-tint: #fff7e6;
  --c-warm: #f9f7f5;
  --paper: #f6f3ec;
  --paper-2: #fbf9f4;
  --bar-rule: #e3e3e3;
  --link: #006;
  --field-h: 46px;
  --ink-soft: #4a5358;
  --line: #eee;
  --line-soft: #f5f5f5;
  --accent: #0f5e54;
  --accent-soft: #e2efe9;
  --accent-ink: #0a3f38;
}

#aoaMaps.maps-wrap {
  position: relative;
  z-index: 2;
  max-width: 65.5625rem !important;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

#aoaMaps .reset {
  position: relative;
  top: 6px;
  appearance: none;
  align-self: center;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 0;
  color: var(--link, #0366d6);
}

#aoaMaps .reset:hover {
  text-decoration: none;
}

#aoaMaps .reset:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

#aoaMaps .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 24px;
  margin-bottom: 2rem;
  padding: 0.75rem 0;
  /* border-bottom: 1px solid var(--bar-rule); */
}

#aoaMaps .field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#aoaMaps .field--state {
  font-weight: 600;
}

#aoaMaps .field--state,
#aoaMaps .field--type {
  /* flex: 0 1 230px; */
  flex: 0 1 25%;
}

#aoaMaps .field--search {
  /* flex: 1 1 260px; */
  flex: 1 1 25%;
  /* max-width: 520px; */
  font-size: 15px;
}

#aoaMaps .field__label {
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
}

#aoaMaps .control {
  width: 100%;
  height: var(--field-h);
  padding: 0 0.75rem;
  font-size: 15px;
}

#aoaMaps .results {
  padding-bottom: 80px;
}

#aoaMaps thead {
  background-color: transparent;
}

#aoaMaps thead th {
  padding: 0 0 12px;
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

#aoaMaps tbody tr:not(:last-child) {
  border-bottom: 1px solid var(--line-soft);
}

/* #aoaMaps tbody tr:hover { */
/*   background: var(--paper-2); */
/* } */

#aoaMaps.results table {
  table-layout: fixed;
  width: 100%;
}

#aoaMaps table tbody td {
  padding: 14px 14px 14px 0;
  vertical-align: middle;
  border: none;
  text-align: left;
  letter-spacing: 0;
}

#aoaMaps .state-name {
  font-weight: 600;
  color: var(--c-navy);
}

#aoaMaps .state-abbrev {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  height: 21px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--c-gold-tint);
  border-radius: 5px;
  padding: 2px 4px;
  margin-left: 8px;
  letter-spacing: 0.04em;
}

#aoaMaps .dl-cell {
  text-align: right;
}

#aoaMaps .dl-cell .btn:link,
#aoaMaps .dl-cell .btn:visited,
#aoaMaps .dl-cell .btn {
  color: var(--c-navy);
  border-color: var(--c-navy);
}

#aoaMaps .dl-cell .btn:hover,
#aoaMaps .dl-cell .btn:active {
  color: #fff;
  background-color: var(--c-navy);
}

#aoaMaps .empty {
  text-align: center;
  padding-top: 2rem;
}

#aoaMaps .empty-title {
  font-size: 1.5rem;
  font-weight: 700;
}

#aoaMaps .count {
  /* opacity: 0.6; */
  font-size: 1rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  #aoaMaps .field--search {
  }
}

@media (max-width: 880px) {
  #aoaMaps .dl {
    width: 100%;
  }

  #aoaMaps thead {
    display: none;
  }

  #aoaMaps table,
  #aoaMaps tbody,
  #aoaMaps tr,
  #aoaMaps td {
    display: block;
    width: 100%;
  }

  #aoaMaps table tbody td {
    padding: 3px;
  }

  #aoaMaps tr {
    background-color: var(--c-warm);
    border-radius: 3px;
    padding: 1rem;
    margin-bottom: 1rem;
  }

  #aoaMaps .map-type {
    margin-bottom: 6px;
  }

  #aoaMaps .map-type::before {
    content: 'Map: ';
    font-weight: 600;
  }

  #aoaMaps .state-name {
    font-size: 1.125rem;
  }

  #aoaMaps .field {
    margin-bottom: 6px;
  }

  #aoaMaps .field--state,
  #aoaMaps .field--type {
    flex-basis: 100%;
  }
}
