/* Useful Styles */
.Unselectable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    cursor: default;
}

/* Core menu styles */
.MenuBar {
    margin: 0;
    padding: 0;
    display: block;
}
.MenuBar > li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    vertical-align: top;
}
.MenuBar > li.DisplayNone {
    display: none;
}
.MenuBar > li > a {
    display: block;
    margin: 0;
    padding: 0.5em;
    cursor: pointer;
    text-decoration: none;
}
.Menu {
    margin: 0;
    padding: 0.25em 0;
    position: absolute;
    z-index: 99;
    left: -999em;
}
.Menu li {
    margin: 0;
    padding: 0 0.25em;
    list-style: none;
}
.Menu li a {
    display: block;
    padding: 0.6em;
    white-space: nowrap;
    text-decoration: none;
}

.Menu li.Separator:hover,
.Menu li.Title:hover {
    background: none;
}


/* Default menubar theme */
.MenuBar > li:hover,
.MenuBar > li.Open,
.MenuBar > li.Selected {
    background: #e7e7e7;
}

/* Default menu theme */
.Menu {
    background: white;
    border: 1px solid #cacaca;
    -webkit-box-shadow: 2px 3px 5px rgba(0, 0, 0, .33);
    -moz-box-shadow: 2px 3px 5px rgba(0, 0, 0, .33);
    box-shadow: 2px 3px 5px rgba(0, 0, 0, .33);
    display: block;
}
.Menu li a {
    color: black;
    cursor: pointer;
}
.Menu li:hover,
.Menu li.Open,
.Menu li.Selected {
    background-color: #ffeec0;
}

.Menu .SubMenu > a {
    padding-right: 20px;
    background: transparent url(../images/menus/arrowRightBlack.gif) no-repeat right 50%;
    cursor: default;
}
.IconStrip.Menu > li > a {
    padding-left: 35px;
}
.IconStrip.Menu > li.Title {
    padding-left: 0;
}
.IconStrip.Menu .Icon {
    background-position: 4px 50%;
    background-repeat: no-repeat;
}
.IconStrip.Menu .Separator {
    margin: 0.25em 5px 0.25em 30px;
    border-top: 1px solid #e5e6e7;
    cursor: default !important;
}
.Menu .Separator {
    margin: 0.25em 5px 0.25em 5px;
    border-top: 1px solid #e5e6e7;
    cursor: default !important;
    /*IE 7 is noncompliant; it will make an empty <li> height of a line of text, need to force it not to*/
    font-size: 0;
    line-height: 0;
}
.Menu .Title {
    font-weight: bold;
    color: #555;
    background: white;
    margin-top: 0.25em;
    cursor: default !important;
}
.Menu li.Title:hover {
    background: white;
}
.Menu .Title > span {
    display: block;
    padding: 0.667em;
    margin-bottom: 0.125em;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #f2f2f2;
}

/*The following styles complement setting a max-height on a menu*/
.Menu.Scrolling {
    overflow-y: auto;
    overflow-y: scroll;
    overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
}
/* IE needs some extra padding to make up for the space occupied by the scrollbar,
which is overlaid in IE but placed outside by other browsers */
*+html .Menu.Scrolling {
    padding-right: 17px;
}
