/* 
 *	Vertical, left-2-right menu
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *	(c) 2004 - Aleksandar Vacic, www.aplus.co.yu
 * Some rights reserved, http://creativecommons.org/licenses/by-sa/2.0/
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 */



/*		------	Basic style	------		*/

#menu {
	display: block;
	margin: 3px 0 0px 0;
	}

#menu ul {
	margin: 0;
	padding: 0 0 0 9px;
	border: 0;
	list-style-type: none;
}

#menu li {
	margin: 0;
	padding: 0 0 0 0px;
	border: 0;
	display: block;
	position: relative;
	
}

#menu a {
	display: block;
}

#menu li {
	width: 100%;
}

/* fix the position for 2nd level submenus. first make sure no horizontal scrollbars are visible on initial page load... */
#menu li ul {
	top: 0;
	left: 0;
}

/* ...and then place it where it should be when shown */
#menu li:hover ul {
	left: 100%;
}

/* initialy hide all sub menus */
#menu li ul {
	display: none;
	position: absolute;
	z-index: 10;
}

/* display them on hover */
#menu li:hover>ul {
	display: block;
}

/* this is needed if you want to style #menu div - force containment of floated LIs inside of main UL */
#menuList:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

/* Clear-fix for IE5/Mac \*//*/
#menuList {
	display: inline-block;
}
/*  */

/*		------   Make-up	--------			*/

#menu { 	width: 190px;	/* 	this width must exist (with any value you need). see note above	 */
	color: #840000;
	font-weight: bold;
	font-size: 11px;
	font-family: "trebuchet MS",Tahoma, sans-serif;
	letter-spacing: 2px;
	width: 190px;	/* 	this width must exist (with any value you need). see note above	 */
}

#menu a {
	text-decoration: none;
	text-align: left;
	color: #840000;
	padding: 0px 0px 0px 20px;
}

#menu li {
	margin: 1px 1px 1px 1px;
	padding:1px;
	border-top: 0px solid White;
	border-left: 0px solid #eaeaea;
	border-bottom: 1px solid White;
	border-right: 0px solid #eaeaea;
}

#menu li:hover {
	background-color: #E4E5C4;
	margin: 1px 0px 1px 0px;
	padding: 1px;
	/*/border-top: 1px solid #CCC788;)  */
	border-left: none;
	/*/border-bottom: 1px solid #CCC788;*/
	border-right: none
}

/* 	we can't use 100% because LIs have margin and padding (although latter is more important) */
#menu li {
	width: 190px;
}

#menu li ul {
	color: #000;
	background-color: #E4E5C4;;
	background-repeat: repeat-y;
	border-bottom:1px solid #CCC788;
	border-right: 0px solid #CCC788;
	border-top: 1px solid #CCC788;
	border-left: 0px solid #CCC788;
	width: 210px;
}

#menu li ul a {
	text-align: left;
	padding-left: 5px;

}
#menu li ul li a:hover {
background-color: White;

}

#menu li.submenu {
		background-image: url(../img/seta.gif);
	background-repeat: no-repeat;
	background-position: left;
	}


#menu li.submenu>a {
	/* background: url(img/bullet2.gif) no-repeat right; 
	*/
}

#menu li.submenu:hover>a {

	/* background-image: url(img/bullet2.gif) no-repeat right;
	*/
}

/*
		------   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 script re-positioning is applied.
		Of course, script could take care of that, but that takes too much code - this is easier.
*/
#menu li ul {
	margin-top: -1px;
}

