/* CSS Document */

#header #navigation {
	float: right;
	list-style: none;
	margin-top: 10px;
	margin-bottom: -30px;
}
#header #navigation li {
	padding: 5px;
	float: left;
	font-size: 14px;
	margin-left: 5px;
	text-transform: uppercase;
}
#header #navigation li.selected:hover {
	margin-top: 0px;
}
#header #navigation li a {
	padding: 9px 15px;
	background-color: #181818;
	background: rgba(0,0,0,0.6);
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px;
	color: #fff;
	text-decoration: none;
}
#header #navigation li a:hover {
	color: #ddd;
	text-decoration: none;
}
#header #navigation li div {
	width:0; 
	height:0; 
	border-left: 10px solid transparent; 
	border-right: 10px solid transparent;
	border-top: 10px solid #181818;
	border-top: 10px solid rgba(0,0,0,0.6);
	border-bottom: 0;
	margin-top: 9px;
	margin-left: 40%;
}
#header #navigation li.selected {
	color: #fff;
}
#header #navigation li.selected a {
	background: rgba(0,0,0,1);
	color: #FFCC00;
}
#header #navigation li.selected div {
	border-top: 10px solid rgba(0,0,0,1);
}
#header #navigation li.selected ul li a {
	color: #fff;
	font-weight: normal;
}
#header .new {
	margin-top: 27px;
	list-style: none;
	height: 35px;
}
#header .new li {
	float: right;
	font-size: 14px;
	padding: 5px;
}
#header .new li.selected a {
	-moz-box-shadow: 0px 0px 5px #999; 
	-webkit-box-shadow: 0px 0px 5px #999; 
	background: rgba(0,153,0,1);
}
#header .new li a {
	padding: 9px 14px;
	background-color: #009900;
	background: rgba(0,153,0,0.9);
	-moz-box-shadow: 0px 0px 9px #333; 
	-webkit-box-shadow: 0px 0px 9px #333; 
	-moz-border-radius: 7px; 
	-webkit-border-radius: 7px;
	color: #fff;
	text-decoration: none;
}
#header .new li a:hover {
	-moz-box-shadow: 0px 0px 5px #777; 
	-webkit-box-shadow: 0px 0px 5px #777; 
	background-color: #00A800;
	background: rgba(0,168,0,0.8) ;
}
#header {
	position: relative;
	height: 160px;
	overflow: visible !important;
}
#navigation {
	padding:0;
	margin: 0;
	margin-top: 30px !important;
	list-style: none;
	right: 0;
	position: absolute;
	z-index: 300;
	height: auto;
}
#navigation li{
	margin-right:10px;
	position:relative;
}
#navigation li a {
	width: 95px !important;
}

/*--- DROPDOWN ---*/
#navigation ul {
	background: #fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
	background: rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
	list-style: none;
	position: absolute;
	left: -9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	margin: 0;
	margin-top: 3px;
	padding: 0 2px 1px 0;
	width: 360px;
}
#navigation ul li{
	padding-top:6px; /* Introducing a padding between the li and the a give the illusion spaced items */
	float:none !important;
	margin: 0 0 10px 0px !important;
	display: inline-block;
}
#navigation ul a{
	background: none repeat scroll 0 0 rgba(0, 0, 0, 1) !important;
	font-size: 0.8em !important;
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
	width: 78px !important;
	margin: 0px auto;
	padding: 6px 10px !important;
	
	-webkit-box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.2);
	-moz-box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.2);
	box-shadow: 0px 0px 4px 0px rgba(255, 255, 255, 0.2);
}
#navigation li:hover ul{ /* Display the dropdown on hover */
	left: 0; /* Bring back on-screen when needed */
}
#navigation li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	background:#6b0c36;
	text-decoration:underline;
}
#navigation li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
	text-decoration:none;
}
