.container-filters {
    width: 100%;
    margin: 10px auto;
}

ac-sub .custom-control {
    padding-left: 28px !important;
    margin-bottom: 5px;
}

.custom-checkbox .custom-control-label::before {
    border-radius: 0px;
    border-color: #828282;
    background-color: white;
}


/* main level */

.ac {
    border-bottom: 1px solid #d1d1d1;
}

.ac-label {
    font-weight: 700;
    position: relative;
    padding: .5em 1em .5em 0px;
    margin-bottom: .5em;
    display: block;
    cursor: pointer;
    background-color: transparent;
    transition: background-color .15s ease-in-out;
}

.ac-label-category {
    margin-top: 15px;
    margin-bottom: 0px;
    font-family: Montserrat-Medium;
    font-size: 16px;
    font-weight: 700;
}

.ac-label-category-search {
    width: 100%;
}

.ac-label-category-search-key {
    font-size: 13px;
    font-weight: 800;
}

.ac-label-category i {
    float: right;
    text-align: right;
    font-size: 22px;
    font-weight: 600;
    color: #a8a8a8;
}

.ac-input:checked+label,
.ac-label:hover {
    background-color: transparent;
}

.ac-label-category:after,
.ac-input:checked+.ac-label-category:after {
    font: normal normal normal 22px/1 FontAwesome;
    /*content: "\f104";*/
    content: "\f107";
    color: #000;
    font-weight: 600;
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    width: 2em;
    height: 100%;
    line-height: 1.99em;
    text-align: right;
    background-color: transparent;
    transition: background-color .15s ease-in-out;
}

@media (max-width: 600px) and (min-width: 100px) {
    .ac-label-category:after,
    .ac-input:checked+.ac-label-category:after {
        color: #c4c4c4;
    }
}

.ac-label:hover:after,
.ac-input:checked+.ac-label:after {
    background-color: transparent;
}

.ac-input:checked+.ac-label-category:after {
    font: normal normal normal 22px/1 FontAwesome;
    content: "\f107";
    color: #000;
    line-height: 1.99em;
    height: 100%;
    font-weight: 600;
}

@media (max-width: 600px) and (min-width: 100px) {
    .ac-input:checked+.ac-label-category:after {
        color: #c4c4c4;
    }
}

.ac-input {
    display: none;
}


/* the magic */

.ac-text,
.ac-sub-text {
    opacity: 0;
    height: 0;
    margin-bottom: 15px;
    transition: opacity .5s ease-in-out;
    overflow: hidden;
}

.ac-input:checked~.ac-text,
.ac-sub .ac-input:checked~.ac-sub-text {
    opacity: 1;
    /*height: auto;*/
    height: 145px;
    overflow-y: auto;
}

.ac-text .ac-sub {
    padding-bottom: 6px !important;
}

@media (max-width: 600px) and (min-width: 100px) {
    .ac-input:checked~.ac-text,
    .ac-sub .ac-input:checked~.ac-sub-text {
        height: 175px;
    }
    .ac-text .ac-sub {
        padding-bottom: 12px !important;
    }
    .custom-checkbox .custom-control-label::before {
        border: 1px solid #c7c7c7;
        margin-left: 1px;
    }
}

.ac-input:checked~.ac-text-search {
    height: auto !important;
}

.ac-text::-webkit-scrollbar {
    width: 8px;
}

.ac-text::-webkit-scrollbar-thumb {
    background-color: #bdbdbd;
}

.ac-text::-webkit-scrollbar-track {
    background-color: #dddddd;
}


/* sub-level */

.ac-sub .ac-label {
    background: none;
    font-weight: 400;
    padding: .5em 0.1em .5em 2px;
    margin-bottom: 0px;
    font-size: 13px;
    display: inline;
}

.ac-sub .ac-label-right {
    float: right;
    font-size: 13px;
    margin-top: 3px;
    color: #aeaeae;
    margin-bottom: 0px;
    margin-right: 15px;
}

.ac-label-right1 {
    background-color: #bcd7fa !important;
    color: #003a61 !important;
    margin-right: 0px !important;
    font-size: 11px !important;
    padding: 4px 0px !important;
    line-height: 1 !important;
    border-radius: 2px;
}

.ac-label-right2 {
    margin-right: 4px !important;
}

.ac-label-right3 {
    background-color: #bcd7fa !important;
    color: #003a61 !important;
    margin-right: 0px !important;
    font-size: 13px !important;
    line-height: unset;
    padding: 8px 7px !important;
    border-radius: 2px;
}

.ac-label-right3 span {
    color: black;
    font-weight: 600;
}

.ac-sub .ac-label:checked {
    background: none;
    border-bottom: 1px solid whitesmoke;
}

.ac-sub .ac-input:checked+label,
.ac-sub .ac-label:hover {
    background: none;
}

.ac-sub-text {
    padding: 0 1em 0 2em;
}