/*------------------------------------------------------------------------
# JA Pariiti - June, 2007
# ------------------------------------------------------------------------
# Copyright (C) 2004-2007 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 somef
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;-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: #A47B65;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: #fff;background: #A47B65;}

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

/* ----------------------------------------------------------------
- Added classes by Khanh - 050629
- Style and mark-up improved by Hieu Nguyen & Ha Le Viet - 060718
-------------------------------------------------------------------*/
.transMenu .item#active {color: #fff;background: #D3660D;/* -moz-opacity: .6;filter: alpha(opacity=60); */}

.transMenu .item#active:hover {color: #fff;background: #D3660D;}

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

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

#ja-transmenu li a { /* common styles for 1st level menu */
	float: left;margin: 0px;padding: 10px 15px 14px 15px;display: block;color: #A47B65;font-size: 100%;font-weight: bold;
}

#ja-transmenu li a:hover,
#ja-transmenu li a:active,
#ja-transmenu li a:focus {background: url(arrow-down.gif) no-repeat top center;color: #fff;outline: none;}

#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 {color: #fff;background: #D3660D;}

#ja-transmenu a.havechild-mainlevel-active-trans-first,
#ja-transmenu a.havechild-mainlevel-active-trans-first:hover,
#ja-transmenu a.havechild-mainlevel-active-trans-first:active,
#ja-transmenu a.havechild-mainlevel-active-trans-first:focus {color: #fff;background: #D3660D;}

#ja-transmenu a.havechild-mainlevel-active-trans-last,
#ja-transmenu a.havechild-mainlevel-active-trans-last:hover,
#ja-transmenu a.havechild-mainlevel-active-trans-last:active,
#ja-transmenu a.havechild-mainlevel-active-trans-last:focus {color: #fff;background: #D3660D;}

#ja-transmenu a.jahover {background: url(arrow-down.gif) no-repeat top center;color: #A47B65;}

#ja-transmenu a.jahover-active {color: #fff;background: #D3660D;}

a.mainlevel-trans {}

#ja-transmenu a.mainlevel-trans:hover,
#ja-transmenu a.mainlevel-trans:active,
#ja-transmenu a.mainlevel-trans:focus {background: url(arrow-down.gif) no-repeat top center;	color: #fff;}

#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 {color: #fff;background: #D3660D;}

/* First item */
#ja-transmenu a.havechild-mainlevel-active-trans-first,
#ja-transmenu a.havechild-mainlevel-active-trans-first:hover,
#ja-transmenu a.havechild-mainlevel-active-trans-first:active,
#ja-transmenu a.havechild-mainlevel-active-trans-first:focus,
#ja-transmenu a.mainlevel-active-trans-first,
#ja-transmenu a.mainlevel-active-trans-first:hover,
#ja-transmenu a.mainlevel-active-trans-first:active,
#ja-transmenu a.mainlevel-active-trans-first:focus {color: #fff;;background: #A47B65 url(arrow-down2.gif) no-repeat top center;}

#ja-transmenu a.havechild-mainlevel-trans-first:hover,
#ja-transmenu a.havechild-mainlevel-trans-first:active,
#ja-transmenu a.havechild-mainlevel-trans-first:focus,
#ja-transmenu a.mainlevel-trans-first:hover,
#ja-transmenu a.mainlevel-trans-first:active,
#ja-transmenu a.mainlevel-trans-first:focus {background: url(arrow-down.gif) no-repeat top center;color: #A47B65;}

/* MAIN NAVIGATION
--------------------------------------------------------- */
#ja-mainnav-wrap {/**background: #F1F1F1;*/ padding: 4px 0;}

#ja-mainnav {width: 700px;margin: 0 auto;/**background: url(mn-right-bg.gif) no-repeat top right #FAF5D7;*/}

div.ja-mainnav-inner {padding-left: 20px;/*background: url(mn-left-bg.gif) no-repeat top left;*/height: 44px;}

#ja-mainnav a,
#ja-mainnav a:hover,
#ja-mainnav a:active,
#ja-mainnav a:focus {border-bottom: none;}

#ja-mainnav ul {margin-top: 0;padding: 0;list-style: none;}

#ja-subnavwrap {}

#ja-subnav {border-bottom: 1px solid #D2C5A3;background: #FAF5D7;}


/* Default Joomla! Menu */
/**
a.mainlevel {
	margin: 0;
	padding: 3px 5px 3px 14px;
	width: 90%;
	border: none;
	display: block;
	color: #333333;
	background: url(bullet-list.gif) no-repeat 2px 7px;
}

a.mainlevel:hover,
a.mainlevel:active,
a.mainlevel:focus {border: none;background: url(bullet-list.gif) no-repeat 2px 7px #FFFCF3;}

a.mainlevel#active_menu {
	color: #D3660D;
}

a.sublevel {
	padding: 3px 3px 3px 14px;
	border-bottom: none;
	display: block;
	background: url(sublevel-bg.gif) no-repeat top left;
	text-decoration: underline;
}

a.sublevel:hover,
a.sublevel:active,
a.sublevel:focus {text-decoration: underline;border-bottom: none;background: url(sublevel-bg.gif) no-repeat top left;}
#active_menu {color: #D3660D;font-weight: bold;}
*/
/** <hacks_safari_opera> **/
@media screen and (-webkit-min-device-pixel-ratio:0) {
  #ja-transmenu li a { /* common styles for 1st level menu */
	  padding-top: 17px;
  }
}

