 #mapViewDiv {
    margin: 0 auto;
    height: 500px;
    width: auto;
  }

  #intersectionSearchMessage.error-message {
    color: #ffb3b3;
    font-weight: 600;
  }

  .neighborhood-directory {
    position: relative;
    z-index: 10;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
  }

  .neighborhood-directory__sidebar {
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .neighborhood-directory__content {
    min-width: 0;
    padding-left: 2rem;
  }

  .neighborhood-directory__heading {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 700;
  }

  .neighborhood-directory__heading--resources {
    margin-top: 2rem;
  }

  .neighborhood-filter-list,
  .neighborhood-resource-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .neighborhood-filter-list {
    display: grid;
    gap: 0.45rem;
  }

  .neighborhood-resource-list li {
    margin-bottom: 1rem;
  }

  .neighborhood-filter-button {
    display: block;
    width: 100%;
    padding: 0.7rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .neighborhood-filter-button:hover,
  .neighborhood-filter-button:focus,
  .neighborhood-filter-button.is-active {
    border-color: currentColor;
    background-color: rgba(255, 255, 255, 0.12);
  }

  .neighborhood-filter-button.is-active {
    font-weight: 700;
  }

  .directory-view[hidden],
  .organization-card[hidden],
  .organization-card__details[hidden] {
    display: none !important;
  }

  .neighborhood-results-header h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 2rem);
    line-height: 1.1;
  }

  .neighborhood-results-header p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

  .directory-filter-panel {
    margin: 1.5rem 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.08);
  }

