@charset "UTF-8";
/* CSS Document */

#nav {
	float: right;
	height: 40px;
	margin: 10px 0;
	padding: 0;
}

#nav ul {
	padding: 0; 
	list-style: none;
	position: relative;
	display: inline-table;
	margin:0;
}
#nav ul:after {
	content: ""; clear: both; display: block;
}

#nav ul ul {
	display:none;
	z-index:10;
}
#nav > ul > li:first-child{
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;	
}
#nav > ul > li:last-child{
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;	
}

#nav ul li:hover > ul {
	display:block;
}
#nav ul li {
	float: left;
	background-color: #9ec54d;
}
#nav ul li a {
	color: #FFF !important;
}

#nav ul li:hover {
	background: #5380c0;
	/*background: linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -moz-linear-gradient(top, #4f5964 0%, #5f6975 40%);
	background: -webkit-linear-gradient(top, #4f5964 0%,#5f6975 40%);*/
}
#nav ul li:hover a {
	color: #FFF;
}
#nav ul li a {
	color: #5380c0;
	display: block;
	font-size: 14px;
	height: 20px;
	padding: 10px 20px;
	text-decoration: none;
}
#nav ul ul {
	position: absolute; top: 100%;
}
#nav ul ul li {
	float: none; 
	position: relative;
}
#nav ul ul li a {
	color: #fff;
}	
#nav ul ul li a:hover {
	background: #63bbd5;
}
/*
#nav ul ul li:last-child a{
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;	
}
*/