/*
 *		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 */
.menu_principal, .menu_principal ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
	text-align:center;
}

.menu_principal 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... */
}

.menu_principal 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 */
}

.menu_principal li li {
	float: none;/* items of the nested menus are kept on separate lines */
}

.menu_principal 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 */
}

.menu_principal li:hover>ul {
	visibility: visible;	/* display submenu them on hover */
	top: 100%;	/* 1st level go below their parent item */
}

.menu_principal 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 */
.menu_principal:after, .menu_principal ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}
.menu_principal, .menu_principal 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 ".menu_principal UL" or this feature may not work properly!
	if you do it, make sure you 110% know what you do */
.menu_principal 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: #000;*/	/* uncomment this if you want to see the "safe" area.
								you can also use to adjust the safe area to your requirement */
}
.menu_principal ul ul {
	/*padding: 30px 30px 30px 10px;
	margin: -30px 0 0 -10px;*/
}

/* Fix for IE5/Mac \*//*/
.menu_principal a {
	float: left;
}
/* End Fix */

/* -- sticky.submenu.END -- */


/* - - - ADxMenu: DESIGN styles [ OPTIONAL, design your heart out :) ] - - - */

.menu_principal {
	width: 746px;
	color: #000000;
	font-size:9px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}

/* For all submenus */
.menu_principal ul {
	width: 250px;
	border: 0px outset;
	color: #db0029;
	background-image: url(images/office_xp_menu_left.png);
	background-repeat: repeat-y;
}

/* Top level menu hover, when looking at a lower level */
.menu_principal a:hover, .menu_principal li:hover>a {
	width: 122px;
	background-color: #FFFFFF;
	border: 0px solid #db0029;
	color: #db0029;
	padding: 0 0px 0 0px;
	line-height: 22px;
	cursor: pointer;
}

/* All links */
.menu_principal li li:hover>ul {	/* inset 2nd+ submenus, to show off overlapping */
	top: 5px;
	left: 88%;
}

.menu_principal a {
	width: 122px;
	font-weight: bold;
	background-color:#db0029;
	text-decoration: none;
	color: #FFFFFF;
	padding: 0 0px 0 0px;
	display: block;
	padding: 0 0px 0 0px;
	line-height: 22px;
}

.menu_principal a:hover, .menu_principal li:hover>a {
	border-right: 1px solid #FFFFFF;
	padding-right:1px;
}

.menu_principal a{
	border-right: 1px solid #FFFFFF;
	padding-right:1px;
}
/* All submenu links */
.menu_principal li ul a {
	width: 190px;
	font-size:11px;
	font-weight: normal;
	color: #FFFFFF;
	background-color: #db0029;
	text-align: left;
	display: block;
	padding: 0px 15px 0px 30px;
	padding: 0px 15px 0px 15px;
	border:0px;
	line-height: 25px;
	opacity:0.9;
	filter:alpha(Opacity=90);
}
.menu_principal li ul a:hover {
	width: 190px;
	text-decoration: none;
	background-color: #FFFFFF;
	color: #db0029;
	padding: 0px 14px 0px 29px;
	padding: 0px 15px 0px 15px;
	line-height: 25px;
	opacity:0.9;
	filter:alpha(Opacity=90);
}

/* Submenu hover, when looking at a lower level */
.menu_principal li ul li:hover>a {
	width: 190px;
	background-color: #FFFFFF;
	color: #db0029;
	padding: 0px 14px 0px 29px;
	padding: 0px 15px 0px 15px;
	line-height: 25px;
	cursor: pointer;
	opacity:0.9;
	filter:alpha(Opacity=90);
}


.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: #db0029;
	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;
}

.menu_principal ul li .menuArrow {
	position: absolute; /* Do not alter this line! */
	background-image: url(../imgs/arrow_right.png);
	background-repeat: no-repeat; /* Do not alter this line! */
	margin-top: 4px;
	height: 7px;
	right: 35px;
	width: 4px;
}

.menu_principal ul li .menuImg {
	position: absolute; /* Do not alter this line! */
	margin-top: 2px;
	height: 16px;
	left: 4px;
	width: 16px;
	display: block;
}
.menu_principal a img{
	border:0px;
}
