/*		Navigation core 	*/

.navig {
	line-height: 14px;
	display: block;
	position: relative;

}

/* remove all list stylings */
.navig, .navig ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	height: 32px;
}

/* 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 {
	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;
	margin-top: 1px;
}

.navig li:hover ul {
	z-index: 100;
	margin-top: 1px;
}

/*		Navigation make-up 	*/

.navig {
	font-size: 14px;
	text-transform: uppercase;
	font-weight: normal;
	color: #fff;
	background-color: #524546;
	border: 1px solid white;
	border-bottom: none;
	width: 614px;	/* this value should be close to what is needed for elements to stay on one line */
	height: 31px;
}

.navig a {
	color: #fff;
	text-decoration: none;
	padding: 0.6em 5px 0.6em;
	display: block;
}

.navig li {
	margin: 0;
	border-bottom: 1px white solid;
}

/* 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: white;
	background-color: #756262;
}
/* which is why the link is styled separatelly */
.navig li:hover a {
	color: white;
}

.navig li:hover ul {
	background-color: #756262;
}

/* always pay attention that the value for top is such that it is possible to move the mouse over to submenu */
.navig ul {
	top: 30px;
	left: -0.1em;
	padding: 0;/* should be identical to .navig, for best results */
	background-color: #756262;
	width: 616px;
}

.navig li li {
	text-transform: none;
	border-bottom: none;
}

.navig li li a {
	color: #000;
	padding-right: 10px;
}

.navig li li a:hover {
	text-decoration: underline;
}

/* fix the colors for selected item and submenu, for better usability */
.navig li.selected, .navig li:hover {
	border-bottom: 1px #756262 solid;
}

.navig li.selected a, .navig li.selected, .navig li.selected a:hover {
	color: white;
	background-color: #756262;
}

.navig li.selected, .navig li.selected:hover a, .navig li.selected ul {
	background-color: #756262;
}

li.subselected a, li.subselected a:hover {
	text-decoration: none;
	font-weight: bold;
}