.neighborhood-resource-list a
{
  text-decoration:underline !important;
}
.neighborhood-resource-list a:hover
{
  text-decoration:underline !important;
}


  .directory-filter-panel label,
  .directory-filter-panel legend {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
  }

  .directory-filter-panel fieldset {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .directory-filter-control {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(127, 127, 127, 0.55);
    border-radius: 4px;
    background: var(--form-bg, rgba(255, 255, 255, 0.95));
    color: var(--form-color, #222);
    font: inherit;
  }

  .alphabet-navigation,
  .district-navigation__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .alphabet-button,
  .district-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 2rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
  }

  .alphabet-button:hover,
  .alphabet-button:focus,
  .alphabet-button.is-active,
  .district-button:hover,
  .district-button:focus,
  .district-button.is-active {
    border-color: currentColor;
  }

  .alphabet-button.is-active,
  .district-button.is-active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 700;
  }

  .organization-count {
    margin: 1rem 0;
    font-size: 1.125rem;
    font-weight: 700;
  }

  .organization-card {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
  }

  .organization-card__titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.12);
  }

  .organization-card__title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
  }

  .organization-card__toggle {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .organization-card__toggle:hover,
  .organization-card__toggle:focus {
    border-color: currentColor;
    background-color: rgba(255, 255, 255, 0.16);
  }

  .organization-card__header {
    background-color: #8080803b;
    padding-left: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .organization-card__title {
    margin: 0;
    flex: 1;
  }

  .organization-card__toggle {
    flex-shrink: 0;
    margin-left: auto;
  }

  .organization-card__summary,
  .organization-card__details {
    /* background-color: rgba(0, 0, 0, 0.1); */
  }

  .organization-card__details {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .organization-detail {
    display: grid;
    grid-template-columns: minmax(180px, 25%) minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .organization-detail:last-child {
    border-bottom: 0;
  }

  .organization-detail__label {
    font-weight: 700;
  }

  .organization-contact-line+.organization-contact-line,
  .boundary-list>div+div {
    margin-top: 0.35rem;
  }

  .directory-message {
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .directory-message--warning {
    margin-top: 1rem;
  }

  .directory-message--error {
    border-color: #b42318;
    background-color: rgba(180, 35, 24, 0.12);
  }

  .district-map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    margin: 1.5rem 0;
    padding: 2rem;
    border: 1px solid rgba(127, 127, 127, 0.35);
    background-color: rgba(127, 127, 127, 0.08);
    text-align: center;
  }

  .district-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(127, 127, 127, 0.25);
    border-bottom: 1px solid rgba(127, 127, 127, 0.25);
  }

  .district-navigation__label {
    font-weight: 700;
  }

  .zoning-search__intro {
    margin-bottom: 1rem;
  }

  .zoning-search__intro p {
    margin-bottom: 0.65rem;
    line-height: 1.45;
  }

  .zoning-search__tips {
    margin: 1rem 0;
    border: 1px solid rgba(127, 127, 127, 0.35);
  }

  .zoning-search__tips summary {
    padding: 0.75rem 1rem;
    background-color: rgba(127, 127, 127, 0.12);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }

  .zoning-search__tips-content {
    padding: 1rem;
  }

  .zoning-search__instruction {
    margin: 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(127, 127, 127, 0.3);
  }

  .zoning-search__fieldset {
    margin: 0;
    padding: 1.25rem 0;
    border: 0;
    border-bottom: 1px solid rgba(127, 127, 127, 0.25);
  }

  .zoning-address-grid {
    display: grid;
    grid-template-columns:
      minmax(100px, 0.8fr) minmax(100px, 0.65fr) minmax(180px, 1.6fr) minmax(110px, 0.85fr);
    gap: 1rem;
    align-items: end;
  }

  .zoning-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
  }

  .zoning-field__hint {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.875rem;
    font-weight: 400;
  }

  .zoning-search__divider {
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
  }

  .zoning-apn-row {
    display: grid;
    grid-template-columns: minmax(180px, 260px);
  }

  .zoning-options-grid {
    display: grid;
    grid-template-columns:
      minmax(180px, 1.25fr) minmax(140px, 0.7fr) minmax(220px, 1.5fr);
    gap: 1.5rem;
    align-items: start;
  }

  .zoning-buffer-units {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.65rem;
  }

  .zoning-buffer-units label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-weight: 400;
  }

  .zoning-search__message {
    margin-top: 1rem;
  }

  .zoning-search__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 255px));
    gap: 2rem;
    margin-top: 1.5rem;
  }

  .zoning-search__button {
    min-height: 44px;
    padding: 0.7rem 1.25rem;
    border: 1px solid transparent;
    border-radius: 0;
    font: inherit;
    cursor: pointer;
  }

  .zoning-search__button--primary {
    background-color: #123f6d;
    color: #fff;
  }

  .zoning-search__button--secondary {
    border-color: rgba(127, 127, 127, 0.2);
    background-color: rgba(127, 127, 127, 0.12);
    color: inherit;
  }

  @media (max-width: 600px) {
    .organization-card__header {
      align-items: flex-start;
      flex-direction: column;
    }

    .organization-card__toggle {
      margin-left: 0;
      align-self: flex-end;
    }
  }

  @media (max-width: 900px) {
    .zoning-address-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zoning-options-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767px) {
    .neighborhood-directory {
      padding: 1.25rem;
    }

    .neighborhood-directory__sidebar {
      margin-bottom: 2rem;
      padding-right: 0;
      padding-bottom: 1.5rem;
      border-right: 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .neighborhood-directory__content {
      padding-left: 0;
    }

    .organization-card__titlebar {
      align-items: flex-start;
      flex-direction: column;
    }

    .organization-card__toggle {
      width: 100%;
    }

    .organization-detail {
      grid-template-columns: 1fr;
      gap: 0.35rem;
    }
  }

  @media (max-width: 575px) {

    .zoning-address-grid,
    .zoning-apn-row,
    .zoning-search__actions {
      grid-template-columns: 1fr;
    }

    .zoning-search__actions {
      gap: 0.75rem;
    }
  }

  /* intersection */
  .intersection-search-panel {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255, 255, 255, .88);
    border-radius: 14px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  }

  .intersection-search-panel h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 2rem;
    font-weight: 700;
  }

  .intersection-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-group label {
    font-weight: 600;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select {
    height: 46px;
    margin-bottom: 15px;
    padding: 0 14px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
  }

  .distance-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }

  .distance-row input[type=number] {
    width: 120px;
  }

  .intersection-note {
    margin-bottom: 25px;
    color: #444;
  }

  .intersection-actions {
    display: flex;
    gap: 15px;
  }

  .intersection-actions button {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: .2s;
  }

  #intersectionSearchButton {
    background: #0d5ea6;
    color: white;
  }

  #intersectionSearchButton:hover {
    background: #084c87;
  }

  #intersectionClearButton {
    background: #e7e7e7;
  }

  #intersectionClearButton:hover {
    background: #d9d9d9;
  }

  #intersectionSearchMessage {
    margin-top: 20px;
    /* color: #555; */
  }

  @media (max-width:700px) {
    .intersection-grid {
      grid-template-columns: 1fr;
    }

    .intersection-actions {
      flex-direction: column;
    }
  }

  /* autocomplete address */
  .address-autocomplete {
    position: relative;
  }

  .address-suggestions {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 260px;
    overflow-y: auto;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #212529);
    border: 1px solid var(--bs-border-color, #ced4da);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }

  .address-suggestion {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0;
    border-bottom: 1px solid var(--bs-border-color, #e3e3e3);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
  }

  .address-suggestion:last-child {
    border-bottom: 0;
  }

  .address-suggestion:hover,
  .address-suggestion:focus,
  .address-suggestion.is-active {
    background: var(--bs-secondary-bg, #f1f3f5);
    outline: none;
  }

  .address-suggestions-empty {
    padding: 0.75rem 1rem;
    color: var(--bs-secondary-color, #6c757d);
  }

  .directory-search-status {
    margin-top: 0.75rem;
  }

  /* police */

.directory-search-status {
 margin-top: 1rem;
 min-height: 1.5rem;
}
/* council */
.district-button {
 transition:
   background-color 0.15s ease,
   color 0.15s ease,
   border-color 0.15s ease,
   box-shadow 0.15s ease;
}
.district-button.is-active,
.district-button[aria-pressed="true"] {
 background-color: #ffffff;
 color: #005a8b;
 border-color: #ffffff;
 box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
 font-weight: 700;
}
.district-button.is-active:hover,
.district-button[aria-pressed="true"]:hover {
 background-color: #ffffff;
 color: #005a8b;
}
.district-button:focus-visible {
 outline: 3px solid #ffffff;
 outline-offset: 3px;
}