/* 
 *	Horizontal, top-2-bottom
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *	(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: 0;
	padding: 0;
}

#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%;
}

/* 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 \*//*/
#menu a {
	float: left;
}

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

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

#menu {
	color: #fff;
	background-color: #1D3A5D;
	padding: 0px;
	height:27px;
	cursor: pointer;
}

#menu a {
	text-decoration: none;
	text-align: center;
	color: #fff;
	padding: 0px;
}

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

#menu li:hover {
	background-color: transparent;
	padding: 0;
	border: 0px solid #ccc;
}

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

#menu li ul {
	color: #fff;
	background-color: #5372A0;
	background-image: url(../img/bg_menu_off.gif);
	background-repeat: repeat-y;
	border: 1px solid #fff;
	width: 125px;
}

#menu li ul li {
	padding:3px 0px 5px 0px;
}

#menu li ul li:hover {
	background-image:url(../img/bg_menu_on.gif);
	padding:3px 0px 5px 0px;
}

#menu li ul a {
	text-align: left;
	padding-left: 18px;
}

/*#menu li li.submenu {
	background-image: url(img/arrow-w.gif);
	background-repeat: no-repeat;
	background-position: right;
}*/

#menu li li.submenu>a {
	background: url(../img/arrow_b.gif) no-repeat right;
}

#menu li li.submenu:hover>a {
	background: url(../img/arrow_b.gif) no-repeat right;
}