
















    /*   -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------  */
























/* ================================================================
   COLOR FILTER
   ================================================================ */

.kbh-color-filter a.kbh-a-color-filter.active::after {
    bottom: 0;
    color: #000;
    content: "\f00c";
    font-size: 14px;
    font-family: fontawesome;
    left: 0;
    position: absolute;
    right: 0;
    text-shadow: 1px 1px 1px #fff;
    top: 0;
    display: block;
}


/* ================================================================
   KBH RIGHT MENU
   ================================================================ */

div#right-m-id-kbh {
    direction: rtl;
    text-align: right;
    width: 100%;
}

    div#right-m-id-kbh * {
        box-sizing: border-box;
    }

    div#right-m-id-kbh a {
        text-align: right;
        text-decoration: none;
    }


/* ================================================================
   ROOT MENU
   ================================================================ */

#right-m-id-kbh ul.nav {
    display: block;
    width: 100%;
    margin: 0;
    margin-bottom: 2px;
    padding: 0;
    overflow-x: hidden;
}

    #right-m-id-kbh ul.nav,
    #right-m-id-kbh ul.nav li,
    #right-m-id-kbh ul.nav ul,
    #right-m-id-kbh ul.nav ul li {
        list-style: none !important;
        list-style-type: none !important;
    }

        #right-m-id-kbh ul.nav li {
            width: 100%;
            margin: 0;
            padding: 0;
        }


        /* ================================================================
   CHILD MENUS
   ================================================================ */

        #right-m-id-kbh ul.nav ul {
            width: auto;
            margin-top: 0;
            margin-bottom: 0;
            padding-left: 0;
            padding-right: 0;
        }

            #right-m-id-kbh ul.nav ul.children {
                width: 100%;
                margin-top: 3px;
                margin-bottom: 5px;
                padding-left: 0;
                padding-right: 15px;
            }


                /*
    چون ul.children داخل خودش دوباره ul.children دارد،
    هر Level به صورت طبیعی 15px دیگر به داخل می‌رود.

    Level 1 = 15px
    Level 2 = 30px
    Level 3 = 45px
    ...
*/

                #right-m-id-kbh ul.nav ul.children li {
                    margin-left: 0;
                    margin-right: 0;
                    padding: 0;
                }


        /* ================================================================
   COMMON LINK
   ================================================================ */

        #right-m-id-kbh ul.nav li a {
            color: #444;
            text-decoration: none;
            box-shadow: none;
            transition: background-color 0.20s ease, color 0.20s ease, box-shadow 0.20s ease;
        }

            #right-m-id-kbh ul.nav li a:hover {
                text-decoration: none;
            }


        /* ================================================================
   LABEL
   ================================================================ */

        #right-m-id-kbh ul.nav li .lbl {
            display: inline-block;
            padding: 5px 10px;
            line-height: 20px;
            color: #333;
        }


        /* ================================================================
   SIGN / ICON AREA
   ================================================================ */

        #right-m-id-kbh ul.nav li .sign {
            width: 30px;
            min-width: 30px;
            height: 40px;
            padding: 0;
            margin: 0;
            border: 0;
            background: transparent;
            color: #444;
            cursor: pointer;
        }


/* ================================================================
   LEAF ITEM
   آیتم بدون زیرمجموعه
   ================================================================ */

#right-m-id-kbh li.no-deeper-last-li-child > a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 0;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 8px;
    color: #333;
}

    #right-m-id-kbh li.no-deeper-last-li-child > a > .sign {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 30px;
        width: 30px;
        min-width: 30px;
        padding: 0;
        margin: 0;
        background-color: transparent;
    }

    #right-m-id-kbh li.no-deeper-last-li-child > a > .lbl {
        display: block;
        flex: 1;
        min-width: 0;
        padding: 5px 10px;
        color: #333;
    }


/* ================================================================
   PARENT ITEM
   آیتم دارای زیرمجموعه
   ================================================================ */

#right-m-id-kbh li.deeper > div.d-flex {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    min-height: 40px;
    padding: 0;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 8px;
    transition: background-color 0.20s ease, color 0.20s ease, box-shadow 0.20s ease;
}


    /* دکمه + فقط برای باز و بسته کردن SubMenu */

    #right-m-id-kbh li.deeper > div.d-flex > button.sign {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 30px;
        width: 30px;
        min-width: 30px;
        height: 40px;
        padding: 0 !important;
        margin: 0;
        border: 0 !important;
        outline: none !important;
        box-shadow: none !important;
        background: transparent !important;
        text-decoration: none;
        cursor: pointer;
    }


    /* لینک خود Parent */

    #right-m-id-kbh li.deeper > div.d-flex > a.lbl {
        display: block;
        flex: 1;
        min-width: 0;
        padding: 5px 10px;
        line-height: 20px;
        color: #333;
        background: transparent;
        text-decoration: none;
    }


/* ================================================================
   CURRENT LEAF
   آیتم نهایی انتخاب‌شده
   ================================================================ */

