﻿/* This style sheet is intended to contain OFTEN CHANGED rules used when the Menu control adapter is enabled. */

/* This is the menu wrapper added by me for the 1 specific main menu and its associated styles. */
.MainMenu
{
	position: relative;
	background-color: #0000FF;/*	margin: 0px 0px 0px 0px;*//*	height: auto;*//*	width: 800px;*//*	clear: both;*/
	width: auto;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

/* 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. */

.MainMenu .AspNet-Menu-Horizontal
{
	position:relative;
	left: 0px;
	top: 0px;
	margin: 0px 0px 0px 0px;
	width: 800px;
	z-index: 300;
}

/* This rule effectively says: style the TOP TIER (and any tiers not overwritten below) of the menu this way... */
/* BE SURE TO MAKE THIS WIDE ENOUGH to accomodate all of the top tier menu items that are lined up from left to right. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
	width: 800px;
	font-family: Arial, Helvetica;
	font-size: 10pt;
}

/* Use this rule create the common appearance of each menu item. */
.MainMenu ul.AspNet-Menu li
{
	margin: 0px 0px 0px 0px;
	width: 160px;
	text-align: center;
	background-color: #27569C;
}
.MainMenu ul.AspNet-Menu li li
{
	text-align: left;			/* make sub-menus left-aligned */
	padding-left: 5px;
	padding-right: 5px;
	background-color: #2856A3;
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* Other properties are carried over from ul.AspNet-Menu style above. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
	top: 20px;					/* this offsets the submenu from the main bar */
	width: 180px;
	background-color: #CCCCCC;
	border: thin solid #CCCCCC;
}

.MainMenu .AspNet-Menu-Horizontal li.AspNet-Menu-Hover ul
{
    left: 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. */
.MainMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
    width: 180px;
}

/* 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.8em 0 0 174px;
}


/* 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). */
.MainMenu ul.AspNet-Menu li a,
.MainMenu ul.AspNet-Menu li span
{
    color: #fff;
    padding: 3px 3px 3px 3px;
}

/* When a menu item contains no submenu items it is marked as a "leaf" and can be styled specially by this rule. */
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: none;
}

/* 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). */
.MainMenu ul.AspNet-Menu li:hover, 
.MainMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
	background-color: #2D58A7;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

/* 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:#D0202B;
	background-color: #CCCCCC;
}

.MainMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}

