﻿*,
::before,
::after {
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  /*清除移动端默认的点击高亮效果*/
  -webkit-tap-highlight-color: transparent;
  /*设置以边框开始计算宽度*/
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-text-size-adjust: none;
}
ul,
li {
  list-style: none;
}
body,
html {
  width: 100%;
  color: #000;
  font: 14px "微软雅黑", "宋体", Helvetica, Tahoma, Arial, sans-serif;
  position: relative;
}
.wrap {
  width: 1000px;
  height: 768px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
}
.footer {
  width: 1000px;
  height: 40px;
  margin: 0px auto;
  background-color: #0093dd;
  font-size: 14px;
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.daohangtiao {
  width: 1000px;
  height: 56px;
  margin: 0px auto;
  background-color: #dededc;
}

.title {
  width: 1000px;
  height: 150px;
  margin: 0px auto;
  background: url(../images/title.png) no-repeat;
  overflow: hidden;
  position: relative;
}
.bottom {
  width: 1000px;
  height: 40px;
  margin: 0px auto;
  font-family: "微软雅黑", "宋体", Verdana, Arial, Helvetica, sans-serif;
  background-color: #0093dd;
}
.navigation {
  width: 1000px;
  height: 80px;
  margin: 0px auto;
  background: url(../images/navigationbg.png) repeat;
  overflow: hidden;
}
.gonggaobar {
  width: 756px;
  height: 45px;
  margin-top: 18px;
  margin-left: 122px;
  border: 1px #f8c301 solid;
  background: #fff;
}

.gonggaopic {
  width: 78px;
  height: 45px;
  background: url(../images/gonggao.png);
  float: left;
}

.gonggaoneirong {
  width: 665px;
  height: 45px;
  float: right;
  overflow: hidden;
}
.picScroll-top {
  float: left;
}
.gonggaoneirong a {
  line-height: 22px;
  text-decoration: none;
  font-weight: 600;
  color: #000;
}
.gonggaoht {
  font-family: "SimHei";
  font-size: 14px;
  line-height: 22px;
  color: #000;
  text-decoration: none;
  font-weight: 800;
}
.gonggaogongduo {
  width: 40px;
  height: 45px;
  padding-top: 15px;
  float: right;
}

.gonggaogongduo_ziti {
  line-height: 22px;
  text-decoration: none;
  font-weight: 600;
  color: #000;
}
#showtime {
  margin-top: 120px;
  margin-right: 20px;
  float: right;
  font-weight: 300;
  font-size: 14px;
  color: #fff;
  letter-spacing: 3px;
  font-weight: 600;
}
.biaoti {
  width: 710px;
  height: 56px;
  margin: 0px;
  float: right;
}

.nav {
  height: 33px;
  width: 280px;
  padding-top: 18px;
  padding-left: 10px;
  margin: 0px auto;
  float: left;
}
.nav a{
  font-size: 17px;
  color: #fff;
  line-height: 14px;
  white-space: nowrap;
  height: 30px;
  color: Black;
  text-decoration: none;
}

/* 主页 */
.fill {
  width: 1000px;
  height: 15px;
  margin: 0px auto;
}
.fill2 {
  width: 1000px;
  height: 28px;
  margin: 0px auto;
}
.main {
  width: 1000px;
  height: 427px;
  margin: 0px auto;
}

.mainpic {
  width: 683px;
  height: 430px;
  float: left;
  margin: 5px 0px;
}

.index {
  width: 297px;
  height: 430px;
  float: right;
  background: #dededa;
}
.indexgo {
  width: 297px;
  height: 61px;
  float: right;
}
.indexgo a img {
  transition: all 0.5s;
}
/* demoEffect 文件CSS ======================================= */

#demoContent {
  width: 683px;
  height: 430px;
  margin: 0px auto;
  background-color: #ffffff;
}
#demoContent .effect {
  display: inline-block;
  *display: inline;
  zoom: 1;
  text-align: left;
}
#demoContent .js {
  text-align: left;
  margin: 10px 20px;
  line-height: 20px;
  background: #f3f3f3;
  padding: 5px 20px;
}
#demoContent .js span {
  color: #1974a1;
}
#demoContent .js span i {
  color: #f30;
  font-weight: bold;
}
#demoContent .notice {
  color: #fff;
  background: #000;
  text-align: left;
  padding: 4px 20px;
  margin: 10px 20px;
}
#demoContent .css {
  text-align: left;
  margin: 10px 20px;
}
#demoContent .css blockquote {
  overflow: scroll;
}

#demoContent .authorWord {
  padding: 10px 20px;
  border: 1px dotted #ddd;
  text-align: left;
  margin-bottom: 20px;
}
#demoContent .authorWord em {
  color: #f00;
}

/* 单个图片幻灯片盒子 - 公用类 */
.slideBox {
  width: 683px;
  height: 430px;
  overflow: hidden;
  position: relative;
}
.slideBox .hd {
  height: 25px;
  overflow: hidden;
  position: absolute;
  right: 70px;
  bottom: 20px;
  z-index: 1;
  width: 200px;
}

