*{
    padding: 0;
    margin: 0;
}
li{
    list-style: none;
}
body{
    overflow-x: hidden;
}
/*头部*/
header{
    border-bottom: 1px solid #999999;
    margin-top: 6px;
    font-size: 12px;
}
.toubu{
    margin-bottom: 8px;
    margin-top: 8px;
}
.toubu a span{
    padding: 6px;
}
.rexian{
    margin-left: 6px;
}
.toubu img{
    padding-left: 15px;
}
.toubu a:hover{
    text-decoration: none;
    color: black;
}
/*.login{
	float: right;
}*/
/*移动端  头部*/
/*.yidong-tb{
	font-size: 10px;
}
.yidong-tb a{
	padding-left: 3px;
	padding-right: 4px;
}
.yidong-deng{
	float: right;
	margin-top: 4px;
}*/
/*pc端  导航栏*/
.p-header{
    width: 100%;
}
.p-nav ul{
    display: flex;
}
.p-nav li{
    flex: 1;
    padding: 33px 25px 15px 24px;
}
.p-nav a:hover{
    text-decoration: none;
    color: orange;
}
.active{
    border-bottom: 2px solid orange;
}
/*移动端  导航栏*/
/*.navbar{
	width: 100%;
}
.nav a{
	text-align: center;
}
.yi-img img{
	width: 85%;
	margin-top: -13px;
}*/
/*banner图*/
.banner7{
    background: url(../img/bannerxinxi.png) no-repeat;
    background-size: 100% 100%;
    padding: 140px 0;
}
/*宗祠信息*/
.zongcis{
    background: #F5F5F5;
    padding-bottom: 35px;
}
.zongcis h2 img{
    height: 35px;
}
.zongcis h2{
    line-height: 50px;
    font-size: 22px;
    background: white;
    margin-top: 0px;
    color: orange;
    padding-left: 30px;
}
.zongcis span{
    padding-left: 10px;
}
.wenjian{
    position: relative;
    left: 85px;
    top: -25px;
}
.for{
    background: white;
    padding: 20px 20px 30px 20px;
}
.for div{
    margin-bottom: 12px;
}
.for img{
    margin-left: 10px;
}
.tupian{
    border-bottom: 1px solid #A9A9A9;
    width: 1066px;
    position: relative;
    top: -185px;
    background: #F5F5F5;
    margin-left: 1px;
}
.xiala{
    width: 1066px;
    position: relative;
    top: -60px;
    background: #F5F5F5;
    margin-left: 1px;
}
.xiala img{
    padding-left: 500px;
}
form button{
    text-decoration: none;
    background: orange;
    position: relative;
    left: 440px;
    padding: 15px 50px;
    border-radius: 6px;
}
form button:hover{
    text-decoration: none;
    color: black;
}
/*底部*/
.dibu{
    background: #666666;
    padding: 20px;
    color: white;
}
.biaoti p{
    font-size: 15px;
}
/*页脚*/
footer{
    background: #333333;
    color: white;
    text-align: center;
    padding-top: 30px;
    font-size: 6px;
}
.container h2{
    display: flex;
    align-items: center;
}
