@charset "UTF-8";
/* CSS Document */

#nav{
	list-style: none;
	width: 1024px;
	height: 42px;
	clear: both;
	padding-left: 0px;
	margin: 0;
	position: absolute;
	z-index: 1020;
	background-color: #ed1c24;
	right: 0px;
	bottom: 0px;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	text-align: center;
}
#nav li{
	position: relative;
	margin-left: 2px;
	font-size: 15px;
	font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	display: inline-block;
	margin-right: 2px;
	font-weight: bold;
}
#nav a{
	display: block;
	padding: 12px 7px 10px;
	color: #fff;
	text-decoration: none;
	height: 20px;
	transition: .5s;
	-webkit-transition: .5s;
}
#nav a:hover{
	color: #000000;
	text-decoration: none;
	background-color: #FFFFFF;
}

/*--- DROPDOWN ---*/
#nav ul{
	list-style: none;
	position: absolute;
	left: -9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
	z-index: 1021;
	background-image: url(../images/transparent.gif);
}
#nav ul li{
	float: none;
	font-size: 16px;
	border-bottom: 1px solid #231F20;
}
#nav ul a{
	white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{ /* Display the dropdown on hover */
	top: 50;
	left: -25px; /* Bring back on-screen when needed */
	z-index: 1022;
	position: absolute;
	margin: 0;
	padding: 0;
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
	text-decoration: none;
}
#nav 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;
	background-color: #720B1E;
	padding: 10px 15px 8px 8px;
	position: static;
	top: 0px;
	left: 0px;
	z-index: 1025;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
	background-color: #231F20;
	color: #FF3;
}
