@charset "UTF-8";

html {
	scroll-behavior: smooth;
	/* auto,smooth两个属性值，auto不滚动，smooth滚动 */
}

/* 让滚轮平滑的滚动滑动过去 */
/*重复相同的模块样式，例如头部底部，以及版心*/

/* 一切去除本有的元素属性 */
h1,
h2,
h3,
h4,
h5,
h6,
img,
a,
ul,
li,
input,
ol,
dl,
dt,
dd,
body,
p {
	margin: 0;
	padding: 0;
}

ul,
li {
	list-style: none;
}

a {
	text-decoration: none;
}

* {
	/* 确保在加padding的时候盒子不会被撑大 _内减模式*/
	box-sizing: border-box;
}

.clear {
	clear: both;
}

/* 去除默认的倾斜样式 */
em,
i {
	font-style: normal;
}

/* 设置img的垂直方式为居中对齐，去除它以基线的方式对齐的不ok的影响 */
img {
	vertical-align: middle;
}

/* 去除input的默认样式 */
input {
	border: none;
	outline: none;
}

.fl {
	float: left;
	/* 比如那种导航栏啥的需要浮动就加这个 */
}

.fr {
	float: right;
}



body {
	/* font-family: Microsoft YaHei; */
	width: 100%;
	margin: 0 auto;
	background-color: #FFEFD9;
}

.wrapper {
	width: 1400px;
	margin: 0 auto;
}

.title {
	width: 472px;
	height: 130px;
	margin: 0 auto;
	margin-top: 100px;
	margin-bottom: 40px;
}

#banner {
	width: 100%;
	margin: 0 auto;
	background: url(../images/index_banner0.jpg) center center no-repeat;
	background-size: cover;
}

body {
	min-width: 1400px;
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	width: 100%;
	height: 100px;
	background-color: #912D21;
	margin: 0 auto;
}

h1 {
	float: left;

}

#header img {
	width: 200px;
	height: 100px;
}

#nav {
	float: right;
}

#nav li {
	position: relative;
	float: left;
	margin-right: 30px;
	cursor: pointer;
}

#nav>ul>li:hover a {
	color: #FFEFD9;
}


#nav>ul>li {
	margin-right: 30px;
}

#nav>ul>li>a {
	font-size: 24px;
	line-height: 100px;
	color: #fff;
}

#nav li a span {
	margin-right: 15px;
}

#nav ul li ul {
	text-align: center;
	margin: 0 auto;
	display: none;
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	background-color: #AE685D;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	padding: 0 40px;
	width: 650px;
}

#nav li:hover ul {
	display: block;
}

#nav ul li ul li span {
	float: left;
	background-image: url(../images/white.png);
	width: 40px;
	height: 40px;
	display: inline-block;
	margin-top: 10px;
	margin-right: 15px;
}

#nav>ul>li>ul a {
	font-size: 18px;
	color: #fff;
	line-height: 60px;
	text-align: center;
}

#nav>ul>li>ul li:hover a {
	color: #912D21;
}

#nav>ul>li>ul li:hover span {
	background-image: url(../images/red.png);
}

#footer .top {
	float: right;
	cursor: pointer;
}

#footer {
	background-color: #912D21;
	height: 120px;
}

#footer .wrapper {
	padding-top: 20px;
}

#footer .wrapper>div div {
	float: left;
}

.footer_bottom,
.footer_top {
	text-align: center;
	height: 30px;
}

.footer_bottom a,
.footer_top a {
	margin-right: 15px;
	line-height: 30px;
	color: #FFEFD9;
	font-size: 16px;
}

.footer_bottom a span,
.footer_top a span {
	margin-right: 10px;
}

.footer_top {
	margin-left: 500px;
}

.footer_bottom {
	margin-left: 400px;
}

#footer div a:hover {
	color: #fff;
}

#beian,
#beian a {
	color: #FFEFD9;
	opacity: 0.6;
	font-size: 12px;
	margin-top: 10px;
	text-align: center;
	vertical-align: middle;
}

#beian a:hover {
	opacity: 1;
}

/* 定义旋转动画关键帧 */
@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}