/* CSS Document */

#nav {
	position: relative;
	top: 0;
	left: 0;
	width: 585px;
	height: 49px;
	margin: 0;
	padding: 0;
}

#nav ul	{
	margin: 0;
	padding: 0;
}

#nav a {
	text-decoration: none;
}

#nav li { /*float the main list items*/
	margin: 0;
	float: left;
	display: block;
	padding: 0;
}

#nav li a {
	display: block;
	padding: 0;
}

/*do the image replacement*/
#nav li span {
	position: absolute;
	left: -2000px;
}

#Home a, #About a, #Press a, #Contact a, #CustomerCare a {
	display: block;
	position: relative;
	height: 30px;
	background: url(/styles/default/graphics/topnav.jpg) no-repeat; /* contains all hover states */
}

/*first, put the initial states in place*/
#Home a {
	width: 88px;
	background-position: 0 0;
}
#About a {
	width: 95px;
	background-position: -88px 0;
}
#Press a {
	width: 93px;
	background-position: -183px 0;
}
#Contact a {
	width: 113px;
	background-position: -276px 0;
}
#CustomerCare a {
	width: 194px;
	background-position: -389px 0;
}

/* hover states */
#Home a:hover, #Home:hover a, #Home.over a {
	background-position: 0 -30px;
}
#About a:hover, #About:hover a, #About.over a {
	background-position: -88px -30px;
}
#Press a:hover, #Press:hover a, #Press.over a {
	background-position: -183px -30px;
}
#Contact a:hover, #Contact:hover a, #Contact.over a {
	background-position: -276px -30px;
}
#CustomerCare a:hover, #CustomerCare:hover a, #CustomerCare.over a {
	background-position: -389px -30px;
}

/* active states */
#Home.on a {
	background-position: 0 -60px;
}
#About.on a {
	background-position: -88px -60px;
}
#Press.on a {
	background-position: -183px -60px;
}
#Contact.on a {
	background-position: -276px -60px;
}
#CustomerCare.on a {
	background-position: -389px -60px;
}

/* subnav formatting */

#nav li ul {
	display: none;
	margin: 0;
	padding: 0;
}

#nav li.off ul, #nav li.on ul  { /*put the subnav below*/
	position: absolute;
	display: block;
	top: 30px;
	left: 0;
	margin: 0;
	padding: 0;
}

#nav li ul li a {
	display: block;
	background: none;
	padding: 0;
	margin: 0;
}

#nav li#About.on ul, #nav li#About.over ul	{
	margin-left: 88px;
	padding: 0;
}

#TheShop	{
	width: 96px;
	height: 19px;
	background: url(/styles/default/graphics/subnav_TheShop_off.jpg) no-repeat;
	margin-left: 94px;
}

#TheTeam	{
	width: 96px;
	height: 19px;
	background: url(/styles/default/graphics/subnav_TheTeam_off.jpg) no-repeat;
}

#TheOwner {
	width: 100px;
	height: 19px;
	background: url(/styles/default/graphics/subnav_TheOwner_off.jpg) no-repeat;
}

#nav li#Contact.on ul, #nav li#Contact.over ul	{
	margin-left: 277px;
	padding: 0;
	background: url(/styles/default/graphics/subnav_Directions_off.jpg) no-repeat;
}

#Directions {
	width: 100px;
	height: 19px;
}

/* hover & active states */
#TheShop a:hover, #TheShop:hover a, #TheShop.over a, #TheShop.on a {
	background: url(/styles/default/graphics/subnav_TheShop_on.jpg) no-repeat;
}
#TheTeam a:hover, #TheTeam:hover a, #TheTeam.over a, #TheTeam.on a {
	background: url(/styles/default/graphics/subnav_TheTeam_on.jpg) no-repeat;
}
#TheOwner a:hover, #TheOwner:hover a, #TheOwner.over a, #TheOwner.on a {
	background: url(/styles/default/graphics/subnav_TheOwner_on.jpg) no-repeat;
}
#Directions a:hover, #Directions:hover a, #Directions.over a, #Directions.on a {
	background: url(/styles/default/graphics/subnav_Directions_on.jpg) no-repeat;
}
