/*
 *    Horizontal, top-2-bottom menu
 *    Copyright Aleksandar Vacic, www.aplus.co.yu, some rights reserved http://creativecommons.org/licenses/by/2.0/
 */

/* - - - ADxMenu: BASIC styles [ MANDATORY ] - - - */

/* remove all list stylings */
.mainMenu, .mainMenu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}

.mainMenu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;	/* move all main list items into one row, by floating them */
	position: relative;	/* position each LI, thus creating potential IE.win overlap problem */
	z-index: 5;		/* thus we need to apply explicit z-index here... */
}

.mainMenu li:hover {
	z-index: 10000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

.mainMenu li li {
	float: none;/* items of the nested menus are kept on separate lines */
}

.mainMenu ul {
	visibility: hidden;	/* initially hide all submenus. */
	position: absolute;
	z-index: 10;
	left: 0;	/* while hidden, always keep them at the top left corner, */
	top: 0;		/* 		to avoid scrollbars as much as possible */
}

.mainMenu li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
}

.mainMenu li li:hover>ul {	/* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}

/* -- float.clear --
	force containment of floated LIs inside of UL */
.mainMenu:after, .mainMenu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
.mainMenu, .mainMenu ul {	/* IE7 float clear: */
	min-height: 0;
}
/* -- float.clear.END --  */

/* -- sticky.submenu --
	it should not disappear when your mouse moves a bit outside the submenu
	YOU SHOULD NOT STYLE the background of the ".mainMenu UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.mainMenu ul {
	background-image: url(empty.gif);	/* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
	padding: 10px 30px 30px 30px;
	margin: -10px 0 0 -30px;
	/*background: #f00;*/	/* uncomment this if you want to see the "safe" area.
								you can also use to adjust the safe area to your requirement */
}
.mainMenu ul ul {
	padding: 30px 30px 30px 10px;
	margin: -30px 0 0 -10px;
}
/* -- sticky.submenu.END -- */






/* - - - ADxMenu: DESIGN styles [ OPTIONAL, design your heart out :) ] - - - */

.mainMenu {
	height:35px; 
	background: url(images/nav-bg.jpg) repeat-x; 
	font-family: Lucida Sans Unicode, sans-serif, Arial;
	font-size:14px; 
	margin: 0 8px 0 7px;
	z-index:500;
	white-space:nowrap;
	color:#ddd;
	font-weight: bold;
}

.mainMenu ul li {
	color: #eee;
	background: #4a4a4a;
}

.mainMenu ul {
	width: 21em;
	font-size:12px; 
}

.mainMenu a {
  text-decoration: none;
  color: #eee;
  padding: .4em 1em;
  display: block;
  position: relative;
  text-align: left;
}

.mainMenu a:hover, .mainMenu li:hover>a {
  color: #CEFC51;
	cursor:pointer; 
}

.mainMenu li li {	/* create borders around each item */
	border: 1px solid #666;
}
.mainMenu ul>li + li {	/* and remove the top border on all but first item in the list */
	border-top: 0;
}

.mainMenu li li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping */
	top: 5px;
	left: 90%;
}

/* Fix for IE5/Mac \*//*/
.mainMenu a {
	float: left;
}
/* End Fix */

.mainMenu li ul a {
background: url(images/arrow-grey.gif) 5px center no-repeat;
text-indent: 5px;
}

.menuHeader {
  display: none;
}

/* Stop images appearing on the top level */
.menuImg {
  display: none;
}


/* Everything below is for the benefit of submenus */
.menu_break {
  display: block;
  margin: 0 2px 0 26px;
  background: transparent;
  background-color: #ECE9D8;
  border: 1px inset;
  -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
  -moz-border-right-colors: ThreeDLightShadow ThreeDHighlight;
  -moz-border-bottom-colors: ThreeDLightShadow ThreeDHighlight;
  -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
}

.mainMenu ul li .menuArrow {
  position: absolute; /* Do not alter this line! */
  background-image: url(images/arrow-grey.gif);
  background-repeat: no-repeat; /* Do not alter this line! */
  margin-top: 4px;
  height: 7px;
  right: 8px;
  width: 4px;
}

.mainMenu ul li .menuImg {
  position: absolute; /* Do not alter this line! */
  margin-top: 2px;
  height: 16px;
  left: 4px;
  width: 16px;
  display: block;
}
