﻿.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */
.MainMenu ul
{

}

.MainMenu .AspNet-Menu-Horizontal
{
    position:relative;
    top: 0;
    z-index: 300;
    padding: 0px;
}
.MainMenu .AspNet-Menu-Horizontal ul
{
	margin: 0px;
}
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
	
    width: auto;
    float: left;
}

/* 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. */
.MainMenu ul.AspNet-Menu ul
{
    width: 10.5em;
    left: 8.9em;
    top: -1em;
    z-index: 400;
}

.MainMenu ul.AspNet-Menu ul ul
{
    width: 11.5em;
    left: 10.4em;
}

/* 
!!!! BACKGROUND OF TOP ELEMENTS
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. */

.MainMenu ul.AspNet-Menu li
{
    
}

/* top item no hover */
.MainMenu ul.AspNet-Menu li a,
.MainMenu ul.AspNet-Menu li span
{  
	padding: 1px 15px 0px 10px;	
	color: White;
	background: #0165BD;
	text-decoration: none;
	height: 16px;
	font: bold 12px arial;
	background: transparent url(Images/activeArrowRight.gif) right center no-repeat;
}

/* Top item no submenu */
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: none;
}

/* Not used presently.  This is here if you modify the menu adapter so it renders img tags, too. */
.MainMenu ul.AspNet-Menu li a img
{
    border-style: none;
    vertical-align: middle;
}

/* Top item. HOVER */
.MainMenu ul.AspNet-Menu li:hover, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
    background:#e2e6f2;
}

/*HOVER of submenu items*/
.MainMenu ul.AspNet-Menu li:hover a, 
.MainMenu ul.AspNet-Menu li:hover span, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover a,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover span,
.MainMenu ul.AspNet-Menu li:hover li:hover a, 
.MainMenu ul.AspNet-Menu li:hover li:hover span, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span,
.MainMenu ul.AspNet-Menu li:hover li:hover ul a:hover, 
.MainMenu ul.AspNet-Menu li:hover li:hover ul span.Asp-Menu-Hover, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a:hover,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span.Asp-Menu-Hover
{
    color: #ffffff;
}

/*Submenu*/
.MainMenu ul.AspNet-Menu li:hover a

{
	background: #010165;
}

.MainMenu ul.AspNet-Menu li:hover ul a, 
.MainMenu ul.AspNet-Menu li:hover ul span, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul a,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul span,
.MainMenu ul.AspNet-Menu li:hover li:hover ul a, 
.MainMenu ul.AspNet-Menu li:hover li:hover ul span, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span
{
    color: Black;
}

/* 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. */
.MainMenu ul.AspNet-Menu li a:hover,
.MainMenu ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color: #010165;
    background: transparent url(Images/arrow-active.png) right center no-repeat;
}

.MainMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;

}






/* 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: 10.5em;
    left: 0;
    top: 100%;
    background: #6a7bb6;

}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    top: -0.3em;
}

.MainMenu .AspNet-Menu-Horizontal ul.AspNet-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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
   	/*width: 9.8em;/*top menu width of items. Comment to have it just with padding*/
    text-align:left;
}

/* 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:left;
    width: 15em;
    color: White;
    background: #6a7bb6;
}
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li a
{
    color: White;
}


.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: -1.4em 0 0 10.35em;
}
