/*
Modified for Highpoint, Inc. by Ezra Parker,
based upon the "Sam Skin" CSS provided by Yahoo!
with original copyright notice below:

Copyright (c) 2007, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.3.1
*/

/* CSS reset style rules */

.yuimenu .yuimenu, .yuimenubar .yuimenu {
	position:absolute;
	visibility:hidden;
}

.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;
}

.yui-menu-shadow {
	position:absolute;z-index:-1;
}

.hide-scrollbars * {
	overflow:hidden;
}

.hide-scrollbars select {
	display:none;
}

.yuimenu.show-scrollbars {
	overflow:visible;
}

.yuimenu.hide-scrollbars .yui-menu-shadow {
	overflow:hidden;
}

.yuimenu.show-scrollbars .yui-menu-shadow {
	overflow:auto;
}

/* MenuBar style rules */

.yuimenubar {
    margin: 2px 0 0;
}

/* 
    The following style rule causes a MenuBar's UL to clear its 
    floating LIs.
*/

.yuimenubar>.bd>ul:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
    line-height: 0;
}

/* MenuBarItem style rules */

.yuimenubarnav .yuimenubaritem {
    float: right;
	border: 1px grey solid;
	padding: 0 2px 3px;
	background-color: #27408B;
	color:white;
}

.yuimenubarnav li.first-of-type {
   padding: 0 2px 3px 0;
}

.yuimenubarnav .yuimenu li.first-of-type {
   padding: 0;
}

.yuimenubaritemlabel {
	display: block;
	float: left;
	padding: 3px 6px 3px;
	background:#27408B;
	font: bold .65em/1.25em Verdana,Arial,Helvetica,sans-serif;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    border: 2px solid #1D2F66;
    border-top: 2px solid #3658BF;
    border-left: 2px solid #3658BF;
}

.yuimenubaritemlabel:link, .yuimenubaritemlabel:visited, .yuimenubaritemlabel:hover,
.yuimenubaritemlabel:focus, .yuimenubaritemlabel:active {
   color: #64697e;
}

.yuimenubaritemlabel .submenuindicator {
    /*
        Set height and width to 1px so screen readers announce the content of 
        the element.
    */
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
}

.yuimenubarnav .yuimenubaritemlabel .submenuindicator {
    top: 50%;
    right: 8px;
    left: auto; /* Override "left" property set by previous style rule */
    margin-top: -3px;
    height: 4px;
    width: 7px;
    text-indent: 8px;
    background-position: -16px -856px;
}

/* MenuBarItem states */

/* Selected MenuBarItem */

.yuimenubaritem a.selected {
	background-position:left top;
	color:#fff !important;
}
.yuimenubaritem a:hover, .yuimenubaritem a:focus, .yuimenubaritem a:active {
	text-decoration:underline;
}

/* .yuimenubaritem a.selected {
   	background: url(../js/yui/build/assets/skins/sam/sprite.png) repeat-x 0 -1700px;
    border-color: #7D98B8;
}
.yuimenubarnav .yuimenubaritem a.selected {
    border-left-width: 1px;
    margin-left: -1px;
}

.yuimenubar a.selected .submenuindicator {
    background: transparent;
} */

.yuimenubarnav a.selected .submenuindicator {
    /*
        Reset the value of the "background" property since it is set to 
        "transparent" by the previous rule.
    */
	background: none;
    /* background: url(../js/yui/build/assets/skins/sam/sprite.png) repeat-x -16px -856px; */
}

/* Disabled  MenuBarItem */

.yuimenubaritem a.disabled {
    cursor: default;
    color: #A6A6A6;
}

.yuimenubarnav .yuimenubaritem a.disabled .submenuindicator {
    background-position: -16px -881px;
}

/* Menu style rules */

.first-of-type .yuimenu .bd {
    border: solid 1px #005fac;
    background-color: #27408b;
}

.first-of-type .yuimenu ul {
    padding: 0;
    border: none;
}

.yuimenu ul.first-of-type {
    border-width: 0;
}

/* Group titles */

.yuimenu h6 { 
    font-size: 93%;  /* 12px */
    font-weight: bold;
    line-height: 1.5;  /* 18px */
    border-style: solid;
    border-color: #ccc;
    border-width: 1px 0 0 0;
    color: #a4a4a4;    
    padding: 3px 10px 0 10px;
}

.yuimenu ul.hastitle, .yuimenu h6.first-of-type {
    border-width: 0;
}

