.filterBar {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid var(--border-color);
    /* border-top: 1px solid var(--border-color); */

    @media screen and (max-width: 800px) {
        flex-direction: column;
    }
}

.tagFilter {
	display: block;
	text-align: center;
	text-align-last: center;
	margin: 16px;
}

.searchBar {
    position: relative;
    max-width: 10em;
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 0 !important;

    @media screen and (max-width: 800px) {
        max-width: 100%;
        width: 100%;
    }

    & input {
        font-size: 70%;
        padding-left: 30px;
    }

    & .search {
        --size: 20px;
        position: absolute;
        top: 14px;
        bottom: 0;
        left: 6px;

        mask-image: url("/media/icons/search.svg");
        background-color: var(--text-color-light);
    }

    & .cancel {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 14px;
        bottom: 0;
        right: 6px;
        margin: 0;

        mask-image: url("/media/icons/x.svg");
        mask-size: 20px 20px;
        mask-position: center center;
        mask-repeat: no-repeat;
        background-color: var(--text-color-light);
    }

    & .cancel:hover {
        background-color: var(--text-color);
    }
}

.searchBar-simple {
    position: relative;
    max-width: 10em;
    flex-shrink: 0;
    margin-top: auto;
    

    @media screen and (max-width: 800px) {
        max-width: 100%;
        width: 100%;
    }

    & input {
        background: none;
        font-size: 70%;
        padding-left: 30px;
        border: none;
        /* border-bottom: 1px solid var(--border-color); */
    }

    & .search {
        --size: 20px;
        position: absolute;
        top: 14px;
        bottom: 0;
        left: 6px;
        mask-image: url("/media/icons/search.svg");
        background-color: var(--text-color-light);
    }

    & .cancel {
        width: 20px;
        height: 20px;
        position: absolute;
        top: 14px;
        bottom: 0;
        right: 0px;
        margin: 0;

        mask-image: url("/media/icons/x.svg");
        mask-size: 20px 20px;
        mask-position: center center;
        mask-repeat: no-repeat;
        background-color: var(--text-color-light);
    }

    & .cancel:hover {
        background-color: var(--text-color);
    }
}

/*
.filter-bar>div>* {
    font-size: 80%;
    vertical-align: middle;
}

.filter-bar>div {
    position: relative;
}

.filter-bar label {
    margin-right: 8px;
    margin-bottom: 8px;
}

.filter-bar select {
    margin-right: -1px;
}

.filter-bar option {
    font-size: 100%;
}

.filter-bar input[type="text"] {
    position: relative;
    padding-left: 36px;
}

#searchBarContainer {
    position: relative;
    flex-grow: 10;
    width: auto;
    height: 100%;
    border-collapse: collapse;

    & .search {
        --size: 24px;   
        position: absolute;
        top: 13px;
        bottom: 0;
        left: 8px;

        mask-image: url("/media/icons/search.svg");
    }
}

#tagFilterContainer {
    flex-grow: 40;
    width: auto;
}

.icon {
}

.cancel {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 13px;
    bottom: 0;
    right: 8px;
    margin: 0;

    mask-image: url("/media/icons/x.svg");
    mask-size: 24px 24px;
    mask-position: center center;
    mask-repeat: no-repeat;
    background-color: var(--text-color-light);
}

.cancel:hover {
    background-color: var(--text-color);
}

.searchBar {
    max-width: 300px;
    margin-left: calc(100% - 300px);
    margin-right: 0;
    font-size: 70%;
    height: min-content;
}

.filterBar {
    display: flex;
    flex-direction: row;
}
    */