

.amazonmenu ul {background:#fff; border: 1px solid #ddd; padding:20px;}
.amazonmenu ul h5{color:#333; font-weight:bold; margin-top:30px; border-bottom:0px solid #ddd;}
.amazonmenu ul li {position: static; border-bottom:0px solid #ddd; /* menu li items should have position set to static */}
.amazonmenu > ul{
	background: #fff;
	width:400px; /* width of main menu */
	height: 60vh; /* height of main menu */
	position: relative;
	border-radius: 0px 50px;
	box-shadow: 0px 2px 15px #fff;
}
.amazonmenu > ul li{padding:8px 0;}
.amazonmenu > ul li a {color:#333; line-height: 18px;
	display: block;
	overflow: auto;
	padding:0px 10px;
	position: relative; 

}
 .amazonmenu > ul li.hassub .issub a{}
 .amazonmenu > ul li.hassub > a::after { /* Arrow to indicate this item has sub menu (LI elements with sub menus have a ".hassub" class). */
 border: 5px solid transparent;
 border-left-color: gray; /* Default color of arrow */
 content: '';
 height: 0;
 position: absolute;
 right: 5px;
 top: 40%;
 width: 0;transition: all 0.5s;
}
.amazonmenu > ul li.hassub.selected > a:hover::after { /* Style of arrow when corresponding sub menu is open (LI element has a "selected" class during this state */
 border-left-color: #008deb;right: 2px;
}
.amazonmenu ul li a:hover { /* , .amazonmenu ul li.hassub.selected > a     style of hover and selected menu item links */
color: #008deb;}

.amazonmenu ul a:hover h5{color: #008deb;}

.amazonmenu ul li > div, .amazonmenu ul li > ul { /* Sub menus (Could be a DIV or UL wrapper) style */
	background:#fff;
	border: 1px solid #ddd;
	display: none;
	width:460px;
	height: 60vh; /* height of sub menu */
	left: 100%;
	position: absolute;
	top: 40px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1;
	border-radius: 0px 50px;
	box-shadow: 0px 2px 15px #fff;
}

/* ###### CSS Media queries ###### */

@media screen and (max-width: 480px) { /* When screen size is 480px */
 .amazonmenu ul li > div, .amazonmenu ul li > ul {
 left: 30px; /* Stack the sub menus so they take up less space */
}
 .amazonmenu > ul li.hassub.selected::after { /* Add "veil" to parent menus */
 background: #eee;
 content: '';
 height: 100%;
 left: 0;
 opacity: .8;
 pointer-events: none;
 position: absolute;
 top: 0;
 width: 100%;
 z-index: 1;
}
}
