/*
Theme Name:     B2子主题
Theme URI:      http: //7b2.com/
Description:    Child theme for the B2 PRO
Author:         子主题模版
Author URI:     http: //7b2.com/
Template:       b2
Version:        0.2.0
*/

/*下面是您自己DIY的css样式代码*/
.iPuhbP {
    position: inherit;
    top: 50px;
    left: 50%;
    z-index: 10;
    background-color: rgb(251, 251, 253);
    transform: none;
    width: 100%;
}
.iPuhbP .container_ {
    padding: 0px 16px;
    max-width: 3280px;
    margin: 0px auto;
    width: 100%;
}
.iPuhbP .container_ .wrap {
    width: 100%;
    padding-left: 40px;
    margin: 0px auto;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    height: 76px;
    border-radius: 6px 6px 0px 0px;
}
.bKvvSh {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    position: relative;
}
.bKvvSh .control {
    font-size: 16px;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    background-color: rgb(241, 241, 243);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    cursor: pointer;
}

.bKvvSh .control.prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -34px;
}

.keen-slider:not([data-keen-slider-disabled]) {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    align-content: flex-start;
    display: flex;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -khtml-user-select: none;
    width: 100%;
}


.bKvvSh [class^="number-slide"], .bKvvSh [class*=" number-slide"] {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: end;
    justify-content: flex-end;
    height: 100px;
    max-height: 100vh;
}

.keen-slider:not([data-keen-slider-disabled]) .keen-slider__slide {
    min-height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bKvvSh [class^="number-slide"] .item, .bKvvSh [class*=" number-slide"] .item {
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    padding: 8px 0px;
    border-radius: 6px;
    position: relative;
}

.bKvvSh [class^="number-slide"] .item .bg, .bKvvSh [class*=" number-slide"] .item .bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 6px;
    z-index: 1;
    filter: brightness(40%) saturate(220%);
}

.iPuhbP .text {
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    width: 100%;
    text-align: center;
}
.bKvvSh [class^="number-slide"] .item .text, .bKvvSh [class*=" number-slide"] .item .text {
    width: 100%;
    padding: 0px 8px;
    color: rgb(255, 255, 255);
    font-size: 12px;
    white-space: nowrap;
    line-height: 19px;
    z-index: 11;
}

.bKvvSh .right {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    margin-left: 8px;
}

.bKvvSh .control.next {
    margin-right: 8px;
}


/*list-1*/

.iNtlRa .container_ {
    background-color: rgb(251, 251, 253);
    padding: 0px 16px;
    max-width: 3280px;
    margin: 0px auto;
}
.iNtlRa .container_ .wrap {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    background-color: black;
    border-radius: 0px 0px 6px 6px;
    overflow: hidden;
}.hfdZMI {
     display: grid;
     grid-template-columns: repeat(12, 1fr);
     gap: 0px;
     width: 100%;
 }
.hfdZMI .gridBlock {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: black;
    transition: background-size 0.3s ease-in-out;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.hfdZMI a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 10;
}
.hfdZMI .gridBlock::after {
    content: "";
    position: absolute;
    inset: 0px;
    background-image: inherit;
    background-position: inherit;
    background-repeat: inherit;
    background-attachment: inherit;
    background-origin: inherit;
    background-clip: inherit;
    background-color: inherit;
    background-size: cover;
    transform-origin: center center;
    transition: transform 1s ease-in-out;
}
.hfdZMI .gridBlock:hover::after {
    transform: scale(1.3);
}


/*list-2*/
.cRrzHO .recommend-container {
    width: 100%;
    /*display: flex;*/
    /*-webkit-box-pack: center;*/
    /*justify-content: center;*/
    height: calc(-160px + 100vh);
    /*max-width: 3280px;*/
    margin: 0px auto;
    padding: 0px 16px;
}
.cRrzHO .list-wrapper {
    width: 98%;
    position: relative;
    display: flex;
}.cRrzHO .infinite-scroll-component__outerdiv {
     width: 100%;
 }
