﻿/* menu css */

/* USED 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... */
.DTMenu ul
{
    background:#E7E7E7;
}

/* Needed for ie8 */
/* Use this rule create the common appearance of each menu item. */
.DTMenu ul.AspNet-Menu li
{
    background:#e7e7e7;
}

/* USED  Within each menu item is a link or a span */
.DTMenu ul.AspNet-Menu li a,
.DTMenu ul.AspNet-Menu li span
{
	color: black;
	padding: 4px 2px 4px 8px;
	border-top: 1px solid red;
	border-left: 1px solid red;
	border-bottom: 1px solid red;
	border-right: 1px solid red;
	}



/* USED 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). */
.DTMenu ul.AspNet-Menu li:hover, 
.DTMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
	background: #669999;
}


/* -------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */

.DTMenu .AspNet-Menu-Horizontal
{
	position: relative;
	left: 0em;
	top: 0;
	z-index: 300;
}

/* This rule controls the width of the top tier of the horizontal menu. */
/* BE SURE TO MAKE THIS WIDE ENOUGH to accommodate all of the top tier menu items that are lined */
/* up from left to right. In other words, this width needs to be the width of the individual */
/* top tier menu items multiplied by the number of items. */
.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
	width: auto;
	 visibility: visible !important;
	 height: 1%; 	
}

/* 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. */
.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
    width: 10.2em; /* changed from 10em */
    left: 0;
    top: 100%;
}

.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    top: 1.4em; /* CHANGED FROM -0.3EM aligns second tier menu verticals */
}

/*.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    width: 11.5em;
}

/* Generally, you use this rule to set style properties that pertain to all menu items. */
/* One exception is the width set here.  We will override this width with a more specific rule (below) */
/* That sets the width for all menu items from the second tier downward in the menu. */
.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
	width: 163px;
	text-align: center;
}

/* 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. */
.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
	text-align: left;
	width: 163px;
}

.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul li
{
    width: 10.2em; /* changed from 11.5em */
}

/* 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. */
.DTMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
    margin: -1.4em 0 0 10.2em; /* changed from -1.4em 0 0 10em */
}