@media screen and (max-width: 991px) {
    .category-list {
        max-height: 300px;
        overflow-y: auto;
    }
    #mainMenu li:hover, #mainMenu li:focus {
        background-color: #eeeeee1f;
        color: white;
    }
}

#mainMenu li a:focus{
    background-color: #0088CC !important;
    color: white !important;
}

#mainMenu .dropdown-menu {
    max-height: 450px;
    overflow-y: auto;
}

.cat-sim {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 8px;
    gap: 6px;
    background-color: #eeeeee;
    border-radius: 4px;
    align-items: center;
}

.cat-sim h6 {
    text-align: center;
    color: #0088cc;
    font-weight: 600;
    width: 100%;
    border-bottom: 1px solid #0088cc;
    margin: 0;
    padding: 0 6px;
}

.cat-sim-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: -2px;
    padding: 4px 0;
    overflow-x: auto;
}

.cat-sim-buttons::-webkit-scrollbar {
    background-color: #fff;
}
.cat-sim-buttons::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border: 2px solid #fff;
    border-radius: 5px;
}

.cat-sim-buttons::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

.cat-sim button {
    background-color: white;
    flex-grow: 1;
    color: #0088cc;
    border-radius: 4px;
    border: 2px solid #0088cc;
    transition: 150ms all ease-in-out;
    min-width: 100px;
}

.cat-sim button:hover {
    background-color: #0088cc;
    color: white;
}

#mainMenu .dropdown-menu::-webkit-scrollbar {
    padding: 5px 2px;
    background-color: #eee;
}

#mainMenu .dropdown-menu::-webkit-scrollbar-thumb {
    border-radius: 12px;
    border: 3px solid #eee;
    background-color: #171717;
}

#mainMenu .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background-color: #636262;
}

.loading{
    top: 0;
    display: flex;
    justify-content: center;
    justify-items: center;
    position: absolute;
    text-align: center;
    width: 100%;
    height: 80dvh;
    max-height: 100%;
    z-index: 2;
    background-color: white;
}

.loadingIcon{
    display: inline-flex;
    align-items: center;
    justify-items: center;
}

.loadingIcon img{
    position: absolute;
    height: 50px;
    filter: drop-shadow(0px 0px 1px black );
}

.category-list .open > .cat-dropdown-menu{
    height: auto;
    /* animation: growHeight 300ms ease-in-out forwards; */
}

.cat-dropdown-menu{
    float:none;
    position:static; 
    width:100%;
    border: none;
    box-shadow: none;
    overflow: hidden;
    display:block;
    height: 0;
    transition: all 300ms ease-in-out;
    /* animation: growHeight 300ms ease-in-out forwards reverse; */
}

@keyframes growHeight{
    from{
        height: 0;
    }
    to{
        height: 100px;
    }
}

.cat-dropdown-menu li a{
    transition: none !important;
}

.cat-title{
    border-bottom: 1px solid #ccc;
}

.cat-title:hover{
    cursor: pointer;
}



.loadingRing{
    position: relative;
    background-color: transparent;
    width: 100px;
    height:100px;
    border-radius: 50%;
    border-top: 6px solid;
    border-bottom: 6px solid;
    border-right: 4px solid #cccccc;
    border-left: 4px solid #cccccc;
    animation: 2s rotateLogo infinite linear;
}
@keyframes rotateLogo {
    100%{
        transform: rotateZ(360deg);
    }
}

@media (max-width: 1120px) {

    .dropdown-menu li:hover{
        background-color: #66aed1 !important;
        border-radius: 8px;
    }
}

@media (min-width: 1120px) {
    .cat-sim{
        flex-direction: row;
    }
    .cat-sim h6{
        width: auto;
        border: 0;
        border-right: 1px solid #0088cc;
    }
    #mainMenu .dropdown-menu::-webkit-scrollbar {
        padding: 5px 2px;
        background-color: #66aed1;
    }

    #mainMenu .dropdown-menu::-webkit-scrollbar-thumb {
        border-radius: 12px;
        border: 3px solid #66aed1;
        background-color: #0088cc;
    }

    #mainMenu .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background-color: white;
    }
}
