﻿
.foo {} /* W3C CSS validator likes CSS files to start with a class rather than a comment. Soooooo.... */

/* 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. */
.PrettyMenu .AspNet-Menu-Vertical
{
    font-family: Arial;
	font-size: 12px;
	cursor:pointer;
	background-color:#F2F2F2;
	border:solid 1px gray;
	width:160px;
	position:relative;
}

/* 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... */
.PrettyMenu ul.AspNet-Menu, 
.PrettyMenu ul.AspNet-Menu ul
{
    width: 160px;
	font-family: Arial;
    font-size:12px;
}

/* 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. */
.PrettyMenu ul.AspNet-Menu ul
{
    top: 3px;
    left: 160px;
    width:160px;
    background-color:#F2F2F2;
    border:solid 1px gray;
}

/* 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. */
.PrettyMenu ul.AspNet-Menu li
{
    /*background:#4682B3 url(bg_nav.gif) repeat-x;*/
}

/* 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). */
.PrettyMenu ul.AspNet-Menu li a,
.PrettyMenu ul.AspNet-Menu li span
{
    color: black;
    padding: 2px 2px 2px 15px;
    
    border-top-style:solid;
	border-top-width:1px;
	border-top-color:white;
    
    border-bottom-style:solid;
	border-bottom-width:1px;
	border-bottom-color:#D9D9D9;
	background-color:#FBFBFB;
	/*Shakh dar nayarid dorosteh url bayad khali bashe*/
    background: transparent url() 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. */
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{

    background: transparent url(Images/en/over2.gif) left center no-repeat;
}

/* Not used presently.  This is here if you modify the menu adapter so it renders img tags, too. */
.PrettyMenu 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). */
.PrettyMenu ul.AspNet-Menu li:hover, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
    background: transparent url(Images/en/up2.gif) left center no-repeat;
}

.PrettyMenu ul.AspNet-Menu li:hover a, 
.PrettyMenu ul.AspNet-Menu li:hover span, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover a,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover span,
.PrettyMenu ul.AspNet-Menu li:hover li:hover a, 
.PrettyMenu ul.AspNet-Menu li:hover li:hover span, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover a,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover span,
.PrettyMenu ul.AspNet-Menu li:hover li:hover ul a:hover, 
.PrettyMenu ul.AspNet-Menu li:hover li:hover ul span.Asp-Menu-Hover, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a:hover,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span.Asp-Menu-Hover
{
    color: black;
    text-decoration:none;
}

.PrettyMenu ul.AspNet-Menu li:hover ul a, 
.PrettyMenu ul.AspNet-Menu li:hover ul span, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul a,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover ul span,
.PrettyMenu ul.AspNet-Menu li:hover li:hover ul a, 
.PrettyMenu ul.AspNet-Menu li:hover li:hover ul span, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul a,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover li.AspNet-Menu-Hover ul span
{
    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. */
.PrettyMenu ul.AspNet-Menu li a:hover,
.PrettyMenu ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color: Black;
    background: transparent url(Images/en/up3.gif) right center no-repeat;
}






.AspNet-Menu-WithChildrenSelected,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-WithChildrenSelected a:hover
{
	background: transparent url(Images/en/SelectedItem.gif) left center no-repeat;
}
	
.AspNet-Menu-LeafSelected,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-LeafSelected a:hover
{
	background: transparent url(Images/en/SelectedItemLeaf.gif) left center no-repeat;
}

.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}



#C_Categories,#C_Companies,#C_AboutUs
{
	background: transparent url(Images/en/Over3.gif) left center no-repeat;
	background-color:#FFFFFF;
}

#C_Categories,#C_Companies,#C_AboutUs
{
	background: transparent url(Images/en/Over3.gif) left center no-repeat;
	background-color:#FFFFFF;
}

#C_Latest a
{
	background: transparent url(Images/en/over1.gif) left center no-repeat;
	background-color:#FFFFFF;
}

#C_Latest a:hover 
{
	background: transparent url(Images/en/Up1.gif) left center no-repeat;
	background-color:#FFFFFF;
}


#SubMenus
{
	background: transparent url(Images/en/Over4.gif) left center no-repeat;
	
	}
#SubMenus  a:hover 
{
	background: transparent url(Images/en/Up4.gif) left center no-repeat;
}
#SubMenus li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}

