/* Targeting both first and second level menus */
#nav li {
	float: left;
	position: relative;
	font-weight: bold;
}
#nav li a {
	background: #f5fcfe;
	color: #006699;
	display: block;
	margin: 0 0px 0 0;
	padding: 5px 8px;
}

#nav li a img {
	vertical-align: middle;
	background: #f5fcfe;
	border:0px;
}

#nav li a:hover {
	background: #f7f7f7;
	text-decoration: none;
}

/* Targeting the first level menu */
#nav {
	display: block;
	height: 20px;
	padding-left: 5px;
	width: 120px;
	z-index: 100;
	position: relative;
	margin-bottom: -3px;
	list-style-type: none;
	font-size: 12px; 
	margin-left: 0px;
}

/* Targeting the second level menu */
#nav li ul {
	border: 1px solid #c7edfc;
	color: #333;
	display: none;
	margin: -3px 0 0 0;
	width: 170px;
	position: absolute;
	background:none repeat scroll 0 0 #f5fcfe;
}
#nav li ul li {
	width: 100%;
	list-style-type: none;
	padding-left: 0px;
	margin-left:-4px;
	background:none repeat scroll 0 0 #f5fcfe;
}
#nav li ul li a {
	background: none;
	border: none;
	line-height: 25px;
	margin: 0;
	
	margin-left:-38px !important;
	font-size: 12px;
}
#nav li ul li a:hover {
	background: #c7edfc;
	display: block;
}

#nav > li > a {
	border-color: #00c0f4;
	border-top-left-radius: 1px;
	border-top-right-radius: 1px;
	border-bottom-left-radius: 1px;
	border-bottom-right-radius: 1px;
	-moz-border-radius-topleft: 1px;
	-moz-border-radius-topright: 1px;
	-webkit-border-top-left-radius: 1px;
	-webkit-border-top-right-radius: 1px;
}

/* A class of current will be added via jQuery */
#nav li.current > a {
	background: #f7f7f7;
}
/* CSS fallback */
#nav li:hover > ul.child {
	display: block;
}
#nav li:hover > ul.grandchild  { 
	display: block; 
}

/* Hack for IE older version \*/
* html #nav li ul li a  { padding: 0 0 0 40px;}