/* 
 *		Navigation core
 *		Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved http://creativecommons.org/licenses/by/2.0/
 */

#nav {
	position: relative;
	top: 90px;
	
}

#nav ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;

}

#nav li {
	font-size: 12px;
	line-height: 1em;
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
}

#nav a {
	margin: 0;
	display: block;
}

#nav li ul {
	width: 770px;
	min-width: 770px;
	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: 40;
}

#nav li:hover ul {
	z-index: 50;
}

#navList:after {
	content: ".";
	height: 0;
	display: block;
	overflow: hidden;
	visibility: hidden;
	clear: both;
}


/*		Navigation make-up 	*/

#nav {
	font-size: .9em;
	font-weight: normal;
	color: #000;
	background:url(../images/hnav1.gif);
	margin: 0;
	border: 0px solid #fff;
	border-width: 0px 0;
	width: 770px;	/* this value should be close to what is needed for elements to stay on one line */
}

#nav a {
	color: #000;
	text-decoration: none;
	padding: 5px 5px 5px;
	margin-top: 2px;
	font-weight: bold;
}

#nav li {
	margin: 0;
	border-right: 1px solid #FFFF42;
}

#nav li:hover {
	color: #000;
	background-color: #000;
}

#nav li:hover ul {
	background-color: #000;
}

#nav li:hover a {
	color: #fff;
}

/* 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: 2.2em;
	color: #fff;
	background-color: #000;
	font-weight: normal;
}

#nav li li {
	border-right: 1px solid #999;
	background-color: #000;
}

#nav li li a {
	color: #000;
	font-weight: normal;

}

#nav li li a:hover {
	text-decoration: none;
	background-color: #000;
}

/* fix the colors for selected item and submenu, for better usability */

#nav li.selected a, #nav li.selected, #nav li.selected:hover a {
	color: #fff;
}

#nav li.selected2 a, #nav li.selected2, #nav li.selected2:hover a {
	color: #fff;
	font-weight: bold;
}

#nav li.level2:hover a {
	color: #fff;
	font-weight: normal;
	background-color: #000;
}

#nav li.selected, #nav li.selected:hover a, #nav li.selected:hover ul {
	background-color: #000;
}


/* 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-block;
	float: none;
}

#nav li ul {
	top: 122px;
	color: #000;
	background-color: #000;
	font-weight: normal;
}

#nav li li {
	display: inline-block;
	line-height: 8px;
}

#nav li.selected a, #nav li.selected, #nav li.selected:hover a {
	display: inline-block;
	background-color: #000;
}


/*  */