#categorieswidget {
    font-size: 13px;
    border: 1px solid #ddd;
    margin: 4px 0 0;
}

.amazonmenu ul {
    font-family: arial;
    font-size: 13px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#display_categories_menu {
    padding: 0 0 20px;
    margin: -10px 0 0;
    cursor: pointer;
}

.visible {
    display: block !important;
    transition: 0.2s;
}

.amazonmenu ul li {
    position: static; /* menu li items should have position set to static */
}

.amazonmenu > ul {
    background: white;
    position: relative;
    transition: 1.5s;
}

.amazonmenu > ul li a {
    color: black;
    display: block;
    overflow: auto;
    position: relative;
    text-decoration: none;
}

.amazonmenu ul li a:hover, .amazonmenu ul li.hassub.selected > a { /* style of hover and selected menu item links */
    background: #eeeeee;
    color: navy;
}

.amazonmenu ul li > div, .amazonmenu ul li > ul { /* Sub menus (Could be a DIV or UL wrapper) style */
    background: #fff;
    opacity: 0 !important;
    font-weight: normal;
    width: 50%;
    left: 50%;
    padding: 8px 0;
    position: absolute;
    top: 0;
    z-index: 1000;
}

.child_categories {
    transition: 0.2s;
    max-height: 100%;
    overflow-y: scroll;
}

li.selected .child_categories {
    opacity: 1 !important;

}

.amazonmenu ul ul {
    padding: 0 10px;
}

.amazonmenu ul ul li {
    width: 100%;
    margin: 0 0 4px;
    padding: 0 0 4px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}
.amazonmenu ul ul li:last-child {
    border-bottom: none;
}

.supercategory {
    background: #eee;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 6px 12px;
    width: 50%;
    transition: 0.2s;
    cursor: pointer;
    font-size: 17px;
}
.supercategory.selected {
    background: #fff;
    border-right: 1px solid #fff;
}

.supercategory:last-child {
    border-bottom: none;
}

.child_categories li {
    cursor: pointer;
}