﻿.px-12 {
    padding-left: 12px;
    padding-right: 12px
}
.category-search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.category-search-label {
    font-size: 18px;
    font-weight: 700;
    margin: 0px 0 15px 0;
}

.category-search-box-wrapper {
    width: 100%;
    height: 40px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.category-search-box {
    border: none;
    background-color: transparent;
    flex: 1 0 auto;
}

.category-search-button {
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
    padding: 0 22px;
    color: #F34A33;
    border: none;
    background-color: transparent;
    border-left: 1px solid #ccc;
}

#categoryModal .close {
    z-index: 1;
    opacity: 1;
    font-size: 34px;
    line-height: 34px;
    text-shadow: none;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 8px;
    border: none;
    background-color: transparent;
}


#categoryModal .modal-dialog {
    max-width: 1100px;
}

#categoryModal .modal-body {
    padding: 30px 20px
}

#categoryModal .modal-bottom {
    border-top: 1px solid #ccc;
    padding-top: 30px;
}

.category-list {
    height: 330px;
    overflow: auto;
    margin-top: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
}



    .category-list::-webkit-scrollbar {
        width: 6px;
    }

    /* Track */
    .category-list::-webkit-scrollbar-track {
        background-color: #e7eeee;
        border-radius: 10px;
    }

    /* Handle */
    .category-list::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #6B8CDD;
    }


.category-item + .category-item {
    margin-top: 10px
}

.category-item-header {
    padding: 11px 20px;
    border: 1px solid #ccc;
    position: sticky;
    top: 0;
    background-color: #fff;
    border-radius: 10px 10px 0 0;
    z-index: 20;
}

    .category-item-header:before {
        content: "";
        left: -9px;
        position: absolute;
        top: -1px;
        width: 10px;
        height: 10px;
        background-color: #fff;
        z-index: 100;
        border-radius: 0 0 50em 0;
    }

    .category-item-header:after {
        content: "";
        right: -8px;
        position: absolute;
        top: -2px;
        width: 10px;
        height: 10px;
        background-color: #fff;
        z-index: 100;
        border-radius: 0 0 0 50em;
    }

.category-item-title {
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 14px
}

    .category-item-title:before {
        content: "";
        margin-right: 8px;
        display: inline-block;
        vertical-align: top;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: #3b9ef3;
    }

.category-item-body {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 10px 10px;
}

.category-item-sub-list {
    overflow: hidden;
}

.category-item-sub-item {
    width: 100%;
    padding: 4px 10px 5px;
    border-radius: 4px;
    background-color: transparent;
    border: none;
    text-align: left;
    transition: ease-in-out .1s;
    font-size: 14px;
}

    .category-item-sub-item:before {
        content: ">";
        color: #999;
        transition: ease-in-out .1s;
    }

    .category-item-sub-item b {
        color: #f00;
        transition: ease-in-out .1s;
    }

    .category-item-sub-item:hover {
        background-color: #f7f7f7;
        background-color: var(--light);
    }

    .category-item-sub-item.active {
        background-color: #f00;
        color: #fff;
    }

        .category-item-sub-item.active b {
            color: #fff;
        }

        .category-item-sub-item.active:before {
            color: #fff;
        }


