﻿.foo1
{
}
/* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

.TopMenu
{
    vertical-align: middle;
    font-family: Arial;
    border: solid 0px black;
    font-weight: bold;
    width: 840px;
}

/* The menu adapter generates a list item (li) in HTML for each menu item. */
/* Use this rule create the common appearance of each menu item. */

.TopMenu ul.AspNet-Menu li a img
{
	border: solid 0px black;
	padding-right: 7px;
	margin-bottom: 2px;
	vertical-align: middle;
}

/* TOP TIER */
.TopMenu ul.AspNet-Menu li
{
	padding: 0 3px 0 3px;
	line-height: 29px;
}

.TopMenu ul.AspNet-Menu li:hover
{
	background:  red;
}

.TopMenu li.AspNet-Menu-WithChildren:hover 
{
	background:  red;
}

.TopMenu ul.AspNet-Menu li:hover a
{
	background: red;
}
/* END TOP TIER */

/* Within each menu item is a link or a span, depending on whether or not the MenuItem has defined it's */
/* NavigateUrl property. By setting a transparent background image here you can effectively layer two images */
/* in each menu item.  One comes from the CSS rule (above) governing the li tag that each menu item has. */
/* The second image comes from this rule (below). */
.TopMenu ul.AspNet-Menu li a, .TopMenu ul.AspNet-Menu li span
{
	color: #FFF;
	padding: 0 5px 0px 5px;
	font-size: 1.1em;
    font-weight: bold;
      
}

/* When a menu item contains no submenu items it is marked as a "leaf" and can be styled specially by this rule. */
.TopMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
	color: #FFF; /*Home*/
	font-size: 1.1em;
}

/* When you hover over a menu item, this rule comes into play. */
/* Browsers that do not support the CSS hover pseudo-class, use JavaScript to dynamically change the */
/* menu item's li tag so it has the AspNet-Menu-Hover class when the cursor is over that li tag. */
/* See MenuAdapter.js (in the JavaScript folder). */
.TopMenu ul.AspNet-Menu li:hover, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
	/* not required */
	background: red;
}

.TopMenu ul.AspNet-Menu li:hover a, .TopMenu ul.AspNet-Menu li:hover span, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover a, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover span, .TopMenu ul.AspNet-Menu li:hover li:hover a, .TopMenu ul.AspNet-Menu li:hover li:hover span, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span, .TopMenu ul.AspNet-Menu li:hover li:hover ul a:hover, .TopMenu ul.AspNet-Menu li:hover li:hover ul span.Asp-Menu-Hover, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a:hover, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span.Asp-Menu-Hover
{
	/*bf - this is hover on all items*/
}

.TopMenu ul.AspNet-Menu li:hover ul a, .TopMenu ul.AspNet-Menu li:hover ul span, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul a, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul span, .TopMenu ul.AspNet-Menu li:hover li:hover ul a, .TopMenu ul.AspNet-Menu li:hover li:hover ul span, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a, .TopMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span
{
    color: #fff; /* this is individual items below parent*/
    border-top: solid 1px #e0e0e0;
    text-align: left;
    background: none;
    font-weight: bold;
    
}


/* 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. */
.TopMenu ul.AspNet-Menu li a:hover, .TopMenu ul.AspNet-Menu li span.Asp-Menu-Hover
{
}

.TopMenu ul.AspNet-Menu ul li:hover, .TopMenu ul.AspNet-Menu ul li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
    background-color: #FFFFCC;
    color: red;
}


/* -------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */

.TopMenu .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. */
.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
	width: 840px;
}

/* 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. */



.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
	width: 170px;
	left: 0;
	top: 100%;
	background-color: #007FFF;
	border: solid 1px #6b798c;
	margin-left: 1px;
	 
}


.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
	width: 180px;
}

/* 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. */
.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
	/*this is the top one */
	padding-top: 1px;
	width: 130px;
	text-align:center;
}


*html .TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
	width: 130px;
	vertical-align: middle;
	margin: 5px 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. */
.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
	text-align: left;
	width: 170px;
	padding: 0;
	margin: 0;
}

.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul li
{
	text-align: left;
	width: 170px;
	padding: 0;
	margin: 0;
}

/* 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. */
.TopMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
	margin: -31px 0 0 170px;
}

/* selected / active link */

.TopMenu .AspNet-Menu-Selected /* this tier is selected */
{
	font-weight: bold !important;
}

.TopMenu .AspNet-Menu-ChildSelected /* a tier below this one is selected */
{
	font-weight: bold !important;
}

.TopMenu .AspNet-Menu-ParentSelected /* a tier above this one is selected */
{

}





