/* Standard (top) Navigation Rules

	NOTE! - Rules for creating a side navigation are listed below the standard (top) navigation rules.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*/

.navigation {
	margin : 0 auto 0 auto;
	padding : 0;
	width : 760px;
	display : block;
	clear : both;
	position : relative;
}

.navigation a {
	margin : 0;
	padding : .5em 10px .5em 10px;
	width : auto;
	text-align : left;
	font-weight : normal;
	border-right : none;
	display : block;
	float : left;
	clear : none;
}

.navigation ul {
	margin : 0;
	padding : 0;
	width : auto;
	list-style : none;
	display : block;
	float : left;
}

.navigation li {
	margin : 0;
	padding : 0;
	width : auto;
	border : none;
	display : block;
	float : left;
	clear : none;
	position : relative;
}

/* These rules are the default settings for all levels of sub-navigation */

.navigation li ul, .navigation li li ul, .navigation li li li ul {
	margin : 0;
	padding : 0;
	width : 160px;
	display : block;
	position: static;
	clear : both;
}

.navigation li { background : #555; }
.navigation li li, .navigation li li li, .navigation li li li li { background : #555; }
.navigation li a, .navigation li li a, .navigation li li li a { color : #fff; }

/* Top Navigation Rules

	The following rules are specific to top navigation
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*/

.topNav { z-index : 10; }

.topNav ul {
	margin : 0;
	padding : 0 0 0 97px;
	height : 65px;
	width : 663px;
	list-style : none;
	background : url(../images/template/navigationBackground.jpg) top left no-repeat;
	display : block;
	float : left;
	position : relative;
}

.topNav li ul { top : 65px; left : 0; border-top : 1px #c1c1c1 solid; background : none; }
.topNav li li ul, .topNav li li li ul { border : none; background : none; }

.topNav li {
	margin : 0;
	padding : 0;
	width : auto;
	border : none;
	background : none;
	display : block;
	position : relative;
	float : left;
}

.topNav li li { padding : 0; border-bottom : 1px #999 solid; background : none; }

/* Rules for topNav standard links */

.topNav a {
	margin : 0;
	padding : .8em 10px .8em 10px;
	width : auto;
	color : #fff;
	text-align : left;
	font-weight : normal;
	border : none;
	display : block;
	float : left;
	clear : none;
}

.topNav a:hover { color : #fff; background : url(../images/nav_hover.gif) top right repeat-x; }

.topNav li a { color : #333; }
.topNav li li a, .topNav li li li a, .topNav li li li li a { color : #333; background : url(../images/template/subNavigationBackground.gif) bottom left repeat-x; }
.topNav li li a:hover, .topNav li li li a:hover, .topNav li li li li a:hover { color : #fff; background : url(../../src/images/template/navigationHover.gif) top left repeat-x #999; }
/* Rules for topNav selected links */

.topNav li.selected { background : url(../images/nav_divide.gif) top right no-repeat; }
.topNav li li.selected, .topNav li li li.selected { background : transparent; }
/* Rules for topNav active links */

.topNav li.active { background : url(../images/nav_divide.gif) top right no-repeat; }
.topNav li li.active, .topNav li li li.active { background : transparent; }

/* These rules set the values for the different link states for the menu links */

.topNav li a { width : auto; text-align : center; }

.topNav li li a { width : 120px; text-align : left; }

/* a link in a <li> with the leaf class has no children */

.topNav li.leaf a { width : auto; text-align : center; }
.topNav li li.leaf a { width : 140px; text-align : left; }

/* "click" links only allow room for a "+" they do not link to an href, their main purpose is that they
expand to reveal children when clicked */

.topNav a.click { padding : .5em 0 .5em 0; width : 20px; text-align : center; }

/* "hover" links expand to reveal children when hovered over but can also go to an href when clicked */

.topNav li li a.hover { width : 140px; text-align : left; }

/* Side Navigation Rules

	The following rules will transform the standard (top) navigation into a side-bar nav when the "sideNav" class is applied
	to both the "#content" div and the ".navigation" div. By applying the "sideNav" class in those to places you force the 
	navigation and the content divs to conform to a set size and float left, note the combined width of the two divs should 
	add up to the width of your wrapper div.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*/

.sideNav {
	margin : 0;
	padding : 0;
	width : 160px;
	list-style : none;
	display : block;
	float : left;
	clear : none;
	z-index : 5;
}

#content.withSideNav { padding : 0 1px 1em 0; width : 599px; float : left; clear : right; }

.sideNav ul {
	padding : 29px 8px 14px 8px;
	width : 144px;
	min-height : 350px;
	background : url(../images/template/sideNavBackgroundInterior.jpg) top left no-repeat;
}

.sideNav li {
	margin : 0;
	padding : 0;
	width : 144px;
	list-style : none;
	border : none;
	background : transparent;
	display : table;
	clear : both;
}

.sideNav li a {
	margin : 0;
	padding : .65em 0 1.3em 0;
	width : 144px;
	color : #555;
	text-align : center;
	border : none;
	background : url(../images/template/sideNavLinkBackground.gif) bottom left no-repeat;
	display : block;
	float : left;
}

.sideNav li a:hover { color : #369; }

/* Rules for topNav active links */

.sideNav li.active a { color : #f90; background : url(../images/template/sideNavLinkActive.gif) bottom left no-repeat; }

/* Graphic Links

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _*/

.topNav a.graphicLink {
	margin : 0;
	padding : 0;
	height : 65px;
	width : auto;
	border : none;
	text-indent : -5000px;
	display : block;
	float : left;
	clear : none;
}

/* These rules set widths for the links in the navigation

	For a top navigation I think it is best to force some kind of restraint on the growth of the text.
	Simply applying widths through classes can make a liquid design maintain some sort of order 
	
	If used in addition to ".graphicLink" you would specify the background images in the seperate classes here. */
	
.topNav li a.link1 { width : 64px; background : url(../images/template/navigationLinks.gif) 0px 0px; }
.topNav li a.link2 { width : 98px; background : url(../images/template/navigationLinks.gif) 599px 0px; }
.topNav li a.link3 { width : 144px; background : url(../images/template/navigationLinks.gif) 501px 0px; }
.topNav li a.link4 { width : 93px; background : url(../images/template/navigationLinks.gif) 357px 0px; }
.topNav li a.link5 { width : 61px; background : url(../images/template/navigationLinks.gif) 264px 0px; }
.topNav li a.link6 { width : 86px; background : url(../images/template/navigationLinks.gif) 203px 0px; }
.topNav li a.link7 { width : 117px; background : url(../images/template/navigationLinks.gif) 117px 0px; }

.topNav li a.link1:hover { width : 64px; background : url(../images/template/navigationLinks.gif) 0px 65px; }
.topNav li a.link2:hover { width : 98px; background : url(../images/template/navigationLinks.gif) 599px 65px; }
.topNav li a.link3:hover { width : 144px; background : url(../images/template/navigationLinks.gif) 501px 65px; }
.topNav li a.link4:hover { width : 93px; background : url(../images/template/navigationLinks.gif) 357px 65px; }
.topNav li a.link5:hover { width : 61px; background : url(../images/template/navigationLinks.gif) 264px 65px; }
.topNav li a.link6:hover { width : 86px; background : url(../images/template/navigationLinks.gif) 203px 65px; }
.topNav li a.link7:hover { width : 117px; background : url(../images/template/navigationLinks.gif) 117px 65px; }

/* Use this class to create a graphic link dtyle instead of text */

.graphicLink { height : 65px; width : auto; overflow : hidden; }

