/*		Navigation core 	*/

.navig {
	line-height: 1;
	margin: 0 0 1.2em 0;
	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;
	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;
}

/* -- 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:hover ul {
	visibility: visible;
}

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

.navig li:hover ul {
	z-index: 100;
}

/*		Navigation make-up 	*/

.navig {
	font-size: .9em;
	font-weight: bold;
	color: #fff;
	background-color: #0C479D;
	margin: 0 2em;
	padding: 0;
	border: 1px solid #03c;
	border-width: 1px 0;
	width: 52em;	/* this value should be close to what is needed for elements to stay on one line */
}

.navig a {
	color: #fff;
	text-decoration: none;
	padding: 0.5em 5px;
	display: block;
}

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

/* 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: #AAC8F9;
}
/* which is why the link is styled separatelly */
.navig li:hover a {
	color: #000;
}

.navig li:hover ul {
	background-color: #AAC8F9;
}

/* always pay attention that the value for top is such that it is possible to move the mouse over to submenu */
.navig ul {
	top: 2em;
	padding: 0 1em;/* should be identical to .navig, for best results */
	color: #000;
	background-color: #ccc;
	width: 52em;
}

.navig li li {
	border-right: 1px solid #fff;
}

.navig li li a {
	color: #000;
}

.navig li li a:hover {
	text-decoration: underline;
}

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

.navig li.selected a, .navig li.selected, .navig li.selected a:hover {
	color: #000;
	background-color: #ccc;
}

.navig li.selected, .navig li.selected:hover a, .navig li.selected ul {
	background-color: #ccc;
}


/* 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;
}

/*  */

/*]]>*/

[if lte IE 6]>
<style type="text/css" media="screen, tv, projection">
.navig {
	height: 1%;
}

.navig .twolevelhover ul {
	visibility: visible;
	z-index: 100;
}

.navig {
	padding: 0 0px;
}
.navig ul {
	padding: 0 0px;/* MUST BE IN pixels for the next rule to work properly */
	width: expression((this.parentNode.parentNode.offsetWidth - parseInt(this.currentStyle.paddingLeft) - parseInt(this.currentStyle.paddingRight)) + 'px');
}

.navig .twolevelhover a {
	color: #000;
	background-color: #cde;
}

.navig .twolevelhover ul {
	background-color: #cde;
}
