/*
 *		Horizontal, top-2-bottom menu
 *		Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved http://creativecommons.org/licenses/by/2.0/
 */

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

#menu {
	display: block;
	position:relative;
}

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

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

#menu a {
	display: block;
}

#menu li li {
	width: 100%;
}

/* fix the position for 2nd level submenus. first make sure no horizontal scrollbars are visible on initial page load... */
#menu li li ul {
	top: 0;
	left: 0;
}

/* ...and then place it where it should be when shown */
#menu li li:hover ul {
	left: 100%;
}

#menu ul li ul li {	padding: 0; margin:0;}


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

/* Fix for IE5/Mac \*//*/
#menu a {
	float: left;
}

#menuList {
	display: inline-block;
}
/*  */

/*		------   Make-up	--------			*/

#menu {
	width: 923px;
	margin: 0;
	padding: 0;
	text-align: center;
	height: 32px; line-height: 32px;
}
/*
#menu li:hover {
	background-color: #D75808;
	color:white;
}
*/
#menu ul li a {
	text-align: center;
	padding: 0.2em;
	color: #FFFF33;
	border-left: 1px solid #8ED540;
	font: bold 11px Arial, Helvetica, sans-serif;
	text-decoration: none;
	background-color: #666666; height: 32px; line-height: 32px;
}

#menu ul li a:active {
	text-decoration: none;
}

#menu ul li a:hover {
	background-color: #CC33FF;
	color:#FFCC66;
	text-decoration: none;
}

#menu ul li ul {
	text-align:left;
	z-index:1000;
  height: 16px; line-height: 16px;
}

#menu ul li ul a {
	display: block; text-align:left;
	padding: 0.2em; padding-left:5px; font: 8pt Tahoma;
	background-color: #FFFFFF;
	border: 1px solid #A19376; border-top: 0px;
	color: #D4BEB6;
	text-decoration: none;
	color: #0650F9; height: 16px; line-height: 16px;
}

#menu ul li ul a:hover {
	background-color: #e7e7e7;
	border-bottom: 1px solid #D4BEB6;
	background-image:url("../images/pointviolet.gif");
	background-repeat:no-repeat;
	background-position:1% 50%;
	padding-left:12px;
	text-decoration: none;
	color: #CC33FF;
}


