﻿#nav {
	
	padding:  0px 0px 0px 0px;
	margin:  0px 0px 0px 0px;
}

#nav li {
	float: left;
	position: relative;
	list-style: none;
	padding:  0px 20px 0px 0px;
	margin:  0px 0px 0px 0px;
	z-index: 1000;
}

#nav img { vertical-align:middle; }

/* main level link */
#nav a {
	display: block;
	padding:  10px 0px 10px 0px;
	
	font-family: Arial;
	font-size: 17px;
	color: #5e5e5e;
	text-decoration: none;
	font-weight: normal;

}

#nav li span {
	display: block;
	padding:  10px 0px 10px 0px;
	
	font-family: Arial;
	font-size: 17px;
	color: #5e5e5e;
	text-decoration: none;
	font-weight: normal;
	cursor:default;

}

#nav a:hover {
	background: #f1f1f1;
	color: #fff;
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #f1f1f1;
	/* color: #ff8a00; */
	color: #000000;
}

/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	padding:  0px 10px 0px 10px;
	margin:  0px 0px 0px 0px;	
		
	font-family: Arial;
	font-size: 13px;

	text-decoration: none;
	font-weight: normal;

}

#nav ul a:hover {
	background: #f1f1f1;
	color: #e76200;

}

/* dropdown */
#nav li:hover > ul {
	display: block;
}

/* level 2 list */
#nav ul {
	display: none;
	margin: 0px 0px 0px;
	padding: 5px 0px 5px 0px;
	/* width: 185px; */
	position: absolute;
	top: 49px;
	left: 0;
	background: #f1f1f1 url(pic/gradient.png) repeat-x 0 0;
	border-bottom: solid 1px #b4b4b4;
	border-left: solid 1px #b4b4b4;
	border-right: solid 1px #b4b4b4;
	border-top: solid 1px #b4b4b4;

}
#nav ul li {
	float: none;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	white-space: nowrap;
}

#nav ul a {
	font-weight: normal;
color: #333333;
}

/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;

}

/* rounded corners of first and last link */
#nav ul li:first-child > a {


}
#nav ul li:last-child > a {

}

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
} 
html[xmlns] #nav {
	display: block;
}
 
* html #nav {
	height: 1%;
}