.cRrzHO .infinite-scroll-component {
    max-width: 3280px;
    width: 100%;
}
.cRrzHO .recommend-item {
    width: calc(14.2857%);
    overflow: hidden;
    position: relative;
}
.cRrzHO .recommend-item .image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    cursor: pointer;
    transition: 1.5s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
}
.cRrzHO .recommend-item .bottom {
    display: none;
    background: linear-gradient(to top, rgb(71, 71, 71) 0%, transparent);
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    text-align: center;
    padding: 8px;
}

.cRrzHO .recommend-item .bottom .name {
    width: 100%;
    height: 100%;
    color: rgb(255, 255, 255);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}.cRrzHO .recommend-item .bottom .user-info {
     display: flex;
     -webkit-box-pack: center;
     justify-content: center;
     -webkit-box-align: center;
     align-items: center;
     color: rgb(255, 255, 255);
     cursor: pointer;
 }

.cRrzHO .recommend-item .bottom .user-info .cover {
    width: 25px;
    height: 25px;
    background-size: cover;
    border-radius: 50%;
    margin-right: 4px;
}
.cRrzHO .recommend-item .bottom .user-info .username {
    max-width: calc(100% - 50px);
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.cRrzHO .recommend-item:hover .bottom {
    display: block;
}
.cRrzHO .recommend-item .image:hover {
    transform: scale(1.3);
}




/*文章发布*/
.content-area.write-page{
    flex: 1 1 0%;
}
#write .site-main.box{
    background-color: unset;
    padding-right: 24px;

}

.form-section {
    background-color: rgb(255, 255, 255);
    padding: 24px 24px 12px;
    margin-bottom: 24px;
    border-radius: var(--b2radius);;
}

#write-footer .form-section{
    margin-bottom: 0;
}

