a/* 
 *		Horizontal, top-2-bottom menu
 *		Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved http://creativecommons.org/licenses/by/2.0/
 */


/* - - - Nested tabs, two-level navigation - - - */

#nav {
	position: relative;
}

.navig {
	line-height: 1;
	display: block;
	position: relative;
}

/* remove all list stylings */
.navig, .navig ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
}

/* move all list items into one row, by floating them */
.navig li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
}

/* initialy hide all sub menus */
.navig ul {
	width: 100%;
	display: block;
	visibility: hidden;
	position: absolute;
	clear: both;
	left: 0;
}

/* -- float.clear -- force containment of floated LIs inside of main UL */
.navig:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
/* -- float.clear.END --  */

.navig li.selected ul, .navig li.selected2 ul, .navig li:hover ul {
	visibility: visible;
}

.navig li.selected, .navig li.selected2 ul {
	z-index: 10;
}

.navig li:hover ul {
	z-index: 100;
}

/*		Navigation make-up 	*/

.navig {
	background:url(../images/nav-bg.gif);
	width: 766px;	/* this value should be close to what is needed for elements to stay on one line */
}


.navig a {
	color: #fff;
	font-weight:bold;
	text-decoration: none;
	padding: 9px 6px;
	display: block;
}

.navig li {
	margin: 0;
	border-right: 0px solid #ccc;
}

/* if the following selector was ".navig li:hover a" IE7 will NOT render nested UL! the reason is the background-color rule. */
.navig li:hover {
	color: #000;
	background-color: #eee;
}
/* which is why the link is styled separatelly */
.navig li:hover a {
	color: #000;
	text-decoration: none;
}

.navig li:hover ul {
	background-color: #eee;
}

.navig li:hover li {
	background-color: #eee;
}


.navig ul {
	top: 30px;	/* 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 */
	width: 768px;
	margin-left: -1px;
}

.navig li li {
	border-right: 0px solid #999;
}

.navig li li a {
	color: #000;
}

.navig li li a:hover {
	text-decoration: none;
}

/* fix the colors for selected item and submenu, for better usability */

.navig li.selected a, .navig li.selected .navig li.selected a:hover {
	color: #fff;
	background-color: #777;
	font-weight: bold;
}

.navig li.selected, .navig li.selected:hover a, .navig li.selected ul {
	background-color: #777;
}

.navig li.level2 a, .navig li.level2:hover a {
	font-size:11px;
	font-weight: normal;
	padding: 2px 6px;
}

.navig li.selected2 a {
	font-size:11px;
	font-weight: bold;
	padding: 2px 6px;
}


/* IE5/Mac: \*//*/

.navig {
	display: inline-block;
}

.navig a {
	float: left;
}

.navig li ul {
	top: 1.8em;
	height: 2em;
}

.navig li li, .navig li li a {
	display: inline;
	float: none;
}

/*  */