header {
	width: 100%;
	margin: 0;
	padding: 0;
}

/*导航栏*/
nav {
	height: 52px;
	width: 819px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
	background: #00aaff;
	/* box-shadow: 1px 4px 5px #888888; */
}

/* 导航栏元素 */
nav>ul>li {
	height: 52px;
	width: 160px;
	display: inline-block;
	background-color: #00AAFF;
	/* border-radius: 6px; */
	/* box-shadow: 0 0 6px #888888; */
}

nav li a,
nav li select {
	display: block;
	width: 160px;
	height: 40px;
	padding-top: 12px;
	/* padding: 16px 32px; */
}

/* 导航栏元素选中背景色 */
nav li:hover {
	background-color: #5555ff;
	transition: 0.2s;
}

#bottom_li {
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

/* 导航栏字体设置 */
nav li a {
	color: #000000;
	text-decoration: none;
	font-weight: 600;
	font-family: "微软雅黑";
	font-size: calc(19px);
}

nav li a:hover {
	color: #FFFFFF;
}

/* 导航栏下拉菜单 */
#caidan {
	margin: 0;
	padding: 0;
}

#xiala {
	display: none;
	position: absolute;
	width: 160px;
	padding: 0;
	margin: 0;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	/* border-radius: 8px; */
	background-color: #00AAFF;
	list-style: none;
}


/* 悬停下拉样式 */
#daohang #caidan li:hover ul {
	z-index: 11;
	display: block;
}

#user{
	float: right;
}

#user a#toLogin{
	padding-top: 12px;
	color: #000000;
	text-decoration: none;
	/*font-weight: 600;*/
	/*font-family: "微软雅黑";*/
	font-size: calc(19px);
	display: inline-block;
}
#user a#toLogin:hover{
	color: red;
	text-decoration: underline;
}

#user>li{
	list-style: none;
	width: 160px;
	padding-top: 14px;
	font: 16px 微软雅黑;
}

#user li:hover {
	transition: 0.2s;
	cursor: pointer;
}

#user-xiala{
	display: none;
	position: absolute;
	padding: 0;
	margin: 0;
	background-color: #00AAFF;
	list-style: none;
}

/* 页脚 */
footer {
	display: inline-block;
	position: relative;
	bottom: 0;
	width: 100%;
	height: 80px;
	margin: 0;
	padding: 6px 0;
	color: white;
	background-color: #272727;
	text-align: center;
}

footer p {
	margin: 5px auto;
	color: #cccccc;
}
