.case-list-shell {
    padding-top: 18px;
}

.caselib .workbox {
    display: none !important;
}

.caselib .workbox.show {
    display: flex !important;
}

.caselib .zuopinglist {
    float: left;
    width: 16%;
    height: 42px;
    margin-top: 8px;
    line-height: 42px;
    cursor: pointer;
    border: 1px solid #dedede;
    text-align: center;
    color: #333;
    transition: background .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}

.caselib .zuopinglist:nth-child(n+2) {
    margin-left: 0.8%;
}

.caselib .zuopinglist:nth-child(7) {
    margin-left: 0;
}

.caselib .zuopinglist:nth-child(n+7) {
    margin-bottom: 18px;
}

.caselib .zuopinglist.cur,
.caselib .zuopinglist:hover {
    background: #d7000f;
    border-color: #d7000f;
    color: #fff;
}

.caselib .workbox .li-img {
    contain: layout paint style;
    content-visibility: auto;
    contain-intrinsic-size: 359px 263px;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity .45s ease, transform .45s ease;
}

.caselib .workbox .li-img.sample-card-hidden {
    visibility: hidden;
    pointer-events: none;
}

.caselib .workbox .li-img.sample-card-filtered {
    display: none;
}

.caselib .workbox .li-img.sample-card-pending {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
}

.caselib .workbox .li-img.sample-card-ready {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.wpage {
    position: relative;
    margin-bottom: 2rem;
    padding: .65rem .75rem;
    text-align: center;
    background: #f7f7f7;
}

.page {
    clear: both;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    line-height: 22px;
    text-align: center;
}

.page a {
    float: left;
    display: block;
    width: 38px;
    height: 38px;
    margin: 0 2px;
    line-height: 38px;
    color: #d2d2d2;
    text-decoration: none;
    transition: .5s cubic-bezier(0.6, 0.2, 0.1, 1);
}

.page a.active,
.page span.laypage_curr {
    background: #ccb195;
    color: #fff;
}

.page span.laypage_curr {
    display: inline-block;
    width: 38px;
    height: 38px;
    margin: 0 2px;
    line-height: 38px;
    transition: .3s ease;
}

.page a:hover {
    color: #fff;
    text-decoration: none;
    transition: .3s ease;
}

.page a.prev,
.page a.next {
    position: absolute;
    top: .65rem;
    z-index: 1;
    width: 125px;
    line-height: 38px;
    font-weight: normal;
    background: #fff url('../img/px13.png') center no-repeat;
}

.page a.prev {
    left: .75rem;
}

.page a.next {
    right: .75rem;
    transform: rotate(-180deg);
}

.page a.prev:before,
.page a.next:before {
    font-size: 26px;
    color: #ccc;
    transition: .3s ease;
}

.page a.next:hover,
.page a.prev:hover {
    background: #d7000f url('../img/px15.png') center no-repeat !important;
}

@media screen and (max-width: 767px) {
    .caselib .zuopinglist {
        width: 30.8% !important;
        margin-right: 2% !important;
    }

    .caselib .zuopinglist:nth-child(n+2) {
        margin-left: 0.1%;
    }

    .caselib .zuopinglist:nth-child(7) {
        margin-left: 0.5px;
    }

    .caselib .zuopinglist:nth-child(n+7),
    .caselib .zuopinglist:nth-child(n+9) {
        margin-bottom: 0;
    }
}
