body {
    background: #F5F5F5 !important;
}

.content_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
    font-size: 14px;
    color: #555555;
}

.course .course-tab {
    width: 1200px;
    margin: 0 0 40px;
}

.course .course-tab-title {
    height: auto;
    min-height: 54px;
    background: #fff;
    border-radius: 6px;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    white-space: normal;
}

.course .course-tab-title li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    line-height: 22px;
    font-weight: bold;
    font-size: 16px;
    color: #8A9199;
    flex: 0 0 auto;
    padding: 0 18px;
    white-space: nowrap;
}

.course .course-tab-title li:first-child {
    flex: 0 0 auto;
}

.course .course-tab-title li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    color: #8A9199;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    word-break: keep-all;
}

.course-tab-mobile {
    display: none;
}

.course .course-tab-title li:hover,
.course .course-tab-title li:focus,
.course .course-tab-title li:hover a,
.course .course-tab-title li:focus a,
.course .course-tab-title li a:hover,
.course .course-tab-title li a:focus {
    color: #1890FF !important;
    background: transparent !important;
    border-bottom: none !important;
    text-decoration: none;
}

.course .course-tab-title .layui-this {
    background: transparent;
    color: #1890FF !important;
}

.course .course-tab-title .layui-this a {
    color: #1890FF !important;
}

.course .course-tab-title .layui-this:after {
    width: 34px;
    height: 4px;
    background: #1890FF;
    border-radius: 5px !important;
    top: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border: none !important;
}

.course-tip {
    font-size: 12px;
    color: #4D4D4D;
    line-height: 18px;
    border-radius: 6px;
    padding: 10px 16px;
    margin: 12px 0 0;
    background: rgba(250, 149, 80, 0.08);
    display: flex;
    align-items: flex-start;
    white-space: normal;
    word-break: break-word;
}

.course-tip .layui-icon {
    flex: 0 0 auto;
    font-size: 14px;
    color: #FA9550;
    padding-right: 8px;
}

.course .course-tab-content {
    padding: 10px 0 0;
}

.course .course-list {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 40px;
    width: 1200px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 5px;
}

.course-list .course-item {
    display: flex;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #F5F5F5;
}

.course-list .course-item:last-of-type {
    margin-bottom: 0;
}

.course-item:hover {
    color: #444444 !important;
}

.course-item .course-cover {
    display: inline-block;
    flex: 0 0 300px;
    margin-right: 30px;
    height: 180px;
    width: 300px;
    border-radius: 5px;
    overflow: hidden;
    background: #eef3f7;
}

.course-cover .cover {
    display: block;
    max-width: none;
    height: 180px;
    width: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.course-item .item-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
}

.item-right .title {
    max-width: 100%;
    font-size: 20px;
    line-height: 30px;
    color: #333333;
    text-decoration: none;
    word-break: break-word;
}

.item-right .title:hover,
.item-right .title:focus {
    color: #1890FF;
    text-decoration: none;
}

.item-right .author {
    margin: 20px 0;
    color: #666666;
    line-height: 22px;
}

.item-right .author .layui-icon {
    color: #666666;
    margin-right: 2px;
}

.intro {
    width: 100%;
    max-width: 100%;
    line-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    word-break: break-all;
    flex: 0 0 auto;
    color: #555555;
}

.intro * {
    max-width: 100% !important;
    box-sizing: border-box;
}

