#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	font-weight: bold;
	text-decoration: none;
	display: block;
	color: #BBBBBB;
}

#nav a:hover {
	color: #FFFFFF;
}

#nav h3 {
	display: block;
}

#nav li { /* all list items */
	float: left;
}

#nav li ul { /* second-level lists */
	width: 6em;
	position: absolute;
	background: #777777;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul li {
	margin-top: 5px;
	margin-left: 10px;
	margin-bottom: 5px;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#content {
	clear: left;
	color: #ccc;
}

#nav li, a, h3 {
	background-position: center top;
	background-repeat: no-repeat;
}

#nav a.dash {
	background-image: url(./img/buttons/dash.gif);
}

#nav a.home {
	background-image: url(./img/buttons/home.gif);
}

#nav a.home:hover, a.home.hover, a.homeselected {
	background-image: url(./img/buttons/homes.gif);
}

#nav a.products {
	background-image: url(./img/buttons/products.gif);
}

#nav a.products:hover, a.products.hover, a.productsselected {
	background-image: url(./img/buttons/productss.gif);
}

#nav a.team {
	background-image: url(./img/buttons/team.gif);
}

#nav a.team:hover, a.team.hover, a.teamselected {
	background-image: url(./img/buttons/teams.gif);
}

#nav a.news {
	background-image: url(./img/buttons/news.gif);
}

#nav a.news:hover, a.news.hover, a.newsselected {
	background-image: url(./img/buttons/newss.gif);
}

#nav a.links {
	background-image: url(./img/buttons/links.gif);
}

#nav a.links:hover, a.links.hover, a.linksselected {
	background-image: url(./img/buttons/linkss.gif);
}

#nav a.stardesk {
	background-image: url(./img/buttons/stardesk.gif);
}

#nav a.stardesk:hover, a.stardesk.hover {
	background-image: url(./img/buttons/stardesks.gif);
}

#nav a.contact {
	background-image: url(./img/buttons/contact.gif);
}

#nav a.contact:hover, a.contact.hover, a.contactselected {
	background-image: url(./img/buttons/contacts.gif);
}
