.amazonmenu ul{
	list-style: none;
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding:10px;
}
.amazonmenu ul ol{
	font-size:16px;
	padding:5px 0;
	position:static;
	font-weight:bold;
	display:none;
}
.amazonmenu ul li{
	position: static; /* menu li items should have position set to static */
}

.amazonmenu > ul{
	border-radius: 5px;
	width: 145px; /* width of main menu */
	height: auto; /* height of main menu */
	position: relative;
}

.amazonmenu > ul li a{
	color: #FFF;
	display: block;
	overflow: auto;
	padding: 5px 0;
	position: relative;
	text-decoration: none;
	text-indent: 10px;
	font-size:10px;
}
.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:hover > 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;
}
.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 */

}

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

.amazonmenu ul li > ul{ /* Sub menus (Could be a DIV or UL wrapper) style */
	background:#fff;
	display: none;
	font-weight: normal;
	width: 220px;
	min-height:300px;
	height: auto; /* height of sub menu */
	left: 100%;
	position: absolute;
	line-height:20px;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1000;
}
.amazonmenu ul li > div{ /* Sub menus (Could be a DIV or UL wrapper) style */
	background:#fff;
	display: none;
	font-weight: normal;
	width: 307px;
	min-height:300px;
	height: auto; /* height of sub menu */
	left: 100%;
	position: absolute;
	line-height:20px;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 0;
}
.amazonmenu ul li > div{
	height:auto;
	background:#e7faff;
	display:none !important;
}
.amazonmenu ul li:hover > div{
	display:block !important;
}
.amazonmenu ul li > div img{
	display:block;
	margin:20px auto 5px auto;
	width:30%;
	height:auto;
}
.amazonmenu ul li > ul{
	
}
.amazonmenu > ul li ul li a{
	padding:5px 5px;
	text-indent:0;
}
/* ###### 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;
	}
}