#top form.novopeak-live-search {
    position: relative;
}

/* Fit the full guest search between the legacy fixed menu and guest actions. */
@media only screen and (min-width: 1440px) and (max-width: 1679px) {
    .responsive #top #wrap_all #header_main .main_menu > #searchform.novopeak-live-search {
        display: block;
    }

    .responsive #top:not(.logged-in) #wrap_all #header_main .main_menu > #searchform.novopeak-live-search {
        width: min(500px, calc(100vw - 1200px));
    }

    .responsive #top #wrap_all #header_main nav ul#avia-menu.menu > li#menu-item-search {
        display: none;
    }
}

#top form.novopeak-live-search .searchwp-live-search-results {
    background: #fff;
    border: 1px solid #d5d5d5;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
    left: 0;
    max-height: 32rem;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    width: 100%;
    z-index: 10010;
}

#top form.novopeak-live-search .searchwp-live-search-results[hidden] {
    display: none;
}

#top form.novopeak-live-search .av_ajax_search_entry {
    border-bottom: 1px dashed #9d9c9c;
    display: block;
    padding: 14px 18px;
    text-decoration: none;
}

#top form.novopeak-live-search .av_ajax_search_content,
#top form.novopeak-live-search .av_ajax_search_title,
#top form.novopeak-live-search .ajax_search_excerpt {
    display: block;
}

#top form.novopeak-live-search .av_ajax_search_title {
    color: #000;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
}

#top form.novopeak-live-search .ajax_search_excerpt {
    color: #9d9c9c;
    font-size: 15px;
    font-style: italic;
    line-height: 1.35;
    margin-top: 5px;
}

#top form.novopeak-live-search .av_ajax_search_entry_view_all {
    color: #006a9d;
    font-weight: 700;
    text-align: center;
}

@media only screen and (max-width: 767px) {
    #top form.novopeak-live-search .searchwp-live-search-results {
        max-height: 60vh;
    }
}
