/* common styling */
#ag_main_menu {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 27px;
	float: right;
	line-height: 27px;
}
#ag_menu,
#ag_menu ul,
#ag_menu li {
	padding: 0;
	margin: 0;
}
#ag_menu {
	position: relative;
	padding: 0 0 0 3px;
	z-index: 99; /* fix */
}
#ag_menu li {
	position: relative;
	padding: 0;
	margin-left: 3px;
	float: left;
	height: 26px;
	line-height: 26px;
	list-style: none !important;
	display: inline;
	overflow:visible !important; 
}
#ag_menu li a {
	padding: 0 12px;
	height: 26px;
	line-height: 26px;
	display: block;
	white-space: nowrap;
	font-weight: bold;
	text-decoration: none !important;
}
#ag_menu li a:hover {
	text-decoration: none !important;
}
#ag_menu li li { /*width: 100%;*/
	margin: 0;
	clear: both; /*FF 1.0.7 needs this */
	border: none;
}
#ag_menu li ul {
	position: absolute;
	visibility: hidden;
}
#ag_menu li li ul {
	top: 0;
	left: 0;
}
#ag_menu li.hover ul {
	visibility: visible;
}
#ag_menu li.hover ul li ul {
	visibility: hidden;
}
#ag_menu li.hover li.hover ul {
	left: 100%;
	visibility: visible;
}
/* submenu */
#ag_submenu {
	padding: 0;
	list-style: none;
}
#ag_submenu li {
	padding: 0;
	float: left;
}
#ag_submenu li a,
#ag_submenu span.nolink {
	padding: 0px 15px;
	height: 12px;
	line-height: 12px;
	font-weight: bold;
}
#ag_submenu span.nolink {}
#ag_submenu a.active,
#ag_submenu span.nolink.active {
	text-decoration: underline;
}
/*****************ICONS MENU*******************/
/*User icons */
.icon_1 {}
.icon_2 {}
.icon_3 {}
.icon_4 {}
.icon_5 {}
/*Admin icons*/
.ag_admin_1 {}
.ag_admin_2 {}
.ag_admin_3 {}
.ag_admin_4 {}
.ag_admin_5 {}
.ag_admin_6 {}
.ag_admin_7 {}
.ag_admin_8 {}
.ag_admin_9 {}
.ag_admin_10 {}
.ag_admin_11 {}
.ag_admin_rss {}
.ag_admin_12 {}
.ag_admin_13 {}
.ag_admin_14 {}
.ag_admin_15 {}
.ag_admin_16 {}
.ag_admin_17 {}
.ag_admin_18 {}
.ag_admin_19 {}
.ag_admin_20 {}
.ag_admin_21 {}
.ag_admin_22 {}
.ag_admin_23 {}
.ag_admin_24 {}
.ag_admin_25 {}
/*icon users*/
.icon_user_list {}
.icon_user_map {}
/*forum tools icon*/
.icon_show_new {
	background: #fff url('img/icon_mark.png') 4px 50% no-repeat;
}
.icon_mark_topic {
	background: #fff url('img/icon_mark.png') 4px 50% no-repeat;
}
.icon_merge {
	background: #fff url('img/icon_merge.png') 4px 50% no-repeat;
}
.icon_subscribe {
	background: #fff url('img/icon_subscribe.png') 4px 50% no-repeat;
}
.icon_unsubscribe {
	background: #fff url('img/icon_unsubscribe.png') 4px 50% no-repeat;
}
.icon_sticky {
	background: #fff url('img/icon_sticky.png') 4px 50% no-repeat;
}
.icon_unsticky {
	background: #fff url('img/icon_unsticky.png') 4px 50% no-repeat;
}
.icon_open {
	background: #fff url('img/icon_unlock.png') 4px 50% no-repeat;
}
.icon_close {
	background: #fff url('img/icon_lock.png') 4px 50% no-repeat;
}
.icon_move {
	background: #fff url('img/icon_move.png') 4px 50% no-repeat;
}
.icon_rate {
	background: #fff url('img/icon_rate.png') 4px 50% no-repeat;
}
.icon_map {}
.icon_srecent {}
/*search icon*/
.ag_search_icon_1 {}
.ag_search_icon_2 {}
/*PMS icon*/
.pms_icon_1 {}
.pms_icon_2 {}
.pms_icon_3 {}
/* Forum Tools*/
#ag_forum_menu {
	padding: 0;
	text-align: left;
	text-align: center;
}
#ag_f_menu,
#ag_f_menu ul,
#ag_f_menu li {
	padding: 0;
	margin:  0 !important;
	width: 220px;
	border: 0;
}
#ag_f_menu {
	position: relative;
	margin: 0 5px 0 0;
}
#ag_f_menu li {
	position: relative;
	padding: 0;
	margin:  0;
	height: 20px;
	line-height: 20px;
	float: left;
	display: inline;
	list-style: none !important;
}
#ag_f_menu li a {
	padding: 0 10px;
	height: 20px;
	line-height: 20px;
	display: block;
	white-space: nowrap;
	text-decoration: none !important;
}
#ag_f_menu li li { /*width: 100%;*/
	clear: both;  /*FF 1.0.7 needs this */
}
#ag_f_menu li ul {
	visibility: hidden;
}
#ag_f_menu li li ul {
	top:  0;
	left: 0;
}
#ag_f_menu li.hover ul {
	visibility: visible;
}
#ag_f_menu li.hover ul li ul {
	visibility: hidden;
}
#ag_f_menu li.hover li.hover ul {
	visibility: visible;
	left: 100%;
}
/* ---- Menu layout -------------------------- */
#ag_f_menu a.ag_f_menu_title:link,
#ag_f_menu a.ag_f_menu_title:visited,
#ag_f_menu a.ag_f_menu_title:hover {
	width: 140px;
	float: right;
	font-weight: bold;
	color: #555;
	background: #fff url('img/options.png') 96% 50% no-repeat;
	border: 1px solid #eee;
}
/* main level menu */
#ag_f_menu li li {
	padding: 0;
	margin:  0;
	height: 20px;
	line-height: 20px;
	border: 0;
}
#ag_f_menu ul {
	text-align: left;
}
#ag_f_menu ul li.ag_node {
	height: 25px !important;
	line-height: 25px !important;
	background-color: #333;
}
#ag_f_menu ul li.ag_li {
	height: 25px !important;
	line-height: 25px !important;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	border-color: #444;
}
#ag_f_menu ul li.ag_li:first-child {
	border-top: 1px solid #444;
}
#ag_f_menu ul li.ag_separator {
	height: 1px;
}
#ag_f_menu a, #ag_f_menu div {
	padding: 0;
	margin:  0;
	height: 20px !important;
	line-height: 20px !important;
	vertical-align: middle;
	font-size: 11px;
	font-weight: normal;
	text-decoration: none;
}
#ag_f_menu li.disabled a {
	color: gray;
}
#ag_f_menu ul li a {
	padding: 0 10px;
	margin:  0;
	height: 25px !important;
	text-indent: 16px;
	line-height: 25px !important;
	font-size: 11px;
	font-weight: normal;
}
/* 1 level - hover */
#ag_f_menu li.hover a {
	background-color: transparent;
}
/* 2 level - normal */
#ag_f_menu li.hover li a {
	color: #eee !important;
	background-color: #333 !important;
	border: 0 none;
}
/* 2 level - hover */
#ag_f_menu li.hover li.hover a {
	color: #fff !important;
	background-color: #111 !important;
	border: 0;
}
/* 3 level - normal */
#ag_f_menu li.hover li.hover li a {
	border: none;
}
/* 3 level - hover */
#ag_f_menu li.hover li.hover li a:hover {
	border: 0;
}