#right-m-id-kbh
ul.nav
li.no-deeper-last-li-child.current.active > a {
    background: linear-gradient( 135deg, #ffb700 0%, #ffc83d 100% ) !important;
    color: #222 !important;
    border-radius: 8px;
    box-shadow: 0 3px 9px rgba(255, 183, 0, 0.20);
    margin-top: 3px;
    margin-bottom: 3px;
}


    #right-m-id-kbh
    ul.nav
    li.no-deeper-last-li-child.current.active > a > .lbl {
        color: #222 !important;
        font-weight: 600;
    }


    #right-m-id-kbh
    ul.nav
    li.no-deeper-last-li-child.current.active > a > .sign {
        color: #222 !important;
        background-color: transparent !important;
    }


/* ================================================================
   CURRENT PARENT
   زمانی که خود Parent انتخاب شده
   ================================================================ */

#right-m-id-kbh
ul.nav
li.deeper.current.active > div.d-flex {
    background: linear-gradient( 135deg, #ffb700 0%, #ffc83d 100% ) !important;
    color: #222 !important;
    border-radius: 8px;
    box-shadow: 0 3px 9px rgba(255, 183, 0, 0.20);
    margin-top: 3px;
    margin-bottom: 3px;
}


    #right-m-id-kbh
    ul.nav
    li.deeper.current.active > div.d-flex > a.lbl {
        color: #222 !important;
        font-weight: 600;
        background: transparent !important;
    }


    #right-m-id-kbh
    ul.nav
    li.deeper.current.active > div.d-flex > button.sign {
        color: #222 !important;
        background: transparent !important;
    }


/* ================================================================
   ACTIVE PARENT PATH

   وقتی Child انتخاب شده،
   Parent فقط کمی رنگ می‌گیرد و Current کامل نیست.
   ================================================================ */

#right-m-id-kbh
ul.nav
li.deeper.active:not(.current) > div.d-flex {
    background-color: rgba(255, 183, 0, 0.10);
    border-radius: 8px;
}


    #right-m-id-kbh
    ul.nav
    li.deeper.active:not(.current) > div.d-flex > a.lbl {
        color: #333;
        font-weight: 600;
    }


/* ================================================================
   IMPORTANT RESET

   وقتی Parent خودش Current است،
   نباید تمام Childهای داخل آن هم زرد شوند.
   ================================================================ */

#right-m-id-kbh
li.deeper.current.active
ul.children
li:not(.current) > a {
    background: transparent !important;
    color: #333 !important;
    box-shadow: none !important;
}


    #right-m-id-kbh
    li.deeper.current.active
    ul.children
    li:not(.current) > a > .lbl {
        color: #333 !important;
    }


#right-m-id-kbh
li.deeper.current.active
ul.children
li:not(.current) > div.d-flex {
    box-shadow: none;
}


/* ================================================================
   HOVER - LEAF
   ================================================================ */

#right-m-id-kbh
li.no-deeper-last-li-child:not(.current) > a:hover {
    background-color: rgba(255, 183, 0, 0.10);
    color: #a57600 !important;
    border-radius: 8px;
    box-shadow: none;
}


    #right-m-id-kbh
    li.no-deeper-last-li-child:not(.current) > a:hover > .lbl {
        color: #a57600 !important;
    }


/* ================================================================
   HOVER - PARENT
   ================================================================ */

#right-m-id-kbh
li.deeper:not(.current) > div.d-flex:hover {
    background-color: rgba(255, 183, 0, 0.10);
    border-radius: 8px;
}


#right-m-id-kbh
li.deeper > div.d-flex > a.lbl:hover {
    color: #a57600 !important;
}


/* ================================================================
   COLLAPSE
   ================================================================ */

#right-m-id-kbh ul.children.collapse {
    width: 100%;
}

    #right-m-id-kbh ul.children.collapse.show {
        width: 100%;
    }


/* ================================================================
   BUTTON STATES
   جلوگیری از دخالت Bootstrap روی دکمه +
   ================================================================ */

#right-m-id-kbh button.sign:hover,
#right-m-id-kbh button.sign:focus,
#right-m-id-kbh button.sign:active {
    padding: 0 !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}


/* ================================================================
   ICONS
   WebsiteNegar Legacy Glyphicons
   ================================================================ */

#right-m-id-kbh [class^="icn-"],
#right-m-id-kbh [class*=" icn-"] {
    display: inline-block;
    width: 16px;
    height: 14px;
    line-height: 14px;
    vertical-align: middle;
    background-image: url('/KbhThemeAssets/Default/assets/bootstrap-2.3/glyphicons-halflings.png');
    background-position: 14px 14px;
    background-repeat: no-repeat;
    margin: 0;
}


/* PLUS */

#right-m-id-kbh .icn-plus {
    background-position: -408px -96px;
}


/* MINUS */

#right-m-id-kbh .icn-minus {
    background-position: -433px -96px;
}


/* PLAY / ARROW */

#right-m-id-kbh .icn-play-kbh {
    background-position: -432px -73px !important;
}


/* ================================================================
   MENU GROUP
   ================================================================ */

#menu-group-id-kbh {
    overflow-x: hidden;
    width: 100%;
}


/* ================================================================
   SHOP COLOR FILTER
   ================================================================ */

a.load-shop-ajax.bgcolor-white.kbh-a-color-filter {
    height: 25px;
    margin-bottom: 5px;
}


    a.load-shop-ajax.bgcolor-white.kbh-a-color-filter span {
        display: inline-block;
        height: 12px;
        width: 12px;
        border-radius: 50px;
    }


























