/* 
 *	Horizontal, top-2-bottom
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *	(c) 2004 - Aleksandar Vacic, www.aplus.co.yu
 * Some rights reserved, http://creativecommons.org/licenses/by/2.0/
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 */

@import url(MenuIcons.css );

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

#menu {
	display: block;
	z-index:1001;
}

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

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

#menu a {
	display: block;
	z-index:1001;
}

#menu li li {
	width: 100%;
	z-index:1001;

}

/* 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 {
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: white;
	border: none;
}

#menu a {
	text-decoration: none;
	text-align: center;
	color: white;
	padding: 1px 5px 1px;
	font-weight: Bold;
}

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

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

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

#menu li ul {
	color: #fff;
	background-color: navy;
	background-image: url(images/iconbg.gif);
	background-repeat: repeat-y;
	border: 1px solid #ccc;
	width: 160px;
}

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

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

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

#menu li li.submenu:hover>a {
	background-image: none;
}

