﻿/* This style sheet is intended to contain OFTEN CHANGED rules used when the Menu control adapter is enabled. */

/* When the Menu control's Orientation property is Vertical the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Vertical. */
/* Note that the example menu in this web site uses relative 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. */
.ConsumerMenu .AspNet-Menu-Vertical {
	position: relative;
	top: 0px;
	left: 0;
	z-index: 300;
	font-weight: 700;
	font-size: 12px;
	font-family: Arial,Helvetica,sans-serif;
	border-top: dotted 1px #000000;
}

/* The menu adapter renders an unordered list (ul) in HTML for each tier in the menu. */
/* So, effectively says: style all tiers in the menu this way... */
.ConsumerMenu ul.AspNet-Menu {
}
.ConsumerMenu ul.AspNet-Menu ul {
	white-space: nowrap;
}
.ConsumerMenu li {
	background: #FFFFFF;
	z-index: 310;
	width: auto;
}

/* 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. */
.ConsumerMenu ul.AspNet-Menu ul {
	left: 175px;
	top: -1px;
	background: #F7F7F2;
	width: 275px;
	border-top: dotted 1px #000;
	border-left: dotted 1px #000; 
	border-right: dotted 1px #000; 
}

/* 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. */
.ConsumerMenu ul.AspNet-Menu li {
	margin: 0px 0px 0px 0px;
}

/* 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). */
.ConsumerMenu ul.AspNet-Menu li a, .ConsumerMenu ul.AspNet-Menu li span {
	color: #013c82;
	padding: 8px 2px 8px 6px;
	background: transparent url(../Images/arrowRight.gif) right center no-repeat;
}

/* When a menu item contains no submenu items it is marked as a "leaf" and can be styled specially by this rule. */
.ConsumerMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a, .ConsumerMenu 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. */
.ConsumerMenu ul.AspNet-Menu li a img {
	border-style: none;
	vertical-align: middle;
}

/* 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). */
.ConsumerMenu ul.AspNet-Menu li:hover, .ConsumerMenu ul.AspNet-Menu li.AspNet-Menu-Hover {
	background: #e4edf7;
	color: #013c82;
}

/* 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. */
.ConsumerMenu ul.AspNet-Menu li a:hover, .ConsumerMenu ul.AspNet-Menu li span.Asp-Menu-Hover {
	color: #013c82;
	background: transparent url(../Images/arrowRight.gif) right center no-repeat;
}

.ConsumerMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover {
	background-image: none;
}
.ConsumerMenu .AspNet-Menu-Selected /* this tier is selected */ {
	color: #a2a7a9;
	background: #EBFFEB;
	background-color: #EBFFEB;
}
