﻿@import "../../../Common/CSS/MenuBase.css";

#SiteMenu ul.AspNet-Menu {
    background-color: #a50550;
    background-repeat: repeat;
    background-position: bottom left;
}

/* 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. */
#SiteMenu ul.AspNet-Menu li {
    background-repeat: repeat-x;
    background-position: bottom left;
    background-color: #a50550;
    padding: 1px;
    height: 24px;/* Changes from SA */
}

#SiteMenu ul.AspNet-Menu ul li {
    background: #a50550;
    text-transform: none;
    /* From Overwriting Menu base*/
    border:1px solid #fafafa; 
    border-top:0px;
    border-bottom-color: #fafafa; 
    border-left-color: #fafafa;
    border-right-color: #fafafa
}

/*  CHANGED background: #a50550 items below background during hover
    replace border-right: solid 1px #006BB0;
    border-left: solid 1px #4090C4;*/
#SiteMenu ul.AspNet-Menu li a, #SiteMenu ul.AspNet-Menu li span {
    color: #ffffff;
    border-right: solid 1px #a50550;
    border-left: solid 1px #a50550;/**/
    font-weight: bold;
	font-family: sans-serif;
    font-size: 9pt;
}

/* 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). */
#SiteMenu ul.AspNet-Menu li:hover, #SiteMenu ul.AspNet-Menu li.AspNet-Menu-Hover {
    background-color: #a50550;
}

/* 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. */
#SiteMenu ul.AspNet-Menu li a:hover, #SiteMenu ul.AspNet-Menu li span.Asp-Menu-Hover {
    text-decoration: none;
    background-color: #a50550;
    text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */
#SiteMenu .AspNet-Menu-Horizontal {
    background-color: #a50550;/* Makes rest of the horiz bar other then the button text  */
    background-repeat: repeat-y;
    background-position: bottom right;
}

/************************************** Added Style from MenuBase.css **********************************/
#SiteMenu ul.AspNet-Menu ul li a, #SiteMenu ul.AspNet-Menu ul li span {
    padding: 4px 5px 4px 5px;
    font-size: 9pt;
}

/* 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. */
#SiteMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul {
    left: 5px;
    top: 26px;
}

/* 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. */
#SiteMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li {
    width: 350px;
}

/* 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. */
#SiteMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul {
    margin: -2.4em 0 0 200px;
}