/*编辑器右*/
.ahap-write-right {
    width: 320px;
    height: 100%;
    background-color: rgb(255, 255, 255);
    padding: 12px;
    border-radius: 8px;
}
.ahap-write-right .ahap-write-card {
    background-color: rgb(255, 255, 255);
    margin-bottom: 12px;
    padding-bottom: 10px;
}
.ahap-write-right .ahap-write-card .ahap-write-header {
    padding: 10px 0;
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

:where(.css-gv8z9j).ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select, :where(.css-gv8z9j).ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload.ant-upload-select {
    position: relative;
    width: 102px;
    height: 102px;
    text-align: center;
    vertical-align: top;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px dashed #d9d9d9;
    border-radius: var(--b2radius);
    cursor: pointer;
    transition: border-color 0.3s;
}

.ahap-write-right .ahap-write-card .image-crop-wrapper .ant-upload-select {
    width: 100%;
    height: 216px;
}

:where(.css-gv8z9j).ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select >.ant-upload, :where(.css-gv8z9j).ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload.ant-upload-select >.ant-upload {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.upload-icon-text {
    color: rgba(0, 0, 0, 0.45);
}

.ahap-write-right .ahap-write-card {
    background-color: rgb(255, 255, 255);
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.ahap-write-right .ahap-write-card .footer {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
}

.ahap-write-right .ahap-write-card .footer .block-btn {
    width: 100%;
    margin: 8px 0px;
}
:where(.css-gv8z9j).ant-space-gap-row-small {
    row-gap: 8px;
}
:where(.css-gv8z9j).ant-space-vertical {
    flex-direction: column;
}
:where(.css-gv8z9j).ant-space {
    display: inline-flex;
}

:where(.css-gv8z9j).ant-btn-default.ant-btn-outlined, :where(.css-gv8z9j).ant-btn-default.ant-btn-dashed {
    border-color: #d9d9d9;
    background: #ffffff;
}
:where(.css-gv8z9j).ant-btn {
    outline: none;
    position: relative;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    user-select: none;
    touch-action: manipulation;
    color: rgba(0, 0, 0, 0.88);
}
:where(.css-gv8z9j).ant-btn {
    font-size: 14px;
    line-height: 1.5714285714285714;
    height: 38px;
    padding: 7px 15px;
    border-radius: 6px;
}
:where(.css-gv8z9j).ant-btn.ant-btn-block {
    width: 100%;
}
:where(.css-gv8z9j).ant-btn-default {
    color: rgba(0, 0, 0, 0.88);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
}

.ant-upload-img{
    width: 100%;
    height: 100%;
    border-radius: var(--b2radius);
}

.ant-upload-img-tip{
    transition: opacity 0.3s;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffffa3;
    display: flex;
    align-items: center;
    font-weight: 600;
    justify-content: space-evenly;
}

.view-ant-upload-img-tip{
    display: none;
}

.ant-upload.ant-upload-select:hover .view-ant-upload-img-tip{
    display: block;
}

.ahap-upload-select{
    padding: 10px;
    border: 1px solid #eee!important;
}

:where(.css-gv8z9j).ant-upload-wrapper.ant-upload-picture-card-wrapper .ant-upload.ant-upload-select:not(.ant-upload-disabled):hover, :where(.css-gv8z9j).ant-upload-wrapper.ant-upload-picture-circle-wrapper .ant-upload.ant-upload-select:not(.ant-upload-disabled):hover {
    border-color: var(--b2color);
}

.ahap-write-card .write-select-row-title{
    margin:0;
}
.ahap-write-card .write-role-settings{
    margin: 0;
    border-radius: var(--b2radius);
}

.ahap-write-card .write-normal-lv{
    display: flex;
    flex-direction: column;
}

.write-normal-lv-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.write-role-select select{
    width: 100%;
    height: 40px;
    padding: 0 11px;
    margin-bottom: 5px;
    box-sizing: border-box;
    margin: 0;
    color: rgba(0, 0, 0, 0.88);
    font-size: 16px;
    list-style: none;
    font-family: inherit;
    display: flex;
    border-radius: var(--b2radius);
    border: 1px solid #eee;
    background: #ffffff;
    box-shadow: unset;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAJCAYAAAAGuM1UAAAAH0lEQVR42mNgoDnQ13f7TwiTpIkkm0hyHkl+YhhQAABcfyjsqSyTLgAAAABJRU5ErkJggg==) no-repeat 97% 15px;
}

.ahap-write-card .write-select-row-title{
    border: 1px solid #eee;
    background: #ffffff;
    border-radius: var(--b2radius);
}

.write-role-settings-right{
    margin-top: 5px;
}

/*new*/
.ahap-primary,
.ahap-primary:focus, .ahap-primary:hover{
    color: #ffffff;
    background-color: var(--b2color);
    border-color:var(--b2color);
}
.ant-select-dropdown-menu{
    padding: 4px!important;
}
.tox .tox-editor-container{
    border: 2px solid #eee;
    border-radius: var(--b2radius);
}
.ant-form-item-control{
    line-height: unset;
}
.ahap-write-card .write-select-row-title.writeFooter-showSetting{
    border: 1px solid var(--b2color);
}
.write-select-row-title,
.write-role-settings{
    margin:0;
}
.ahap-write-right .header {
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    align-items: center;
}
.ahap-anticon-button{
    display: flex;
    align-items: center;
    justify-content: center;
}


body.write{
    width: 100%!important;
}

.ant-modal-header{
    border-bottom:none;
}

.ant-modal-footer{
    border-top:none;
}
.ant-modal-title{
    font-weight: 600;
}

.ahap-write-right .list{
    margin-top: 15px;
}

.ahap-write-right .list .list-item {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ahap-write-right .list .list-item .avatar {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}
.ahap-write-right .overflow-hidden {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (max-width: 768px) {
    #write .site-main.box{
        padding-right: 0;
    }
    #ahap-write-right{
        width: 100%;
        margin-top: 20px;
    }
}

























