.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background: white;
    margin: 3% auto;
    padding: 15px;
    border-radius: 6px;
    width: 90%;
    max-width: 1100px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    .close {
        align-self: flex-end;
        margin-bottom: 8px;
        color: white;
        border-color: transparent;
    }
}

.has-preservica-library {
    .preservica-result__wrapper {
        padding-top: 32px;
    }
    .l-intro-contact {
        background-color: white;
    }
    .l-date_author, .l-share-mail-print {
        display: none;
    }
    .l-search__filters {
        margin-top: 52px;
    }
    .sort-select-wrapper {
        display: flex;
        justify-content: end;
        margin-bottom: 16px;
        label {
            display: flex;
            align-self: center;
            margin-right: 8px;
            font-family: "Open Sans", sans-serif;
        }
        select {
            border-color: transparent;
            padding: 8px 12px;
            border-radius: 0;
        }
    }
    .l-search__filters-labelwrapper {
        margin-bottom: 16px;
    }
    #pagination-controls {
        display: flex;
        justify-content: space-between;
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: solid 1px #84C4E0;
        padding-top: 12px;
        button {
            color: #3D7D99;
            background-color: transparent;
            border-color: transparent;
            font-weight: 600;
        }
        .secondary {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            &:hover,
            &:focus,
            &:active {
                text-decoration: underline;
            }
        }
    }
    button,
    article,
    select {
        &:hover {
            cursor: pointer;
        }
    }
    #sort-select {
        color: #3D7D99;
        font-weight: 600;
    }
    .no-results {
        font-family: "Open Sans", sans-serif;
    }
}
.ais-hits__item--folder,
.ais-hits__item--document {
    span {
        display: flex;
        align-items: center;
        gap: 4px;
    }
}

.ais-hits__item--document {
    span {
        color: #00652E;
    }
}
.ais-hits__item--folder{
    span {
        color: #C73528;
    }
}
body.modal-open {
    overflow: hidden;
}
