header {
	padding: 20px 0;
	/* border-top: 8px solid #641012; */
	position: relative;
}
header > img {
	width: 190px;
	display: block;
	margin: auto;
	margin-top: -8px;
}
header .menu {
	position: absolute;
	top: 40px;
	left: calc(50% - 205px);
}
header .user {
	position: absolute;
	top: 10px;
	right: 20px;
}
header > ul li {
	display: inline-block;
}
header > ul li::before {
	content: "";
	margin-left: 5px;
	padding-left: 5px;
	border-left: 1px solid #fff;
	height: 15px;
	display: inline-block;
	vertical-align: middle;
}
header > ul li:first-child::before {
	display: none;
}
header > ul li span {
	display: inline-block;
	cursor: pointer;
	padding: 4px 10px;
	background: none;
}
header > ul li.active span {
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 20px;
}


/*移动端导航*/
.menu_phone .switch_btn {
	position: absolute;
	top: 10px;
	left: 10px;
}
.menu_phone .menu_list {
	position: absolute;
	top: 10px;
	right: 10px;
}
.menu_phone ul {
	position: absolute;
	margin-top: 10px;
	right: 0;
	background-color: rgba(45, 8, 8, 0.8);
	z-index: 9;
	padding: 0.6rem;
}
.menu_phone ul li {
	margin-bottom: 10px;
	white-space: nowrap;
}
.menu_phone .menu_icon {
	width: 1rem;
	vertical-align: middle;
}


/*头部开关*/
.choose-btn {
	display: none;
}
.choose-label {
	box-shadow: #641012 0px 0px 0px 1px;
	width: 55px;
	height: 18px;
	display: inline-block;
	border-radius: 18px;
	position: relative;
	background-color: #641012;
	overflow: hidden;
	margin: 0;
	cursor: pointer;
	vertical-align: middle;
	background-image: url("/statics/files1/night_off.png"), url("/statics/files1/day_off.png");
	background-size: 13px 13px;
	background-repeat: no-repeat;
	background-position: 20% center, 80% center;
}
.choose-label:before {
	content: '';
	background-image: url("/statics/files1/night_on.png");
	background-size: 13px 13px;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	left: 1px;
	top: 1px;
	width: 27px;
	height: 16px;
	display: inline-block;
	border-radius: 28px;
	background-color: #fff;
	z-index: 20;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.choose-btn:checked + label.choose-label:before {
	left: 26px;
	background-image: url(/statics/files1/day_on.png);
    background-size: 13px 13px;
    background-repeat: no-repeat;
    background-position: center;
}
.choose-btn:checked + label.choose-label {
	background-color: #641012;
	box-shadow: #641012 0px 0px 0px 1px;
}
.choose-text {
	display: inline-block;
	vertical-align: middle;
	line-height: 20px;
	color: #888;
	font-size: 12px;
	margin-top: 4px;
}


footer {
    color: #7E2326;
    text-align: center;
    margin: 50px 0 40px 0;
}
footer li {
    display: inline-block;
    border-left: 1px solid #7E2326;
    padding: 0 8px;
}
footer li:first-child {
    border-left: none;
}
footer p {
    width: 900px;
    margin: auto;
    margin-top: 10px;
    line-height: 25px;
}


/*主体内容*/
.main {
    width: 97%;
    margin: 0 auto;
}
.main > .content {
    margin: 0px 0 20px 0;
}


/*搜索部分*/
.search_area {
	margin-top: 10px;
	position: relative;
}
.search_area input {
	width: calc(100% - 66px);
	height: 40px;
	border: 3px solid #641012;
	border-radius: 40px;
	padding: 0 50px 0 10px;
	background-color: rgba(255, 255, 255, 0.2);
	color: #641012;
}
.search_area input::-webkit-input-placeholder {
	color: #641012;
}
.search_area input::-moz-input-placeholder {
	color: #641012;
}
.search_area input::-ms-input-placeholder {
	color: #641012;
}
.search_area .btn {
	width: 30px;
	height: 30px;
	position: absolute;
	right: 10px;
	top: 8px;
	cursor: pointer;
}


/*页面导航*/
.navigation span:nth-child(2n - 1) {
	cursor: pointer;
}


/*移动端*/
@media screen and (max-width:980px) {
	header .menu, header .user {
		display: none;
	}
    footer p {
	    width: 80%;
	    line-height: 1.2rem;
	}
	.main {
	    margin-top: 0;
	}
	.menu_phone {
		display: block !important;
	}
}