<style> #nav {
 padding: 0;
 margin: 0;
 width: 896px;
 position: relative;
 top: 32px;
 z-index: 500;
 float: left;
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
}
#nav li a {
	color: #fff;
	display: block;
	text-decoration: none;
}
#nav li a:active {
	background-color: #F84D67 !important;
}
#nav span:after {
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #FFFFFF;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
}
/* first level */
#nav > ul {
	margin-left: 48px;
	margin-right: 48px;
	height: 32px;
	background-color: #374E5F;
}
#nav > ul > li {
	height: 32px;
	background: #374E5F;
	float: left;
	width: auto;
	min-width: 216px;
}
#nav > ul > li > a {
	font-family: Sans-Serif;
	height: 100%;
	line-height: 32px;
	text-align: center;
}
#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a {
	background-color: #F84D67;
	transition: background .3s;
}
/* second level */
#nav li ul {
	background-color: #374E5F;
	display: none;
	position: absolute;
	top: 100%;
}
#nav li:hover ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul {
	left: -1px;
}
#nav li ul a {
	font-family: Sans-Serif;
	height: 32px;
	line-height: 32px;
	text-align: center;
	vertical-align: middle;
}
#nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
	background-color: #F84D67;
	transition: background .3s;
}
</style>