.amazonmenu ul{
	font: normal 15px Verdana;
	list-style: none;
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

}

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

.amazonmenu > ul{
	width: 200px; /* width of main menu */
	height: 500px; /* height of main menu */
	position: relative;
     background: #f3f3f3;
}

.amazonmenu > ul li a{
     background-color: transparent !important;
}

.amazonmenu > ul li a{

           
	    color: #000;
    display: block;
    overflow: auto;
    padding: 5px 7px;
    position: relative;
    text-decoration: none;
 text-indent: 0px;
	list-style-type: none;
font-size: 16px;
text-align: left;
cursor: pointer;
font-family: Arial,Helvetica,sans-serif;
visibility: visible;
font-weight: bolder;
border-bottom: 1px solid rgb(246, 247, 250);
}
}

.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: 35%;
	width: 0;
}

.amazonmenu > ul li.hassub.selected > a::after{ /* Style of arrow when corresponding sub menu is open (LI element has a "selected" class during this state */
	border-left-color: red;
}

.amazonmenu ul li a:hover, .amazonmenu ul li.hassub.selected > a{ /* style of hover and selected menu item links */

	background: rgba(98, 102, 105, 1);
	color: navy;
}

.amazonmenu ul li > div, .amazonmenu ul li > ul{ /* Sub menus (Could be a DIV or UL wrapper) style */
	background:   none repeat scroll 0% 0% rgba(242, 243, 255, 1);
	
	
	display: none;
	font-weight: normal;
	width: 200px;
	height: 500px; /* height of sub menu */
	left: 100%;
	padding: 10px;
	position: absolute;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1000;
}


/* ###### 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: 1;
		width: 100%;
		z-index: 1;
	}
}