/* Idea from: http://htmldog.com/articles/suckerfish/dropdowns/example/bones1.html */

#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav
{
  line-height: 36px;
}

#nav a {
	display: block;
	/* width: 9em; */
}

#nav li ul li
{
  width: 15em;
}

.logo-rest-inner ul li,
#nav li { /* all list items */
  /* margin-left: 45px; */
	padding-left: 23px;
	padding-right: 56px;
	float: left;
	/* width: 9em; /* width needed or else Opera goes nuts */
}

#nav li ul li
{ /* all list items */
  margin-left: -23px;
  padding-left: 0px;
  padding-right: 0px;
  margin-right: 0px;
  float: left;
  /* width: 9em; /* width needed or else Opera goes nuts */
}


#nav li ul li{ /* all list items */
  margin-left: 0px;
}

#nav li ul { /* second-level lists */
	position: absolute;
	background: white;
	width: 15em;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

/* #nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
#nav li:hover ul,
#nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav
{
  list-style-image: none;
  list-style-type: none;
}

#nav li ul li
{
  border-top: 1px solid gray;
}

#nav, /* for background to the right edge */
#nav li.l1
{
  height: 36px;
  display: block;
}

#nav li.l1 a
{
  display: block;
  font-size: 14.4px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  line-height: 36px;
  height: 36px;
}

#nav li.l1 ul li.l2,
#nav li.l1 ul li.l2 a
{
  height: auto;
}

#nav li.l1 ul li.l2 a
{
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  text-align: left;
  padding-left: 8px;
  line-height: 18px;
}

#nav li.l1 ul
{
  margin-left: -23px;
  list-style-image: none;
  list-style-type: none;
}

