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

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SEARCH/SEEKER PAGES (FACET COLUMN) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* ~~~~~ SEARCH NAV TABS ~~~~~ */
.nav-tabs .dropdown-menu.show {
    /* Dropdown relative positioning wraps tabs to next row, this will stop that */
    position: absolute;
}
#display-sortable {
    overflow: auto;
}
.form-check .handle {
    color: #8d8d8d;
}
.form-check .handle-wrapper {
    float: right;
}

/* ~~~~~ SEARCH GROUP ~~~~~ */
.seeker-range {
    margin-bottom: 3px;
}
.seeker-text {
    margin-bottom: 20px;
}

/* ~~~~~ SEARCH LABELS ~~~~~ */
#facet-column label {
    font-weight: bold;
}
.facets .facet a[role="button"] label {
    cursor: pointer;
}

/* ~~~~~ SEARCH INPUTS ~~~~~ */
.select2-container {
    width: 100% !important;
}

/* ~~~~~ SEARCH BUTTONS ~~~~~ */
.select2-buttons,
.range-buttons,
.text-facet-buttons {
    margin-top: 5px;
}
.range-input {
    width: auto;
    display: inline-block;
}
#add-additional-facets {
    margin-top: 15px;
}

/* ~~~~~ SEARCH ERRORS ~~~~~ */
.bioshare-form-group ul.errorlist {
    list-style-type: none;
    margin: 5px 0 0 !important;
    padding: 0;
}
.bioshare-form-group ul.errorlist li {
    color: #dc3545;
}

/* ~~~~~ Summary text for closed facet options ~~~~~ */
.num-facet-values-selected {
    margin: -10px 0 10px 15px;
}

/* ~~~~~ if facet is hidden by default on pageload ~~~~~ */
.unselected-facet {
    display: none;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SEARCH/SEEKER PAGES (RESULTS) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* ~~~~~  KEYWORD SEARCH HIGHLIGHTING ~~~~~ */
.table-seeker em,
.table-site-search em,
em.highlight {
    display: inline-block;
    padding: 0px 3px;
    background-color: #ffa;
    border: 1px solid #eee;
    border-radius: 2px;
    color: black;
}

/* ~~~~~ RESULTS LEGEND ~~~~~ */
.legend {
    color: #666;
    margin-right: 10px;
}

/* ~~~~~ RESULTS COUNT HEADER ~~~~~ */
#results-count-header,
.results-count-header {
    display: flex;
}
#saved-search-header,
.saved-search-header {
    display: none;
}
#results-count-header.js-is-sticky,
.results-count-header.js-is-sticky {
    background-color: white;
}

/* ~~~~~ RESULTS SAVED HEADER ~~~~~ */

/* ~~~~~ RESULTS CART HEADER ~~~~~ */
#cart-header {
    /* put cart header inline with the "reaturn to search" button */
    display: inline-block;
}
.smBtn {
    width: auto;
    float: right;
}
.blue-icon span.fa {
    background-color: #26557e;
    color: #fff;
    padding: 0.75em;
    margin-right: 10px;
}
a.btn.blue-icon {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    width: auto;
}

/* ~~~~~ RESULTS TABLE ~~~~~ */
.table-seeker th {
    white-space: nowrap;
}

/* ~~~~~ RESULTS PAGER ~~~~~ */
.page-size-selector {
    display: inline-block;
    vertical-align: top;
    margin: 7px;
}
.pager {
    display: inline-block;
}
