/* this is the clipping region for the menu. it's width and height get set by script, depending on the size of the items table */
.TransMenuh {
	position: absolute;
	overflow: hidden;
	left: -1000px;
	top: -1000px;
}

/* this is the main container for the menu itself. it's width and height get set by script, depending on the size of the items table */
.TransMenuh .content {
	position: absolute;
}

/* this table comprises all menu items. each TR is one item. It is relatively positioned so that the shadow and background transparent divs can be positioned underneath it */
.TransMenuh .items {
	position: relative;
	left: 0px;
	top: 0px;
	z-index: 2;
}

.TransMenuh.top .items {
	border-top: none;
}

/* this DIV is the semi-transparent white background of each menu. the -moz-opacity is a proprietary way to get transparency in mozilla, the filter is for IE/windows 5.0+. */
/* we set the background color in script because ie mac does not use it; that browser only uses a semi-transparent white PNG that the spacer gif inside this DIV is replaced by */
.TransMenuh .background {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 1;
	-moz-opacity: .8;
	filter: alpha(opacity=80);
}

/* same concept as .background, but this is the sliver of shadow on the right of the menu. It's left, height, and background are set by script. In IE5/mac, it uses a PNG */
.TransMenuh .shadowRight {
	width: 2px;
	position: absolute;
	z-index: 3;
	top: 3px;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}

/* same concept as .background, but this is the sliver of shadow on the bottom of the menu. It's top, width, and background are set by script. In IE5/mac, it uses a PNG */
.TransMenuh .shadowBottom {
	position: absolute;
	z-index: 1;
	left: 3px;
	height: 2px;
	-moz-opacity: .4;
	filter: alpha(opacity=40);
}

/* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */
/* each TR.item is one menu item */
.TransMenuh .item{
	margin: 0px;
	border: none;
	display: block; /* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
	font-size: 11px;
	cursor: pointer;
	cursor: hand;
}

.TransMenuh .item td {
	height: 18px;
	line-height: 16px;
	font-size: 11px;
	color: #FFFFFF;
	font-weight: bold;

}

.TransMenuh .item.hover {
	background-color: #f068b0;
}

.TransMenuh .item.hover td {
	background-color: #f068b0;
}

/* this is either the dingbat that indicates there is a submenu, or a spacer gif in it's place. We give it extra margin to create some space between the text and the dingbat */
.TransMenuh .item img {
	margin-left: 10px;
}

/* Added classes by Khanh - 050629 */
.TransMenuh .item#active {
	background: #8BB448;
	color: #FFFFFF!important;
	-moz-opacity: .6;
	filter: alpha(opacity=60);
}

.TransMenuh .item#active.hover {
	color: #FFFFFF;

	#topnav {
		margin: 0 0 5px;
		height: 32px;
		background-color: #5e388a;
		color: #FFFFFF;
		line-height: normal;
	}

	#topnav li {
		margin: 0;
		float: left;
		padding: 0;
		display: block;
		color: #FFFFFF;
		background: none;
		font-size: 11px;
		line-height: 30px;
	}

	#topnav li a {
		width: 80px;
		height: 30px;
		margin-top: 1px;
		border-right: 1px solid #faf5f9;
		display: block;
		color: #FFFFFF;
		text-align: center;
		text-decoration: none;
	}

	#topnav li a#active_menu-top {
		margin: 0;
		border-right: 1px solid #759275;
		height: 30px;
		line-height: 32px;
	}

	#topnav li a:hover, #topnav li a:active {
		background-color: #8b4d98;
		text-decoration: underline;
	}
	
	#topnav ul {
		margin: 0 0 3px;
		padding: 0;
		float: left;
		height: 32px;
		list-style: none outside;
		text-align: center;
	}
}


/* For first level menu.*/
#wrap {
	margin: 0px;
	padding: 0px;
}

#menu {
	margin: 0px;
	padding: 0px;
}

#menu td {
	width: 150px;
	text-align: left;
}

#mbtTransMenuh {
	margin: 0px;
	padding: 0px;
	width: auto;
}

a.mainlevel-trans:link, a.mainlevel-trans:visited {
	clear: both;
	display: block;
	white-space: nowrap;
	color: #FFFFFF;
	text-decoration: none;
	width: 80px;
	line-height: 25px;
	text-align: center;
	font-size: 11px;
}

a.mainlevel-trans:hover {
	text-decoration: none;

}

a.mainlevel_active-trans, a.mainlevel_active-trans:active {
	color: #FFFFFF;
	text-decoration: underline;
}

a.mainlevel_active-trans:hover {
	color: #FFFFFF;
}

/* End added josh*/
