

@font-face {
    font-family: "Philosopher";
    src: url("../fonts/Philosopher.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "puhui";
    src: url("../fonts/puhui.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "glyphicons";
    src: url("../fonts/glyphicons-halflings-regular.ttf") format("ttf");
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Source Han Sans CN";
}

p{
    margin: 0 0 0 24px;
    text-align: justify;
    font-size: 16px;
    font-family: "Source Han Sans CN" !important;
    text-wrap-mode: wrap;
    padding: 0;
}



a{
    text-decoration: none;
    display: flex;
}


.page{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    /*padding-bottom: 80px;*/
    color: #272D37;
    /*margin-top: 40px;*/
}
.detail_inof{
    padding-top: 64px;
    margin-top: 0!important;
}
.widthcalc{
    width: calc(var(--common-width)  - 382px);
    left: -180px;
    position: relative;
}

.in{
    padding-bottom: 64px;
}

.page .pre{
    display: flex;
    margin: 10px 0;
    cursor: pointer;
    align-items: center;
    margin-top: 0;
}

.page .next{
    display: flex;
    cursor: pointer;
    margin: 10px 0;
    align-items: center;
    margin-bottom: 0;
}


/*.page .pre:hover .button{*/
/*    color: var(--main-font-color) !important;*/
/*}*/

.page .pre:hover .news-title{
    color: var(--main-font-color) !important;

}

/*.page .next:hover .button{*/
/*    color: var(--main-font-color) !important;*/
/*}*/

.page .next:hover .news-title{
    color: var(--main-font-color) !important;
}



.page .button{
    font-size: var(--button-font-size);
    color: #999;
    line-height: 28px;
}


.page .news-title{
    font-size: var(--button-font-size);
    color: #333;
    margin: 10px 0;
    letter-spacing: 0.34px;
    line-height: 28px;
    text-align: left;
    display: inline-block;
    transition: color linear 0.3s;
    margin-left:  6px;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}


@keyframes fadeIn {
    from {
        opacity: 1;
        transform: translateY(0);

    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}



.page-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* 单行溢出隐藏 */
.yihang {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 两行溢出隐藏 */
.lianghang {
    white-space: normal;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 三行溢出隐藏 */
.sanhang {
    white-space: normal;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 头部banner */
.banner {
    width: 100%;
    height: 500px;
    position: relative;
}

.banner .top-bg {
    position: absolute;
    width: 100%;
    height: 400px;
    object-fit: cover;
    z-index: -1;
    animation: changeBiger 1s linear;
}

.banner .top-bg-phone {
    position: absolute;
    display: none;
}

.banner .top {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 2;
}

.banner .top .top-text {
    padding: 178px 0 0;
    height: 100%;
    position: relative;
}

.banner .top .top-title {
    font-size: var(--top-title-font-size);
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 58px;
    color: rgba(255, 255, 255, 1);
    position: relative;
}

.banner .top .top-title:after {
    content: '';
    position: absolute;
    left: 0;
    /*bottom: -24px;*/
    top: 80px;
    width: 61px;
    height: 2px;
    background-color: white;
}


.down-top{
    position: fixed;
    bottom: 10px;
    left: 50%;
    color: var(--main-font-color);
    font-size: 60px;
    z-index: 9;
    animation: bb 2s linear 0s infinite;
    font-weight: bold;
}

@keyframes bb {
    0% {
        transform: translate(-50%,0);
        opacity: 0;
    }

    20% {
        transform: translate(-50%,3px);
        opacity: 1;
    }

    80% {
        transform: translate(-50%,10px);
        opacity: 1;
    }

    90% {
        transform: translate(-50%,10px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%,10px);
        opacity: 0;
    }
}


.banner .navigation {
    width: 100%;
    height: 100px;
    background-color: rgba(120, 51, 30, 1);
}

.banner .navigation .common_content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner .navigation .common_content .navigation-logo {
    width: 140px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
}

.banner .navigation .common_content .navigation-text {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 32px;
    font-size: var(--button-font-size);
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 28px;
    flex-shrink: 0;
}

.banner .navigation-text .text1 {
    color: rgba(255, 255, 255, 0.6);
}

.banner .navigation-text .text2 {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.4);
}

.banner .navigation-text .text2:last-child {
    color: rgba(255, 255, 255, 1);
}

.navigation .nav-right {
    margin-inline-start: auto;
    display: flex;
}

.navigation .nav-right .navTab {
    width: 156px;
    height: 100px;
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: var(--button-font-size);
    cursor: pointer;
    position: relative;
}

.navigation .nav-right .navTab:hover, .navigation .nav-right .navTab.active {
    background: rgba(235, 220, 174, 0.3);
    /*border-bottom: 2px solid rgba(235, 220, 174, 1);*/
    color: rgba(235, 220, 174, 1);
    font-weight: bold;
}

.navigation .nav-right .navTab:hover:after, .navigation .nav-right .navTab.active::after {
    content: "";
    position: absolute;
    background: rgba(235, 220, 174, 1);
    width: 100%;
    height: 2px;
    left: 0;
    bottom: 0;
}

/*热门新闻公用样式*/

.hotGenealogy {
    margin-left: 20px;
    width: 328px;
    flex-shrink: 0;
    background-color: white;
    border-radius: 10px;
}

.hotTitle {
    width: 100%;
    height: 89px;
    border-bottom: 1px solid rgba(51, 51, 51, 0.1);
    padding: 0 36px;
    box-sizing: border-box;
    font-size: var(--news-title-font-size);
    font-weight: 700;
    letter-spacing: 0px;
    color: rgba(51, 51, 51, 1);
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    a{
        font-size: var(--news-title-font-size);
        font-weight: 700;
        letter-spacing: 0px;
        color: rgba(51, 51, 51, 1);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 10px;
    }
}

.hotTitle:after {
    content: '';
    width: 4px;
    height: 22px;
    background-color: rgba(120, 51, 30, 1);
    position: absolute;
    left: 20px;
}

.hotGenealogy .hotList {
    padding: 32px 20px;
    box-sizing: border-box;
}

.hotGenealogy .hotList .hotItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    cursor: pointer;
}

.hotGenealogy .hotList .hotItem:last-child {
    margin-bottom: 0;
}

.hotItem .num {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background: rgba(201, 201, 201, 1);
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-right: 8px;
}

.hotItem:nth-child(1) .num, .hotItem:nth-child(2) .num, .hotItem:nth-child(3) .num {
    background: rgba(120, 51, 30, 1);
}

.hotItem .name {
    width: 100%;
    font-size: var(--hot-news-font-title-size);
    color: rgba(51, 51, 51, 1);
}

.hotItem .arrows {
    margin-left: 8px;
    flex-shrink: 0;
}

.hotItem:hover .name {
    color: rgba(120, 51, 30, 1);
}
.empty{
    display: flex;
    align-items: center;
    flex-direction: column;
    color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    margin: auto;
    padding-bottom: 50px;
}
.empty_img{
    width: 720px;
    height: 460px;
}
/*! 1440 ~ 1680 */
@media all and (max-width: 1680px) {
    .hotGenealogy {
        width: 300px;
    }
    .empty_img{
        width: 700px;
        height: 450px;
    }

    .widthcalc{
        width: calc(var(--common-width) - 300px);
        left: -150px;
        position: relative;
    }

    .in{
        padding-bottom: 60px;
    }
}

/*! 1200 ~ 1440 */
@media all and (max-width: 1440px) {
    .hotGenealogy {
        width: 280px;
    }
    .widthcalc{
        width: calc(var(--common-width) - 280px);
        left: -140px;
        position: relative;
    }

    .empty_img{
        width: 650px;
        height: 425px;
    }

    .in{
        padding-bottom: 55px;
    }
}

/*! 992 ~ 1200 */
@media all and (max-width: 1200px) {
    .hotGenealogy {
        width: 260px;
    }
    .widthcalc{
        width: calc(var(--common-width) - 260px);
        left: -130px;
        position: relative;
    }
    .empty_img{
        width: 600px;
        height: 400px;
    }
    .in{
        padding-bottom: 50px;
    }
}

/*! <=991 手机端 */
@media all and (max-width: 991px) {
    .banner {
        height: 256px;
    }

    .page-info {
        width: 100%;
    }


    .banner .top-bg {
        display: none;
        height: 200px;
    }

    .banner .top-bg-phone {
        display: flex;
        width: 100%;
        object-fit: cover;
        z-index: -1;
        height: 200px;
    }

    .banner .top {
        height: 200px;
    }

    .banner .top .top-text {
        width: 100%;
        padding: 100px 0 0;
        display: flex;
        justify-content: center;
    }

    .banner .top .top-title {
        font-size: 24px;
        line-height: 34px;
    }

    .banner .top .top-title:after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 43px;
        width: 32px;
        height: 1px;
    }

    .banner .navigation {
        width: 100%;
        height: 56px;
    }

    .banner .navigation .common_content .navigation-logo {
        width: 64px;
        height: 56px;
        object-fit: cover;
    }

    .banner .navigation .common_content .navigation-text {
        flex-shrink: 0;
        margin-left: 16px;
        font-size: 13px;
        line-height: 18px;
        width: 290px;

        overflow-x: auto;
        overflow-y: hidden;       /* 禁止纵向滚动 */
        white-space: nowrap;      /* 不换行 */

        -ms-overflow-style: none; /* IE 和 Edge 隐藏滚动条 */
        scrollbar-width: none;    /* Firefox 隐藏滚动条 */
    }

    .banner .navigation .common_content .navigation-text::-webkit-scrollbar {
        display: none;            /* Chrome、Safari 隐藏滚动条 */
    }

    .navigation .nav-right {
        display: none;
    }

    .navigation .nav-right .navTab {
        height: 56px;
    }
    .empty_img{
        width: 300px;
        height: 200px;
    }

    .page{
        flex-direction: column;
        padding-top: 20px;
        padding-bottom: 20px;
        margin: 0 12px;
    }

    .widthcalc{
        width: 100%;
        transform: translateX(0px);
        position: unset;
        display: flex;

    }
    .page .pre {
        display: flex;
        flex-direction: row;
        cursor: pointer;
        margin-bottom: 0;
        align-content: center;
        align-items: center;
        width: 100%;
    }
    .page .button{
        margin-right: 20px;
    }
    .page .next{
        display: flex;
        flex-direction: row;
        cursor: pointer;
        align-content: center;
        align-items: center;
        width: 100%;
    }

    .page .news-title{
        width: calc(100% - 100px);
    }
}
