.location-search {
    position: absolute;
    top: .5em;
    width: 20em;
    left: calc(50% - 10em);
    margin: 0 auto;
    z-index: 100;
}

@media (max-width: 35em) {
    .location-search {
        width: 12em;
        left: calc(50% - 6em);
    }
}

.location-search .search-result {
    max-height: 50vh;
    overflow-y: auto;
    background-color: white;
}

.location-search .search-result ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.location-search .search-result ul li {
    border-bottom: 1px solid #ccc;
    cursor: pointer;
    padding: 0 1em;
}

.location-search .search-result ul li:hover {
    background-color: #ccc;
}