.amazonmenu ul{
	list-style: none;
	margin: 0;
	padding: 0;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	z-index:9900;



}

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

.amazonmenu > ul.search{
	border-radius: 0px;
	width:105px;height:auto;box-sizing:border-box;text-align:center;border:1px solid #ccc; background:#f8f8f8  ;padding:0 7px 0 7px;
	position: relative;
}
.amazonmenu > ul.book{padding-top::0 !important;border:1px solid #ccc; background:#ff6600}
.amazonmenu > ul.book li ul{margin-top:-100px;width:282px; overflow:hidden}
.amazonmenu > ul.book li ul li{float:left; width:140px}
.amazonmenu > ul >li{padding:2px 0;overflow:hidden;}
.amazonmenu > ul.search > li {border-bottom:1px solid #ccc}
.amazonmenu > ul.search > li:last-child {border-bottom:0 !important}

.amazonmenu > ul.search > li > ul{width:362px;margin-top:-213px;  }
.amazonmenu > ul.search > li > ul > li{width:180px; float:left; }

.amazonmenu > ul > li a{
	color: black;
	display: block;
	overflow: auto;
	padding: 10px 0;
	position: relative;
	text-decoration: none;
	cursor:pointer;
}
.amazonmenu > ul > li > ul > li > a{
	color: black;
	display: block;
	overflow: auto;
	padding: 10px 0;
	position: relative;
	text-decoration: none;
	text-indent: 10px;
	cursor:pointer;
}


.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 > ul > li >a:hover{ /* style of hover and selected menu item links */
	background: #eee;
	color: #ff6600;
}
.amazonmenu > ul > li >a:hover{ /* style of hover and selected menu item links */
	color: #ff6600;
}
.amazonmenu > ul li > div, .amazonmenu ul li > ul{ /* Sub menus (Could be a DIV or UL wrapper) style */
	background: #f8f8f8;
	border:1px solid #ff6600;
	border-radius: 0 8px 8px 0;
	box-shadow: 2px 2px 2px gray;
	display: none;
	font-weight: normal;
	width: 180px;
	left: 100%;
	padding:0px;
	position: absolute;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1000;
	text-align:left;
}

.amazonmenu > ul > li > ul > li {border-bottom:1px solid #ccc }
.amazonmenu > ul > li > ul > li.title {border-bottom:0 !important; background:#ff6600;text-align:center;color:#fff;padding:10px 0 5px 0;font-weight:600;font-size:1.1em; width:360px }
/* ###### 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;
	}
}