﻿.foo
{
}
/* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* -------------------------------------------------------------------------- */
/* 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
{
  position: relative;
}

/* 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
  padding-top: 5px;
  /*width: 10em;*/
}

/* 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: 9em;
  left: 0;
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
  
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
  width: 9em;
}

/* 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
{
  width: 8.3em;
  text-align: center;
  color: #3b7253;
  height: 20px;
  font-size: 85%;
}

/* 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
{
  text-align: center;
  width: 8.89em;
  height: 20px;
  background: #FFFFFF;
  border: solid 1px black; /*margin-top: -12px;*/
  top: 12px;
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
  margin: 0.2em 0 0 99px;
}

.MainMenu li:hover, /* list items being hovered over */ .MainMenu li.AspNet-Menu-Hover
{
  font-weight: bold;
}

/* ----------------------- */

.MainMenu li.AspNet-Menu-Leaf a, /* leaves */ .MainMenu li.AspNet-Menu-Leaf span
{
  height: 20px;
  color: #3b7253;
}

.MainMenu li.AspNet-Menu-Leaf a.AspNet-Menu-Link
{
  /*color: #3b7253;*/
}

.MainMenu .AspNet-Menu-Selected /* this tier is selected */
{
  background: #FFFFFF;
  height: 42px;
  color: #000000;
  font-weight: bold;
}

.MainMenu .AspNet-Menu-ChildSelected, /* a tier below this one is selected */ .MainMenu .AspNet-Menu-ChildSelected li .AspNet-Menu-ChildSelected
{
  color: #000000;
}

.MainMenu li:hover a, /* hovered text */ .MainMenu li:hover span, .MainMenu li.AspNet-Menu-Hover a, .MainMenu li.AspNet-Menu-Hover span, .MainMenu li:hover li:hover a, .MainMenu li:hover li:hover span, .MainMenu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a, .MainMenu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span, .MainMenu li:hover li:hover li:hover a, .MainMenu li:hover li:hover li:hover span, .MainMenu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li.AspNet-Menu-Hover a, .MainMenu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li.AspNet-Menu-Hover span
{
  color: #000000;
  text-decoration: none;
}

.MainMenu li:hover li a, /* the tier above this one is hovered */ .MainMenu li:hover li span, .MainMenu li.AspNet-Menu-Hover li a, .MainMenu li.AspNet-Menu-Hover li span, .MainMenu li:hover li:hover li a, .MainMenu li:hover li:hover li span, .MainMenu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li a, .MainMenu li.AspNet-Menu-Hover li.AspNet-Menu-Hover li span
{
  color: #000000;
  text-decoration: none;  
}

