﻿/* ===============     VERTICAL MENU  ======================== */

/* 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. */

.MasterMenu2 .AspNet-Menu-Vertical
{
    position:relative;
    top: 30px;
    left: 0;
    z-index: 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... */
.MasterMenu2 ul.AspNet-Menu, 
.MasterMenu2 ul.AspNet-Menu ul
{
    width: 120px;
    font-family: Arial;
    font-size:10pt;
}

/* 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. */
.MasterMenu2 ul.AspNet-Menu ul
{
    left: 120px;
    top: 3px;
    background:#FFF;
}

/* 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. */
.MasterMenu2 ul.AspNet-Menu li
{
    background: url(bg-menu-main.png) repeat-x;
    margin:0 2px 2px 0;
}

/* 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). */
.MasterMenu2 ul.AspNet-Menu li a,
.MasterMenu2 ul.AspNet-Menu li span
{
    color: White;

    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(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. */
.MasterMenu2 ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.MasterMenu2 ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: none;
}



/* *************************************** Modified ***************************************
********************************************************************************
 When you hover over a menu item, this rule comes into play. */

.MasterMenu2 ul.AspNet-Menu li:hover, 
.MasterMenu2 ul.AspNet-Menu li.AspNet-Menu-Hover
{
    background-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. */
.MasterMenu2 ul.AspNet-Menu li a:hover,
.MasterMenu2 ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color: White;
    background: transparent url(arrow-active.png) right center no-repeat;     
 
   }

.MasterMenu2 ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
 /* Childless Node*/
{    
   background-image: none;
   background-color:Navy;
   
   
}

/* Added from MenuHorizontal.css */
.MasterMenu2 .AspNet-Menu-Selected /* this tier is selected */
{
    border: solid 1px #00ff00 !important;
}

