/*		------	Basic style	------		*/

#menu {
	/*
	height: ??;
	Since we are floating all LIs, then you need to set height in the make-up part, if you want to place some background on the menu
	*/
	display: block;
	margin-left:5px;

}


#menu ul {
	margin: 0;
	padding: 0;
	border: 1;
	list-style-type: none;
}


#menu li {
	margin: 0;
	padding: 0;
	padding-right:10px;
	border: 0;
	display: block;
	float: left;
	position: relative;
}


#menu a {
	display: block;
}


html #menu li a {
	position: relative;/* Fix IE6's inability to expand clickable area */
}



#menu li ul {
	visibility: hidden;
	position: absolute;
	z-index: 10;
}



/* using display is better (no scrollbars when page loads), but IE can't handle it, so only good browsers should see this */
html>body #menu li ul {
	display: none;
}


#menu li li {
	width: 100%;
}



/* fix the position */
#menu li li ul {
	top: 0;
	left: 100%;
}


/* simulate child selector for IE */
div#menu li:hover ul,
#menu li:hover li:hover ul,
#menu li:hover li:hover li:hover ul {
	visibility: visible;
}

div#menu li:hover li ul,
#menu li:hover li:hover li ul,
#menu li:hover li:hover li:hover li ul {
	visibility: hidden;
}



/* do the normal show, with increased specificity, for good browsers */
#menu ul#menuList li:hover>ul {
	display: block;
	visibility: visible;
}




/*		------   Make-up	--------			*/
#menu {
	font-family:Arial, Verdana;
	font-size: 13px;
	/*letter-spacing: 2px;*/
	color:#4f453c;
	/*background-color: #948367;*/
	/*padding-right: 5px;*/
	/*border-bottom:1px solid #CCCCCC;
	border-top:1px solid #CCCCCC;*/
	/*height: 28px;*//* 	Height mentioned above	 */
}



#menu a {
	text-decoration: none;
	text-align: center;
	color:#4f453c;

}
#menu a:hover {
	text-decoration: none;
	color: #CCCCCC;
	background-color: #60534A;
	/*padding: 3px 5px 3px;*/
	/*text-align: center;*/
}


#menu li {
	margin: 2px;
	padding-left: 46px;
}
#menu li#first {
	
	padding-left: 63px;
}


#menu li:hover {
	/*background-color: #2F2F93;*/
/*	padding: 1px;*/
	/* border: 1px solid #2F2F93;*/
}


#menu li li {
	width: 120px;/* 	we can't use 100% because LIs have margin and padding (although latter is more important) */
	padding-left:0px;
}



#menu li ul {
	color: #339966;
	/*background-image: url(/admin/image/menu/iconbg.gif);*/
	background-repeat: repeat-y;
	background:#a7998d;
	width: 125px;
	font-weight : normal;
}

#menu li ul li{
	padding-left: 3px;
	font-size:11px;
}

#menu li ul a {
	text-align: left;
	/*padding-left: 29px;*/
	/*padding-left: 5px;*/
}


#menu ul li.bold {
		font-weight : bold;
}

#menu li ul a.submenu {
	background-image: url(/admin/image/menu/arrow.gif);
	background-repeat: no-repeat;
	background-position: 100% 5px;
}



/*		------   Specific fixes	(thank to W3C for these) --------			*/

/* 
		I'm gonna move the submenus 5px up
		5px works fine here and it is roughly calculated as:
		padding-bottom + margin-bottom + border-bottom of the LI
		+
		*-top values of the LI

		Mostly it needs a bit of trial and error.
		Basic idea is to remove the scrollbar when menu re-positioning is perfomed. Of course, script could take care of that, but that takes too much code - this is easier.
*/

#menu li li ul {
	margin-top: -5px;
}


