/*头部区域样式*/
header{
	width: 85%;
	margin: 10px auto;
}
.logo{
	display: flex;
	justify-content: center;
}
nav ul li a{
	color: #337ab7;
}
nav ul li{
	display: flex;
	justify-content: center;
}
.navbar form {
	display: flex;
}
.navbar input {
	height: 25px;
 	border-radius: 42px;
 	border: 1px solid #C0C0C0;
 	flex-grow: 1;
}
.navbar input:focus {
 	outline: none;   
}
.navbar button {
	width: 25px;
	height: 25px;
	cursor: pointer;
	border: 1px solid #C0C0C0;
 	outline: none;        
}
.navbar button:before{     
 	content: "\f002";
 	font-family: FontAwesome;
 	color: #337ab7;
}

/*主要内容区域样式*/
.main_top{
	width: 85%;
	margin: 50px auto;
	color: #7f7f7f;
}
.top_left{
	margin-right: 20px;
}
.top_left h2{
	font-size: 3.2rem;
	font-weight: normal;
	color: black;
}
.top_left em{
	font-weight: normal;
	color: #bc082b;
}
.top_right img{
	border-radius: 15px;
}
.top_right{
	text-align: center;
	margin: 20px 0;
}
.bottom h3{
	font-size: 2.6rem;
	color: black;
	font-weight: normal;
}
.bottom i{
	color: #bc082b;
	margin-right: 10px;
}
.culture_img figure{
	position: relative;
	width: 95%;
	margin: 0 auto;
}
.culture_img figcaption{
	position: absolute;
	bottom: 0;
	color: white;
	background-color: rgba(51, 51, 51, 0.7);
	width: 100%;
	height: 40px;
	line-height: 40px;
	text-align: center;
}
.art a,.holiday a{
	display: block;
	font-size: 2.4rem;
	opacity: 0.8;
	color: white;
	text-align: center;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.art a{
	background-color: #13a3d9;
}
.holiday a{
	background-color: #fbd94a;
}
.main_bottom{
	background-image: url("../images/index/recruit.jpg");
	background-size: cover;
	height: 428px;
}
.bottom_left{
	display: flex;
	align-items: center;
	justify-content: center;
}
.bottom_left p{
	width: 90%;
	height: 120px;
	line-height: 120px;
	text-align: center;
	color: white;
	font-size: 1.8rem;  
	background: url("../images/index/recruitLeft.png") no-repeat,url("../images/index/recruitRight.png") no-repeat right bottom;
	text-shadow: 5px 5px 5px #000;
}
.bottom_right{
	display: flex;
	justify-content: center;
}
.bottom_right div{
	background-color: rgba(51,51,51,0.3);
	width: 90%;
	padding: 32px 16px;
}
.bottom_right table th:first-child{
	font-size: 2rem;
	color: white;
	text-align: left;
	font-weight: bold;
}
.bottom_right table th:last-child{
	text-align: right;
}
.bottom_right table{
	width: 100%;
}
.bottom_right table a{
	color: white;
}
.bottom_right table th{
	border-bottom: 2px solid white;
	padding-bottom: 10px;
}
.bottom_right table td{
	line-height: 2;
	color: white;
}
.bottom_right table td:last-child{
	text-align: right;
}

/* 页脚区域样式 */
footer{
	width: 85%;
	margin: 70px auto 50px;
}
footer ul{
	display: flex;
}
footer ul li{
	margin: 10px 5px 0px;
}
footer a{
	font-size: 1.2rem;
	color: #337ab7;
}
footer div:first-child{
	display: flex;
	justify-content: space-between;
}

@media(min-width:768px){
/* 头部样式 */
	nav ul{
		display: flex;
		justify-content: space-between;
	}
/*主要内容区域样式*/
	.top{
		display: flex;
	}
	.top_left{
		flex: 1;
		display: flex;
		align-items: center;
	}
	.top_left h2{
		font-size: 3rem;
	}
	.top_right{
		flex: 1;
	}
	.bottom{
		display: flex;
	}
	.bottom div{
		flex: 1;
	}
	.main_middle{
		background-color: #ddd;
		padding: 60px 0;
	}
	.culture{
		display: flex;
		width: 85%;
		margin: 0px auto;
	}
	.culture:nth-child(2){
		margin-top: 60px;
	}
	.transbox{
		flex: 2;
	}
	.art{
		background-image: url("../images/index/art.jpg");
		background-size: cover;
	}
	.holiday{
		background-image: url("../images/index/holiday.jpg");
		background-size: cover;
	}
	.culture_img{
		flex: 5;
	}
	.culture_img ul{
		display: flex;
		flex-wrap: wrap;
	}
	.culture_img li{
		width: 31%;
		margin: 0 1%;
	}
	.culture_img li:nth-child(4),.culture_img li:nth-child(5),.culture li:nth-child(6){
		margin-top: 20px;
	}
	.main_bottom>div{
		width: 85%;
		display: flex;
		margin: 0 auto;
	}
	.main_bottom>div>div{
		width: 49%;
	}
	.bottom_left{
		height: 428px;
	}
	.bottom_left p{
		font-size: 1.2rem;  
		height: 90px;
		line-height: 90px;
	}
	.bottom_right{
		height: 428px;
		align-items: center;
	}
}
@media(min-width:992px){
	header{
		display: flex;
	}
	.navbar{
		display: flex;		
		flex: 1;  
		align-items: center;            /*拉伸占据头部剩余宽度*/
		margin-left: 40px;   
	}
	.navbar nav{
		flex: 1;
		width: 20%;
	}
	.navbar .search{
		flex: 1;
		justify-content: flex-end;
	}
	.navbar input{
		flex-grow: 0;
	} 
	.bottom_left p{
		font-size: 1.5rem;
	}
}
