﻿.flexdatalist-results li.category,
.flexdatalist-results li.group {
    padding: 6px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flexdatalist-results li.category {
    color: #fff;
    background-color: #333;
}

    .flexdatalist-results li.category .group-item-count,
    .flexdatalist-results li.group .group-item-count {
        border-radius: 50% !important;
        padding: .2rem .4rem !important;
        color: #fff !important;
        background-color: #0d6efd !important;
        min-width: 22px;
        text-align: center;
    }

.flexdatalist-results li.subcategory {
    padding-left: 20px;
}

.flexdatalist-results li {
    font-size: .75rem;
    font-weight: 500;
    line-height: 1;
}

    .flexdatalist-results li:not(.active, .group):hover:not(.active, .group) {
        background-color: #f8f9fa;
        cursor: pointer;
    }

.flexdatalist.form-control-sm[multiple] ~ ul.flexdatalist-multiple {
    padding: 0.15rem 0.3rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem !important;
}

    .flexdatalist.form-control-sm[multiple] ~ ul.flexdatalist-multiple li.value,
    .flexdatalist.form-control-sm[multiple] ~ ul.flexdatalist-multiple li.input-container.flexdatalist-multiple-value {
        line-height: 1.5;
        margin: 1px 3px;
    }

        .flexdatalist.form-control-sm[multiple] ~ ul.flexdatalist-multiple li.value .fdl-remove {
            line-height: .7;
        }

        .flexdatalist.form-control-sm[multiple] ~ ul.flexdatalist-multiple li.input-container.flexdatalist-multiple-value input {
            line-height: 1.5;
        }
