/* 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;
	text-align:center;

}

/* 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;
	left:0px;
}

/* 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: .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: 0px;
	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: 0px;
	height: 0px;
   	-moz-opacity: .4;
	filter: alpha(opacity=40);
}

/* each TR.item is one menu item */
.transMenu .item {
	color: #ffffff !important;
   font-size:10pt;
   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;
    text-align: left;
    height: 10px;
    font-weight: bold;
    text-transform:uppercase;
   
}

.transMenu .item td{
	color: #ffffff !important;
}
/*Xac dinh mau khi hover qua cac menu con */
.transMenu .item.hover {
background: #8FAACD;
	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
-------------------------------------------------------------------*/
/*Xac dinh chieu cao cua menu con khi chua chon*/
.transMenu .item {
  height: 10px;
  line-height: 10px;
}
/*Xac dinh chieu cao cua menu con khi active*/
.transMenu .item#active {
    	color: #FFFFFF;
  height: 10px;
  line-height: 10px;
    background: url(../images/trans-bg.png) repeat-x top;
}
.transMenu td{
    border-top: 0px solid #ccc;
}

.transMenu .item#active td{
  height: 10px;
  line-height: 10px;
  padding:0;
  margin:0;
}

.transMenu .item#active.hover {
	color: #FFFFFF;
    padding:0;
    margin:0;
}

/* For first level menu.*/
#ja-transmenu {
	margin: 0;
	padding: 0;
}

#ja-transmenu li {
	margin: 0;
	padding: 0;
	background: none;
	display: inline;
}
/*Dinh dang menu chinh*/
#ja-transmenu li div.left-menu{
  background: url(../images/left-menu.jpg) no-repeat;
  height:29px;
  width:0px;
  float:left;
}
#ja-transmenu li div.right-menu{
  background: url(../images/right-menu.jpg) no-repeat;
  height:29px;
  width:0px;
  float:left;
}

#ja-transmenu li a { /* common styles for 1st level menu */
	/*padding: 0 10px; */
	font-family: Arial Narrow, Helvetica Nueue, Helvetica, sans-serif;
	float: center;
	line-height: 20px;
	height: 20px;
	text-decoration: none;
	display: block;
	text-align: center;
    color: #663399;
	font-size:11pt;
     background: url(../images/mid-menu1.jpg) repeat-x;
     background-position: center;
}
#ja-transmenu li a:hover{
    	color:#ffffff;
		font-size:11pt;
		font-family: Arial Narrow, Helvetica Nueue, Helvetica, sans-serif;

}

#ja-transmenu li a.mainlevel_active-trans:hover{
           	color:#ffffff;
}
#ja-transmenu li a.havechild-mainlevel_active-trans{
    background-position: center;
  color:#ffffff;
    background:#663399;
}

#ja-transmenu li a.havechild-mainlevel-trans {
   color:#663399;
   background-position: center;
}

#ja-transmenu a.havechild-mainlevel-trans:hover,
#ja-transmenu a.mainlevel-trans:active {
   color:#ffffff;
    background:#663399;
}
/*Xac dinh menu chinh neu co menu con duoc chon*/
#ja-transmenu a.havechild-mainlevel_active-trans {
     background:#663399;
  color:#ffffff;
}

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


}

#ja-transmenu a.mainlevel-trans {
    background: url(../images/vline.jpg) 100% 0% no-repeat;
}
/*Khi menu chinh co hover*/
#ja-transmenu a.mainlevel-trans:hover,
#ja-transmenu a.mainlevel-trans:active {
 background:#663399;
  color:#ffffff;
}

/*Khi menu chinh da active*/
#ja-transmenu a.mainlevel_active-trans {
 	background:#663399;
	color:#ffffff;
}
