.sticky-header .sticky-category-dropdown {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e1e1e1;
    z-index: 1000;
    min-width: 200px;
}

.sticky-category-dropdown {
    display: none;
}

/* Hide sidebar menu items when not on homepage top */
.cms-index-index:not(.sticky-header) .sidebar-main .catalog-sidebar-menu {
    display: block;
}

.cms-index-index.sticky-header .sidebar-main .catalog-sidebar-menu {
    display: none;
}

/* Fix for submenus going off screen */
@media (min-width: 992px) {
    .navigation ul li.level0.submenu:hover > ul,
    .navigation ul li.level1.submenu:hover > ul {
        left: auto;
        right: 0;
    }
    /* If it's a standard dropdown that should be on the left, but we are near the right edge */
    .navigation ul li.level0.submenu.ui-menu-item:last-child > ul,
    .navigation ul li.level0.submenu.ui-menu-item:nth-last-child(2) > ul {
        left: auto;
        right: 0;
    }
}

.search-area.show-icon-tablet {
    margin-left: auto;
    width: 50%;
}
