#heroLocationSuggestions {
    display: none;
    max-width: 790px;
    margin: 8px auto 0 auto;
    background: #fff;
    color: #222;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    overflow: hidden;
    text-align: left;
    position: relative;
    z-index: 99;
}

#heroLocationSuggestions a {
    display: block;
    padding: 13px 18px;
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

#heroLocationSuggestions a:hover {
    background: #f3f7ff;
}

#heroLocationSuggestions span {
    float: right;
    color: #0d6efd;
    font-weight: bold;
}


/* Show all matching server locations in a scrollable dropdown */
.centerserv-location-results,
#centerservLocationResults,
.location-results,
.autocomplete-results {
    max-height: 70vh;
    overflow-y: auto;
}


/* Scrollable full location autocomplete */
.centerserv-location-results,
#centerservLocationResults,
.location-results,
.autocomplete-results,
[class*="location-results"],
[id*="locationResults"] {
    max-height: 360px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Limit autocomplete dropdown to about 5 visible locations with right-side scroll */
.centerserv-location-results,
#centerservLocationResults,
.location-results,
.autocomplete-results,
[class*="location-results"],
[id*="locationResults"] {
    max-height: 220px !important;
    overflow-y: scroll !important;
    overscroll-behavior: contain;
}

/* Limit autocomplete dropdown to about 5 visible locations with right-side scroll */
.centerserv-location-results,
#centerservLocationResults,
.location-results,
.autocomplete-results,
[class*="location-results"],
[id*="locationResults"] {
    max-height: 220px !important;
    overflow-y: scroll !important;
    overscroll-behavior: contain;
}

/* Real homepage autocomplete dropdown: show about 5 rows, then scroll */
#heroLocationSuggestions {
    max-height: 220px !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
}
