#nav
{
	list-style: none;
	padding: 2px;
	margin: 0px;
}

#nav li:last-child
{
	border-bottom:none !important;
}

#nav li
{
	text-align: right;
	position: relative;
	padding-top: 8px;
	padding-bottom: 8px;
	padding-right: 8px;
	cursor: pointer;
	border-bottom: 1px solid #55227E;
}

#nav > li:hover
{
	background-color:#55227E;
	background-position:right top;
	background-repeat:no-repeat;
}
#nav li:hover>a
{
	color:white !important;
}

#nav li a
{
	text-decoration: none;
	color: gray;
}

#nav>li>a
{
	text-decoration: none;
	color: lightgrey;
}

#nav > li > ul
{
	right:210px !important;
}

#nav li ul
{
	opacity: 0;
	position: absolute;
	right:223px;
	top: -6px;
	padding: 5px;
	background-color: White;
	border: solid 1px silver;
	width: 180px;
	transition: All 0.3s;
	-moz-transition: All 0.3s; /* Firefox 4 */
	-webkit-transition: All 0.3s; /* Safari and Chrome */
	-o-transition: All 0.3s; /* Opera */
	z-index: 9999998;
	overflow: hidden;
	list-style: none;
	box-shadow: 0px 0px 5px 1px rgba(0,0,0,.2);
}

#nav li ul li
{
	width: 210px;
	border-bottom: solid 1px rgba(240,240,240,0.8) !important;
	color: gray;	
}

#nav > li
{
	padding-right:17px;
}

#nav li ul li a
{
overflow:hidden;
}

#nav li:hover > ul
{
	width: 217px;
	opacity: 1;
	overflow: visible !important;
	background-color: rgba(255,255,255,.85) !important;
}

#nav li:hover ul li:hover
{
	background-color: rgb(16, 97, 163);
}

#nav li > ul > li:hover > a
{
	color: White !important;
}
