.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: #000;
	/*background-color: #03c;*/
	/*margin: 3em auto 5em;*/
	padding: 0 1em;
	/*border: 1px solid #03c;*/
	/*border-width: 1px 0;*/
	width: 858px;	/* this value should be close to what is needed for elements to stay on one line */
	/*background-color:red;
	border-bottom: 1px solid #B5B5B5;*/
	height: 24px;
	z-index: 2000;
}

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

.navig li {
	margin: 0;
	/*border-right: 1px dotted #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: #FFF5DB;
	/*border-top: 1px solid #B5B5B5;
	border-left: 1px solid #B5B5B5;
	border-right: 1px solid #B5B5B5;
	border-bottom: 0px solid #B5B5B5;*/
	background-image: url('/img/bg/nav-1.gif');
	height: 24px;
}
/* which is why the link is styled separatelly */
.navig li:hover a {
	color: #000;
}

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

/* always pay attention that the value for top is such that it is possible to move the mouse over to submenu */
.navig ul {
	top: 24px;
	padding: 0 1em;/* should be identical to .navig, for best results */
	color: #000;
	background-color: #ccc;
	width: 858px;
	/*border-bottom: 1px solid #B5B5B5;
	border-top: 1px solid #B5B5B5;
	border-left: 1px solid #B5B5B5;
	border-right: 1px solid #B5B5B5;*/
	background-image: url('/img/bg/nav-1.gif');
}

.navig li li {
	/*border-right: 1px dotted #999;*/
}

.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: #700908;
	background-image: url('/img/bg/nav-1.gif');
	font-weight: bold;
}

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

#liNavSeparate {
	background-color: #fff;
	margin: 0 7px 0 7px;
}