/*
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.7.0
*/
/* Menu & MenuBar styles */

.yuimenu {
    top: -999em;
    left: -999em;
}

.yuimenubar {
    position: static;
}

.yuimenu .yuimenu,
.yuimenubar .yuimenu {
    position: absolute;
}

.yuimenubar li, 
.yuimenu li {
    list-style-type: none;    
}

.yuimenubar ul, 
.yuimenu ul,
.yuimenubar li, 
.yuimenu li,
.yuimenu h6,
.yuimenubar h6 { 
    margin: 0;
    padding: 0;

}

.yuimenuitemlabel,
.yuimenubaritemlabel {
    white-space: nowrap;
}


/* 
    The following style rule trigger the "hasLayout" property in 
    IE (http://msdn2.microsoft.com/en-us/library/ms533776.aspx) for a
    MenuBar instance's <ul> element, allowing both to clear their floated 
    child <li> elements.
*/

.yuimenubar ul {
    *zoom: 1;
}


/* 
    Remove the "hasLayout" trigger for submenus of MenuBar instances as it 
    is unnecessary. 
*/

.yuimenubar .yuimenu ul {
    *zoom: normal;
}

/*
    The following style rule allows a MenuBar instance's <ul> element to clear
    its floated <li> elements in Firefox, Safari and and Opera.
*/

.yuimenubar>.bd>ul:after {

    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    line-height: 0;

}

.yuimenubaritem {
    float: left;
    border-right: 1px #CCC solid;
}

.yuimenubaritemlabel,
.yuimenuitemlabel {
    display: block;
}

.yuimenuitemlabel .helptext {
    font-style: normal;
    display: block;
    
    /*
        The value for the left margin controls how much the help text is
        offset from the text of the menu item.  This value will need to 
        be customized depending on the longest text label of a menu item.
    */
    
    margin: -1em 0 0 10em;
    
}

/*
    PLEASE NOTE: The <div> element used for a menu's shadow is appended 
    to its root element via JavaScript once it has been rendered.  The 
    code that creates the shadow lives in the menu's public "onRender" 
    event handler that is a prototype method of YAHOO.widget.Menu.  
    Implementers wishing to remove a menu's shadow or add any other markup
    required for a given skin for menu should override the "onRender" method.
*/

.yui-menu-shadow {
    position: absolute;
    visibility: hidden;
    z-index: -1;
}

/*.yui-menu-shadow-visible {
    top: 2px;
    right: -3px;
    left: -3px;
    bottom: -3px;
    visibility: visible;
}*/


.hide-scrollbars * {
	overflow: hidden;
}

.hide-scrollbars select {
	display: none;
}


/*

The following style rule (".yuimenu.show-scrollbars") overrides the 
".show-scrollbars" rule defined in container-core.css which sets the 
"overflow" property of a YAHOO.widget.Overlay instance's root HTML element to 
"auto" when it is visible.  Without this override, a Menu would have scrollbars
when one of its submenus is visible.

*/

.yuimenu.show-scrollbars,
.yuimenubar.show-scrollbars {
	overflow: visible; 
}

.yuimenu.hide-scrollbars .yui-menu-shadow,
.yuimenubar.hide-scrollbars .yui-menu-shadow {
    overflow: hidden;
}

.yuimenu.show-scrollbars .yui-menu-shadow,
.yuimenubar.show-scrollbars .yui-menu-shadow {
    overflow: auto;
}


/* MenuBar style rules */

.yuimenubar {
}



/* Menu style rules */

.yuimenu {
						/*dropdown color*/
    background-color: #FFF;
    border-left: solid 1px #CCC;
    border-right: solid 1px #CCC;
    border-bottom: solid 4px #ff9900;
    padding: 1px 0 0px 0;
}

.yui-menu-shadow {
    display: none;
}

.yuimenu ul {
					/*divider in dropdown*/
    border: solid 3px #CCC;
    border-width: 1px 0 0 0;
    padding: 7px 0;

}

.yuimenu .yui-menu-body-scrolled {
    overflow: hidden;
}


/* Group titles */

.yuimenu h6{ 
    font-size: 100%;
    font-weight: normal;
}
.yuimenubar h6 { 
    font-size: 100%;
    font-weight: normal;
}

.yuimenubar h6 {
    float: left;
    padding: 6px 12px;
    border-width: 0 1px 0 0;
}

.yuimenubar .yuimenu h6 {
    float: none;
}

.yuimenu h6 {
    /*border-width: 1px 0 0 0;
    padding: 5px 10px 0 10px;*/
}

.yuimenu ul.first-of-type, 
.yuimenu ul.hastitle,
.yuimenu h6.first-of-type {
    border: 0px;
    
}


/* MenuItem and MenuBarItem styles */

.yuimenuitem {
    /*
        For IE: Used to collapse superfluous white space between <li> elements
        that is triggered by the "display" property of the <a> elements being
        set to "block."
    
    *border-bottom: 1px solid;*/
}
.yuimenubaritem a:visited {
	text-decoration: none;
    color: #003366;
}
.yuimenubaritem a:active {
	text-decoration: none;
    color: #003366;
}

.yuimenuitem a{
	text-decoration: none;
	color: #003366;
}
.yuimenuitem a:active {
	text-decoration: none;
	color: #003366;
}

.yuimenuitemlabel .yuimenubaritemlabel{
	}

.yuimenuitemlabel {
    text-align: left;
    padding: 3px 18px;
    font-size: 11px;
    text-decoration: none;
}

.yuimenubaritemlabel {
    text-shadow: 1px 1px 1px #fff;
    padding: 8px 14px;
    font-size: 11px;
    color: #003366;
    font-weight: bold;
    letter-spacing:1px;
    text-decoration: none;
}

.yuimenubar li.first-of-type .yuimenubaritemlabel {
    border-width: 0;

}

/*color of the whole bar - over/out*/
.yuimenubaritem-hassubmenu {
    background: url(../../images/navbar/navbar_out.png) repeat-x;
}
.yuimenubaritem-hassubmenu-selected {
}


/*color and indicator of submenus - over/out*/
.yuimenuitem-hassubmenu {
    background:url(../../images/navbar/indicator_out.png) no-repeat right;
}
.yuimenuitem-hassubmenu-selected {
    background:url(../../images/navbar/indicator_out.png) no-repeat right;
}

/*
color and indicator of ???? - over/out
.yuimenuitem-checked {
    background: green;
}
.yuimenuitem-checked-selected {
    background-image: url(menuitem_checkbox_selected.png);
}
*/


.yuimenuitemlabel .helptext {
    margin-top: -1.1em;
    *margin-top: -1.2em;  /* For IE*/
}



/* MenuItem states */


/* Selected MenuItem */

.yuimenubaritem-selected{
    background:url(../../images/navbar/navbar_over.png) repeat-x;
}
.yuimenuitem-selected {
    background-color: #ff9900;
}

.yuimenubaritemlabel-selected{
    text-decoration: none;
    color: #003366;
}

.yuimenuitemlabel-selected {
    text-decoration: none;
    color: #003366;
    
}




/* Disabled MenuItem */

.yuimenubaritemlabel-disabled,
.yuimenuitemlabel-disabled {
    cursor: default;
    color: #003366;
}

.yuimenubaritem-hassubmenu-disabled {
    background-image: url(menubaritem_submenuindicator_disabled.png);

}

.yuimenuitem-hassubmenu-disabled {
    background-image: url(menuitem_submenuindicator_disabled.png);

}

.yuimenuitem-checked-disabled {
    background-image: url(menuitem_checkbox_disabled.png);

}


