/*		Navigation core 	*/

#nav {
	position: relative;
	margin: 0 0 1.2em 0;
}

#nav ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
}

#nav li {
	font-size: 1em;
	line-height: 1;
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
}

#nav a {
	margin: 0;
	display: block;
}

#nav li ul {
	width: 100%;
	min-width: 100%;
	display: block;
	visibility: hidden;
	position: absolute;
	clear: both;
	top: 1.2em;/* watch for this value! you must make sure that this value and value of line-height for the parent items are such that it is possible to move the mouse over to submenu */
	left: 0;
}

#nav li.selected ul, #nav li:hover ul {
	visibility: visible;
	left: 0;
}

#nav li.selected ul {
	z-index: 10;
}

#nav li:hover ul {
	z-index: 100;
}

#navList:after {
	content: ".";
	height: 0;
	display: block;
	overflow: hidden;
	visibility: hidden;
	clear: both;
}

/*		Navigation make-up 	*/

#nav {
	font-size: 1.0em;
	font-weight: bold;
	font-family:Verdana,'Trebuchet MS';
	color: #900; /*#fff;*/
	background-color: #d48c0c;/*#03c;*/
	margin: 0em auto 1em;
	border: 1px solid #fff;/*#03c;*/
	border-width: 1px 0;
	width: 60em;	/* this value should be close to what is needed for elements to stay on one line */
}

#nav a {
	color: #900; /*#fff;*/
	text-decoration: none;
	padding: 0.5em 5px 0.7em;
}

#nav li {
	margin: 0;
	border-right: 1px solid #fff;
}

#nav li:hover {
	color: #000;
	background-color: #900; /*#eee;*/;
}

#nav li:hover ul {
	background-color: #900; /*#eee;*/;
}

#nav li:hover a {
	color: #d48c0c;/*#000;*/
}

/* always pay attention that this two values are such that it is possible to move the mouse over to submenu */
#nav li ul {
	line-height: 2.5;
	top: 2em;
	color: #000;
	background-color: #ffe699; /*#ccc;*/
}

#nav li li {
	border-right: 1px dotted #999;
}

#nav li li a {
	color: #000;
}

#nav li li a:hover {
	text-decoration: underline;
}

/* fix the colors for selected item and submenu, for better usability */

#nav li.selected a, #nav li.selected, #nav li.selected:hover a {
	color: #900; /*#000;*/
}

#nav li.selected, #nav li.selected:hover a, #nav li.selected:hover ul {
	background-color: #ffe699; /*#ccc;*/
}


/* IE5/Mac: \*//*/

#navList {
	display: inline-block;
}

#nav a {
	float: left;
}

#nav li ul {
	top: 1.8em;
	height: 2em;
}

#nav li li, #nav li li a {
	display: inline;
	float: none;
}

/*  */


/* Top Nav */
#globalTopNav	
{
	background-color: transparent; /*#ffe699;*/
	font-size: 0.95em;
	font-variant: small-caps;
	font-weight:bold;
	text-align: right;
	padding: 0;
	margin: 0;
}
#globalTopNav ul
{
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#globalTopNav li
{
	display: inline;
	margin-right: 1em;
}
#globalTopNav a {
	color: #900; /*#fff;*/
	text-decoration: none;
	padding: 0.5em 2px 0.7em;
}
#globalTopNav a:hover {
	color: #fff; /*#fff;*/
	text-decoration: underline;
	padding: 0.5em 2px 0.7em;
}

/* Sub/Left Nav Styles */
#leftcol ul
{
	list-style-type: square;
	list-style-image: url(../../images/icons/star.gif);
	padding: 0px;
	margin: 20px;
}
#leftcol ul li {
	margin-bottom: 4px;
}
#leftcol ul a {
	color: #900; /*#fff;*/
	text-decoration: none;
	padding: 0.5em 2px 0.7em;
}
#leftcol ul a:hover {
	color: #00f; /*#fff;*/
	text-decoration: underline;
	padding: 0.5em 2px 0.7em;
}

/* Footer Nav Styles */
#footer
{
	text-align: center;
	font-size: 90%;
	
}
#footer ul
{
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-top: 15px;
}
#footer li
{
	display: inline;
	margin-right: 1em;
	
}
#footer ul a {
	color: #00f; /*#fff;*/
	text-decoration:none;
	border-bottom: 1px dashed green;
	font-variant: small-caps;
}
#footer ul a:hover {
	color: #900; /*#fff;*/
	text-decoration:underline;
}
