.header-box {
    height: 80px;
    position: relative;
    background: #230209;
}

.header-box .logo {
    float: left;
    display: block;
    padding-top: 10px;
}

.header-box .logo img {
    max-height: 60px;
}

.header-box .nav-box {
    float: right;
    height: 70px;
    padding-top: 10px;
    font-size: 16px;

}

.nav-box li {
    float: left;
    margin-right: 1px;
    text-align: center;
    after: ' ';
}


.nav-box>ul>li>a {
    display: block;
    height: 70px;
    line-height: 60px;
    color: #fff;
    padding: 0 30px;
    text-decoration: none;
}

.nav-box>ul>li>a:hover,
.nav-box>ul>li>a.active {
    background-color: #ae0c2a;
    color: #fff;
}

.header-box .sub-nav {
    width: 100%;
    height: 50px;
    position: absolute;
    top: 80px;
    left: 0;
    z-index: 10;
    background-color: #ae0c2a;
    display: none;
}

.header-box .sub-nav ul {
    display: inline-block;
}

.header-box .sub-nav li {
    height: 16px;
    margin-top: 17px;
    line-height: 16px;
    padding: 0 21px;
    float: left;
    border-left: 1px solid #ce6d7f;
}

.header-box .sub-nav li:last-child {
    border-right: 1px solid #ce6d7f;
}

.header-box .sub-nav a {

    color: #fff;
}

/*content*/
.content-wrap {
    margin: 0 auto;
}

.home-wrap {
    background: #000;
}

