/* 
 *	Horizontal, top-2-bottom
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *	(c) 2004 - Aleksandar Vacic, www.aplus.co.yu
 * Some rights reserved, http://creativecommons.org/licenses/by/2.0/
 *	- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 */

@import url("adxmenu_icons.css");

/*		------	Basic style	------		*/

#adxm {
  display: block;
}

#adxm ul {
  margin: 0;
  padding: 0;
  border: 0;
  list-style-type: none;
}

#adxm li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
	position: relative;
}

#adxm a {
	display: block;
}

#adxm li li {
	width: 100%;
}

/* fix the position for 2nd level submenus. first make sure no horizontal scrollbars are visible on initial page load... */
#adxm li li ul {
	top: 0;
	left: 0;
}

/* ...and then place it where it should be when shown */
#adxm li li:hover ul {
	left: 100%;
}

/* initialy hide all sub menus */
#adxm li ul {
	display: none;
	position: absolute;
	z-index: 10;
}

/* display them on hover */
#adxm li:hover>ul {
	display: block;
}

/* this is needed if you want to style #menu div - force containment of floated LIs inside of main UL */
#adxmList:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

/* Clear-fix for IE5/Mac \*//*/
#adxm a {
	float: left;
}

#adxmList {
	display: inline-block;
}
/*  */

/*		------   Make-up	--------			*/

#adxm {
	font-family: Tahoma, sans-serif;
	font-size:1em;
	color:#0F0;
	background-color:#EEE;
	border:1px solid #CCC;
	width:385px;
}

#adxm a {
	text-decoration: none;
	text-align: center;
	color: #000;
	padding:2px 5px 2px 5px;
}

#adxm li {
	margin: 2px;
	padding: 1px;
}

#adxm li:hover {
	background-color: #ddd;
	padding: 0;
	border: 1px solid #ccc;
}

/* 	we can't use 100% because LIs have margin and padding (although latter is more important) */
#adxm li li {
	width: 124px;
}

#adxm li ul {
  color:#000;
  background-color:#EEE;
  background-image:url(../img/adxmenu/iconbg.gif);
  background-repeat:repeat-y;
  border:1px solid #ccc;
  width:130px;
}

#adxm li ul a {
	text-align: left;
	padding-left: 29px;
}

#adxm li li.submenu {
	background-image: url(../img/adxmenu/arrow-w.gif);
	background-repeat: no-repeat;
	background-position: right;
}

#adxm li li.submenu>a {
	background: url(../img/adxmenu/arrow-b.gif) no-repeat right;
}

#adxm li li.submenu:hover>a {
	background-image: none;
}

