#search {
    width: 45%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
/* SEARCH BAR */
#search-bar-group {

    box-sizing: border-box;
    height: 2.125rem;
    width: 100%;

    /* padding: 0.5rem 0.75rem; */
}
#search-bar {
    display: block;
    z-index: 201;

    box-sizing: border-box;
    height: 100%;

    padding: 0.5rem 0.75rem;
    
    border: 1px solid var(--light-grey);
    /* border-radius: 12px;  */

    /* background-color: var(--light-light-grey);
    background-image: url(/images/Icon=Search.svg);
    background-position: calc(100% - 0.75rem) center;
    background-repeat: no-repeat; */
}
#search-bar:hover {
    cursor: pointer;
    border-color: var(--alt-light-highlight-blue);
}
#search-bar:focus {
    border-color: var(--alt-light-highlight-blue);
    box-shadow: 0px 0px 0px 2px rgba(98, 158, 255, 0.2) !important;
    outline: none;
}
#search-bar-group > button {
    height: 100%;
    background-color: white;
    color: black;

    border: 1px solid var(--light-grey);

}

#search-bar-group > .dropdown-menu .switch-label {
    flex-basis: 60%;
}
/* SEARCH BAR */

/* SEARCH RESULTS CONTAINER */

#search-results-container {
    overflow: hidden;

    border-radius: 8px;

    margin: 0.375rem 0.375rem 0 0.375rem;

    box-sizing: border-box;
    height: auto;
    width: 100%;
    
    z-index: 199;
}

#search-results {
    display: none;

    box-sizing: border-box;
    height: auto;
    max-height: calc(50vh);
    width: 100%;

    overflow-y: scroll;

    border: 1px solid var(--light-grey);
    border-radius: 8px;

    background-color: white;
    
    color: var(--alt-blue);
}

.search-result-section {
    display: block;
    padding: 0.375rem 0 0 0;
}
.search-result-section .section-header {
    display: block;

    font-size: 1rem;
    font-weight: 750;
    text-decoration: underline;

    padding: 0 0.375rem;
}
.search-result-section .section-footer {
    display: block;

    font-size: 0.75rem;
    text-align: right;

    padding: 0 0.375rem;
}
.search-result-section .section-footer span:hover {
    cursor: pointer;
    color: var(--light-highlight-blue);
}
.search-result-section:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.search-result-section:last-child {
    padding-bottom: 0;
    border-bottom-left-radius: 8px;
}
.search-result-section:last-child .search-result:last-child {
    border-bottom-left-radius: 8px;
}

.search-result {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    box-sizing: border-box;
    width: 100%;

    padding: 0.375rem 0.625rem;
    
    transition: box-shadow 0.2s ease;
}
.search-result:hover {
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}
.search-result .text-items {
    flex-basis: 90%;
    max-width: 90%;
}
.search-result .text-items:hover {
    cursor: pointer;
}
.search-result .text-items .header1 {
    display: block;

    font-size: 0.875rem;
    font-weight: 700;
}
.search-result .text-items .header2 {
    display: block;
    overflow: hidden;

    width: fit-content;
    max-width: 100%;

    font-size: 0.75rem;
    text-overflow: ellipsis;
    white-space: nowrap;

    margin: 0;
}
.search-result .details-button {
    flex-basis: 10%;

    display: flex;
    justify-content: center;
    align-items: center;
}
.search-result .details-button img {
    width: 1.25rem;
    height: 1.25rem;
}
.search-result .details-button img:hover {
    cursor: pointer;
    filter: var(--highlight-blue-filter);
}
.search-result.first-color {
    background-color: white;
}
.search-result.second-color {
    background-color: var(--off-white);
}

/* SEARCH RESULTS CONTAINER */