/*首页banner*/
.home-banner {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

.home-banner a {
    display: block;
    height: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet-active {
    background-color: #fff;
}

/* 首页标题 */

.home-title h2 {
    padding: 0 10px 10px;
    display: inline-block;
    text-align: center;
    font-size: 26px;
    color: #fff;
}

.home-title .more {
    display: block;
    line-height: 46px;
    float: right;
    color: #fff;
}

/* 姓氏 */
.home-surname {
    margin-top: 30px;
    padding: 30px;
    overflow: hidden;
    background-color: #273c4f;
}

.home-surname .surname-list {
    margin: 0 -15px;
}

.home-surname .surname-list li {
    float: left;
    width: 25%;
    padding: 30px 15px 10px;
    box-sizing: border-box;
}

.home-surname .surname-list li .item-box {
    padding: 10px;
    border-radius: 16px;
    background: #fff;
}

.home-surname .surname-list li .surname {
    margin: 0 auto;
    line-height: 60px;
    text-align: center;
    border-radius: 16px;
    font-size: 30px;
    background: #ae0c2a;
    color: #fff;
}

.home-surname .surname-list li .desc {
    padding: 10px;
    line-height: 26px;
    text-indent: 2em;
}

.home-surname .surname-list li .region {
    height: 30px;
    line-height: 30px;
    margin-top: 10px;
    border-top: 1px solid #b9a189;
    color: #999;
}

/* 文化、新闻 */
.home-culture-news {
    margin-top: 30px;
    width: 100%;
}

.home-culture {
    float: left;
    width: 780px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #614d4e;
}

.home-culture .culture-list a {
    cursor: pointer;
    position: relative;
    color: #fff;
    text-decoration: none;
}

.home-culture .culture-list li {
    margin-top: 20px;
}

.home-culture .culture-list .pic {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 150px;
}

.home-culture .culture-list .pic img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.home-culture .culture-list .info {
    padding-left: 220px;
}

.home-culture .culture-list .title {
    height: 22px;
    line-height: 22px;
    font-size: 20px;
    color: #fff;
}

.home-culture .culture-list .desc {
    margin-top: 10px;
    height: 88px;
    line-height: 22px;
    font-size: 16px;
    box-sizing: border-box;
}

.home-culture .culture-list .datetime {
    margin-top: 10px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #fff;
}

.home-culture .culture-list li:hover .title {
    text-decoration: underline;
}

.home-news {
    float: right;
    width: 380px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #ae0c2a;
}

.home-news .news-list a {
    display: block;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    color: #fff;
}

.home-festival {
    margin-top: 30px;
    padding: 30px;
    background-color: #977343;
}

.home-festival .festival-list li {
    padding: 1% 1.2%;
    float: left;
    width: 20%;
    text-align: center;
    box-sizing: border-box;
}

.home-festival .festival-list li a {
    display: block;
    color: #fff;
}

.home-festival .festival-list .picture {
    position: relative;
    padding-top: 100%;
}

.home-festival .festival-list .inner-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.home-festival .festival-list a img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: fill;
}

.home-festival .festival-list .name {
    padding-top: 10px;
    font-size: 18px;
}

/* 关于我们 */
.home-about {
    display: inline-block;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
    box-sizing: border-box;
    background-color: #273c4f;
    color: #fff;
}

.home-about .about-content {
    padding: 20px 0;
    font-size: 18px;
    line-height: 30px;
}

/* 族谱 */
.genealogy-wrap {}

.genealogy-wrap .ul-list {
    margin: 0 -15px;
}

.genealogy-wrap .ul-list li {
    float: left;
    width: 25%;
    padding: 15px;
    box-sizing: border-box;
}

.genealogy-wrap .ul-list .info-box {
    width: 100%;
    height: 360px;
    padding: 16px;
    box-sizing: border-box;
    text-align: center;
    border-right: 16px solid #ac9b85;
    border-bottom: 3px solid #c8b6a0;
    background-color: #e3d3bf;
    box-shadow: 1px 2px 6px #555353;
}

.genealogy-wrap .ul-list .info-box .surname {
    margin: 0 auto;
    min-width: 60px;
    height: 80px;
    line-height: 80px;
    font-size: 50px;
    font-weight: bold;
    color: #95191b;
}

.genealogy-wrap .ul-list .info-box .name {
    height: 180px;
    font-size: 20px;
    font-weight: normal;
}

.genealogy-wrap .ul-list .info-box .region {
    padding: 10px 0;
}

.genealogy-wrap .ul-list .info-box .datetime {
    font-size: 12px;
    color: #846844;
}


/* 姓氏 */
.surname-container li {
    padding: 30px 0;
    border-bottom: 1px solid #b9a189;
}

.surname-container li .surname {
    float: left;
    width: 100px;
    height: 100px;
    font-size: 30px;
    line-height: 100px;
    margin-right: 20px;
    text-align: center;
    background: #ae0c2a;
    color: #fff;
}

.surname-container li .info {
    margin-left: 30px;
    font-size: 16px;
}

.surname-container li .info .region {
    line-height: 25px;
    font-size: 18px;
}

.surname-container li .info .desc {
    padding-top: 4px;
    line-height: 22px;
    font-size: 16px;
}

/*关于我们*/
.about-container {
    padding: 30px;
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fff;
}

.about-container .head {
    padding: 20px 0;
    font-size: 20px;
    text-align: center;
    border-bottom: 1px dashed #a7a6a6;
}

.about-container .content {
    padding: 20px 0;
    font-size: 18px;
    line-height: 30px;
}

.about-container .content img {
    max-width: 100%;
}

/* 新闻 */
.news-container .news-type {
    float: left;
    width: 190px;
}

.news-container .news-type li a {
    display: block;
    line-height: 50px;
    text-align: center;
    font-size: 20px;
    background-color: #fff;
    margin-bottom: 2px;
    color: #797979;
    text-decoration: none;
}

.news-container .news-type li.active a {
    color: #fff;
    background-color: #ae0c2a;
}

.news-container .list-box {
    float: left;
    width: 700px;
    min-height: 100px;
    padding: 0 30px;
    box-sizing: border-box;
}

.news-container .list-box li {
    padding: 20px 0;
    border-bottom: 1px solid #d7d7d7;
}

.news-container .list-box li:first-child {
    padding-top: 0;
}

.news-container .list-box .picture {
    float: left;
    width: 220px;
    height: 160px;
    padding-right: 20px;
}

.news-container .list-box .picture img {
    width: 100%;
    height: 100%;
}

.news-container .list-box .info {
    height: 160px;
}

.news-container .list-box .info h3 {
    height: 60px;
    line-height: 30px;
    font-size: 20px;
}

/* .news-container .list-box .info h3 a {
    display: block;
} */

.news-container .list-box .info .desc {
    margin-top: 10px;
    height: 60px;
    line-height: 20px;
    font-size: 16px;
}

.news-container .list-box .info .datetime {
    padding-top: 10px;
}

/* hot news */
.news-container .hot-list {
    float: left;
    width: 300px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
}

.news-container .hot-list .head {
    font-size: 20px;
    font-weight: bold;
}

.news-container .hot-list ul {
    padding-top: 10px;
}

.news-container .hot-list li {
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    border-bottom: 1px dashed #a7a6a6;
}

.news-container .hot-list li a {
    display: block;
}

/*新闻详情*/
.news-detail {
    margin: 0 auto;
    padding: 50px 30px 30px;
    box-sizing: border-box;
    background-color: #fff;
}

.news-detail .title {
    padding-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.news-detail .title h1 {
    font-size: 36px;
    line-height: 40px;
}

.news-detail .title .info {
    padding-top: 10px;
    font-size: 16px;
    color: #7a6e63;
}

.news-detail .title .info .desc {
    padding: 0 10px;
}

.news-detail .article {
    padding-top: 20px;
    font-size: 18px;
    line-height: 30px;
    border-top: 1px dashed #7a6e63;
}

.news-detail .article img {
    max-width: 100%;
}

/* 节日 */
.festival-wrap {
    padding-top: 20px;
}

.festival-wrap ul li {
    float: left;
    width: 25%;
    padding: 20px;
    box-sizing: border-box;
}

.festival-wrap ul li .picture {
    display: block;
    margin: 0 auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
}

.festival-wrap ul li .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-wrap ul li .title {
    margin-top: 20px;
    text-align: center;
    font-size: 20px;
    color: #95191b;
}

.festival-wrap ul li .desc {
    padding-top: 10px;
    height: 100px;
    line-height: 25px;
    font-size: 16px;
}

/* 书法 */
.calligraphy-banner{
    height: 600px;
    overflow: hidden;
}

.calligraphy-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calligraphy-container .menu-type ul{
    display: flex;
}

.calligraphy-container .menu-type ul li{
    flex: 1;
    height: 78px;
    text-align: center;
    background: url("../images/calligraphymenu.png") no-repeat top center;
}

.calligraphy-container .menu-type ul li.active{
    background: url("../images/calligraphymenu_active.png") no-repeat top center;
}

.calligraphy-container .menu-type a{
    display: block;
    padding-top: 8px;
    height: 70px;
    line-height: 78px;
    font-size: 18px;
    color: #fff;
    text-decoration: none
}

/* 工具 */
.tool-wrap {
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tool-wrap h1 {
    font-size: 30px;
}

/* 面包屑 */
.breadcrumb-box {
    height: 46px;
    line-height: 46px;
    background-image: linear-gradient(#cfcabe 0%, #f1eee7 80%);
}

/*=========底部=========*/
.footer-box {
    background: #212121;
    color: #fff;
}

.footer-box .link {
    padding: 30px 0 15px 0;
    color: #fff;
}

.footer-box .link .icon {
    color: #fff;
    border: 1px #4d4137 solid;
    display: inline-block;
    padding: 5px 7px;
    margin-right: 5px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.footer-box .link .ft_weibo {
    width: 26px;
    height: 20px;
    background: url("../../images/ico/ft_weibo.png") no-repeat top center;
    display: inline-block;
}

.footer-box .link .icon:hover {
    text-decoration: none;
    color: #ff6400;
}

.footer-box .link .iconfont {
    font-size: 120%;
    padding-right: 5px;
}

.footer-box .foot_nav {
    border-bottom: 1px #000 solid;
    border-top: 1px #000 solid;
}

.footer-box .nav {
    border-left: 1px #000 solid;
}

.footer-box .nav a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    padding: 0 16px;
    box-sizing: border-box;
}

.footer-box .nav a:hover {
    text-decoration: underline;
}

.footer-box .footer-bottom {
    padding: 20px 0;
    color: #fff;
    line-height: 28px;
    background: #212121;
}

.footer-box .footer-bottom .beian-box {
    display: flex;
    justify-self: start;
    align-items: center;
}

.footer-box .footer-bottom .beian-box a {
    padding-right: 30px;
    display: flex;
    align-items: center;
    color: #a4a5a4;
}

.footer-box .footer-bottom .beian-box a:hover {
    text-decoration: underline;
}

.footer-box .footer-bottom .beian-box .beian {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: 4px;
}

.footer-box .beian-box .beian .icon-box{
    margin-right: 4px;
}

#sixListBox{
    margin: 10px auto 40px;
    width: 600px;
    display: flex;
    flex-wrap: wrap;
    border-bottom:1px solid #000;
    border-right:1px solid #000;
}
#sixListBox span{
    display: block;
    height: 36px;
    line-height: 36px;
    width: 10%;
    font-size: 18px;
    border: 1px solid #000;
    box-sizing: border-box;
    border-bottom: none;
    border-right: none;
    text-align: center
}