#nav, #nav ul {
  float: left;
  list-style: none;
  line-height: 1;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}
#nav a {
  display: block;
  text-decoration: none;
  padding: 0;
  color: #666666;
  font-family: Trebuchet MS, Arial, Helvetica, sans-serif;
  font-size: 11px;
}
#nav li {
  float: left;
  padding: 0;
  background-color: #FFFFFF;
  z-index: 1;
}
#nav li ul {
  position: absolute;
  left: -999em;
  height: auto;
  width: 176px;
  font-weight: normal;
  margin: 0;
  margin-top: 0px;
}
#nav li li {
  width: 176px;
  z-index: 100;
}
/*---controls margin and size for all links note width + padding equals the above width---*/
#nav li ul a {
  width: 150px;
  padding: 8px 12px 9px 12px;
  border-top-width: 0px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: none;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-right-color: #CCCCCC;
  border-bottom-color: #CCCCCC;
  border-left-color: #CCCCCC;
  line-height: 1;
}
/*---controls positions of lower level menus---*/
#nav li ul ul {
  margin: -26px 0 0 166px;
  z-index: 100;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
  left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
  left: auto;
}
/*---background color for li hover items---*/
#nav li:hover, #nav li.sfhover {
  background-color: #000000;
}
/*---link color for li items---*/
#nav li ul li:hover li a, #nav li ul li.sfhover li a, #nav li ul li:hover ul li:hover ul li a, #nav li ul li.sfhover ul li.sfhover ul li a {
  color: #666666;
}
/*---link color for li items that have been hovered over---*/
#nav li ul li:hover a, #nav li ul li.sfhover a, #nav li ul li:hover ul li:hover a, #nav li ul li.sfhover ul li.sfhover a, #nav li ul li:hover ul li:hover ul li:hover a, #nav li ul li.sfhover ul li.sfhover ul li.sfhover a {
  color: #FFFFFF;
}



#navright {
	width: 259px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_right.gif);
}
/*-----mainnav styles-----*/
#navhome a.topnav{
	width: 66px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_home.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navhome:hover a.topnav, #navhome.sfhover a.topnav {
  	background-position: left -35px;
}
#navhome-active a.topnav, #navhome-active:hover a.topnav, #navhome-active.sfhover a.topnav{
  	width: 66px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_home.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}
#navproducts a.topnav{
	width: 83px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_products.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navproducts:hover a.topnav, #navproducts.sfhover a.topnav {
  	background-position: left -35px;
}
#navproducts-active a.topnav, #navproducts-active:hover a.topnav, #navproducts-active.sfhover a.topnav{
  	width: 83px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_products.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}
#navstorelocator a.topnav{
	width: 109px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_store.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navstorelocator:hover a.topnav, #navstorelocator.sfhover a.topnav {
  	background-position: left -35px;
}
#navstorelocator-active a.topnav, #navstorelocator-active:hover a.topnav, #navstorelocator-active.sfhover a.topnav{
  	width: 109px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_store.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}
#navteam a.topnav{
	width: 105px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_team.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navteam:hover a.topnav, #navteam.sfhover a.topnav {
  	background-position: left -35px;
}
#navteam-active a.topnav, #navteam-active:hover a.topnav, #navteam-active.sfhover a.topnav{
  	width: 59px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_team.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}
#navnewsletter a.topnav{
	width: 141px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_newsletter.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navnewsletter:hover a.topnav, #navnewsletter.sfhover a.topnav {
  	background-position: left -35px;
}
#navnewsletter-active a.topnav, #navnewsletter-active:hover a.topnav, #navnewsletter-active.sfhover a.topnav{
  	width: 141px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_newsletter.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}
#navcompetitions a.topnav{
	width: 103px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_competitions.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navcompetitions:hover a.topnav, #navcompetitions.sfhover a.topnav {
  	background-position: left -35px;
}
#navcompetitions-active a.topnav, #navcompetitions-active:hover a.topnav, #navcompetitions-active.sfhover a.topnav{
  	width: 103px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_competitions.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}
#navcontact a.topnav{
	width: 80px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_contact.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left 0px;
}
#navcontact:hover a.topnav, #navcontact.sfhover a.topnav {
  	background-position: left -35px;
}
#navcontact-active a.topnav, #navcontact-active:hover a.topnav, #navcontact-active.sfhover a.topnav{
  	width: 80px;
	height: 35px;
	background-image: url(../images/smith-optics/nav/nav_contact.gif);
	padding: 35px 0 0 0;
	overflow: hidden;
	height: 0px !important;
	height /**/: 35px;
	background-position: left -35px;
}