/* Top and bottom scroll controls */

.yuimenu .yui-menu-body-scrolled {
    border-color: #ccc #808080;
    overflow: hidden;
}

.yuimenu .topscrollbar, .yuimenu .bottomscrollbar {
    height: 16px;
    border: solid 1px #808080;
    background: #fff url(../js/yui/build/assets/skins/sam/sprite.png) no-repeat 0 0;
}

.yuimenu .topscrollbar {
    border-bottom-width: 0;
    background-position: center -950px;
}

.yuimenu .topscrollbar_disabled {
    background-position: center -975px;
}

.yuimenu .bottomscrollbar {
    border-top-width: 0;
    background-position: center -850px;
}

.yuimenu .bottomscrollbar_disabled {
    background-position: center -875px;
}

/* MenuItem style rules */

.yuimenuitem {
	background:	none;
}

.first-of-type .yuimenu .yuimenuitem {
	background: none;
	border-top: solid 1px #005fac;
}

.first-of-type .yuimenu .first-of-type {
	border-top: none;
}

.yuimenuitemlabel {
    font: bold .7em/1.25 Verdana,Arial,Helvetica,sans-serif;
    padding: 10px 0 5px 12px;
	background: none;
    display: block;
    text-decoration: none;
    outline: none;
    position: relative;
    cursor: pointer;
}

.yuimenuitemlabel:link, .yuimenuitemlabel:visited, .yuimenuitemlabel:hover,
.yuimenuitemlabel:focus, .yuimenuitemlabel:active {
   color: #64697e;
}

.first-of-type .yuimenu .yuimenuitemlabel {
    font: normal .6em Verdana,Arial,Helvetica,sans-serif;
    padding: 5px 12px 5px 12px;
	background-color: #27408B; /*submenu background color */
	color: white;
    display: block;
    text-decoration: none;
    outline: none;
    position: relative;
    cursor: pointer;
	text-align: right;
}

.yuimenuitemlabel .helptext {
    font-style: normal;
    display: block;
    margin: -1.5em 0 0 10em;
}

.yuimenuitemlabel .submenuindicator, .yuimenuitemlabel .checkedindicator,
.yuimenubaritemlabel .submenuindicator {
    position: absolute;
    overflow: hidden;
	background: none;
	/* background: url(../js/yui/build/assets/skins/sam/sprite.png) no-repeat; */
}

.yuimenuitemlabel .submenuindicator {
    top: 50%;
    right: 8px;
    margin-top: -3px;
    height: 7px;
    width: 4px;
    text-indent: 5px;
    background-position: 0 -906px;
}

.yuimenuitemlabel .checkedindicator {
    top: 50%;
    left: 8px;
    margin-top: -3px;
    height: 7px;
    width: 7px;
    text-indent: 8px;
    background-position: 0 -1006px;
}

/* Menu states */

/* Visible Menu */

.yui-menu-shadow-visible {
    top: 2px;
    right: -3px;
    left: -3px;
    bottom: -3px;
    background-color: #000;
    opacity: .12;
    visibility: visible;
}

/* MenuItem states */

/* Selected MenuItem */

.yuimenuitem a.selected {
	background-position: left top;
	color: #00853f;
}

.first-of-type .yuimenu .yuimenuitem a.selected {
    /*
        Use "background" over "background-color" to clear background image 
        set by the ".yuimenubaritem a.selected" rule.
    */
	background-color: #27408B;
	color: white;
	text-decoration: underline;
}

/*
    Redefine the background for MenuItem instances that are children of
    a Menubar since the 
    ".yuimenubar a.selected .submenuindicator" rule sets the 
    "background" property to "transparent"
*/

.yuimenubar .yuimenuitem a.selected .submenuindicator {
    background: none;
	/* background: url(../js/yui/build/assets/skins/sam/sprite.png) no-repeat 0 -906px; */
}

/*
    Remove borders and margin added by the style rule 
    ".yuimenubarnav .yuimenubaritem a.selected"
*/

.yuimenubarnav .yuimenuitem a.selected {
    border-width: 0;
    margin: 0;
}

/* Disabled MenuItem */

.yuimenuitem a.disabled {
    cursor: default;
    color: #A6A6A6;
}

.yuimenuitem a.disabled .submenuindicator {
    background-position: 0 -931px;
}

.yuimenuitem a.disabled .checkedindicator {
    background-position: 0 -1031px;
}