/* input(68,34): run-time error CSS1046: Expect comma, found '0'
input(68,38): run-time error CSS1046: Expect comma, found '/'
input(89,33): run-time error CSS1046: Expect comma, found '0'
input(89,37): run-time error CSS1046: Expect comma, found '/'
input(95,37): run-time error CSS1034: Expected closing parenthesis, found ','
input(95,37): run-time error CSS1042: Expected function, found ','
input(95,41): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
input(162,33): run-time error CSS1046: Expect comma, found '0'
input(162,37): run-time error CSS1046: Expect comma, found '/'
input(204,26): run-time error CSS1034: Expected closing parenthesis, found ','
input(204,26): run-time error CSS1042: Expected function, found ','
input(204,30): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
input(208,26): run-time error CSS1034: Expected closing parenthesis, found ','
input(208,26): run-time error CSS1042: Expected function, found ','
input(208,30): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
input(224,30): run-time error CSS1034: Expected closing parenthesis, found ','
input(224,30): run-time error CSS1042: Expected function, found ','
input(224,34): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')'
input(228,26): run-time error CSS1034: Expected closing parenthesis, found ','
input(228,26): run-time error CSS1042: Expected function, found ','
input(228,30): run-time error CSS1062: Expected semicolon or closing curly-brace, found ')' */
:root {
    --CategoryArrowColor: #034C8E;
    --CategoryHeaderText: #034C8E;
    --TspDrk: #0459a9;
    --TspLight: #0f6dc7;
}

.CategoryItem {
    margin: 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    border-radius: 0 !important;
    /*margin: 4% 0;*/
    background-color: transparent !important;
    transition: all .2s;
    pointer-events: auto;
    padding: 0;
    /*border-bottom: solid 1px rgb(0,0,0,25%);*/
}

.CategoryItem:hover{
    /*background-color:rgba(0,0,0,25%) !important;*/
}
.CategoryItem:first-child {
    margin-top: 0;
}

.CategoryItem:last-child {
    margin: 0;
}


.Arrow {
    position:absolute;
    right:3%;
    top:50%;
    transform:translateY(-50%);
    transition:all .2s;
    height: 12px;
    width: 12px;
    fill: var(--CategoryArrowColor);
}

#CategoryList {
    cursor: default;
}

#CategoryList[position-static=true] {
    max-height: 99999px !important;
    opacity: 1 !important;
}


.CategoryListOne {
    /*margin-top:18px;*/
    transition: all 200ms ease-out;
    /* top: -100vh; */
    opacity: 0;
    max-height: 0;
    top: 100%;
    left: 0;
    width: 100%;
    position: absolute;
    list-style: none;
    background: var(--Blue);
    padding: 0;
     box-shadow: 0 4px 5px rgb(0 0 0 / 25%); 
    z-index: 999;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    overflow: hidden;
    min-width: fit-content;
    min-width: -moz-fit-content;
    height: 600px;
    /*border-radius: 10px 0 0 10px;*/
}

.CategoryListOne:hover {
    border-bottom-right-radius: 0px;
    overflow:unset;
}




.SubCategoryList {
    display: none;
    box-shadow: 0 4px 5px rgb(0 0 0 / 25%);
    position: absolute;
    width: 200px;
    min-height: 100%;
    background-color: var(--BlueHighlight);
    /*background-color: rgb(0,0,0,20%);*/
    border-left: solid 1px rgb(0,0,0,25%);
    left: 100%;
    top: 0;
    margin-left: 0;
    border-bottom-right-radius: 8px;
    padding: 0;
    cursor:default;
}

/*.CategoryItem:hover > .SubCategoryList {
 
    display: block;
}*/

.CategoryItem > a {
    color: var(--TspDrk);
    width: 100%;
    height: 100%;
    display: flex;
    padding: .5rem;
    justify-content: start;
    align-items: center;
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: 14px;
    /*margin: 5px 10px 0 10px;*/
    margin:5px 0;
   
}

    .CategoryItem > a:hover {
        background: #BDE4F2;
        border-left: 5px solid #0459a9;
        text-decoration: none;
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
.CategoryListOne > .active > a {
    background: #BDE4F2;
    border-left: 5px solid #0459a9;
    /*border-radius: 6px;*/
    text-decoration: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}
/*.CategoryItem:hover > .SubCategoryGridWrapper {
    display: flex;

}
*/
.SubCategoryGridWrapper {
    padding-top: 0.5rem;
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #F1F5F9;
    margin-left: 0;
    width: 72.2vw;
    /*width:67.2vw;*/
    /*width: 65.2vw;*/
    flex: auto;
    padding-bottom: 15px;
    flex-direction: column;
    height: 600px;
    border-radius: 0 10px 10px 0;
    border-left: 1px solid #d5d5d5;
    box-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}
    .SubCategoryGridWrapper::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
        background-color: #F5F5F5;
    }
.SubCategoryGridWrapper ::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
    /*border-radius:10px;*/
}
.SubCategoryGridWrapper ::-webkit-scrollbar-thumb {
    background-color: #000000;
    border: 2px solid #555555;
    border-radius:10px;
}

.SubCategoryGrid {
    display: flex;
    /*gap: 1.2rem 2%;*/
    gap: 0.5rem 2%;
    padding: 0;
    cursor: default;
    flex-wrap: wrap;
    width: 100%;
    max-height: 75.5vh;
    height: fit-content;
    height: -moz-fit-content;
    overflow: auto;
    padding: 0 6px;
}
.SubCategoryGrid::-webkit-scrollbar {
        width: 3px;
    }


.SubCategoryGrid::-webkit-scrollbar {
    width: 7px !important;
}

.SubCategoryGrid::-webkit-scrollbar-track {
    border-radius: 4px !important;
    background: rgb(0,0,0,20%) !important;
}

.SubCategoryGrid::-webkit-scrollbar-thumb {
    background: rgb(0,0,0,25%) !important;
    border-radius: 4px !important;
}

.MobileDrawerListBox{
    margin-top:45px;
}
.MobileCategoryName {
    font-family: Roboto,RobotoFallback,"Noto Kufi Arabic",Helvetica,Arial,sans-serif;
}

.SubCategoryGrid::-webkit-scrollbar {
    width: 15px;
}

.SubCategoryGrid::-webkit-scrollbar-track {
        background: rgb(0,0,0,15%);
}

.SubCategoryGrid::-webkit-scrollbar-thumb {
    background: rgb(0,0,0,35%);
    border-radius: 0px;
}

#TakeAwaySvg {
    fill: white;
}
.SubMasterCategory:hover{
    text-decoration:underline!important;
        
}
.SubMasterCategory {
    color: #0459a9;
}
.CategoryGridItem {
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 0 !important;
    width: 49%;
    height: fit-content;
    height: -moz-fit-content;
    /*background-color: var(--TspLight) !important;*/
    background-color: transparent !important;
    transition: all .2s;
    pointer-events: auto;
    padding: 10px 0px;
    padding-left: 1rem;
    cursor: default;
    gap: .5rem;
    /*    // background: rgb(0,0,0,12%) !important;
*/ border-radius: 6px !important;
}

.SubCategories{
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    margin-left:.1rem;
}

    .SubCategories > a {
        font-size: 12px;
        color: #404040 !important;
    }
        .SubCategories > a:hover {
            text-decoration: none;
            color: #0f6dc7 !important;
        }


@media (max-height:800px){
    .CategoryListOne{
        height:500px;
    }
    .SubCategoryGridWrapper{
        height:500px;
    }
   /* .CategoryItem > a{
        padding:13px;
    }*/
}

