﻿

nav.main{ float:right; margin-top:20px;}

	/* remove the list style */
	nav.main ul {
		margin:0; 
		padding:0; 
		list-style:none;
		font-family:Arial, Helvetica, sans-serif;
		font-size:12px;
	}	
	
		/* make the LI display inline */
		/* it's position relative so that position absolute */
		/* can be used in submenu */
		nav.main ul li {
			/*float:left;*/ 
			display:block; 
			/*width:100px;*/ 
			/*background:#ccc; */
			position:relative;
			z-index:500; 
			/*margin:0 1px;*/
			margin:0 10px; padding-bottom:16px; float:left;
		}
		
		/* this is the parent menu */
		nav.main ul li a {
			display:block; 
			/*padding:8px 5px 0 5px; 
			font-weight:700;  
			height:23px; */
			text-decoration:none; 
			color:#fff; 
			text-align:left; 
			
		}

		nav.main ul li a:hover {
			color:#7ac041;
		}
	
		/* you can make a different style for default selected value */
		nav.main ul li.sel{ background:url(../images/esssite/theme/arrow-drop-white.gif) center bottom no-repeat;}
		nav.main ul li.sel a {
			font-weight:bold; color:#7ac041;
		}
	
		/* submenu, it's hidden by default */
		nav.main ul ul {
			position:absolute; 
			left:0; 
			display:none; 
			/*margin:0 0 0 -1px;*/
			margin:10px 0 0 0;
			padding:0; 
			list-style:none;
			
			background:url(../images/esssite/theme/arrow-drop-grey.gif) 10px top no-repeat; padding-top:6px;
		}
		
		nav.main ul ul li {
			width:131px; 
			float:left; 
			/*border-top:1px solid #fff;*/
			background-color:#3a3a3a;
			margin:0; padding:7px;			
			border-top:1px solid #4a4a4a; border-right:1px solid #4c4c4c; border-bottom:1px solid #242424; border-left:1px solid #4c4c4c;
		}
		nav.main ul ul li.fst{ border-top:0;}
		
		/* display block will make the link fill the whole area of LI */
		nav.main ul ul a {
			display:block;  
			/*height:15px;*/
			padding: 0; 
			color:#fff;
		}
		
		nav.main ul ul a:hover {
			text-decoration:none;	
		}

		/* fix ie6 small issue */
		/* we should always avoid using hack like this */
		/* should put it into separate file : ) */
		*html nav.main ul ul {
			/*margin:0 0 0 -2px;*/ margin:0;
		}
