/**
 * ------------------------------------------------------------------------
 * JA Teline III  Template for Joomla 1.7
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 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
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
 */ 

/* Son of Suckerfish Dropdowns
---------------------------------------------------------
Originally developed by Patrick Griffiths and Dan Webb
http://www.htmldog.com/articles/suckerfish/dropdowns/
---------------------------------------------------------
NOTE: After a deep research, we decide to divide this
CSS into 2 parts. The first part will define the layout.
The second part will define the visual look for this menu.
---------------------------------------------------------*/

#ja-cssmenu li {
	border-right: 1px solid #CCCCCC;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#ja-cssmenu li a {
	padding: 10px;
	color: #000;
	text-transform: UPPERCASE;
	font-weight: normal;
}

#ja-cssmenu li:hover,
#ja-cssmenu li.sfhover,
#ja-cssmenu li.havechildsfhover,
#ja-cssmenu li.havechild-activesfhover {
	background: url(../../images/mainnav-hover.gif) repeat-x bottom #f7f7f7;
	color: #000;
}

#ja-cssmenu li a.active,
#ja-cssmenu li a.active:hover,
#ja-cssmenu li a.active:active,
#ja-cssmenu li a.active:focus {
	background: url(../../images/mainnav-active.gif) repeat-x top #333;
	color: #fff;
}

/* 2nd level and above */
#ja-cssmenu li ul {
	border: 1px solid #ccc;
	border-top: 0;
	background: #ddd;
}

#ja-cssmenu li ul ul {
	border-top: 1px solid #ccc;
}

#ja-cssmenu li ul li {
	border-bottom: 1px solid #ccc;
	border-right: none;
	background: none;
}

#ja-cssmenu li ul a {
	border: none;
	margin: 0;
	padding: 5px 10px 6px;
	line-height: normal;
	background: none;
	color: #000;
	font-weight: normal;
	font-size: 92%;
	font-family: Arial, sans-serif;
}

#ja-cssmenu li.havesubchild,
#ja-cssmenu li.havesubchild-active {
	background: url(../../images/arrow3.png) no-repeat 94% 50%;
}

#ja-cssmenu li ul a:hover,
#ja-cssmenu li ul a:active,
#ja-cssmenu li ul a:focus,
#ja-cssmenu ul li:hover,
#ja-cssmenu ul li.sfhover,
#ja-cssmenu ul li.havesubchildsfhover,
#ja-cssmenu ul li.havesubchild-activesfhover,
#ja-cssmenu ul ul li:hover,
#ja-cssmenu ul ul li.sfhover,
#ja-cssmenu ul ul li.havesubchildsfhover,
#ja-cssmenu ul ul li.havesubchild-activesfhover {
	background: #fff;
	color: #000;
}

#ja-cssmenu ul li a.active,
#ja-cssmenu ul li a.active:hover,
#ja-cssmenu ul li a.active:active,
#ja-cssmenu ul li a.active:focus {
	background: none !important;
	color: #000;
	font-weight: bold;
	text-decoration: underline;
}


