/* For smaller, one-off styling needs that don't fit elsewhere */

.overflow-hidden {
    overflow: hidden;
}

@media screen and (min-width: 992px) {
    .overflow-lg-visible {
        overflow: visible;
    }   
}

*:not(.acf-input) input[type="submit"],
*:not(.acf-input) input[type="text"],
*:not(.acf-input) input[type="email"],
*:not(.acf-input) input[type="search"] {
    border: none;
    border-radius: 0;
    padding: 0;
    background-color: transparent;
    -webkit-appearance: none;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-95 {
    opacity: 0.95;
}

.transition-all {
    transition: all 0.5s ease;
}

/* Swiper Styling */
.pagination.navigation {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: var(--one-spacer);
    height: fit-content;
    height: -ms-fit-content;
}

.pagination.navigation * {
    position: relative !important;
    display: inline-flex !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
}

.pagination.navigation *::before,
.pagination.navigation *::after {
    display: none;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--wp--preset--color--jfi-blue) !important;
}

@media screen and (max-width: 991px) {
    .swiper-wrapper {
        order: 1;
    }
    .pagination.navigation {
        position: relative;
        left: 0;
        margin-left: 0;
        order: 0;
    }
}

.object-fit-cover {
    object-fit: cover;
}

#footnote-popup {
    position: absolute;
    opacity: 1;
    pointer-events: none;
    /* left: calc(800px + var(--two-spacer)); */
}

.search-container input[type="search"] {
    border-top: 5px solid transparent;
    transition: border 0.2s ease;
}

.search-container input[type="search"]:focus {
    border-top: 5px solid var(--wp--preset--color--jfi-blue);
}

.search-container button {
    border-top: 5px solid transparent;
}

.cursor-pointer {
    cursor: pointer;
}

/* Google Sheets embed styling from Hugo site */
iframe.google-doc,
iframe.gdoc-table {
    overflow: scroll;
    width: 100%;
    max-width: 100%;
    height: 80vh;
    border: solid 1px;
}

/* Hiding scrollbar on MS Edge */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.stick-to-top {
    position: sticky !important;
    top: var(--two-spacer) !important;
    align-self: flex-start !important;
}

html:has(body.home) {
    scroll-behavior: smooth;
}

.minimal-spacing > *:not(:first-child) {
    margin-top: var(--half-spacer) !important;
}