﻿.info-points {
    font-weight: bold;
}

.article-header {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    margin-bottom: 1rem;
    row-gap: 1rem;
}

.article-header.expanded-filter{
    flex-direction: column;
}

.button-area, .tools-area {
    width: 100%;
}

/*.expanded-filter .button-area{
    margin-bottom: 1rem;
}*/

.tools-area {
    text-align: right;
    /* border: 1px solid red; */
}

.expanded-filter .tools-area{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.category-filter{
    text-align: left;
}

.category-filter-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-default);
}

.category-filter .items {
    display: flex;
    align-items: center;
    column-gap: .35rem;
    row-gap: .35rem;
    padding: 0;
    padding-top: .5rem;
    flex-wrap: wrap;
    height: auto;
}

.filter-item {
    background-color: #ddd;
    text-align: center;
    border-radius: 25px;
    border: 1px solid #aaa;
    padding: .1rem .75rem;
    list-style: none;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    height: 24px;
    white-space: nowrap;
}

.filter-item:hover{
    background-color: #ccc;
    text-decoration: underline;
}

    .filter-item.active {
        background-color: var(--highlight);
        border-color: var(--highlight);
        color: #fff;
    }

.filter-box {
    border: 1px solid #ced4da;
    background-color: var(--background-lighter);
    height: 42px;
    width: 100%;
    max-width: 400px;
    padding: 0 .5rem;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

    .filter-box input {
        border: none;
        padding: 0 1rem 0 1rem;
        box-shadow: none;
        outline: 0;
    }

#filter-input {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px){
    .article-header {
        flex-direction: column;
    }
}