/**
* @version $Id: menu.css 10387 2008-06-03 10:59:16Z pasamio $
* @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

/**
 * JMenu javascript behavior styling
 *
 * @author		Johan Janssens <johan.janssens@joomla.org>
 * @package		Joomla
 * @since		1.5
 * @version    1.0
 */

/* ---- Basic menu styles ------------------- */

/* common styling */
#menu, #menu ul, #menu li { margin: 0; padding: 0; border: 0 none; }

#menu       { position:relative; z-index: 100;}
#menu li    { float:left;  position:relative; list-style: none; display: inline;}
#menu li a  { display:block; white-space: nowrap;  }
#menu li li { /*width: 100%;*/ clear: both;  /*FF 1.0.7 needs this */  }
#menu li ul { visibility: hidden; position:absolute; }

#menu li li ul {  top: 0; left: 0; }

#menu li.hover ul               {  visibility: visible; }
#menu li.hover ul li ul 		  {  visibility: hidden;  }
#menu li.hover ul li.hover li ul { visibility: hidden; }
#menu li.hover li.hover ul      {  visibility: visible;  left: 100%; }
#menu li.hover li.hover ul li.hover ul { visibility: visible; left: 100%; }


/* ---- Menu layout -------------------------- */

#menu li {
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-top-color: #d8d8d8;
	border-right-color: #d8d8d8;
	border-bottom-color: #d8d8d8;
	border-left-color: #d8d8d8;
}
#menu li li { border: 0;}


#menu ul    { border: 0.1em solid #ccc; background: #f6f6f6 url(../images/bg-menu.gif) repeat-y left;}
#menu ul li.node1 {
	background: transparent url(picgal/arrow_right.gif) no-repeat right 50%;
	margin-right: 20px;
	
}
#menu ul li.node {
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: right 50%;
}
#menu ul li.separator { background: #DDE1E6 url(picgal/images.jpg);  height: 1px;  }

#menu a, #menu div {
	padding: 0.35em 1em 0.35em;
	margin: 0 1px 0 1px;
	color: #FFF;
	line-height: 1.6em;
	vertical-align: middle;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	background-repeat: no-repeat;
	background-position: left 50%;
	font-family: Arial, Helvetica, sans-serif;
	text-align: center;
}

#menu li.disabled a { color: gray; }

#menu ul a {
	font-size: 12px;
	font-weight: normal;
	padding-right: 20px;
	line-height: 1.2em;
	color: #333;
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
}

/* 1 level - hover */
#menu li.hover a {
	background-color: #2B82CF;
	margin: 0;
	color: #FFF;
	border-right-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	border-right-color: #6D9D2E;
	border-left-color: #6D9D2E;
	padding-bottom: 1px;
	padding-left: 2px;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}
/* 2 level - normal */
#menu li.hover li a {
	background-color: transparent;
	border: 0 none;
	margin: 2px;
	text-align: left;
	color: #000;
}
/* 2 level - hover */
#menu li.hover li.hover a {
	background-color: #09F;
	border: 1px solid #6D9D2E;
	margin: 1px;
	text-align: left;
	color: #FFF;
}
/* 3 level - normal */
#menu li.hover li.hover li a { background-color: transparent; border: 0 none;   margin: 2px;  }
/* 3 level - hover */
#menu li.hover li.hover li a:hover { background-color: #E7EDDF; border: 1px solid #6D9D2E;  margin: 1px;  }

/* submenu styling */
#submenu {
	list-style: none;
	padding: 0;
	margin: 0;
}

#submenu li {
	float: left;
	padding: 0;
	margin: 0;
}

#submenu li a,
#submenu span.nolink {
	cursor: pointer;
	padding: 0px 15px;
	border-right: 1px solid #ccc;
	font-weight: bold;
	line-height: 12px;
	height: 12px;
}

#submenu span.nolink {
	color: #999;
}

#submenu a.active,
#submenu span.nolink.active {
	color: #000;
	text-decoration: underline;
}
