/**
* @version $Id: menu.css 14401 2010-01-26 14:10:00Z louis $
* @copyright Copyright (C) 2005 - 2010 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 {
    border: 0 none;
    margin: 0;
    padding: 0;
}
#menu {
    position: relative;
    z-index: 100;
}
#menu li {
    display: inline;
    float: left;
    list-style: none outside none;
    position: relative;
}
#menu li a {
    display: block;
    white-space: nowrap;
}
#menu li li {
    clear: both;
}
#menu li ul {
    position: absolute;
    visibility: hidden;
}
#menu li li ul {
    left: 0;
    top: 0;
}
#menu li.hover ul {
    visibility: visible;
}
#menu li.hover ul li ul {
    visibility: hidden;
}
#menu li.hover li.hover ul {
    left: 100%;
    visibility: visible;
}
#menu li {
    border-left: 1px solid rgb(255, 255, 255);
    border-right: 1px solid rgb(216, 216, 216);
}
#menu li li {
    border: 0 none;
}
#menu ul {
/*    background: url("../images/bg-menu.gif") repeat-y scroll left center rgb(246, 246, 246);	*/
    background: none repeat-y scroll left center rgb(246, 246, 246);
	border: 0.1em solid rgb(204, 204, 204);
}
#menu ul li.node {
    background: url("../images/j_arrow.png") no-repeat scroll right 50% transparent;
}
#menu ul li.separator {
/*    background: url("../images/bg-menu.gif") repeat scroll 0 0 rgb(221, 225, 230);*/
    height: 1px;
}
#menu a, #menu div {
    background-position: left 50%;
    background-repeat: no-repeat;
    color: rgb(51, 51, 51);
    cursor: default;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.6em;
    margin: 0 1px;
    padding: 0.35em 1em;
    text-decoration: none;
    vertical-align: middle;
}
#menu li.disabled a {
    color: gray;
}
#menu ul a {
    font-size: 11px;
    font-weight: normal;
    line-height: 1.2em;
    padding-left: 25px;
    padding-right: 20px;
}
#menu li.hover a {
    background-color: rgb(231, 237, 223);
    border-left: 1px solid rgb(109, 157, 46);
    border-right: 1px solid rgb(109, 157, 46);
    margin: 0;
}
#menu li.hover li a {
    background-color: transparent;
    border: 0 none;
    margin: 2px;
}
#menu li.hover li.hover a {
    background-color: rgb(231, 237, 223);
    border: 1px solid rgb(109, 157, 46);
    margin: 1px;
}
#menu li.hover li.hover li a {
    background-color: transparent;
    border: 0 none;
    margin: 2px;
}
#menu li.hover li.hover li a:hover {
    background-color: rgb(231, 237, 223);
    border: 1px solid rgb(109, 157, 46);
    margin: 1px;
}
#submenu {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#submenu li {
    float: left;
    margin: 0;
    padding: 0;
}
#submenu li a, #submenu span.nolink {
    border-right: 1px solid rgb(204, 204, 204);
    color: rgb(11, 85, 196);
    cursor: pointer;
    font-weight: bold;
    height: 12px;
    line-height: 12px;
    padding: 0 15px;
}
#submenu span.nolink {
    color: rgb(153, 153, 153);
}
#submenu a.active, #submenu span.nolink.active {
    color: rgb(0, 0, 0);
    text-decoration: underline;
}
