/* TODO: This should NOT be called .dropdown;  */
.dropdown {
    background: #fff;
    box-shadow: 0 5px 10px rgba(100, 100, 100, .3);
    border-radius: 3px;
    margin-top: 2px !important;
    overflow: hidden;
    border: 1px solid rgb(155, 168, 177);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    margin-bottom: 10px;
}

.dropdown-section:not(:last-of-type) {
    border-bottom: 1px solid #eee;
}

.dropdown-heading, .autocomplete-result-image {
    font-size: 1em;
    margin: 0;
    line-height: inherit;
    vertical-align: top;
}

.dropdown-heading {
    flex: 1;
}

.dropdown-link {
    display: block;
}

.dropdown-link-ad {
    display: flex;
    align-items: center;
}

.dropdown-result-list, .autocomplete-result-text {
    margin: 0;
}

.dropdown-link:focus,
.dropdown-link:hover,
.dropdown-link:active {
    text-decoration: none;
}

.dropdown-item:hover {
    background-color: #F2FAFF;
}

.dropdown-container {
    position: relative;
}

@media (max-width: 1024px) {
    .dropdown-heading,
    .dropdown-link {
        padding: 4px 0;
    }
}

@media (min-width: 386px) {
    .dropdown-result-list {
        flex: 3;
        min-width: 0;
    }

    .dropdown-section {
        display: flex;
        justify-content: space-between;
    }
}
