/* 字体包 */
@font-face {
	font-family: 'font';
	src: url('../font/Slidefu-Regular-2.ttf');
}

@font-face {
	font-family: 'font2';
	src: url('../font/HanYiXueJunTiJian-1.ttf');
}

/* 导航 */
nav {
	width: 100%;
	height: 250px;
	background: url('../img/nav_background.jpg')center;
	z-index: 5;
	position: relative;
}

nav {
	animation: load2 1s linear;
}

@keyframes load2 {
	0% {
		top: -250px;
		opacity: 0;
	}

	100% {
		top: 0px;
		opacity: 0.8;
	}
}

#nav_title {
	width: 1200px;
	margin: 0 auto;
}

#nav_title img {
	float: left;
}

.nav_title_logo {
	background: url('../img/logo.png')no-repeat center;
	width: 976px;
	height: 250px;
	margin: 0 auto;
	float: left;
}

.nav_title_logo a::before,
.nav_title_logo a::after {
	/* 将两个伪元素的相同部分写在一起 */
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border: 3px solid #a01e18;
	/* 最后的.3s是延迟时间 */
	transition: all .3s .3s;
}

.nav_title_logo a:before {
	top: 0;
	left: 0;
	/* 删除左边的伪元素的右和下边框 */
	border-right: 0;
	border-bottom: 0;
}

.nav_title_logo a:after {
	right: 0;
	bottom: 0;
	/* 删除右边的伪元素的上边和左边的边框 */
	border-top: 0;
	border-left: 0;
}

.nav_title_logo a:hover::before,
.nav_title_logo a:hover::after {
	width: 94px;
	height: 154px;
	transition-delay: 0s;
}

.nav_title_logo li {
	float: left;
}

.nav_title_logo_1 {
	margin: 50px 0 40px 40px;
	font-weight: bold;
}

.nav_title_logo_2 {
	margin: 50px 0 40px 0;
}

.nav_title_logo_3 {
	margin: 50px 0 40px 310px;
}

.nav_title_logo_4 {
	margin: 50px 0 40px 0;
}

.nav_title_logo a {
	font-family: 'font2';
	font-size: 32px;
	color: #d6261e;
	writing-mode: vertical-rl;
	text-align: center;
	line-height: 94px;
	margin: 5px 30px 30px 25px;
	position: relative;
	width: 96px;
	height: 156px;
}

.nav_title_logo li:hover {
	font-weight: bold;
}

/* --------------------- 底部 ------------- */
#footer_wrap {
	width: 100%;
	height: 540px;
	background-color: #a40000;
}

#footer {
	width: 1000px;
	margin: 0 auto;
}

#footer_logo {
	width: 180px;
	height: 180px;
	margin-left: 10px;
	background: url(../img/logo_2.png) no-repeat center;
}

#footer_tel {
	width: 274px;
	height: 280px;
	background: url(../img/footer_tel.jpg);
	display: none;
	margin: -240px 0 0 220px;
}

#icon_three:hover #footer_tel,
#icon_two:hover #footer_email {
	display: block;
}

#footer_email {
	width: 300px;
	height: 300px;
	background: url(../img/footer_email.jpg);
	display: none;
	margin: -260px 0 0 280px;
}

.footer_icon {
	display: inline-block;
	width: 51px;
	height: 51px;
	margin-left: 10px;
	margin-top: 16px;
}

.footer_icon:hover {
	cursor: pointer;
}

#icon_one {
	background: url(../img/footer_icon.png) no-repeat;
}

#icon_one:hover {
	background: url(../img/footer_icon_2.png) no-repeat;
}

#icon_two {
	background: url(../img/footer_icon.png) center;
}

#icon_two:hover {
	background: url(../img/footer_icon_2.png) center;
}

#icon_three {
	background: url(../img/footer_icon.png) right;
}

#icon_three:hover {
	background: url(../img/footer_icon_2.png) right;
}

#footer_left {
	float: left;
	margin-top: 104px;
}

#footer_left p {
	color: #fff;
	padding-top: 5px;
	text-align: center;
	font-size: 22px;
	margin-left: 10px;
}

#footer_right {
	margin-top: -360px;
	float: right;
}

#footer_right li {
	color: #fff;
	font-size: 32px;
	margin-bottom: 20px;
}

#footer_right a {
	color: #fff;
	font-size: 24px;
}

#footer_right a:hover {
	color: #f6e1bf;
}

#footer_code {
	margin: 0 auto;
	width: 500px;
	height: 500px;
	background: url(../img/code.jpg) no-repeat center;
}

#footer hr {
	border: 1px #fff solid;
	margin-top: -60px;
}

.footer_bottom_p {
	text-align: center;
	color: #fff;
	font-size: 20px;
	padding-top: 20px;
	line-height: 20px;
}

.footer_bottom_p a {
	color: #fff;
}
