/*
Theme Name:     B2PRO子主题
Theme URI:      https://www.ahap.cn
Description:    B2PRO子主题是在7B2PRO主题的基础上衍生出来的一个子主题，它具有更多的功能，更具实用性。
Author:         AHAP
Author URI:     https://www.ahap.cn
Template:       b2
Version:        2.2.7
Requires PHP: 8.0
*/

.sticky-icon{
    display: block;
    padding: 0;
    text-align:center;
}

/*文章评论举报*/
.jubao-form .modal-content{
    margin-top: 0;
}

/*类型一*/
.ahap-post-type-1 .post-type-box{
    box-sizing: border-box;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    transition: 0.2s;
    overflow: hidden;position: relative;margin-bottom: 16px;margin-right: 16px;overflow: hidden;
}

.ahap-post-type-1 .post-type-title{
    margin: 10px 0;
    height: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ahap-post-type-1 .post-type-title h2{
font-size: 15px;
        display: block;
        color: #323232;
            font-weight: bold;
}
.ahap-post-type-1 .post-type-desc{
border-radius: var(--b2radius);background-color: rgb(250, 250, 250);
    padding: 10px;
    display: block;
    font-size: 12px;
    color: #8a8a8a;
}

.ahap-post-type-1 .post-type-desc span{
display: block;
    height: 50px;
    overflow: hidden;
}

.ahap-post-type-1 .post-type-user{
    display: flex;align-items: center;
}
.ahap-post-type-1 .post-type-user .avatar{
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.ahap-post-type-1 .post-type-username{
    margin-left: 5px;display: inline-block;vertical-align: top;max-width: 8em;overflow: hidden;-o-text-overflow: ellipsis;text-overflow: ellipsis;white-space: nowrap;
}

.ahap-post-type-1 .post-type-bottom{
    display: flex; justify-content: space-between; overflow: hidden; color: rgb(181, 181, 181);    font-size: 12px;
    margin-top: 20px;
}

.ahap-post-type-1 .post-type-title h2:hover,
.ahap-post-type-1 .post-type-user:hover{
    color: var(--b2color);
}

.ahap-post-type-1 .post-module-thumb{
    display: block;
    height: 100%;
}
.ahap-post-type-1 .post-type-extra{
    position: absolute;
    left: 0;
    bottom: 0;
    font-weight: normal;
    background: #FF5722;
    color: #fff;
    padding: 2px;
    font-size: 12px;
    border-bottom-left-radius: var(--b2radius);
    border-top-right-radius: var(--b2radius);
    padding-left: 10px;
    padding-right: 10px;
}


.ahap-post-type-1 img.post-type-image{
    -webkit-transition: all .2s;
    -o-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    width: 100%;
    height: 150px;
    max-height: 150px;
}

.ahap-post-type-1 .post-type-box:hover .post-type-image{
     -webkit-transform: scale(1.1); 
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.ahap-post-1.post-list ul.b2_gap {
    display: flex;
    flex-flow: wrap;
    align-items: stretch;
}
.ahap-post-1 .post-load-button{
    color: #000000;
}

@media screen and (max-width: 768px) {
    .ahap-post-type-1 .post-type-box{
        margin-bottom: 8px !important;
        margin-right: 8px !important;
        padding: 15px
    }
    .ahap-post-type-1 img.post-type-image{
        height: 100px;
        max-height: 100px;
    }
}







/*ka*/
.card-list .card-list-li{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.card-list .card-list-li .a-box {
    display: block;
    border-radius: var(--b2radius);
    padding: 12px;
    background:linear-gradient(180deg, #f5fdff 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.card-list .card-list-li .a-box .item-in {
    display: flex;justify-content: space-around;align-items: center;
    position: relative;
}
.card-list .card-list-li .a-box .item-title {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
    position: relative;
    font-weight: bold;
}



.card-list .card-list-li .a-box .label-go {
    display: inline-block;
    vertical-align: top;
    margin-left: 6px;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding-left: 10px;
    background-color: rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    font-style: normal;
}

.card-list .card-list-li .a-box .label-go .b2font{
    vertical-align: bottom;
    padding-right: 5px;
}

.card-list .card-list-li .a-box .item-desc {
    font-size: 13px;
    font-weight: normal;
    color: rgba(58, 58, 58, 0.5);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 155px;
    max-width: 155px;
}

.card-list .card-list-li .a-box .item-ico {
    color: #C7CEE5;
    font-size: 50px;
}

.ahap-post-type-1 .post-pay-type{
    left: auto;
    right: 5px;
    top: 10px;
}
.ahap-post-type-1 .post-pay-type div > span:not(.post-pay-type-icon){
    display: none;
}

@media (max-width:767px) {
    .card-list .card-list-li{
        grid-template-columns: repeat(2, 1fr);
    }
    .card-list .card-list-li .a-box .item-ico{
        font-size: 30px;
    }
}


/*ai文字摘要*/

.ai-abstract-a {
    padding-bottom: 0;
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(247, 232, 255, .54)), to(rgba(191, 223, 255, .35)));
    background-image: linear-gradient(180deg, rgba(247, 232, 255, .54), rgba(191, 223, 255, .35));
}
.ai-abstract-b.ai-abstract-a {
    -webkit-animation: _2fNb4 .24s forwards;
    animation: _2fNb4 .24s forwards;
}
.ahap-ai-abstract {
    border-radius: 9px;
    margin-top: 30px;
    background-color: #f5f6f9;
    overflow: hidden;
}
.abstract-body-ai-title, .ai-abstract-head, .abstract-head-body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
}
.ai-abstract-head {
    line-height: 1;
    padding: 12px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    font-size: 14px;
}
.abstract-body-ai-icon {
    width: 15px;
    height: 14px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAqCAMAAAAQwSIQAAAAOVBMVEUAAABwUP9uTPpwTPtvS/pvS/pwUP9uS/pwTftuS/ptSvpvS/puS/luS/pvS/pvS/pwSvpvS/tuS/rn6qkgAAAAEnRSTlMAIIBAv58Q7yCQYN9w38+vMFCYJ54zAAABEElEQVQ4y92U227EIAxECbcAmyv//7FVaa3Bnkjt6+48RdbJ4Ilj3IcrL/9nt1fve822vIQhY+T70GHw2H9V5+otVW89RLeDTinuin6BjupE0Qy3PulCvUrtYGvuPEhtM9bQmilPerRmozuuPTbumnKSYK0UmGHr5JHzb+tyUc7s07caf6WEaWz23IXmVZzbbE4PmqxdXlVOpk9YT6Ouz3SBtZyEnEQnZU05QSvrUzYLPx3TyY4POYmGdaR1OYkma5XT0uVpNaQVb2hYt4eFXjUN677HoTRyoruJlkda4CjJFV1oC3b95+SZbmSdKCfog+hAOUFHbuRHF94Gfdm+q72ikguTz6I13/BDWRj3tvoCdmEz3FGmUSYAAAAASUVORK5CYII=) no-repeat;
    background-size: 100% 100%;
    margin-right: 3px;
}
.abstract-body-ai-name {
    color: #6e4bfa;
    font-weight: 500;
}


.abstract-body-ai-desc {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.ai-abstract-b .abstract-body-ai-desc {
    -webkit-transition: opacity .24s;
    transition: opacity .24s;
}
.ai-abstract-a .abstract-body-ai-desc {
    opacity: 0;
}
.abstract-body-ai-desc-icon {
    font-size: 9px;
    margin-left: 6px;
    margin-right: 6px;
}

.abstract-body-ai-transition {
    width: 14px;
    height: 14px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqBAMAAAA37dRoAAAAGFBMVEUAAAAgICgeHyUgICUfHyQfICQfICQeHyTb1C7fAAAAB3RSTlMAIN8w78+/HEQNRgAAAGNJREFUKM/tyrEJgDAURdEnLpC4gWlsU7iBhRs4iAh/ffHzRHwJZIHc6hYHvVax9kMKKH+yGSh+tTO8dLGNO+4PIL0yFJN+WCmxUGKlxKSCSQVHp4qTU8VGKphUsFPFR0bv3w042hsaEh/4sQAAAABJRU5ErkJggg==) no-repeat;
    background-size: 100% 100%;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.ai-abstract-a .abstract-body-ai-transition {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.ai-abstract-b .abstract-body-ai-transition {
    -webkit-transition: -webkit-transform .24s;
    transition: -webkit-transform .24s;
    transition: transform .24s;
    transition: transform .24s, -webkit-transform .24s;
}
.ai-abstract-bottom {
    padding-left: 12px;
    padding-right: 12px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.ai-abstract-b .ai-abstract-bottom {
    -webkit-transition: height .24s, opacity .24s;
    transition: height .24s, opacity .24s;
}
.ai-abstract-content {
    font-size: 13px;
    color: #1e1f24;
    vertical-align: middle;
    line-height: 1.7;
    letter-spacing: 1.5px;
}
.abstract-bottom-desc {
    color: #848691;
    margin-top: 4px;
    padding-bottom: 11px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.abstract-bottom-desc-name {
    color: #848691;
    font-size: 10px;
}

._2w9sQ {
    display: none;
}

.ai-abstract-b._1Rx6V {
    -webkit-animation: _3Ds4g .24s forwards;
    animation: _3Ds4g .24s forwards;
}





@-webkit-keyframes _2fNb4 {
    0% {
        background-image: none
    }

    to {
        background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(247,232,255,.54)),to(rgba(191,223,255,.35)));
        background-image: linear-gradient(180deg,rgba(247,232,255,.54),rgba(191,223,255,.35))
    }
}

@keyframes _2fNb4 {
    0% {
        background-image: none
    }

    to {
        background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(247,232,255,.54)),to(rgba(191,223,255,.35)));
        background-image: linear-gradient(180deg,rgba(247,232,255,.54),rgba(191,223,255,.35))
    }
}
@-webkit-keyframes _3Ds4g {
    0% {
        background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(247,232,255,.54)),to(rgba(191,223,255,.35)));
        background-image: linear-gradient(180deg,rgba(247,232,255,.54),rgba(191,223,255,.35))
    }

    to {
        background-image: none
    }
}

@keyframes _3Ds4g {
    0% {
        background-image: -webkit-gradient(linear,left top,left bottom,from(rgba(247,232,255,.54)),to(rgba(191,223,255,.35)));
        background-image: linear-gradient(180deg,rgba(247,232,255,.54),rgba(191,223,255,.35))
    }

    to {
        background-image: none
    }
}