 ul.amazonmenu{
	font: normal 16px Arial;
	list-style: none;
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

}

ul.amazonmenu li{
	position: static; /* menu li items should have position set to static */
}

ul.amazonmenu{
	border-radius: 5px;
	width: 800px; /* width of main menu */
	position: relative;
	z-index:9999;
}
ul.amazonmenu li a{
	color: black;
	display: block;
	overflow: auto;
	padding: 3px 0;
	position: relative;
	text-decoration: none;
	text-indent: 0px;
	width:230px;
}

/*ul.amazonmenu li.hassub > a::after{
	border: 5px solid transparent;
	border-left-color: gray;
	content: '';
	height: 0;
	position: absolute;
	right: 5px;
	top: 35%;
	width: 0;
}

ul.amazonmenu li.hassub.selected > a::after{ 
	border-left-color: red;
}
*/
 ul.amazonmenu li a:hover, ul.amazonmenu li.hassub.selected > a{ /* style of hover and selected menu item links */
	color: #faaf79;
}

ul.amazonmenu li > div,  ul.amazonmenu li > ul{/* Sub menus (Could be a DIV or UL wrapper) style */
    width: 550px;                                           
	background: white;
	display: none;
	font-weight: normal;
	left: 247px;
	padding: 10px;
	margin-top: 10px;
	position: absolute;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1000;
	overflow: hidden;
	border-left:1px solid #e2e3e4;
}


/* ###### CSS Media queries ###### */

@media screen and (max-width: 480px){ /* When screen size is 480px */
	ul.amazonmenu li > div,ul.amazonmenu li > ul{
		left: 30px; /* Stack the sub menus so they take up less space */
	}

	ul.amazonmenu 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;
	}
}