.archive-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 20px;
    margin-bottom: 1em;
}

.facet-container {
    padding-top: 0.5em;
    padding-bottom: 1em;
    font-size: 23px;
    margin-bottom: 1em;
}

.type-filter {
    float: right;
    font-size: 23px;
    padding-right: 15px;
}

.text-tile {
    width: 265px;
    background-color: #d45135;
    color: white;
    flex-shrink: 0;
    padding: 20px 10px;
    line-height: 120%;
}

.text-tile div:not(:last-child) {
    margin-bottom: 10px;
}

.text-tile .tile-category {
    font-family: Antwerp, Georgia, serif;
    font-size: 27px;
    font-style: italic;
    position: relative;
    padding-bottom: 10px;
    line-height: 120%;
    display: flex;
    justify-content: space-between;
}

.add-group-to-collection-tile {
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
}

.text-tile .tile-language {
    font-size: 1em;
}

.text-tile .tile-title {
    font-size: 1.2em;
}

.text-tile .tile-title a {
    color: white;
}

.text-tile .tile-title a:hover {
    color: white;
    text-decoration: underline;
}

.text-tile .tile-holder {
    font-size: 1em;
}

/* Choice styles override */
.choices .choices__inner .choices__list--multiple .choices__item {
    font-size: inherit;
    font-weight: 600;
    background-color: #f1eee9;
    border: none;
    color: inherit;
    padding: 2px 10px;
}

.choices
.choices__inner
.choices__list--multiple
.choices__item[data-deletable] {
    padding-right: 1em;
}

.choices[data-type*="select-multiple"] .choices__button,
.choices[data-type*="text"] .choices__button {
    min-width: initial;
    height: initial;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    padding: initial;
    color: inherit;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
    filter: invert(1);
    border-left: none;
}

@media (min-width: 640px) {
    .choices__list--dropdown .choices__item--selectable,
    .choices__list[aria-expanded] .choices__item--selectable {
        padding-right: 20px;
    }
}

/* Dual slider styles override */
.rs-container {
    font-family: inherit;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.rs-container .rs-bg,
.rs-container .rs-selected {
    border: none;
    height: 2px;
    top: 0.7em;
}

.rs-container .rs-bg {
    background-color: rgba(0, 0, 0, 0.2);
}

.rs-container .rs-selected {
    background-color: #e64626;
}

.rs-container .rs-scale span ins {
    display: none;
}

.rs-container .rs-scale span::before {
    background-color: transparent;
}

.rs-container .rs-pointer {
    background-color: #e64626;
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    box-shadow: none;
    top: 0.4em;
}

.rs-container .rs-pointer:before,
.rs-container .rs-pointer:after {
    content: none;
}

.rs-container .rs-pointer .rs-tooltip {
    color: inherit;
    min-width: 0;
    height: auto;
    padding: 0;
    font-size: 80%;
    background: transparent;
    border: none;
    transform: translate(-50%, -1.7em);
    left: 0.5em;
}

/* Network graph */
#network-container {
    width: 100%;
    height: 700px;
    border: 2px solid black;
    background-color: white;
    position: relative;
}

#network-tooltip {
    position: absolute;
    background-color: #fff;
    max-width: 200px;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    pointer-events: none;
    z-index: 1000;
    display: none;
}

#network-tooltip p {
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 15px;
}

#network-controls {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 100;
}

#legendDiv {
    position: absolute;
    /* max-width: 20%;
    max-height: 25%; */
    padding: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 100;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    background-color: white;
}

button:disabled {
    background-color: #dee2e6 !important;
}

.network-button {
    display: block;
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    cursor: pointer;
}

@media (max-width: 930px) {
    .view-controll {
        display: block !important;
        text-align: center;
    }

    .type-filter {
        float: none !important;
        padding-right: 0 !important;
        justify-content: center;
        flex-wrap: wrap;
    }

    .type-filter .radio {
        flex: 1 0 100%;
        text-align: left;
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    #pagination {
        justify-content: left !important;
    }

    #pagination-numbers .page-item:not(.active) {
        display: none;
    }
}

.tag-item {
    display: inline-block;
    background-color: #68C6B6 ;
    border: 1px solid #68C6B6  ;
    padding: 5px;
    margin: 3px;
    border-radius: 3px;
}

.remove-tag {
    margin-left: 10px;
    cursor: pointer;
}

.rename-tag{
    cursor: pointer;
}

.filter-tag {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 3px;
    cursor: pointer;
    background-color: #F1F1F1 ;
}

.filter-tag.tag-selected {
    border: 1px solid #68C6B6 ;
    background-color: #68C6B6 ;
}

.choices-select{
    display: none;
}

.choices-container{
    display: inline-block;
    width: 100%;
    padding: 0;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 2.5px;
    min-height: 44px;
}