
.cbp-sidebar, .filters {
    h1 { font-size: $font-size-h2 !important; }
    h2 { font-size: $font-size-h3 !important; }
    h3 { font-size: $font-size-h4 !important; }
    h4 { font-size: $font-size-h5 !important; }
    h5 { font-size: $font-size-h6 !important; }
    h6 { font-size: $font-size-base !important; }
}

.filters-horizontal {
    padding: 8px;
    h4 {
        margin: 0;
        vertical-align: middle;
    }
    ul > li {
        float: left;
        clear: both;
        margin-left: 10px;
        margin-right: 10px;
    }
}

.filter-value {
    padding: 2px 8px;
    border-radius: $border-radius-base;
    background-color: #eee;
    border: none;
    margin: 0 5px 5px 0;
    display: inline-block;

    &:hover, &:focus {
        background: #ddd;
        cursor: pointer;
        i {
            opacity: 1;
        }
    }

    i {
        margin-left: 5px;
    }
}


.filters .filter-group-title {
    color: $gray;
    font-size: $font-size-base - 1;
    //text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 5px;

    padding: 10px 5px;
    font-weight: 600;
    cursor: pointer;
    border-top: 1px solid #f4f4f4;

    &:hover {
        color: #000;
        .icon-angle-right {
            opacity: 1;
        }
    }

    .icon {
        position: relative;
        top: 0px;
        margin-left: 8px;
        opacity: .5;
    }

    &[aria-expanded="false"] .icon-angle-right::after {
        transition: transform .2s;
        transform: rotate(0deg);
    }
    &[aria-expanded="true"] .icon-angle-right::after {
        transition: transform .2s;
        transform: rotate(90deg);
    }
}

.filters .filter-group-content {
    padding: 2px 14px 0px 24px;
    @include clearfix;
}

.filters .filter-heading {
    padding-left: 6px ;
    //margin-top: 9px;
}

.filters-horizontal .filter-heading {
    display: inline;
}

.filters .filters-clear {
    font-size: $font-size-base;
    font-weight: normal;
    float: right;
    line-height: 40px;
    padding-right: 5px;
}

.filters .filter-color {
    height: 20px;
    width: 20px;
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
    border-radius: 1px;
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1);
    &.active {
        box-shadow: 0 0 0 2px #66afe9;
    }
    &:hover {
        box-shadow: 0 0 0 2px #ddd;
        cursor: pointer;
    }
}

.filter-criteria {
    padding: 8px;
    // border-bottom: 1px solid #ddd;

    .filter-applied-list {
        list-style: none;
        display: inline-block;
        padding: 0;
        margin: 0;
        vertical-align: top;
        > li {
            display: inline-block;
            margin: 0;
            padding: 0;
            color: $brand-primary;
            float: left;

            &:after {
                display: inline-block;
                content: ",";
                margin-right: 6px;
                color: $gray-light;
                text-align: left;
            }

            &:last-child:after {
                display: none;
            }
        }
    }
}


.filters .form-group {
    // padding: 0 14px;
}

.filters .form-group .checkbox:first-child {
    margin-top: 0;
}

.filters label {
    font-weight: 400;
}

.filters {
    // font-size: 12px;
}
