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

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

#menu {
	display: block;
}

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

#menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
	position: relative;
	margin-left: 30px;
	_margin-left: 15px;
	margin-right: 35px;
	_margin-right: 50px;
}

#menu a {
	display: block;	
}

#menu li li {
	width: 100%;
	margin-left: 0px;
	margin-right: 0px;
}

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

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

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

#menu {
	font-size: 11px;
	/*border-bottom: 1px solid #2164AB;*/
}

#menu li:hover {
	background-color: transparent;
	background-image: url('../images/menu_hover.gif');
	background-position: 0px 6px;
	background-repeat: repeat-x;
}

#menu li.last {
	margin-right: 0px;
}

#menu a {
	color: black;
	font-weight: bold;
	padding-top: 8px;
	padding-bottom: 5px;
	font-size: 10px;
}

#menu a:hover {
	color: black;
}

#menu li:hover>a {
	/*color: #fff; */
}

#menu li ul {
	background-color: #774B96;	
	width: 200px;
}

#menu li ul a {
	text-align: left;
	display: block;
	padding: 4px 6px 4px 6px;
	color: white;
	font-weight: normal;
	font-size: 11px;
	border-bottom: 1px solid white;
}

#menu li ul a:hover {
	color: white;
	background-color: #B482D7;
	background-image: none;
}