﻿.FooterMenu ul.AspNet-Menu, 
.FooterMenu ul.AspNet-Menu ul
{
    width: 150px;
}

.FooterMenu ul.AspNet-Menu li a,
.FooterMenu ul.AspNet-Menu li span
{
}

.FooterMenu ul.AspNet-Menu li ul li a
{
}

/* While you hover over a list item (li) you are also hovering over a link or span because */
/* the link or span covers the interior of the li.  So you can set some hover-related styles */
/* in the rule (above) for the li but set other hover-related styles in this (below) rule. */

.FooterMenu ul.AspNet-Menu li a:hover,
.FooterMenu ul.AspNet-Menu li:hover a:hover
{
    text-decoration: underline;
}

.FooterMenu ul.AspNet-Menu li:hover span.AspNet-Menu-NonLink,
.FooterMenu ul.AspNet-Menu li.AspNet-Menu-Hover span.AspNet-Menu-NonLink
{    
}

.FooterMenu ul.AspNet-Menu li:hover a,
.FooterMenu ul.AspNet-Menu li.AspNet-Menu-Hover a
{
    text-decoration: underline;
}

.FooterMenu .AspNet-Menu-Horizontal
{
    width:  500px;
    z-index: 300;
    margin-left: auto;
    margin-right: auto;
}


/* 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. */
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
    width: 500px;
}

/* 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. */
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
    width: 110px;
    left: 5px;
    top: 1.2em;
}

/* 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. */
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
    width: 60px;
    text-align:center;
    white-space: nowrap;
    padding: 0 5px 0 5px;
}

/* 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. */
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
    width:110px;
    display:block;
    text-align:left;
    background: #eee;
    line-height: 1.4em;   
    padding-top: 0.3em;
}
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li a
{
    text-decoration: none;
}
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li a:hover
{
    text-decoration: underline;
}
/* 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. */
.FooterMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
    margin: -1.8em 0 0 126px;
}
