/* Navigation */
#nav {
  width: 100%;
  height: 30px;
  padding: 0;
  margin: 0;
  line-height: 1;
  list-style: none;
  position: absolute;
  top: 105px;
  left: 0;
  z-index: 9999;
}

#nav #menu {
  position: static;
  overflow:hidden;
  height: 30px;
	
}

#nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	padding-left: 130px;
}

#nav a {
	text-decoration: none;
	display: block;
	width:90px;
	padding-top:30px;
	background-repeat: no-repeat;
}

#nav a:hover {
	text-decoration: none;
    display: block;
	width:90px;
	padding-top:30px;
	background-position: 0px -30px;
}

#nav li {
	float: left;
	width: 90px;
}

#nav li ul {
	position: absolute;
	width: 90px;
	left: -999em;
	padding-left: 0px;
	margin-top: -12px; /* Adjust menu so that it is directly under the header */
}

#nav li ul a {
  color: #D1D1D1;
}

#nav li ul a:hover {
  color: #FFFFFF;
}

#nav li ul a, #nav li ul a:hover {
	padding-top: 0px;
	background-repeat: no-repeat;
	background-position: 0px;
}

/* if the mouse hovers over the buttons, bring back the menu */
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	background-position: 0 0; /* fix for IE7 overlapping menus */
}

#nav li ul li {
  border-width: 1px 0px 0px 0px;
  border-style: solid;
  border-color: #D1D1D1;      /* the color of the line between entries */
  background: #7F1416;        /* the background color of the menu */
  width: 180px;               /* width of the dropdown menu */
  padding: 5px 0px 5px 10px;  /* padding inside of the menu */
}

#nav li ul a, #nav li ul a:hover {
  width: 180px;               /* width of the dropdown menu */
}

#nav .selected a, #nav .selected a:hover {
  background-position: 0px -60px;
}
