/* The suggestion list of a quick search field (search-suggest.js): appended to <body>, placed
   under its field by the script, which also keeps it inside the window (no scrollbar: it shows
   fewer terms where there is little room). Above the filter panel of a phone (offcanvas, 1045) and the nav. */
.search-suggest {
    position: fixed;
    z-index: 1080;
    margin: 0;
    padding: .25rem 0;
    list-style: none;
    text-align: left;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    box-shadow: var(--bs-box-shadow);
}

.search-suggest [role="option"] {
    padding: .4rem .75rem;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The option under the mouse or chosen with the arrow keys: tinted and marked by a bar at its left edge. */
.search-suggest [role="option"]:hover,
.search-suggest [role="option"][aria-selected="true"] {
    background: rgba(var(--brand-primary-rgb), .12);
    box-shadow: inset 3px 0 0 var(--brand-primary);
}
