
#mysidebarmenu { margin: 165px 0 0 0; }
.amazonmenu ul{
	font: normal 12px 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{
	/* background: white;
	border: 1px solid gray;
	border-radius: 5px; */
	width: 100%; /* width of main menu */
	height: auto; /* height of main menu */
	position: relative; text-align: center; float: left; margin-bottom: 80px;
}

.amazonmenu > ul li a{
	color: #e7e7e7;
	display: block;
	overflow: auto;
	padding: 12px 0;
	position: relative;
	text-decoration: none; transition: all .5s ease;
	/* text-indent: 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%; display: none; 
	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: lightblue; */
	color: #e7e7e7;
}

.amazonmenu ul li > div, .amazonmenu ul li > ul{ /* Sub menus (Could be a DIV or UL wrapper) style */
	display: none;
	font-weight: normal;
	width: 400px;
	height: 500px;
	left: 100%;
	padding: 0 60px;
	position: absolute;
	top: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	z-index: 1000; border-right: 1px solid #fff; 
}

.amazonmenu ul li > ul.issub li a { font-size: 24px; padding: 16px 0; margin: 0;  }
.amazonmenu ul li > ul.issub li.hassub ul.issub li a { font-size: 17px; padding:20px 0 0 0; } 
.amazonmenu ul li > ul.issub li.hassub ul.issub { border: none; }

/* ###### 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;
	}
}


.head-rgt.mbl .hd-links { margin: 40px 0 0 0;}
.hd-links .list-links { margin: 4px 0 10px 0; }
.hd-links .list-links li { margin: 0 10px 0 0; }
.hd-links .list-links li a { padding: 0; font-size: 16px;  }
.hd-links .hdr-social li a  { padding: 0; }
.amazonmenu > ul li a:hover{text-decoration: underline;}
.amazonmenu > ul li a:hover .menu-header{ background: transparent;}

