﻿
.zhibo-card .item-inner {
    background: #ffffff;
    overflow: hidden;
    /* border-radius: 12px;
    border: 1px solid #ffffff;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.03); */
}

.zhibo-card .item-head {
    padding: 15px 120px 15px 15px;
    position: relative;
}

.zhibo-card .item-head .living-tag {
    position: absolute;
    background: #5316d3 url(https://wx.100xuexi.com/images/zhiboing_blue.gif) 8px center no-repeat;
    background-size: 0.8em auto;
    color: #00ffea;
    position: absolute;
    left: 50%;
    bottom: -10px;
    border-radius: 100px;
    padding: 2px 8px 2px 20px;
    font-size: 12px;
    z-index: 10;
    white-space: nowrap;
    transform: translateX(-50%) scale(0.7);
    -webkit-transform: translateX(-50%) scale(0.7);
    font-weight: bold;
    border: 2px solid #ffffff;

}

.zhibo-card .item-head .btns {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}

.zhibo-card .item-head .btns .btn-entry {
    background: #f53e3e url(/images/zhiboing.gif) 10px center no-repeat;
    background-size: auto 0.7em;
    color: #ffffff;
    border-radius: 100px;
    padding: 3px 10px 3px 25px;
    display: none;
}

.zhibo-card .item-head .btns .btn-plan {
    background: #ffe3e3;
    color: #e53737;
    border-radius: 100px;
    padding: 3px 25px 3px 10px;
    position: relative;
    display: block;
}

.zhibo-card .item-head .btns .btn-plan::after {
    position: absolute;
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    right: 11px;
    top: 50%;
    margin-top: -5px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.zhibo-card .item-head .btns .btn-plan.open:after {
    transform: rotate(-135deg);
    margin-top: -2px;
}


.zhibo-card .head-img-box {
    position: absolute;
    border-radius: 100%;
    width: 48px;
    height: 48px;
    background: #f5f5f5 center center no-repeat;
    background-size: cover;
    border: 1px solid #ffffff;
    left: 15px;
    top: 50%;
    margin-top: -24px;
}
.zhibo-card.living .head-img-box{
    margin-top: -26px;
}
.zhibo-card .head-img-box::before {
    content: "";
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    z-index: 10;
}



.zhibo-card .head-img-box .head-img-box-inner {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: #ffffff center center no-repeat;
    background-size: cover;
    position: relative;
    display: block;
    overflow: hidden;
}

.zhibo-card .head-img-box img {
    width: 100%;
    height: 100%;
    opacity: 0;
}

.zhibo-card.living .head-img-box {
    border: 2px solid #ff3e3e;
}

.zhibo-card.living .head-img-box:after {
    content: "";
    display: block;
    left: -2px;
    top: -2px;
    bottom: -2px;
    right: -2px;
    position: absolute;
    border: 2px solid #ff3e3e;
    border-radius: 100%;
    animation: amtBreatheBorder 1s 0s ease-in-out infinite;
}

.zhibo-card.living .head-img-box .head-img-box-inner {
    animation: amtBreathe 1s 0s ease-in-out infinite;
}

.zhibo-card.living .item-head .btns .btn-entry {
    display: block;
}

/* .zhibo-card.living .item-head .btns .btn-plan {
    display: none;
} */


.zhibo-card .head-des {
    margin-left: 65px;
    padding: 5px 0px;
}

.zhibo-card .head-des .item-title {
    font-size: 15px;
    font-weight: bold;
    min-height: 1.5em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.zhibo-card .head-des .item-intro {
    color: rgba(0, 0, 0, 0.5);
    font-size: 12px;
    min-height: 3em;
    max-height: 3em;
    line-height: 1.5em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}



.zhibo-card .zhibo-living-box {
    padding: 0px 15px 15px 15px;
    display: none;
}

.zhibo-card .zhibo-living {
    position: relative;
    max-width: 320px;
    width: 62.8%;
    display: block;
}

.zhibo-card.living .zhibo-living-box {
    display: block;
}
.zhibo-card.living .zhibo-plan{
    display: block;
    padding-left: 15px;
}
.zhibo-card .zhibo-living .living-img {
    display: block;
    background: #f5f5f5 center center no-repeat;
    background-size: cover;
    position: relative;
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
}

.zhibo-card .item-body{
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.75);
    z-index: 2000;
    display: none;
}
.zhibo-card .item-body .item-body-inner{
    border-radius: 12px;
    background: #ffffff;
    width: 80%;
    max-width: 360px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
}
.zhibo-card .item-body .zhibo-plan {
    padding: 15px;
}

.zhibo-card .item-body .zhibo-plan-title {
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 10px;
}
.zhibo-card .item-body .zhibo-plan-close{
    position: absolute;
    right: 0px;
    top:0px;
    width: 44px;
    height:44px;
}
.zhibo-card .item-body .zhibo-plan-close::after{
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -12px 0px 0px -12px;
    border: 1px solid rgba(0, 0, 0, 0.6);
    width: 24px;
    height: 24px;
    background:url(/images/Mobile_bg0529.png) center center no-repeat;
    background-size:100% auto;
    border-radius: 100%;
}

.zhibo-card .item-body .zhibo-plan-list {
    position: relative;
    max-height: 300px;
    overflow: auto;
    padding-left: 3px;
}

.zhibo-card .item-body .zhibo-plan-list .plan-item {
    position: relative;
    padding: 5px 0px 5px 20px;
}

.zhibo-card .item-body .zhibo-plan-list .plan-item::after {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 11px;
    width: 5px;
    height: 5px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 100%;
    border: 2px solid #ffffff;
    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.6);
}


.zhibo-card .item-body .zhibo-plan-list .plan-item::before {
    content: "";
    position: absolute;
    left: 4px;
    border-left: 1px dashed rgba(0, 0, 0, 0.1);
    top: 0px;
    bottom: 0px;
}
.zhibo-card .item-body .zhibo-plan-list .plan-item:first-child:before {
    top: 10px;
    bottom: 0px;
}
.zhibo-card .item-body .zhibo-plan-list .plan-item:last-child:before {
    content: "";
    position: absolute;
    left: 4px;
    border-left: 1px dashed rgba(0, 0, 0, 0.1);
    top: 0px;
    height: 20px;
}


.zhibo-card .item-body .zhibo-plan-list .plan-item .plan-date {
    font-size: 15px;
    font-weight: bold;
}
.zhibo-card .item-body .zhibo-plan-list .plan-item .plan-time-subject{
    color: rgba(0, 0, 0, 0.5);
}

@keyframes amtBreathe {
    0% {
        transform: scale(0.85);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.85);
    }
}

@keyframes amtBreatheBorder {
    0% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}


@media (prefers-color-scheme:dark){
    
    .zhibo-card .item-inner {
        background: #1a1a1a;
        border: 0.5px solid rgba(255, 255, 255, 0.1);
    }
    .zhibo-card .head-des .item-intro{
        color: rgba(255, 255, 255, 0.75);
    }
    .zhibo-card .item-head .btns .btn-plan{
        background: transparent;
        border: 1px solid #e53737;
        color: #e53737;
    }
    
    .zhibo-card .head-img-box {
        background-color: #000000;
        border-color: #000000;
    }
    .zhibo-card .head-img-box .head-img-box-inner{
        background-color: #000000;
    }
    .class-nav li{
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}