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

# JA Xenia II - Feb, 2007

# ------------------------------------------------------------------------

# Copyright (C) 2004-2006 J.O.O.M Solutions Co., Ltd. All Rights Reserved.

# @license - Copyrighted Commercial Software

# Author: J.O.O.M Solutions Co., Ltd

# Websites:  http://www.joomlart.com -  http://www.joomlancers.com

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



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

}



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

	

	/*filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	opacity: 0.7;*/
	
    

}



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

	

	/*filter: alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;*/

}



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

	

	/*filter: alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;*/

}



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

.transMenu .item {

	color: #333333;
	font-size:12px;
	font-weight:bold;

   text-decoration: none;

	text-transform: 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;

	font-size: 11px;

}



/* 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: #717171;
		font-size:12px;
	font-weight:bold;

}



/* 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: #484848;

	color: #FFFFFF;
		font-size:12px;
	font-weight:bold;

	/*-moz-opacity: 0.6;

	filter: alpha(opacity=60);
	opacity: 0.6;*/

}



.transMenu .item#active:hover {

	color: #FFFFFF;

	background: #484848;
		font-size:12px;
	font-weight:bold;

}



#ja-mainnav div.transmenu-inner {

	float: left;

}



/* For first level menu.*/

#ja-transmenu {

	margin: 0;

	padding: 0;

	float: left;

}



#ja-transmenu li {

	margin: 0;

	padding: 0;

	background: none;

	display: inline;

}



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

	margin: 0;

	padding: 8px 20px 7px;

	float: left;

	display: block;

	background: url(../../images/mainnav-sep.gif) no-repeat top right;

	font-weight: bold;

	text-decoration: none;

}



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

	color: #333333;
		font-size:12px;
	font-weight:bold;

}



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

	background: url(../../images/mainnav-sep.gif) no-repeat top right #FFFFFF;

}



a.havechild-mainlevel-trans {

	background: url(img/arrow-off.gif) center right no-repeat;

}



a.havechild-mainlevel-active-trans,

a.havechild-mainlevel-active-trans:hover,

a.havechild-mainlevel-active-trans:active,

a.havechild-mainlevel-active-trans:focus {

	background: url(../../images/mainnav-active-bg.gif) no-repeat bottom right #FFFFFF!important;

}



a.jahover {

	background: url(../../images/mainnav-sep.gif) no-repeat top right #FFFFFF!important;

}



a.jahover-active {

	background: url(../../images/mainnav-sep.gif) no-repeat top right #FFFFFF!important;

}



a.mainlevel-trans {

}



a.mainlevel-trans:hover,

a.mainlevel-trans:active,

a.mainlevel-trans:focus {

	background: url(../../images/mainnav-sep.gif) no-repeat top right #FFFFFF;

}



a.mainlevel-active-trans,

a.mainlevel-active-trans:hover,

a.mainlevel-active-trans:active,

a.mainlevel-active-trans:focus {

	background: url(../../images/mainnav-active-bg.gif) no-repeat bottom right #FFFFFF!important;

}

