#wrapper{
	width: 1020px;
	margin: auto;
	background-color: #ccc;
	box-shadow: 10px 10px 10px #ddd;
	border-radius: 15px 15px;
	padding: 15px
}
nav {
	clear: both;
	border: 2px solid #999;
	font-size: 16px;
	background: #012169;
}
nav #pullmenu{
	display:none;
}
nav ul {
	display:block;
	clear: both;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
nav ul li {
	float: left;
	margin: 0 5px;
	padding: 0;
	background: #012169;
}
nav ul li:first-child{
	margin-left:0;
}
nav ul li a {
	height: 45px;
	display: block;
	line-height:45px;
	color: #fff;
	padding: 0 5px;
	width:100%;
	margin:0;
	text-decoration: none;
	border-radius:0;
}

nav a:hover,
nav .curr,
nav ul li ul li a:hover,
nav ul > li:hover > a {
	background: #8094dd;
}
nav ul > li > ul > li > .curr{
	background:#8094dd;
}
nav ul li ul {
	width: 620px;
	position: absolute;
	border: none;
	max-height: 0;
	height: 600px;
	z-index: 99;
	font-size: 16px;
}
nav ul > li:hover > ul {
	max-height: 300px;
	transition: max-height 1s ease-in-out;
}

nav ul > li:nth-child(5):hover > ul {
	max-height: 560px;
	transition: max-height 1s ease-in-out;
}
nav ul > li:nth-child(7):hover > ul {
	max-height: 560px;
	transition: max-height 1s ease-in-out;
}

nav ul > li:nth-child(9):hover > ul {
	max-height: 525px;
	transition: max-height 1s ease-in-out;
}

nav > ul > li > ul > li:first-child {
	padding-top:0;
}
nav ul li ul li {
	float: none;
	margin: 0;
	padding:0;
	position: relative;
	text-align: center;
	width: 230px;
}
nav > ul > li ul a{
	background: #012169;
	width: 230px;
	margin:0;
	padding:0;
	border-right: none;
	border-top: 1px solid #fff;
	height:30px;
	line-height:30px;
}

.center{
	text-align: center
}
#center{
	text-align: center
}
img{
	border-radius: 10px 10px
}