/*------------------------------
=BASIC SETUP
------------------------------*/

/* Makeshift CSS Reset */
* {
	margin: 0;
	padding: 0;
}

/* Tell the browser to render HTML 5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
}

body {
	font: normal .8em/1.5em Arial, Helvetica, sans-serif;
	background: #ebebeb;
	width: 90%;
	margin: 10px auto;
	color: #666;
}

/*------------------------------
=NAVIGATION
------------------------------*/

nav {
	height: 1%;
	margin: 0;
	padding: 7px 6px 0;
	line-height: 100%;
	border-radius: 2em;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .4);

	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); /* for webkit browsers */
	background: -moz-linear-gradient(left, #2F2727, #1a82f7 5%, #2F2727, #1a82f7 95%, #2F2727);
	border: solid 1px #6d6d6d;
	z-index:1000;
}

nav ul {
	margin: 0 auto;
	list-style: none;
    display: inline-block;
	text-align:center;
	z-index:1000;

/*Added*/
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#7a7a7a'); /*for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#a9a9a9), to(#7a7a7a)); /* for webkit browsers */

}
	
nav ul a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	width:90px;
	padding: 10px 20px;
	margin: 0;
	border-radius: 1.6em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	z-index:1000;
}

nav ul li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
	z-index:1000;
}

/* main level link hover */		
nav ul .current a, nav ul li:hover > a {
	background: -moz-linear-gradient(top,  #ebebeb,  #a1a1a1); /* for firefox 3.6+ */

	color: #444;
	border-top: solid 1px #f8f8f8;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);*
	z-index:1000;
}
	/* level 2 list */
nav ul ul{
	background: -moz-linear-gradient(top,  #ccc,  #000);
	color:#FFF;
	display: none;
	margin:0;
	padding: 0;
	width: 130px;
	position:absolute;
	top: inherit;
	left:inherit;
	border: solid 1px #b4b4b4;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	z-index:1000;
}
/* dropdown */
nav ul li:hover > ul {
	display: block;
	text-align:left;
}

nav ul ul li {
	float: none;
	margin: 0;
	padding: 0;
}
nav ul ul a {
	font-weight: normal;
}
/* sub levels link hover */
nav ul ul li:hover a, nav ul li:hover li a {
	background: none;
	border: none;
	color: #fff;
	box-shadow: none;
	width: 93px;

}

nav ul ul a:hover {
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#04acec', endColorstr='#0186ba'); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)) !important; /* for webkit browsers */
	background: -moz-linear-gradient(top,  #04acec,  #0186ba) !important; /* for firefox 3.6+ */
	color: #fff !important;
	border-radius: 0;
	width: 120px;
}

/* level 3+ list */
nav ul ul ul{
	left: 131px;
	top:-3Px;
}
/* rounded corners for first and last child */
nav ul ul li:first-child > a {
	-moz-border-radius-topleft: 9px;
	-moz-border-radius-topright: 9px;
}
nav ul ul li:last-child > a {
	-moz-border-radius-bottomleft: 9px;
	-moz-border-radius-bottomright: 9px;
}
/* clearfix */
nav ul :after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}


