/*-------------------------------------------------------------------------
UNIQUE FORMATTING FOR NAV CONTAINER
-------------------------------------------------------------------------*/
#nav{
	padding: 0;
	margin: 0;
	height: 1%;
	font-size: 14px;
}

/*-------------------------------------------------------------------------
BASIC SET UP
-------------------------------------------------------------------------*/
#nav ul,
#nav ul li,
#nav ul li a{
	display: block;
	margin: 0;
	padding: 0;
}
#nav ul{
	list-style-type: none;
}
#nav ul li{
	float: left;
}

/*----------------------------------------------------------
Code that makes the submenu disappear and reappear
----------------------------------------------------------*/
#nav li ul {
	position: absolute;
	left: -999em;
}
#nav ul,
#nav ul ul{
	line-height: 1;
}
#nav li:hover > ul{ 
	left: auto;
}
#nav li.sfhover ul {
	left: auto;
}
#nav li:hover {
	position: static;
}

#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 { 
	left: auto;
}
#sfhover_iframe{
	z-index: 2;
	position: absolute;
	display: none;
}
#nav ul{
	z-index: 3;
}

/*-------------------------------------------------------------------------
FORMATTING FOR MAIN LINKS
-------------------------------------------------------------------------*/
#nav ul li{
	line-height: 35px;
}
#nav ul li a{
	font-weight: bold;
	display: block;
	margin: 0;
	padding: 0 .5em;
	/*line-height: 36px;*/
}
#nav ul li a:link,
#nav ul li a:visited{
	color: #555555;
	text-decoration: none;
}
#nav ul li a:hover,
#nav ul li a:active{
	color: #35478B;
	text-decoration: underline;
}


/*-------------------------------------------------------------------------
FORMATTING FOR APPEARANCE OF SUBNAVS
-------------------------------------------------------------------------*/
/*Top and bottom border of submenu*/
#nav ul ul{
	background-color: #35478B;
	padding: 1px 0;
}

/*Individual Links*/
#nav ul li li a{
	font-weight: normal;
	padding: 0;
	border-right: 1px solid #35478B;
	border-left: 4px solid #35478B;
	line-height: 21px;
	text-indent: 4px;
}
#nav ul li li a:link,
#nav ul li li a:visited{
	color: #000000;
	background-color: #FFFFFF;
	text-decoration: none;
}
#nav ul li li a:hover,
#nav ul li li a:active{
	color: #FFFFFF;
	background-color: #35478B;
	text-decoration: none;
}

/*Vertical positioning of submenu - Same for all*/
#nav ul ul ul{
	margin-top: -21px;
}


/*-------------------------------------------------------------------------
WIDTHS FOR EACH SUBNAV & POSITIONING OF SUB-SUBNAV
-------------------------------------------------------------------------*/
#link2 ul{
	width: 105px;
}
#link2 ul a{
	width: 100px;
}
#link2 li ul{
	margin-left: 105px;
}
#link2 ul ul{
	width: 205px;
}
#link2 ul ul a{
	width: 200px;
}
#link2 li ul ul{
	margin-left: 205px;
}

#link4 ul{
	width: 165px;
}
#link4 ul a{
	width: 160px;
}
#link4 li ul{
	margin-left: 165px;
}