html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.field-validation-error {
    display: block;
}
.list-group {
    max-height: 90vh;
    overflow-y: auto;
}

.suggestions-dropdown {
    position: absolute;
    z-index: 1000;
    width: calc(100% - 1.5rem); /* Adjust based on form padding/margin */
    max-height: 200px;
    overflow-y: auto;
    border-top: 0;
    left: 0.75rem; /* Adjust to align with input */
    right: 0.75rem; /* Adjust to align with input */
}

.suggestions-dropdown-item:hover {
    cursor: pointer;
    background-color: #f8f9fa;
}
.search-container {
    position: relative;
    /* Optional: Add a width to the container if needed */
    width: 100%;
}
.facets-widget-footer {
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #dee2e6;
}

.facets-scroll-box {
    max-height: 650px;
    overflow-y: auto;
    position: relative;
    transition: max-height 0.3s ease-in-out;
}

.facets-scroll-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px; /* Height of the fade effect */
    background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
    pointer-events: none; /* Allows clicks to go through to links */
}

.facets-scroll-box.expanded {
    max-height: none;
    overflow-y: visible;
}

.facets-scroll-box.expanded::after {
    content: none;
}
.exploreLink {
    cursor: pointer;
    font-size: .75em;
    text-decoration: none;
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}
.cacheLink {
    font-size: .75em;
    text-decoration: none;
}