* {
	margin: 0;
	/* 给所有的标签，清除外间距 */
	padding: 0;
	/* 给所有的标签，清除内间距 */
}

.header {
	width: 962px;
	height: 120px;
	margin: 0 auto;
	/* 想要一个盒子水平居中，用margin：0 auto； 外上和外下间距为0，左右自动居中 */
}
/* 黑色遮罩 */
.bgfixed{
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.8);
	position: fixed;
	top: 0;
	z-index: 99;
	/* 隐藏 */
	display: none;
}
.bg-white{
	width: 500px;
	height: 400px;
	background-color: white;
	position: fixed;
	top: calc(50% - 200px);
	left: calc(50% - 250px);
}
.bg-white img{
	float: right;
	margin-top: -15px;
	margin-right: -18px;
	background-color: white;
}






.logo {
	float: left;
	margin-top: 32px;
}

.pic {
	float: right;
	margin-top: 35px;
}

/* margin-top默认的问题，在浮动之后不存在原因是因为浮动之后悬空不占位，不受父元素的管控了 */

/* 导航 */
.nav {
	height: 49px;
	background-color: #00659c;
}

.center {
	width: 962px;
	height: 49px;
	margin: 0 auto;
	position: relative;
}

.center li {
	float: left;
	list-style: none;
	/* 清除列表自己带的黑点 */
	width: 119px;
	height: 49px;
	text-align: center;
	line-height: 49px;
	font-size: 12px;
}

.center a {
	color: #ffffff;
	text-decoration: none;
}

.active {
	background-color: #004b8b;
}

.center li:hover {
	background-color: #004b8b;
}

.two {
	width: 962px;
	height: 0px;
	background-color: blue;
	position: absolute;
	left: 0;
	overflow: hidden;
	transition: 1s;
	font-size: 50px;
	color: white;
}

/* li放上去之后，让后代two变 */
.center li:hover .two {
	height: 300px;
}


/* 大banner图 */
.banner {
	width: 100%;
	height: 340px;
	overflow: hidden;
}

.picbox {
	width: 400%;
	height: 340px;
	animation: move 10s infinite steps(4);
	/* background-color: skyblue; */
}

.picbox p {
	height: 340px;
	width: 25%;
	float: left;
}

/* %是一个相对单位，相对于最近的父元素 */

@keyframes move {
	from {
		margin-left: 0px;
	}

	to {
		margin-left: -400%;
	}
}

/* 标题部分 */
.title {
	width: 962px;
	height: 110px;
	margin: 0 auto;
	line-height: 110px;
}

.title h2 {
	float: left;
	font-size: 28px;
	color: #006ca7;
}

.title p {
	float: right;
	font-size: 11px;
	color: #8c8c8c;
}

/* 图片列表区域 */

.piclist {
	width: 980px;
	height: 650px;
	margin: 0 auto;
}

.small {
	width: 226px;
	height: 265px;
	background-color: skyblue;
	/* 边框属性  border 边框  solid 实线 里面的顺序可以自己随便换*/
	border: 1px #e7e7e7 solid;
	overflow: hidden;
	/*溢出隐藏*/
	position: relative;
	float: left;
	margin-bottom: 16px;
	/* margin-right: 16px; */
	margin-left: 8px;
	margin-right: 8px;
}

.small div {
	width: 226px;
	height: 85px;
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	bottom: 0px;
	font-size: 12px;
	color: #ffffff;
	text-align: center;
}

.small div h4 {
	margin-top: 16px;
	margin-bottom: 14px;
}

.small div p {
	width: 120px;
	height: 26px;
	border: 1px solid #b5b5b5;
	margin: 0 auto;
	text-align: center;
	line-height: 26px;
}

.small div p a {
	color: #fff;
	text-decoration: none;
}

/* .none{
	margin-right: 0;
} */

.small img {
	width: 226px;
	height: 265px;
	/* width: 250px;
	height: 250px; */
	transition: 1s;
	/* 从中心向2边的缩放效果  transform转换 scale 缩放默认值1*/

	transform: scale(1);
}

.small img:hover {
	/* width: 350px;
	height: 350px; */
	transform: scale(1.3);
}
