﻿.category .fix-top-bar {
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    height: 44px;
    background: #ffffff;
    z-index: 1000;
}

.category .fix-top-bar:after {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    border-bottom: 1px solid #ff3e3e;
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
}

.category .fix-top-bar .left-btns {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 44px;
}

.category .fix-top-bar .left-btns .btn-scan {
    display: block;
    width: 44px;
    height: 44px;
    background: url(/images/Mobile_bg0573.png) center center no-repeat;
    background-size: 16px 16px;
}

.category .fix-top-bar .right-btns {
    position: absolute;
    right: 0px;
    top: 0px;
}

.category .fix-top-bar .right-btns .btn-search {
    float: left;
    display: block;
    width: 44px;
    height: 44px;
    background: url(/images/Mobile_bg0574.png) center center no-repeat;
    background-size: 16px 16px;
}

.category .fix-top-bar .right-btns .btn-class {
    float: left;
    display: block;
    height: 24px;
    font-size: 14px;
    line-height: 24px;
    padding: 10px 16px 10px 0px;
}

.category .fix-top-bar .top-title {
    height: 44px;
    margin-left: 100px;
    margin-right: 100px;
    font-size: 18px;
    text-align: center;
    line-height: 44px;
}

.category .class-banner {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.category .class-banner .swiper-slide a {
    display: block;
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.category .class-banner .swiper-slide a:before {
    content: "";
    display: block;
    padding-top: 32%;
}

.category .class-banner .swiper-slide img {
    width: 100%;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.category .class-banner .swiper-pagination {
    bottom: 5px;
    height: 5px;
}

.category .class-banner .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    border-radius: 20px;
    margin: 0px 3px;
    vertical-align: top;
}

.category .class-banner .swiper-pagination-bullet-active {
    width: 15px;
    height: 5px;
}

.category .class-banner .banner-item img {
    width: 100%;
}

.category .class-nav {}

.category .class-nav .class-nav-head {
    width: 120px;
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    padding: 64px 0px 66px 5px;
    box-sizing: border-box;
    background: #ffffff;
}

.category .class-nav .class-nav-head .top-nav-item {
    padding: 10px;
    text-align: center;
    position: relative;
    border-radius: 8px 0px 0px 8px;
}

.category .class-nav .class-nav-head .top-nav-item .top-right{
    position: absolute;
    top: -10px;
    right: 0px;
    width: 10px;
    height: 10px;
    background: inherit;
    display: none;

}
.category .class-nav .class-nav-head .top-nav-item .bottom-right{
    position: absolute;
    bottom: -10px;
    right: 0px;
    width: 10px;
    height: 10px;
    background: inherit;
    display: none;
}

.category .class-nav .class-nav-head .top-nav-item.selected {
    color: #e53737;
    font-weight: bold;
    background: #f5f5f5;

}
.category .class-nav .class-nav-head .top-nav-item.selected .top-right{
    display: block;
}
.category .class-nav .class-nav-head .top-nav-item.selected .bottom-right{
    display: block;
}
.category .class-nav .class-nav-head .top-nav-item.selected .top-right::after {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    height: 10px;
    background: #ffffff;
    border-radius: 0px 0px 100px 0px;
}

.category .class-nav .class-nav-head .top-nav-item.selected .bottom-right::after {
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    height: 10px;
    background: #ffffff;
    border-radius: 0px 100px 0px 0px;
}

.category .class-nav .class-nav-body {
    padding: 8px 8px 8px 128px;
}

.category .class-nav .class-nav-item {
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.category .class-nav .class-nav-title {
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    color: #ff3e3e;
    padding: 7px 16px 7px 28px;
    position: relative;
}

.category .class-nav .class-nav-title .ico {
    width: 14px;
    height: 14px;
    position: absolute;
    left: 8px;
    top: 12px;
}

.category .class-nav .class-nav-title .ico img {
    width: 100%;
    height: 100%;
    vertical-align: top;
}

.category .class-nav .class-nav-title .count {
    font-size: 12px;
    color: #666666;
}

.category .class-nav .class-nav-content {
    overflow: hidden;
    zoom: 1;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

/* .category .class-nav .class-nav-content:before {
    content: "";
    display: block;
    position: absolute;
    left: 33.33%;
    top: 0px;
    bottom: 0px;
    z-index: 1;
    width: 1px;
    background: #e5e5e5;
    transform: scaleX(0.5);
    -webkit-transform: scaleX(0.5);
}

.category .class-nav .class-nav-content:after {
    content: "";
    display: block;
    position: absolute;
    left: 66.66%;
    top: 0px;
    bottom: 0px;
    z-index: 1;
    width: 1px;
    background: #e5e5e5;
    transform: scaleX(0.5);
    -webkit-transform: scaleX(0.5);
} */

.category .class-nav li {
    flex: 1 0 33.33%;
    max-width: 100%;
    /* float: left;
    width: 33.33%; */
    position: relative;
    text-align: center;
}

.category .class-nav .li-hot {
    flex: 1 0 100%;
    /* width: 66.66%;
    z-index: 100; */
    position: relative;
    /* z-index: 10;
    background: #ffffff; */
}

.category .class-nav .li-hot .li-title {
    padding-right: 16px;
    background: url(/Images/Mobile_bg0327.png) right center no-repeat;
    background-size: 8px auto;
    display: inline-block;
    vertical-align: middle;
    padding: 7px 16px 7px 0px;
}

.category .class-nav li a {
    display: block;
    padding: 10px 8px;
    line-height: 24px;
    font-size: 14px;
}

.category .class-nav li::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-top: 1px solid #e5e5e5;
    transform: scaleY(0.5);
    -webkit-transform: scaleY(0.5);
}

.category .class-nav li::before{
    content: "";
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
    bottom: 0px;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    transform: scaleX(0.5);
    -webkit-transform: scaleX(0.5);

}
.category .class-nav .li-title {
    font-size: 14px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category .class-nav .li-count {
    color: #999999;
    font-size: 12px;
    line-height: 14px;
    display: block;
}
.category .end-tips {
    margin-left: 100px;
}
/* .category .class-nav-item-k12{
    display: none;
}

.category .class-nav .class-nav-head .top-nav-item-k12{
    display: none;
} */

.k12-category .class-nav-item-normal{
    display: none;
}
.k12-category .class-nav-item-k12{
    display: block;
}

.k12-category .class-nav .class-nav-body {
    padding: 16px;
}
.k12-category .class-nav-item-normal{
    display: none;
}
.k12-category .class-nav-item-k12{
    display: block;
}
.k12-category .class-nav-head{
    display: none;
}
.k12-category .end-tips{
    margin-left: 0px;
}


@media (prefers-color-scheme:dark) {
    .category .class-nav .class-nav-head {
        background: #1a1a1a;
    }

    .category .class-nav .class-nav-head .top-nav-item.selected {
        background: #000000;
    }

    .category .class-nav .class-nav-head .top-nav-item.selected .bottom-right::after {
        background: #1a1a1a;
    }

    .category .class-nav .class-nav-head .top-nav-item.selected .top-right::after {
        background: #1a1a1a;
    }

    .category .class-nav .class-nav-item {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .category .class-nav .li-hot {
        background: #1a1a1a;
    }

    .category .class-nav li::after {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .category .class-nav .class-nav-content:before {
        background: rgba(255, 255, 255, 0.1);
    }

    .category .class-nav .class-nav-content:after {
        background: rgba(255, 255, 255, 0.1);
    }

    .category .class-nav .class-nav-title {
        background: rgba(0, 0, 0, 0.5) !important;
    }
}