.slideBox .hd ul {
  overflow: hidden;
  float: left;
  height: 25px;
  height: 25px;
  padding-left: 20px;
}
.slideBox .hd ul li {
  float: left;
  width: 25px;
  height: 25px;
  margin-left: 20px;
  cursor: pointer;
}
.slideBox .hd ul li:nth-child(1) {
  background: url("../images/n11.png") 0 0 no-repeat;
}
.slideBox .hd ul li:nth-child(2) {
  background: url("../images/n22.png") 0 0 no-repeat;
}
.slideBox .hd ul li:nth-child(3) {
  background: url("../images/n33.png") 0 0 no-repeat;
}
.slideBox .hd ul li:nth-child(4) {
  background: url("../images/n44.png") 0 0 no-repeat;
}
.slideBox .hd ul li.on:nth-child(1) {
  background: url("../images/n1.png") 0 0 no-repeat;
}
.slideBox .hd ul li.on:nth-child(2) {
  background: url("../images/n2.png") 0 0 no-repeat;
}
.slideBox .hd ul li.on:nth-child(3) {
  background: url("../images/n3.png") 0 0 no-repeat;
}
.slideBox .hd ul li.on:nth-child(4) {
  background: url("../images/n4.png") 0 0 no-repeat;
}
.slideBox .bd {
  position: relative;
  height: 100%;
  z-index: 0;
}
.slideBox .bd img {
  width: 683px;
  height: 430px;
}
/*===================  搜索页 样式开始  ===================*/
/*=================== test  ===================*/
/*bottom_home*/

/*各地宗亲*/
.ditu {
  width: 1000px;
  height: 516px;
  margin: 0px auto;
}

.yahua {
  width: 198px;
  height: 22px;
  position: absolute;
  bottom: 0;
  right: 0;
}
.st {
  width: 960px;
  margin: 0px auto;
  font-size: 16px;
  line-height: 32px;
  text-indent: 2em;
}
.st img{
  max-width: 960px;

}
.ht {
  width: 1000px;
  margin: 0px auto;
  font-family: "黑体";
  font-size: 24px;
  line-height: 48px;
}

/*都氏宗祠*/
.dushizongsitupian {
  width: 996px;
  height: 260px;
  background: url(../images/diwen.png);
  margin: 0px auto;
  border: 2px #dededc solid;
}
.dushizongsitupian ul li {
  float: left;
  text-align: center;
  margin-left: 18px;
  margin-top: 18px;
  width: 307px;
  height: 220px;
  overflow: hidden;
}
.dushizongsitupian ul li img {
  display: block;
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}
.dushizongsitupian ul li:hover img {
  transform: scale(1.12);
}
.wenben {
  width: 1000px;
  margin: 10px auto;
  min-height: 400px;
}

.wenbendiwen {
  width: 500px;
  height: 195px;
  margin: 0px auto;
  left: 500px;
  position: absolute;
  top: 300px;
  background: url(../images/diwenb.jpg);
  z-index: 0;
}

/*名人堂*/
.mingrentangtupian {
  width: 996px;
  background: url(../images/diwen.png);
  margin: 0px auto;
  border: 2px #dededc solid;
  overflow: hidden;
}
.mingrentangtupian ul {
  margin-left:15px;
}
.mingrentangtupian ul li {
  width: 300px;float:left;
  overflow: hidden;margin:10px;
}
.mingrentangtupian ul li a {
  display: block;
  height: 100%;
  overflow: hidden;
}
.mingrentangtupian ul li img {
  width: 147px;
  height: 142px;
  float: left;
}
.mingrentangtupian ul li .info {
  float: left;
  width: 153px;
  height: 142px;
  background: #dededc;padding-left:15px;
  transition: all 0.5s;
}
.mingrentangtupian ul li .info h2 {
  font-size: 17px;
  color: #000;
  margin-top: 40px;
}
.mingrentangtupian ul li .info p {
  font-size: 14px;
  margin-top: 10px;
  color: #666;
}
.mingrentangtupian ul li:hover .info {
  background: #f8c301;
}
.mingrentangdujimin_tupian {
  width: 360px;
  height: 250px;
  float: right;
}

.minsu {
  width: 1000px;
  margin: 0px auto;
  background: url(../images/diwen.png);
}

.minsuItem {
  width: 920px;
  height: 156px;
  margin: 0px 40px;
  border: 3px #dededc solid;
  background: #dededc;
}

.minsuItemPic {
  width: 240px;
  height: 150px;
  float: left;
}

.minsuItemText {
  width: 673px;
  height: 150px;
  float: right;
  background: #fff;
  padding: 10px;
}