.intro iframe,
.intro video,
.intro embed,
.intro object {
    display: block;
    width: 100% !important;
    max-width: 420px;
    height: auto !important;
    max-height: 160px;
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.intro img,
.intro table {
    max-width: 100% !important;
    height: auto !important;
}

.intro p {
    margin: 0;
}

.item-right .course-num {
    width: fit-content;
    max-width: 100%;
    padding: 4px 12px;
    margin-top: 16px;
    background: #F5F5F5;
    color: #666666;
    font-size: 12px;
    line-height: 18px;
    border-radius: 12px;
}

.course-empty,
.course-coming-soon {
    width: 100%;
    padding: 60px 20px;
    color: #999;
    text-align: center;
    line-height: 28px;
}

.course-coming-soon {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666666;
}

.course-pagination {
    width: 100%;
    padding-top: 24px;
    text-align: center;
}

.pagination > li {
    display: inline-block !important;
}

.pagination .page-item {
    margin-right: 30px;
}

.pagination > li.active > span {
    border-color: #001A90;
    background: #001A90 !important;
}

@media screen and (max-width: 768px) {
    html {
        font-size: calc(100vw / 7.5) !important;
        overflow-x: hidden;
    }

    body {
        width: 100%;
        max-width: 100%;
        font-size: 0.24rem !important;
        background: #FFFFFF !important;
        overflow-x: hidden !important;
    }

    .bc_deepgrey,
    .bc_deepgrey.fixed,
    .fixed .content-box,
    .navbar,
    .navbar-default,
    .navbar-header,
    .navbar-collapse,
    .nav,
    footer,
    footer ul,
    .course-mt20.content-box,
    .content_container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .course-mt20.content-box {
        padding-left: .3rem;
        padding-right: .3rem;
    }

    .content_container {
        align-items: stretch;
        margin-bottom: 0;
        overflow-x: hidden;
    }

    .course .course-tab {
        width: 100%;
        max-width: 7.5rem;
        margin: 0 auto !important;
    }

    .course .course-tab-title {
        width: 100%;
        height: .96rem !important;
        min-height: 0;
        display: flex !important;
        flex-wrap: nowrap;
        border-radius: 0;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        background: #fff;
        border-bottom: 1px solid #f0f0f0;
    }

    .course .course-tab-title::-webkit-scrollbar {
        display: none;
    }

    .course .course-tab-title .layui-tab-bar {
        display: none !important;
    }

    .course .course-tab-title li {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: auto;
        min-width: 1.6rem;
        max-width: none;
        min-height: .96rem;
        height: .96rem;
        flex: 0 0 auto;
        float: none !important;
        line-height: .36rem !important;
        font-size: .26rem !important;
        font-weight: normal !important;
        padding: 0 .08rem !important;
        white-space: nowrap;
        box-sizing: border-box;
        overflow: hidden;
    }

    .course .course-tab-title li:first-child {
        flex: 0 0 auto;
        min-width: 1.3rem;
    }

    .course .course-tab-title li a {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-height: .96rem;
        line-height: .36rem;
        color: #8A9199;
        font-size: .26rem !important;
        text-align: center;
        white-space: nowrap !important;
        word-break: keep-all;
        overflow-wrap: normal;
        box-sizing: border-box;
    }

    .course-tab-full {
        display: none;
    }

    .course-tab-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    .course-tab-mobile span {
        display: block;
        width: 100%;
        max-width: 100%;
        line-height: .36rem;
        white-space: nowrap !important;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .course .course-tab-title .layui-this:after {
        width: .42rem;
        height: .04rem;
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .course-tip {
        width: 100%;
        margin: .2rem 0 0;
        padding: .2rem .24rem;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        line-height: .36rem;
        border-radius: 0;
        font-size: .24rem;
        box-sizing: border-box;
    }

    .course-tip .layui-icon {
        font-size: .28rem;
        padding-right: .12rem;
    }

    .course-tip span {
        min-width: 0;
    }

    .course .course-tab-content {
        padding: .2rem 0 0;
    }

    .course .course-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: .3rem;
        width: 100%;
        max-width: 7.5rem;
        margin-bottom: .4rem;
        background: #FFFFFF;
        border-radius: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .course-list .course-item {
        display: flex;
        flex-direction: column;
        padding-bottom: .3rem;
        margin-bottom: .3rem;
        border-bottom: 1px solid #F5F5F5;
    }

    .course-item .course-cover {
        display: block;
        flex: none;
        margin-right: 0;
        margin-bottom: .2rem;
        height: auto;
        width: 100% !important;
        max-width: 100%;
        aspect-ratio: 5 / 3;
        border-radius: 5px;
        box-sizing: border-box;
    }

    .course-cover .cover {
        display: block;
        height: 100%;
        width: 100% !important;
        max-width: 100% !important;
        object-fit: cover;
        border-radius: 5px;
    }

    .course-item .item-right {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        min-width: 0;
    }

    .item-right .title {
        min-height: .44rem;
        font-size: .28rem;
        line-height: .42rem;
        color: #333333;
        word-break: break-word;
    }

    .item-right .author {
        flex: 1;
        margin: .12rem 0;
        line-height: .36rem;
        color: #666666;
        word-break: break-word;
    }

    .intro {
        display: none;
    }

    .item-right .course-num {
        width: fit-content;
        max-width: 100%;
        padding: .04rem .1rem;
        margin-top: .08rem;
        background: #F5F5F5;
        font-size: .2rem;
        line-height: .32rem;
        border-radius: .12rem;
    }

    .course-empty,
    .course-coming-soon {
        width: 100%;
        padding: .8rem .2rem;
        font-size: .26rem;
        line-height: .42rem;
    }

    .course-coming-soon {
        min-height: 3.2rem;
    }

    .course-pagination {
        padding-top: .3rem;
    }
}
