/* Copyright 2020-2025 Information Management Services, Inc. */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FACET COLUMN ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* ~~~~~ SEARCH NAV TABS ~~~~~ */
.nav-tabs .dropdown-menu.show {
    /* Dropdown relative positioning wraps tabs to next row, this will stop that */
    position: absolute;
}

.select2-container {
    width: 100% !important;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RESULTS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* HEADER */

.page-link {
    cursor: pointer;
}

.results-header,
.pgsearch-results-table-head {
    position: sticky;
    top: 0;
    background-color: #fdfdfd;
    border-bottom-width: 0.1em;
}
.results-header {
    z-index: 1;
    border-bottom-width: 0.2em;
}

.scroller {
    scrollbar-width: none;
}

.saved-search-modal {
    display: none;
}

.cart {
    margin-bottom: 10px;
    border-radius: 5px;
    border: 3px solid #994;
    background-color: #eea;
    padding: 5px 10px;
    z-index: 999 !important;
}

.search-facet-label {
    color: #214554;
}

/* ~~~ BUTTONS ~~~ */

button.search-facet-control {
    border: none;
    background-color: inherit;
    padding: 0;
}

button.search-facet-control .facet-label-icon:before {
    content: "\f056";
}

button.search-facet-control.collapsed .facet-label-icon:before {
    content: "\f055";
}

button.search-facet-control span.facet-label-num-selected {
    color: #999;
}

button.search-facet-control:not(.collapsed) span.facet-label-num-selected {
    display: none;
}

label.search-facet-label {
    margin: 0;
    cursor: inherit;
}

em.highlighted {
    background-color: #ffa;
}

/* ~~~ FACETS ~~~ */

.search-facet .bioshare-form-group {
    margin: 0 !important;
    margin-top: 5px !important;
}

.pgsearch-dropdown-item > input,
.pgsearch-dropdown-item > label {
    cursor: pointer;
}

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