﻿.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* This style sheet is intended to contain RARELY CHANGED rules used when the Menu control adapter is enabled. */
/* These rules correspond to the "pure CSS menu" technique that have been evolving over the past several years. */ 
/* See WhitePaper.aspx for details. */

ul.Menu 
{
    position: relative;
}


ul.Menu, 
ul.Menu ul
{
    margin: 0;
    padding: 0;
    display: block;
	width: 140px;	
}

ul.Menu li
{
    position: relative;
    list-style: none;
    float: left;
    width: 100%;
}

ul.Menu li a,
ul.Menu li span
{
    display: block;
    text-decoration: none;
    text-align: left;
}

ul.Menu ul
{
    position: absolute;
    left: 140px;
    top: 0px;
    visibility: hidden;
}

/* Add more rules here if your menus have more than three (3) tiers */
ul.Menu li:hover ul ul,
ul.Menu li.Menu-Hover ul ul
{
    visibility: hidden;
}

/* Add more rules here if your menus have more than three (3) tiers */
ul.Menu li:hover ul,
ul.Menu li li:hover ul,
ul.Menu li li li:hover ul,
ul.Menu li.Menu-Hover ul,
ul.Menu li li.Menu-Hover ul,
ul.Menu li li li.Menu-Hover ul
{
    visibility: visible;
}

/* -------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps */
/* the menu with DIV whose class is Menu-Horizontal. */

.Menu-Horizontal
{
	line-height: 1.0em;
    z-index: 100;    
}

/* This rule controls the width of the top tier of the horizontal menu. */
/* BE SURE TO MAKE THIS WIDE ENOUGH to accommodate all of the top tier menu items that are lined */
/* up from left to right. In other words, this width needs to be the width of the individual */
/* top tier menu items multiplied by the number of items. */
.Menu-Horizontal ul.Menu
{
    width: 100%;
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* In other words, this rule can be used to style the second and third tiers of the menu without impacting */
/* the topmost tier's appearance. */
/* Remember that only the topmost tier of the menu is horizontal.  The second and third tiers are vertical. */
/* So, they need a much smaller width than the top tier.  Effectively, the width specified here is simply */
/* the width of a single menu item in the second and their tiers. */
.Menu-Horizontal ul.Menu ul
{
	margin: 0;
	padding: 0;
	list-style: none;
	height: 18px;	
}

.Menu-Horizontal ul.Menu ul ul
{
    top: -0.3em;
}

.Menu-Horizontal ul.Menu ul ul
{
    width: 11.5em;
}

/* Generally, you use this rule to set style properties that pertain to all menu items. */
/* One exception is the width set here.  We will override this width with a more specific rule (below) */
/* That sets the width for all menu items from the second tier downward in the menu. */
.Menu-Horizontal ul.Menu li
{
	position: relative;
	float: left;
	margin: 0 12px 0 0;	
}

/* This rule establishes the width of menu items below the top tier.  This allows the top tier menu items */
/* to be narrower, for example, than the sub-menu items. */
/* This value you set here should be slightly larger than the left margin value in the next rule. See */
/* its comment for more details. */
.Menu-Horizontal ul.Menu ul li
{
    text-align:left;
    width: 160px;
    background-color: Silver;
    z-index:200;
}

.Menu-Horizontal ul.Menu li ul 
{
	display: none;

}

.Menu-Horizontal ul.Menu li:hover ul
{
	display: block;
	visibility:visible;
}

.Menu-Horizontal ul.Menu ul ul li
{
    width: 11.5em;
}

/* Third tier menus have to be positioned differently than second (or top) tier menu items because */
/* they drop to the side, not below, their parent menu item. This is done by setting the last margin */
/* value (which is equal to margin-left) to a value that is slightly smaller than the WIDTH of the */
/* menu item. So, if you modify the rule above, then you should modify this (below) rule, too. */
.Menu-Horizontal ul.Menu li ul li ul
{
    margin: 0.4em 0 0 10.5em;
}