#apiMainMenu{
	width:732px;
	height:46px;
	position:absolute;
	top:0;
	right:0;
	z-index:100;
	line-height:1;
}

.apiChildMenuAHidden{
	display:none!important;
}

#apiMainMenu ul,
#apiMainMenu li{
	margin:0;
	padding:0;
	list-style:none;
}

#apiMainMenu li{
	display:inline;
}

/* Main menu items */
#apiMainMenu ul li a{
	display:block;
	float:left;
	background:#aaa url(../../../gfx/ver2-5/default/header/menu_tabBg_2_.png) 100% 0 no-repeat;
	font-size:14px;
	text-decoration:none;
	color:#404040;
	font-weight:bold;
	line-height:1.8;
	margin-left:3px;
	height:25px;
	padding-right:5px;
}

/* Selected main menu item */
#apiMainMenu ul li.apiMenuItemSelected a.apiMenuItemSelected {
	background-color: #666666;
	color: white;
	height: 27px;
	overflow: visible; 
	z-index: 2;
	position: relative;	
}

/* selected child menu item */
#apiMainMenu ul.apiChildMenuSelected li.apiChildMenuItemSelected a.apiMenuItemSelected {
	background: transparent; 
	height: 22px; 
	font-weight: bold;
}

/* Selected child menu item for a hidden main menu item like the frontpage */
#apiMainMenu ul.apiChildMenu li.apiChildMenuItemSelected a.apiMenuItemSelected {
	height: 22px;
	font-weight: bold;	
	background: transparent;
}

#apiMainMenu li a span{
	display:block;
	float:left;
	padding:0 10px 0 15px;
	background:url(../../../gfx/ver2-5/default/header/menu_tabBg_1_.png) 0 0 no-repeat;
	cursor:pointer;
	height:25px;
}

#apiMainMenu ul li a:hover,
#apiMainMenu ul a:hover span{
	color: white;
	text-decoration: underline;
}

/* Child menu */
#apiMainMenu ul ul{
	position: absolute;
	left: 0;
	top: 25px;
	width:734px;
	height:22px;	
	padding-top: 0px;
}

#apiMainMenu ul .apiMenuItemSelected ul{	
	display:block;
}

#apiMainMenu .apiMenuItemSelectedNoChildren a {
	height: 25px;
}

#apiMainMenu .apiChildMenuSelected {
	background: url(../../../gfx/ver2-5/default/header/submenu_bg.png) 0 0 no-repeat;
	top: 25px;
	left: -2px;
	width:734px;
	border-top: 1px solid #CCCCCC; 
	overflow: visible;
	z-index: 1;
}

#apiMainMenu .apiChildMenu {
	border-top: 1px solid #CCCCCC;
	background: transparent none;	
}

#apiMainMenu ul ul a span,
#apiMainMenu ul ul a:hover span{
	background:none;
	padding:0;
	margin:0;
}

/* Child menu link styling */
#apiMainMenu ul ul li a{
	line-height:1.6;
	color:#fff;
	font-weight:normal;
	font-size:12px;
	padding:0 10px;
	margin:0;
	height: 22px;
	background: transparent url(../../../gfx/ver2-5/default/header/menu_sub_separator.png) 0 0 repeat-y; 
	overflow:hidden;
}

#apiMainMenu ul ul li a:hover{
	color:#ddd;
	background:url(../../../gfx/ver2-5/default/header/menu_sub_separator.png) 0 0 repeat-y;
}

#apiMainMenu ul ul.apiChildMenuSelected li a span {
	color: #fff;
}

#apiMainMenu ul ul li a.apiMenuFirst,
#apiMainMenu ul ul li a.apiMenuFirst:hover{
	background:none;
}