/**
 * weblog post filter
 */
#postListFilter {
    margin-bottom: -5rem; /** .article reset */
    position: relative;
    padding: 0 0 1rem;
}

#postListFilter div.fieldinput {
    margin-left: 0;
}

#postListFilterSection {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    #postListFilter {
        margin-bottom: 0;
    }

    #postListFilterSection {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 1rem;
        margin-bottom: 0;
        padding: 1em 0;
    }

    #postListFilterSection > div.field {
        vertical-align: top;
        padding-bottom: 1em;
    }

    #postListFilterSection > div.field.search .w-medium {
        width: 100%;
    }
}

#postListFilterSection > div.field > label {
    display: block;
    float: none;
    width: 100%;
    font-size: .8em;
        font-weight: normal;
    line-height: 1;
}

#postListFilterSection select {
    width: 100%;
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    min-height: 2.75em;
}

#postListFilterSection .fe-checkboxgroup {
    margin-top: 0;
}

#postListFilterSection .fe-checkboxgroup li {
    display: contents;
}

#postListFilterSection .proFormCheckbox {
    position: absolute;
    left: -999em;
}

#postListFilterSection .fe-checkboxgroup label {
    position: relative;
    margin: .3rem 0 0 0;
    padding: 0.6rem 1rem .6rem 2em;
    border-radius: 1.5em;
    line-height: 1;
    font-size: .8rem;
    white-space: nowrap;
    color: #000;
    background: #fff;
    box-shadow: 0 0 40px 0 transparent;
    -webkit-transition: box-shadow .3s cubic-bezier(.25,.46,.45,.94);
    transition: box-shadow .3s cubic-bezier(.25,.46,.45,.94);
    border: 1px solid #b7b7b7;
}

@media screen and (min-width: 1400px) {
    #postListFilterSection .fe-checkboxgroup label {
        padding-top: .4rem;
        padding-bottom: .4rem;
    }
}

#postListFilterSection .fe-checkboxgroup label::after {
    border-radius: 100%;
    position: absolute;
    left: .3em;
    top: 50%;
    transform: translateY(-50%);
    height: 1.3em;
    width: 1.3em;
}

#postListFilterSection .fe-checkboxgroup label::before {
    display: none;
}

#postListFilterSection .fe-checkboxgroup label:hover {
    border-color: var(--primaryColor);
    color: var(--primaryColor);
}

#postListFilter div.submit {
    text-align: center;
}
