/* TransMenu
-------------------------------------------------
Originally developed by Aaron Boodman
http://www.youngpup.net/
--------------------------------------------------
NOTE: TransMenu background and some
configurations are located in the ja-transmenu.js.
-------------------------------------------------*/

/* 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 {
	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 */
.transMenu .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 */
.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;
   font-size: 11px;
   text-decoration: none;
	/* this is a hack for mac/ie5, whom incorrectly cascades the border properties of the parent table to each row */
	border: none;
	cursor: pointer;
	cursor: hand;
}

/* 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 {
	background: #959793;
	color: #FFFFFF;
}

/* 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 {
	background: #7E9F2A;
	color: #FFFFFF!important;
	/* -moz-opacity: .6;
	filter: alpha(opacity=60); */
}
 
.transMenu .item #active.hover {
	color: #FFFFFF;
}
div#ja-topnav-outer {
	display: none;
	background: #466291;
	width: 949px;
	height: 21px;
	overflow: hidden;

}
div#ja-topnav {
	display: inline;	
}

#lb_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 949px;
	height: 500px;	
}

#lb_box {
	position: fixed;
	left: 50%;
	margin-left: 6px !important;
	margin-left: 4px;
	top: 153px;
}

/* For first level menu.*/
ul#ja-transmenu {
	display: inline;
	margin: 0;
	padding: 0;
	width: 1048px !important;
	overflow: hidden;
	height: 21px;
}

#ja-transmenu li {
	margin: 0;
	padding: 0;
	background: none;
	display: inline;
}

#ja-transmenu li a { /* common styles for 1st level menu */
	padding: 0 13px !important;
	padding: 0 14px;
	float: left;
	font-weight: bold;
	line-height: 18px;
	height: 21px;
	text-decoration: none;
	display: block;
	text-align: center;
	font-size: 0.9em;
	color: #FFF;
	background: #466291 url(../images/button_grad.png) top left repeat-x;
	border: none;
	border-left: 1px solid #466291;
	border-right: 1px solid #051546;
}

#ja-transmenu li a:hover { /* common styles for 1st level menu */
	color: #FFF;
	background: #051546;
	border-left: 1px solid #051546;	
}

div#ja-box table.moduletable {
	width: 25%;
	float: right;
}

div#ja-box table.moduletable td {
	white-space: nowrap;
	text-align: right;
}

div#ja-box table.moduletable td a {
	display: inline;
	height: 14px;
	font-size: 12px;
	z-index: 101;
}

div#ja-box {
	width: 510px;
	height: 21px;
	z-index: 53000;
	text-align: right;
	margin-right: 7px;
	padding-right: 0px;
	padding-top: 1px;
	padding-right: 0;
	position: relative;
	float: right;
	white-space: nowrap;
	top: -21px;
	display: none;
}

td.outline table.moduletable td {
	text-align: right;
}

td.outline table.moduletable a#ja_login_link {
	font-size: 0.9em;
	color: #c64934;
	font-weight: bold;
}

td.outline table.moduletable a#ja_logout_link {
	font-size: 0.9em;
	color: #c64934;
	font-weight: bold;
}

a.havechild-mainlevel-trans {
	border-top: 1px solid #363636;
	border-right: 1px solid #FFFFFF;
	color: #EFEFEF;
	background: url(../ja_transmenu/img/arrow-off.gif) 92% 50% no-repeat;
}

a.havechild-mainlevel-trans:hover, a.mainlevel-trans:active {
	border-top: 1px solid #959793;
	color: #FFFFFF;
	background: #959793 url(../ja_transmenu/img/arrow-on.gif) 92% 50% no-repeat;
}

a.havechild-mainlevel_active-trans {
	border-top: 1px solid #7E9F2A;
	border-right: 1px solid #FFFFFF;
	background: #7E9F2A url(../ja_transmenu/img/arrow-off.gif) 92% 50% no-repeat;
	color: #FFFFFF;
}

a.havechild-mainlevel_active-trans:hover , a.havechild-mainlevel_active-trans:active {
	border-top: 1px solid #959793;
	background: #7E9F2A url(../ja_transmenu/img/arrow-on.gif) 92% 50% no-repeat;
}

a.mainlevel-trans {
	border-top: 1px solid #363636;
	border-right: 1px solid #FFFFFF;
	color: #EFEFEF;
}

a.mainlevel-trans:hover, a.mainlevel-trans:active {
	border-top: 1px solid #959793;
	background: #959793;
	color: #FFFFFF;
}

a.mainlevel_active-trans {
	border-top: 1px solid #7E9F2A;
	border-right: 1px solid #FFFFFF;
	background: #7E9F2A;
	color: #FFFFFF;
}

a.mainlevel_active-trans:hover , a.mainlevel_active-trans:active {
	border-top: 1px solid #959793;
	background: #7E9F2A;
}
