/*Ticket 24068*/
ul#menu-main-menu, ul#menu-main-menu-1 {
    max-height: 60vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.menu-main-menu-container {
    width: 100% !important;
}

.header ul li.menu-item-has-children > a:after {
    content: "";
    width: 15px;
    height: 15px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    position: absolute;
    top: 6px;
    right: 4px;
    transform: rotate(45deg);
}

.header ul li.menu-item-has-children > a.active:after {
    transform: rotate(225deg);
}

/* Webkit-based browsers (e.g., Chrome, Edge, Safari) */
ul#menu-main-menu::-webkit-scrollbar, ul#menu-main-menu-1::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    height: 12px; /* Height of the scrollbar (for horizontal scrollbars) */
}

ul#menu-main-menu::-webkit-scrollbar-track, ul#menu-main-menu-1::-webkit-scrollbar-track {
    background: #f0f0f0; /* Background of the scrollbar track */
    border-radius: 10px; /* Rounded corners for the track */
}

ul#menu-main-menu::-webkit-scrollbar-thumb, ul#menu-main-menu-1::-webkit-scrollbar-thumb {
    background: #888; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Rounded corners for the thumb */
    border: 3px solid #f0f0f0; /* Adds padding around the thumb */
}

ul#menu-main-menu::-webkit-scrollbar-thumb:hover, ul#menu-main-menu-1::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color when hovering */
}

.header .side-menu {
    position: absolute !important;
    height: 100vh !important;
}

.header .side-menu:after {
    background: inherit;
    content: "";
    width: 100vw;
    height: 105vh;
    position: absolute;
    bottom: 0;
    left: 0;
    visibility: visible;
    z-index: -1;
}

.header ul li {
    width: 100% !important;
    margin: 0 !important;
}

.header ul li.menu-item-has-children > a,
.header ul li#menu-item-479 > a {
    padding-right: 40px;
    width: 100%;
}

.header .side-menu {
    right: -104% !important;
}

.main-header.side-menu-active .side-menu {
    right: 0 !important;
}