.mgmsht{
  width: 1000px;
  margin: 0px auto;
  font-family: "黑体";
  font-size: 28px;
  line-height: 48px;
  color:#000;
}
.minsuItemText a{text-decoration:none;}
.mgmsst {
  width: 960px;
  margin: 0px auto;
  font-family: "宋体";
  font-size: 12px;
  line-height: 18px;
  text-indent: 2em;
}
.menu {
  display: none;
}
.sjshade {
  display: none;
}
@media screen and (max-width: 750px) {
  .menu {
    width: 27px;
    height: 23px;
    background: url(../images/icon_menu.png) 0 center no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
    display: block;
    z-index: 9999;
  }
  .index {
    width: 297px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100%;
    background: #dededa;
    transition: all .5s;
    z-index: 9999;
  }
  .sjshade {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 998;
    overflow: hidden;
  }
  body.open .sjshade {
    display: block;
  }
  body.open .index{
    left: 0;
  }
  .main {
    width: 100%;
    height: auto;
    margin: 0px auto;
  }
  .navigation {
    width: 100%;
  }
  .mainpic {
    width: 100%;
    height: auto;
    float: left;
    margin: 5px 0px;
  }
  #demoContent {
    width: 100%;
    height: auto;
  }
  .slideBox {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
  }
  #demoContent .effect {
    width: 100%;
  }
  .slideBox .bd img {
    display: block;
    width: 100%;
    height: auto;
  }

  .gonggaobar {
    width: calc(100% - 30px);
    height: 45px;
    display: flex;
    margin: 18px auto 0;
    border: 1px #f8c301 solid;
    background: #fff;
  }
  .gonggaoneirong {
    flex: 1;
  }
  .title {
    width: 100%;
    height: 75px;
    background-size: 100% 100%;
  }
  .daohangtiao {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .biaoti {
    max-width: 80%;
    height: auto;
    margin: 10px auto;
    float: none;
  }
  .biaoti img {
    display: block;
    width: 100%;
  }

  .wenben {
    width: 100%;
    padding: 0 15px;
    margin: 10px auto;
  }
  .st {
    width: 100%;
  }
  .ht {
    width: auto;
  }
  .footer {
    width: 100%;
  }
  .nav {
    height: 33px;
    width: 100%;
    padding: 0px 15px;
    margin: 0;
    font-weight: normal;
    font-size: 14px;
    line-height: 30px;
  }
  .navziti {
    line-height: 30px;
  }
  .mingrentangtupian {
    width: 100%;
    padding: 15px;
  }
   .mingrentangtupian ul {
    margin-left:0px;
  }
  .mingrentangtupian ul li {
    width: 100%; margin:0px;
    margin-bottom: 15px;
    overflow: hidden;
  }
  .mingrentangtupian ul li:last-child {
    margin-bottom: 0;
  }
  .mingrentangtupian ul li a {
    display: flex;
  }
  .mingrentangtupian ul li .info {
    flex: 1;
    width: auto;
    text-align: center;
  }
  .minsu {
    width: 100%;
    padding: 15px;
    background: url(../images/diwen.png);
  }
  .minsuItem {
    width: 100%;
    height: auto;
    display: flex;
    margin: 0;
    border: 2px #dededc solid;
    background: #dededc;
  }
  .minsuItemPic {
    width: 120px;
    height: 90px;
    float: left;
  }
  .minsuItemPic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mgmsht {
    width: 100%;
    font-size: 18px;
    line-height: 25px;
  }
  .mgmsst {
    width: auto;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .minsuItemText {
    flex: 1;
    height: 90px;
  }
  .fill2,
  .fill {
    width: 100%;
    height: 15px;
  }
  .dushizongsitupian {
    width: 100%;
    height: auto;
  }
  .dushizongsitupian ul {
    display: flex;
    justify-content: space-between;
    padding: 10px 5px;
  }
  .dushizongsitupian ul li {
    float: none;
    text-align: center;
    margin: 0 5px;
    width: auto;
    height: auto;
    overflow: hidden;
  }
  .ditu {
    width: 100%;
    height: auto;
    margin: 0px auto;
  }
  .ditu img {
    display: block;
    width: 100%;
  }
}

.dede_pages {margin:20px auto;height:40px;width:100%;text-align:center;overflow:hidden;}
.dede_pages ul {display:inline-block; *display:inline; zoom:1;margin:0 auto;position:relative;}
.dede_pages ul li {list-style:none;float:left;border:1px solid #ddd;height:35px;background:#fff; line-height:35px;border-radius:3px; margin:0 3px;font-size:14px;}
.dede_pages ul li a,.dede_pages ul li span{color:#333;display:block;padding:0px 14px;text-decoration:none;}
.dede_pages ul li a:hover{padding:0px 14px;background:#0093dd;color:#fff;}
.dede_pages ul li.active{background:#0093dd;display:block;color:#fff;}
.dede_pages ul li.active a{color:#fff;display:block;}
@media (max-width: 767px){ 

.dede_pages {height:65px;}
.dede_pages ul li {height:25px; line-height:25px;margin-bottom:5px;}
.dede_pages ul li a,.dede_pages ul li span{padding:0px 10px;}
.dede_pages ul li a:hover{padding:0px 10px;}
.dede_pages ul li .current{background:#44B549;display:block;color:#fff;}
}



