
/* 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 */

.transMenu {

	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 */

.transMenu .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 */

.transMenu .items {

	position: relative;

	left: 0px;

	top: 0px;

	z-index: 2;

}



.transMenu.top .items {

}



/* 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 */

.transMenu .background {

	position: absolute;

	left: 0px;

	top: 0px;

	z-index: 1;

	-moz-opacity: .9;

	filter: alpha(opacity=90);

}



/* 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 */

.transMenu .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 */

.transMenu .shadowBottom {

	position: absolute;

	z-index: 1;

	left: 3px;

	height: 2px;

	-moz-opacity: .4;

	filter: alpha(opacity=40);

}



/* each TR.item is one menu item */

.transMenu .item {

	color: #FFFFFF;

	text-transform: none;

	text-align: left;

	/* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */

	border: none;

	cursor: pointer;

	font-size: 100%;

}



/* this is the class that is used when the mouse is over an item. script sets the row to this class when required. */

.transMenu .item.hover {

	color: #FFFFFF;

	background: #666666;

}



/* 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 */

.transMenu .item img {

	margin-left: 10px;

}



/* ----------------------------------------------------------------

- Added classes by Khanh - 050629

- Style and mark-up improved by Hieu Nguyen & Ha Le Viet - 060718

-------------------------------------------------------------------*/

.transMenu .item#active {

	color: #FFFFFF;

	background: #CC0000;

	/* -moz-opacity: .6;

	filter: alpha(opacity=60); */

}



.transMenu .item#active:hover {

	color: #FFFFFF;

	background: #CC0000;

}



/* For first level menu.*/

#ja-transmenu {

	margin: 0;

	padding: 0;

}



#ja-transmenu li {

	margin: 0;

	padding: 0;

	background: none;

	display: inline;

}



#ja-transmenu li a { /* common styles for 1st level menu */

	float: left;

	margin: 0;

	padding: 0;

	display: block;

	background: #4F4F4F;

	color: #CACACC;

	font-size: 100%;

	font-weight: bold;

	text-decoration: none;

	line-height: 28px;

}



#ja-transmenu li a span { 

	float: left;

	display: block;

	font-weight: bold;

	padding: 0 20px;

	cursor: pointer;

}



/* Commented Backslash Hack hides rule from IE5-Mac \*/

#ja-transmenu a span { float: none; }

/* End IE5-Mac hack */



#ja-transmenu a.havechild-mainlevel-trans {

}



#ja-transmenu a.havechild-mainlevel-active-trans,

#ja-transmenu a.havechild-mainlevel-active-trans:hover,

#ja-transmenu a.havechild-mainlevel-active-trans:active,

#ja-transmenu a.havechild-mainlevel-active-trans:focus {

	padding: 0 0 0 45px;

	background: url(../images/mainnav-active-left.gif) no-repeat bottom left #C40000;

	color: #FFFFFF;

}



#ja-transmenu a.havechild-mainlevel-active-trans span,

#ja-transmenu a.havechild-mainlevel-active-trans:hover span,

#ja-transmenu a.havechild-mainlevel-active-trans:active span,

#ja-transmenu a.havechild-mainlevel-active-trans:focus span {

	padding: 0 45px 0 0;

	background: url(../images/mainnav-active-right.gif) no-repeat bottom right #C40000;

}



#ja-transmenu a.jahover, #ja-transmenu a.jahover span {

	color: #FFFFFF;

	text-decoration: none;

	background: url(../images/arrow4.png) no-repeat bottom center #4F4F4F;

}



#ja-transmenu a.jahover-active {

	padding: 0 0 0 45px;

	background: url(../images/mainnav-active-left.gif) no-repeat bottom left #C40000;

	color: #FFFFFF;

}



a.mainlevel-trans {

}



#ja-transmenu a.mainlevel-trans:hover,

#ja-transmenu a.mainlevel-trans:active,

#ja-transmenu a.mainlevel-trans:focus {

	color: #FFFFFF;

	text-decoration: none;

	background: url(../images/arrow4.png) no-repeat bottom center #4F4F4F;

}



#ja-transmenu a.mainlevel-active-trans,

#ja-transmenu a.mainlevel-active-trans:hover,

#ja-transmenu a.mainlevel-active-trans:active,

#ja-transmenu a.mainlevel-active-trans:focus {

	padding: 0 0 0 45px;

	background: url(../images/mainnav-active-left.gif) no-repeat bottom left #C40000;

	color: #FFFFFF;

}



#ja-transmenu a.mainlevel-active-trans span,

#ja-transmenu a.mainlevel-active-trans:hover span,

#ja-transmenu a.mainlevel-active-trans:active span,

#ja-transmenu a.mainlevel-active-trans:focus span {

	color: #FFFFFF;

	padding: 0 45px 0 0;

	background: url(../images/mainnav-active-right.gif) no-repeat bottom right #C40000;

}



/* First item */

#ja-transmenu a.havechild-mainlevel-trans-first,

#ja-transmenu a.mainlevel-trans-first {

	background: url(../images/mainnav-left.gif) no-repeat bottom left #4F4F4F;

	padding-left: 30px;

}



#ja-transmenu a.havechild-mainlevel-trans-first:hover span,

#ja-transmenu a.havechild-mainlevel-trans-first:active span,

#ja-transmenu a.havechild-mainlevel-trans-first:focus span,

#ja-transmenu a.mainlevel-trans-first:hover span,

#ja-transmenu a.mainlevel-trans-first:active span,

#ja-transmenu a.mainlevel-trans-first:focus span {

	color: #FFFFFF;

	text-decoration: none;

	background: url(../images/arrow4.png) no-repeat bottom center #4F4F4F;

}



#ja-transmenu a.havechild-mainlevel-active-trans-first,

#ja-transmenu a.mainlevel-active-trans-first {

	background: url(../images/mainnav-active-fl.gif) no-repeat bottom left #C40000;

	padding-left: 45px;

}



#ja-transmenu a.havechild-mainlevel-active-trans-first span,

#ja-transmenu a.mainlevel-active-trans-first span {

	color: #FFFFFF;

	padding: 0 45px 0 0;

	background: url(../images/mainnav-active-right.gif) no-repeat bottom right #C40000;

}



/* last item */

#ja-transmenu a.havechild-mainlevel-trans-last,

#ja-transmenu a.mainlevel-trans-last {

	background: #4F4F4F;

	padding-right: 0;

}



#ja-transmenu a.havechild-mainlevel-trans-last:hover span,

#ja-transmenu a.havechild-mainlevel-trans-last:active span,

#ja-transmenu a.havechild-mainlevel-trans-last:focus span,

#ja-transmenu a.mainlevel-trans-last:hover span,

#ja-transmenu a.mainlevel-trans-last:active span,

#ja-transmenu a.mainlevel-trans-last:focus span {

	color: #FFFFFF;

	text-decoration: none;

	background: url(../images/arrow4.png) no-repeat bottom center #4F4F4F;

}



#ja-transmenu a.havechild-mainlevel-active-trans-last,

#ja-transmenu a.mainlevel-active-trans-last {

	background: url(../images/mainnav-active-left.gif) no-repeat bottom left;

	padding-left: 45px;

}



#ja-transmenu a.havechild-mainlevel-active-trans-last span,

#ja-transmenu a.mainlevel-active-trans-last span {

	padding: 0 10px 0 0;

	background: #C40000;

	color: #FFFFFF;

}