﻿/* 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. */
.SideNav .AspNet-Menu-Vertical
{
    position:relative;
    top: 0px;
    left: 0;

}

/* 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... */
.SideNav ul.AspNet-Menu, 
.SideNav ul.AspNet-Menu ul
{
    width: 130px;
    font-family: Tahoma;
    font-size: 8pt;
}

/* 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. */
.SideNav ul.AspNet-Menu ul
{
    left: 128px;
    top: 3px;
    background:#FFF;
    margin: 0 0 0 -7px;
}

/* 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. */
.SideNav ul.AspNet-Menu li
{
    /*background: url(images/bg-menu-example.png) repeat-x;*/
    background-color: #cccccc;
    
}

/* 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). */
.SideNav ul.AspNet-Menu li a,
.SideNav ul.AspNet-Menu li span
{
    color: black;
    padding: 4px 2px 4px 8px;
    border-top: solid 1px #E7E7E7;
    border-right: solid 1px #D2D2D2;
    border-bottom: solid 1px #D2D2D2;
    border-left: solid 1px #E7E7E7;
    /*background: transparent url(images/arrow.png) 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. */
.SideNav ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.SideNav 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. */
.SideNav 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). */
.SideNav ul.AspNet-Menu li:hover, 
.SideNav ul.AspNet-Menu li.AspNet-Menu-Hover
{
    background:#FFF;
    margin: 0 0 0px 0;
    padding: 0px;
}

/* 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. */
.SideNav ul.AspNet-Menu li a:hover,
.SideNav ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color:#000;
    background: transparent url(images/arrow-active.png) right center no-repeat;
}

.SideNav ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}

