﻿   	
   	
.CcsMenu .AspNet-Menu-Vertical
{
    float:right;
	position:absolute;
	top:-20px;
    z-index: 300;

}

/* 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... */
.CcsMenu ul
{
    color:#000099;
    background-color:#CCCCCC;
      
}


/* Top tier */
.CcsMenu .AspNet-Menu-Vertical ul.AspNet-Menu
{
    width: 9em;
}

/* 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. */
.CcsMenu ul.AspNet-Menu ul
{
    width: 10em;
    left: 15.9em;
    top: -1em;
    z-index: 400;
    font-size:100%;
    margin:0 0 0 0
}

.CcsMenu ul.AspNet-Menu ul ul
{
    left: 10em;
}

/* 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. */
.CcsMenu ul.AspNet-Menu li
{
	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). */
.CcsMenu ul.AspNet-Menu li a,
.CcsMenu ul.AspNet-Menu li span
{
    font-weight:bold;/*Thai's change*/
    color: #000099;/*Thai's change*/
    padding: 2px 20px 2px 2px;
    border:1px solid #CCCCCC;
    border-bottom: 0;
background: transparent url(../image/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. */
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
	font-weight: bold;
    background-image: none;
}

/* Not used presently.  This is here if you modify the menu adapter so it renders img tags, too. */
.CcsMenu 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). */
.CcsMenu ul.AspNet-Menu li:hover, 
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
    color: #000099;/*thai's change*/
	background-color: #c0c0c0;/*thai change*/
	font-weight:bold;
	/*border-color: White;
	border-width: 1;*/
}

.CcsMenu ul.AspNet-Menu li:hover a, 
.CcsMenu ul.AspNet-Menu li:hover span, 
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover a,
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover span,
.CcsMenu ul.AspNet-Menu li:hover li:hover a, 
.CcsMenu ul.AspNet-Menu li:hover li:hover span, 
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a,
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span,
.CcsMenu ul.AspNet-Menu li:hover li:hover ul a:hover, 
.CcsMenu ul.AspNet-Menu li:hover li:hover ul span.Asp-Menu-Hover, 
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a:hover,
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span.Asp-Menu-Hover
{
   color: #c0c0c0;
   background-color: #000099;
}
/*Control the sub menu*Thai's note*/
.CcsMenu ul.AspNet-Menu li:hover ul a, 
.CcsMenu ul.AspNet-Menu li:hover ul span, 
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul a,
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul span,
.CcsMenu ul.AspNet-Menu li:hover li:hover ul a, 
.CcsMenu ul.AspNet-Menu li:hover li:hover ul span, 
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a,
.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span
{
    color: White;
    background-color:#808080;
    font-weight:normal;
    border-bottom:solid 1px #c0c0c0;
}

/* 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. */
.CcsMenu ul.AspNet-Menu li a:hover,
.CcsMenu ul.AspNet-Menu li span.Asp-Menu-Hover

{
	color: #6e6e6e;
    background: transparent url(../image/activeArrowRight.gif) right center no-repeat;
}

.CcsMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}


/* -------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */
/* Note that the example menu in this web site uses absolute 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. */
.CcsMenu {
	/*min-width:600px;*//*This was removed because it caused issues on mobile. Some users run desktop mode on their phones and the menu was unusable with this present.*/
	position: absolute; /*this was move from the CcsMenu .AspNet-Menu-Horizontal below 05/02/11*/
	right: 0; /*this was move from the CcsMenu .AspNet-Menu-Horizontal below 05/02/11*/
	top: 0; /*this was move from the CcsMenu .AspNet-Menu-Horizontal below 05/02/11*/
}
.CcsMenu .AspNet-Menu-Horizontal
{
    float:right;/* add this in to move the menu right with 05/02/11 */
}

/* 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. */
.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
    font-style:normal;
}

/* 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. */
.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
    left: 0;
    top: 100%;
    /*width: 20.5em; This only apply to the holder. NO need to set it here.. the width will determine in the Li */
}



/* 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. */
.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
    font-style:normal;
}

/* 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. */
.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
    text-align:left;
    width: 10em;/* This only apply to the FIRST LEVEL of the drop down. */
    margin:0 0 0 0;
        padding: 0px 0px 0px 0px;
}

.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul
{
    width: 10em; /* This only apply to the SECOND LEVEL of the drop down. */
}


.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul ul li
{
    width: 10em; /* This only apply to the SECOND LEVEL of the drop down. */
}

/* 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. */
.CcsMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
    font-style:normal;
    padding: 0px 0px 0px 0px;
    margin:-2em 0 0 10em;/*set position of the subSub menu*/
}