/*------------------------------------*\
	NAV
\*------------------------------------*/
#nav{
	float:left;
	width:100%;
	list-style:none;
	font-weight:regular;
	margin:0px;
	margin-bottom:5px;
	padding:0px;
	padding-left:10px;
	/* fallback (Opera) */
	background: #EFEFEF;
	/* Mozilla: */
	 background: -moz-linear-gradient(top, #FFF, #EFEFEF);
	/* Chrome, Safari:*/
    background: -webkit-gradient(linear,left top, left bottom, from(#FFF), to(#EFEFEF));
	/* MSIE */
	filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#FFFFFF', EndColorStr='#EFEFEF', GradientType=0);
}
#nav A {
	TEXT-DECORATION: none; font-family:verdana; color:#000000;
}
#nav li{
	float:left;
	margin-right:20px;
	position:relative;
	display:block;
	font-size:14px;
	z-index:100;
}
#nav li a{
	display:block;
	padding:5px;
	padding-top:10px;
	padding-bottom:10px;
	color:#00000;

	text-decoration:none;

	text-shadow:1px 1px 1px rgba(0,0,0,0.2); /* Text shadow to lift it a little */
*/	
	-moz-border-radius:2px;
	-webkit-border-radius:2px;
	border-radius:2px;
}
#nav li a:hover{
	color:#1669B0;
	background:#fff; /* Solid colour fall-back */
	background:rgba(237,237,237,0.9); /* It'll look nice semi-transparent */
	text-decoration:none;
}

/*--- DROPDOWN ---*/
#nav ul{
	list-style:none;
	position:absolute;
	left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */

	opacity:0; /* Set initial state to transparent */
	-webkit-transition:0.5s linear opacity; /* Make the dropdown fade-in in Webkit */
}
#nav ul li{
	padding-top:0px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	display:block;
	margin-left:-40px;
}
#nav li:hover ul{ /* Display the dropdown on hover */
	left:0; /* Bring back on-screen when needed */
	opacity:1; /* Fade to opaque */
}
#nav li:hover a{ /* Set styles for top level when dropdown is hovered */
	background:#fff; /* Solid colour fall-back */
	background:rgba(237,237,237,0.9); /* It'll look nice semi-transparent */
	text-decoration:none;
}
#nav li:hover ul a{ /* Override some top level styles when dropdown is hovered */
	text-decoration:none;
	-webkit-transition:-webkit-transform 0.075s linear;
}
#nav li:hover ul li a:hover{ /* Set styles for dropdown when items are hovered */
		color:#666;
	background:#efefef; /* Solid colour fall-back */
	background:rgba(51,51,51,0.2); /* It'll look nice semi-transparent */
	text-decoration:none;
	-moz-transform:scale(1.05);
	-webkit-transform:scale(1.05);
}