/* demo page styles */
body {
    background:#eee;
    margin:0;
    padding:0;
}
.example {
    position:relative;
    background:#7EEF87;
    width:100%;
    height:50px;
    border:1px #000 solid;
    margin:5px auto;
    padding:15px;
    border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}
/* main menu styles */
#nav,#nav ul {
	font-family:verdana;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
}
#nav {
	height:50px;
	width:90%;
	margin: 0 auto;
	overflow:hidden;
	top:0;
}
#nav li {
	float:left;
	position:relative;
	z-index:10;
}
#nav li a {
	background: url(../images/bg-menu.png) no-repeat center top;
	color: #fff;
	display: block;
	float: left;
	font-size: 14px;
	height: 51px;
	line-height: 40px;
	padding: 0 10px;
	position: relative;
	text-decoration: none;
	z-index: 20;
}
#nav li:first-child a {
	background:url(../images/bg-menu.png) no-repeat left top;
	padding-left:35px;
}
#nav li ul li:first-child a {
	background-image:none;
	padding-left:10px;
}
#nav li.pad {
	background: url(../images/bg-menu.png) no-repeat right top;
	display: block;
	height: 51px;
	width: 80px;
}
#nav ul {
	background: #009900;
	height: auto;
	padding: 10px 0;
	position: absolute;
	top: -115px;
	width: 120px;
	z-index: 1;
	border-radius: 8px; /*some css3*/
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	transition: 0.8s ease-in-out;
	box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
	-moz-transition: 0.8s ease-in-out;
	-o-transition: 0.8s ease-in-out;
	-webkit-transition: all 0.8s ease-in-out;
}
#nav ul li {
	width:180px;
}
#nav ul li a {
	background:transparent;
	height:20px;
	line-height:20px;
	width:160px;
}
#nav:hover {
	height:200px;
}
#nav li:hover ul {
	-moz-transform:translate(0,161px); /*some css3*/
	-o-transform:translate(0,161px);
	-webkit-transform:translate(0,161px);
}
#nav a:hover,#nav li:hover > a {
	color:#99ff33;
}
