﻿.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* This style sheet is intended to contain OFTEN CHANGED rules used when the Menu control adapter is enabled. */

/* When the Menu control's Orientation property is Vertical the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Vertical. */
/* Note that the example menu in this web site uses relative positioning to force the menu to occupy */
/* a specific place in the web page.  Your web site will likely use a different technique to position your */
/* menu.  So feel free to change all the properties found in this CSS rule if you clone this style sheet. */
/* There is nothing, per se, that is magical about these particular property value choices.  They happen to */
/* work well for the sample page used to demonstrate an adapted menu. */

.MainMenu .AspNet-Menu-Horizontal ul,
.MainMenu .AspNet-Menu-Horizontal ul li,
.MainMenu .AspNet-Menu-Horizontal ul li ul,
.MainMenu .AspNet-Menu-Horizontal ul li ul li
{
    background-image: url(Grey.gif);
	background-repeat: repeat-x;
	background-color: White;
	z-index: 300;	
}

/* -------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */
/* Note that the example menu in this web site uses absolute positioning to force the menu to occupy */
/* a specific place in the web page.  Your web site will likely use a different technique to position your */
/* menu.  So feel free to change all the properties found in this CSS rule if you clone this style sheet. */
/* There is nothing, per se, that is magical about these particular property value choices.  They happen to */
/* work well for the sample page used to demonstrate an adapted menu. */

.MainMenu .AspNet-Menu-Horizontal
{
    z-index: 300;
}

/* This rule controls the width of the top tier of the horizontal menu. */
/* BE SURE TO MAKE THIS WIDE ENOUGH to accomodate 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
    width: 100%;
    border-bottom: 1px solid #b2b7c4;
}

/* 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
    width: 150px;
    left: 0; 
    top: 2em;
}

/* 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
    width: 150px;
}

/* 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
    text-align:left;
}

/* This rule can be used to set styles for the menu items in the second tier (and lower) in the menu. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li li
{
    text-align:left;
}

/* 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
	width: 150px;
    margin: 0em 0 0 50px;
}

/* Additional settings */

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
	font-weight: bold;
	text-transform: uppercase;
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li a,
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li span
{
	padding: 5px 10px 5px 10px;
	border-right: 1px solid #b2b7c4;
	border-left: 1px solid white;	
	color: #666666;
	font-size: 0.975em;
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li a:hover,
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li a:focus 
{
    color: #095794;
    text-decoration: none;
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    left: 98px;
    top: 3px;
    width: auto; 
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li li a,
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li li span
{
    text-align: left;
    border: 1px solid #b2b7c4;
    border-top: none;
}