.main {
    /* background-color: #fff; */
    background: linear-gradient(180deg, #FFFFFF 0%, #F9FBFF 94%);
    font-family: PingFang SC !important;
}

.layui-main {
    width: auto;
}

.layer {
    padding: 20px;
}

.clearfix {
    zoom: 1
}

.clearfix:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.mt0 {
    margin-top: 0;
}

.mb0 {
    margin-bottom: 0;
}

.center {
    text-align: center;
}

.red {
    color: red;
}

.green {
    color: green;
}

.gray {
    color: #999;
}

.pointer {
    cursor: pointer;
}

.avatar-sm {
    width: 48px;
    height: 48px;
    border-radius: 100%;
}

.layui-table .meta span {
    margin-right: 10px;
}

.vip img {
    border: 3px solid orange;
}

.qrcode img {
    width: 160px;
    height: 160px;
}

.qrcode-sm img {
    width: 100px;
    height: 100px;
}

.kg-zoom img {
    max-width: 100%;
    cursor: pointer;
}

.breadcrumb {
    position: relative;
    margin-bottom: 20px;
}

.wrap {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.bg-wrap {
    padding: 20px;
    background-color: #f2f2f2;
}

.no-records {
    padding: 20px;
    color: #999;
    text-align: center;
}

.no-records .icon {
    margin-bottom: 10px;
}

.no-records .icon .layui-icon {
    font-size: 100px;
}

.pager {
    margin-top: 20px;
    text-align: center;
}

.layer .pager {
    margin-top: 0;
}

.loading {
    padding: 30px;
    text-align: center;
}

.layout-main {
    /* display: flex;
    justify-content: space-between; */
}

.layout-content {
    width: 100%;
    min-width: 1400px;
    background: #000000;
    aspect-ratio: 2/1;

    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-content .back-wrap {
    z-index: 999;
    position: absolute;
    left: 2%;
    top: 2%;

    color: #fff;
    font-size: 20px;
    font-weight: 500;

    cursor: pointer;
}

.back-wrap .text {
    display: inline-block;
    margin-left: 12px;
}

.layout-sidebar {
    width: 340px;
    margin: 20px 0 0;
    border-radius: 6px;
}

.layui-card {
    border-radius: 6px;
    opacity: 1;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid #E6EAF6;
}

.writer-content {
    padding-top: 30px;
}

.writer-sidebar {
    /* padding-top: 30px; */
}

.writer-content .layui-input-block,
.writer-sidebar .layui-input-block,
.report-form .layui-input-block {
    margin-left: 0;
}

.writer-sidebar .layui-form-label,
.report-form .layui-form-label {
    float: none;
    width: 100%;
    display: block;
    padding: 0;
    margin-bottom: 10px;
    text-align: inherit;
}

.report-form .last-form-item {
    margin-top: 20px;
}

.report-form .layui-textarea {
    min-height: 80px;
}

.breadcrumb .share {
    position: absolute;
    top: 2px;
    right: -5px;
}

.header-wrap {
    width: 100%;
    box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.08);
}

#header {

    width: 1400px;
    max-height: 100px;
    width: 1400px;
    color: #3D3D3D;
    padding: 0 15px;
    margin: 0 auto;
    background-color: #fff;
    color: #000;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

#header .layui-nav-child {
    position: absolute;
    top: 85px;
}

#header .content-center-collapse {
    display: flex;
    align-items: center;
    /* justify-content: center; */

    cursor: pointer;
}

#header .content-center-collapse i.layui-icon {
    color: #000;
    margin-left: 15px;
    font-size: 13px;
    transition: 0.4s;
}

#header .content-center-collapse.collapse i.layui-icon {
    transform: rotate(90deg);
    transition: 0.4s;
}

#header .toggle-item a {
    padding-left: 49px;
}

#header dl {
    border-radius: 6px;
}

#header dl img {
    width: 17px;
    height: 17px;
    margin-right: 16px;
}

#header dd {
    transition: 0.4s;
    margin-bottom: 3px;
    height: 39px;
}

#header dd.logout {
    height: auto;
    margin-bottom: 0;
}
#header dd.logout a{
    border-top: 1px solid #D8D8D8;
    height: 46px;
}
#header dd a {
    display: flex;
    align-items: center;
    font-size: 16px; 
    line-height: normal;
    height: 39px;

}

#header dd a:hover,
#header dd a:active
{ 
   background: #ECF5FF;
   color: #0070C0;
}
#header .collapse-item {
    height: 0;
    opacity: 0;

    transition: 0.4s;
}

#main {

    min-height: calc(100vh - 100px);
    min-width: 1440px;
}

#footer {
    width: 100%;
    padding: 30px 0;
    background: #000;
    text-align: center;
    font-size: 14px;
    color: #fff;
}

#header .logo {
    /* top: 0;
    left: 0;
    position: absolute; */
    /* line-height: 60px;

    

    transform: translateY(50%); */
}

#header .logo a {
    width: 100%;
    height: 100%;
}

#header .logo a img {
    width: 125px;
    height: 49px;
}

.top-nav {
    margin-left: 185px;
}

#header .user {
    top: 0;
    right: 0;
    /* position: absolute; */
}

#header .user button {
    width: 98px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#header .user button .icon {
    margin-right: 8px;
    width: 12px;
    height: 13px;
}

#header .user .lang-item {
    font-size: 16px;
    font-weight: 600;
    display: flex;
}

#header .user .lang-item i.layui-icon-website {
    font-size: 20px;
    margin-right: 10px;
    font-weight: normal;
}

.layer-search input {
    height: 75px;
    line-height: 75px;
    width: 500px;
    padding: 0 15px;
    font-size: 18px;
    border: none 0;
    background: none;
}

#header .layui-nav {
    background: none;
    padding-right: 0;
}

#header .layui-nav .layui-nav-item {
    margin-left: 30px;
}

#header .layui-nav .layui-nav-item a {
    color: #000;
}

#footer .row {
    line-height: 18px;
    margin-bottom: 15px;
}

#footer .row:last-child {
    margin-bottom: 0;
}

#footer .contact {
    line-height: 24px;
}

#footer span,
#footer a {
    color: #999;
}

#footer a:hover,
#footer .iconfont:hover {
    color: #fff;
}

#footer .nav a,
#footer .copyright span,
#footer .copyright a,
#footer .contact a {
    margin-right: 10px;
}

#footer .iconfont {
    font-size: 20px;
}

.layout-sidebar .loading {
    padding: 15px;
    text-align: center;
}

.layout-sidebar .sidebar {
    margin: 20px 0;
}

.page-info {
    min-height: 500px;
}

.help-list li {
    line-height: 30px;
}

.cs-sidebar p {
    line-height: 40px;
}

.index-wrap {
    padding-bottom: 15px;
}

.index-wrap .layui-tab {
    margin-bottom: 0;
}

.index-wrap .layui-tab-title {
    border: none;
}

.index-wrap .layui-tab-content {
    padding-top: 20px;
}

.index-wrap .header {
    text-align: center;
    font-size: 18px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f6f6f6;
}

.index-wrap .simple {
    padding-top: 20px;
}

.index-course-list .course-card {
    box-shadow: none;
}

.index-course-list .course-card .info {
    border: 1px solid #eee;
    padding-bottom: 18px;
}

.index-carousel {
    width: 1120px;
    height: 336px;
    text-align: center;
}

.index-carousel .carousel {
    width: 100%;
    height: 100%;
}

.search-form .query-input {
    width: 696px;
}

.search-form .search-btn {
    padding: 0 30px;
}

.search-tab {
    margin: 0;
}

.search-tab .layui-tab-title {
    margin-bottom: 10px;
}

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

.search-empty {
    padding: 50px 0;
    text-align: center;
}

.search-empty .icon {
    margin-bottom: 30px;
}

.search-empty .icon .layui-icon {
    font-size: 150px;
    color: #393D49;
}

.search-empty .text {
    color: #666;
    font-size: 18px;
}

.search-empty .text .query {
    color: red;
    padding: 0 5px;
}

.search-course-card,
.search-article-card {
    display: flex;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f6f6f6;
}

.search-course-card:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.search-course-card .cover {
    width: 210px;
    height: 118px;
    margin-right: 15px;
}

.search-course-card .cover img {
    width: 100%;
    height: 100%;
}

.search-course-card .info {
    width: 500px;
}

.search-course-card .title {
    margin-bottom: 10px;
    white-space: nowrap;
}

.search-course-card .summary {
    margin-bottom: 10px;
    line-height: 1.5em;
    max-height: 4.5em;
    color: #666;
    overflow: hidden;
    overflow-wrap: break-word;
}

.search-course-card .meta,
.search-article-card .meta,
.search-question-card .meta {
    color: #999;
}

.search-course-card .meta span,
.search-article-card .meta span,
.search-question-card .meta span {
    margin-right: 10px;
}

.search-course-card em,
.search-article-card em,
.search-question-card em {
    color: red;
    font-style: normal;
}

.query-badge {
    padding: 2px 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.widget-card {
    position: relative;
}

.widget-card .more {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 2;
}

.widget-card .more a {
    color: #666;
}

.article-list {
    margin-bottom: 20px;
}

.article-card {
    display: flex;
    flex-direction: column;
    /* padding-bottom: 15px; */
    margin-bottom: 15px;
    border-bottom: 1px solid #f6f6f6;
    width: 100%;
    box-sizing: border-box;
}
.article-card.profile {
    
    margin: 0 15px 15px 0;
    border: 1px solid #EBEDF0;
    width: calc(50% - 15px);
    box-sizing: border-box;
}

.article-card:last-child {
    /* margin-bottom: 0; */
}

.article-card .info {
    /* flex: 1 1 auto;
    width: 100%; */

    padding: 17px 40px 17px 17px;
}

.article-card .cover {
    flex: 0 0 auto;
    width: 180px;
    height: 100px;
    margin-left: 10px;
}

.article-card .cover img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
}


.article-card .title {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;

    width: 100%;
}

.article-card .summary a {
    white-space: nowrap;
}

.article-card .summary {
    color: #666;
    /* line-height: 1.5em; */
    /* height: 4.5em; */
    /* margin-bottom: 10px; */
    overflow: hidden;
    overflow-wrap: break-word;
    font-size: 15px;
}

.article-card .summary-wrap {
    display: flex;
    margin-bottom: 11px;
    font-size: 15px;
}
.cc-article-list .article-card .summary-wrap {
    /* margin-bottom: 20px; */
}

.article-card .summary-wrap img {
    width: 164px;
    height: 69px;
    border-radius: 3px;
    margin-right: 16px;
    flex-shrink: 0;
    
}

.article-card .summary-wrap .img-wrap.uc {
    width: 164px;
    height: 69px;
    border-radius: 3px;
    margin-right: 16px;
    flex-shrink: 0;
    
}
.article-card .summary-wrap .img-wrap {
    width: 164px;
    height: 105px;
    border-radius: 3px;
    margin-right: 16px;
    flex-shrink: 0;

    background-size: cover;
    background-position: center;

    background-color: gray;
}

.course-wrap .img-wrap {
    background-size: cover;
    background-position: center;

    background-color: gray;

    border-radius: 6px;
}

.article-card .meta-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid #EBEDF0;

    padding: 0 17px;
    height: 46px;
}

.article-card .meta,
.article-info .meta
 {
    color: #7B819E;
    /* padding-top: 14px; */
    display: flex;

}

.article-card .meta img,
.article-info .meta img {
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.article-card .meta .owner img,
.article-info .meta .owner img {
    margin-right: 2px;
}
.article-card .meta .like img,
.article-info .meta .like img {
    width: 16px;
    height: 16px;
}


.article-card .meta-wrap .setting {
    font-size: 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.layui-icon-set {
    font-size: 10px;
    margin-right: 5px;
}

.article-card .meta span{
    margin-right: 24px;
    display: flex;
    align-items: center;
}

.article-card .meta span.status {
    color: #3D3D3D;
    margin-left: 18px;

}

.article-card .meta span.status .color1 {
    color: #0E3AFF

}
.article-card .meta span.status .color2 {
    color: #03BD61

}
.article-card .meta span.status .color3 {
    color: #EE1E44

}

.uc .article-card .meta span {
    /* margin-right: 32px; */
}
#profile-content-center .article-card .meta span {
    /* margin-right: 32px; */
}
#profile-content-center .article-card .meta img {
    margin-right: 5px;
}

.article-info .meta span.item-wrap {
    margin-right: 24px;
    display: flex;
    align-items: center;
}

/* 点赞交互区域 */
.article-info .meta .img-action-wrap {
    width: 15px;
    height: 15px;
    margin-right: 9px;
    display: inline-block;
    cursor: pointer;
}

.article-info .meta .img-action-wrap.like {
    background: url('/static/home/img/icon/like.svg');
    background-size: cover;
}
.article-info .meta .img-action-wrap.favorite {
    background: url('/static/home/img/icon/collect.svg');
    background-size: cover;
}
.article-info .meta .img-action-wrap.like.active {
    background: url('/static/home/img/icon/like-active.svg');
    background-size: cover;
}
.article-info .meta .img-action-wrap.favorite.active {
    background: url('/static/home/img/icon/collect-active.svg');
    background-size: cover;
}



.sidebar-rank-card {
    display: flex;
    margin-bottom: 15px;
}

.sidebar .rank {
    margin-right: 10px;
}

.sidebar-article-list .title {
    margin-bottom: 5px;
}

.sidebar-article-list .meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f6f6f6;
}

.sidebar-article-list .meta:last-child {
    border-bottom: none;
}

.sidebar-article-list .meta span {
    margin-right: 10px;
}

.article-info .title-wrap {
    padding: 19px 69px;
    background: #fff;
    margin-bottom: 9px;
}

.article-info .title {
    margin-bottom: 15px;
    font-size: 36px;
    font-weight: 600;
    word-break: break-word;
}

.article-info .meta {
    /* display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: #666; */
}

/* .article-info .meta .left span {
    margin-right: 10px;
}

.article-info .meta .right span {
    margin-left: 10px;
    cursor: pointer;
} */

.article-info .content {
    margin-bottom: 20px;

    padding: 38px 61px;
    background: #fff;
}

.article-info .tags {
    margin-bottom: 20px;
}

.article-info .source-tips {
    padding-top: 15px;
    margin-bottom: 15px;
    border-top: 1px solid #f6f6f6;
    text-align: center;
    color: #666;
}

.answer-wrap {
    padding: 31px;
    background: #fff;
}

.answer-tips {
    margin-bottom: 20px;
}

.answer-tips h3 {
    margin-bottom: 10px;
    font-weight: normal;
    font-size: inherit;
}

.answer-tips ul {
    color: #666;
}

.answer-tips li {
    line-height: 30px;
}

.answer-tips .suggest-text,
.answer-tips .layui-icon-ok-circle {
    color: green;
}

.answer-tips .not-suggest-text,
.answer-tips .layui-icon-close-fill {
    color: red;
}

.answer-tips .suggest-list {
    margin-bottom: 15px;
}

.question-card .stats {
    display: flex;
    width: 120px;
    margin-right: 15px;
}

.question-card .stats .column {
    width: 60px;
    text-align: center;
    color: #666;
}

.question-card .stats .column .count {
    line-height: 20px;
}

.question-card .stats .solved {
    color: green;
}

.answer-card {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f6f6f6;
}

.answer-card:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.answer-card .header {
    line-height: 32px;
    margin-bottom: 20px;
}

.answer-card .header span {
    margin-right: 10px;
}

.answer-card .avatar img {
    width: 32px;
    height: 32px;
    border-radius: 100%;
}

.answer-card .content {
    margin-bottom: 20px;
    overflow-wrap: break-word;
    padding-left: 38px;
}

.comment-card .content,
.comment-card .footer
 {
    padding-left: 0 !important;
}

.answer-card .comment-list {
    margin-top: 20px;
}

#comment-form {
    margin-bottom: 30px;
}

#comment-form label {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    display: block;
}

.comment-form {
    margin-top: 20px;
    margin-bottom: 20px;
}



.comment-form .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;

    height: 30px;
}

.comment-form .layui-textarea {
    min-height: 125px;
    font-size: 16px;
    line-height: 25px;
    color: #555;
}

.comment-card {
    display: flex;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f6f6f6;
}

.comment-card:last-child {
    border-bottom: none;
}

.comment-card .avatar {
    margin-right: 10px;
}

.comment-card .avatar img {
    width: 32px;
    height: 32px;
    border-radius: 100%;
}

.comment-card .info {
    width: 100%;
}

.comment-card .user {
    margin-bottom: 15px;
    color: #666;
}

.comment-card .user .separator {
    margin: 0 10px;
}

.comment-card .content,
.consult-card .answer {
    margin-bottom: 15px;
    overflow-wrap: break-word;
    color: #666;
}

.comment-card .footer,
.answer-card .footer {
    display: flex;
    justify-content: space-between;
    line-height: normal;
    color: #7B819E;
    padding-left: 38px;
    font-size: 16px;
}

.comment-card .footer .left,
.comment-card .footer .right,
.answer-card .footer .left,
.answer-card .footer .right {
    display: flex;
}

.comment-card .footer .left .column,
.answer-card .footer .left .column {
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.comment-card .footer .left .column,
#answer-list .answer-card .footer .left .column
{
    margin-right: 27px;
}

.comment-card .footer .right .column,
.answer-card .footer .right .column {
    margin-left: 10px;
}

.comment-card .footer .action:hover,
.answer-card .footer .action:hover {
    cursor: pointer;
}
.answer-card .footer .answer-like {
    background: url('/static/home/img/icon/like.svg');
    background-size: cover;
}
.answer-card .footer .answer-like.active {
    background: url('/static/home/img/icon/like-active.svg');
    background-size: cover;
}
.answer-card .footer .comment-like,
.comment-card .footer .comment-like
 {
    background: url('/static/home/img/icon/like.svg');
    background-size: cover;
}
.answer-card .footer .comment-like.active,
.comment-card .footer .comment-like.active {
    background: url('/static/home/img/icon/like-active.svg');
    background-size: cover;
}
.answer-card .footer img,
.answer-card .footer .answer-like,
.comment-card .footer img,
.comment-card .footer .comment-like
{
    width: 16px;
    height: 16px;
    margin-right: 6px;
}
.answer-card .footer .action.answer-comment,
.comment-card .footer .action.comment-reply
 {
    border-radius: 10.5px;
    opacity: 1;
    background: #E6EAF6;
    padding: 3px 8px;
}
.reply-list {
    margin-left: 42px;
}

.toolbar-sticky {
    position: fixed;
    top: 150px;
    margin-left: -85px;
}

.toolbar-sticky .item {
    margin-bottom: 15px;
    text-align: center;
}

.toolbar-sticky .item .icon {
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    background-color: #fff;
}

.toolbar-sticky .layui-icon {
    color: #999;
    cursor: pointer;
}

.toolbar-sticky .item .text {
    color: #999;
}

.toolbar-sticky .active,
.toolbar-sticky .layui-icon-star-fill {
    color: orange;
}

.course-list {
    display: flex;
    flex-flow: wrap;



}

.course-card {
    float: left;
    width: calc(33% - 35px);
    position: relative;
    background-color: #fff;
    border-radius: 7px;
    border: 1px solid #E1E1E1;

    margin-right: 35px;
    margin-bottom: 27px;

}

.course-card .summary {
    height: 45px;
    line-height: 22px;

    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.course-card .top-wrap {
    padding: 12px;
    border-bottom: 1px solid #D0D6F0;
}

.course-card .footer {
    display: flex;
    justify-content: space-between;
}

.course-card .footer a {
    color: #0070C0
}

.course-card .model,
.course-card .type {
    position: absolute;
    top: 15px;
    right: 15px;
}

.course-card .cover {
    overflow: hidden;
    width: 100%;
    height: 200px;

    position: relative;

    margin-bottom: 15px;
}

.course-card .cover img {
    width: 100%;
    height: 200px;
    transition: all 0.6s;
    object-fit: fill;
}

.course-card .cover img:hover {
    transform: scale(1.2);
}

.course-card .cover .course-info {

    background: #D3DBFF;
    line-height: 31px;

    position: absolute;
    width: 100%;
    bottom: 0;

    display: flex;
    justify-content: space-between;
    padding: 0 17px;

    box-sizing: border-box;
    font-size: 12px;
}

.course-card .cover .course-info span {
    margin-right: 5px;
}

.course-card .info {
    padding: 10px;
}

.course-card .title {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
}

.course-card .progress {
    padding: 8px 16px 16px;
    font-size: 12px;
}

.course-card .progress .layui-progress {
    margin: 7px 0 21px;
    height: 12px;
    border-radius: 30px;
    background: rgba(0, 112, 192, 0.2);
}

.course-card .progress .layui-progress .layui-progress-bar {
    height: 100%;
    border-radius: 30px;
    background: linear-gradient(90deg, #0070C0 5%, #1D6EE8 100%);
    position: relative;
}
.course-card .progress .layui-progress .layui-progress-text {
    position: absolute;
    right: -33px;
    top: -1px;

    line-height: normal;
}

.course-card .meta {
    color: #666;
    font-size: 12px;
}

.course-card .meta span {
    margin-right: 10px;
}

.course-card .meta span:last-child {
    margin-right: 0;
}

.course-card .origin-price {
    text-decoration: line-through;
}

.course-card .price {
    color: red;
}

.course-card .free {
    color: green;
}

.course-card .order {
    cursor: pointer;
}

.filter-toggle {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.filter-wrap {
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    /* height: 40px;
    line-height: 40px; */
    padding-bottom: 5px;
    text-align: center;
    margin-bottom: 144px;
}

.filter-group .title {
    /* width: 50px; */
    font-weight: 700;
}

.filter-group .content a {
    margin-right: 15px;
}

.filter-sort {
    padding: 10px 20px;
}

.filter-sort a {
    margin-right: 20px;
}

.course-meta {
    display: flex;
}

.course-meta .cover {
    position: relative;
    width: 270px;
    height: 150px;
    margin-right: 10px;
}

.course-meta .info {
    width: 580px;
    padding-top: 5px;
}

.course-meta .rating {
    padding-top: 20px;
}

.course-meta p {
    line-height: 35px;
}

.course-meta .cover img {
    width: 100%;
    height: 100%;
}

.course-meta .cover .model {
    position: absolute;
    top: 15px;
    right: 15px;
}

.course-meta .info .key {
    margin-right: 5px;
}

.course-meta .info .value {
    margin-right: 5px;
    color: #666;
}

.course-meta .info .price {
    color: red;
}

.course-meta .info .origin-price {
    text-decoration: line-through;
}

.course-meta .info .free {
    color: green;
}

.course-meta .rating span {
    margin-right: 5px;
}

.course-meta .rating .layui-icon {
    color: orange;
}

.course-meta .rating .score {
    color: #666;
}

.layui-tab-title li {
    position: relative;
}

.layui-tab-title .tab-count {
    position: absolute;
    top: -10px;
    left: 70px;
    font-size: 12px;
    color: #666;
}

.course-tab {
    margin: 0;
}

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

.course-tab .loading {
    text-align: center;
    padding: 15px;
}

.course-tab .loading .layui-icon {
    font-size: 30px;
}

.lesson-item {
    position: relative;
    padding: 0 10px;
    line-height: 35px;
}

.lesson-item a {
    display: block;
}

.lesson-item .deny {
    cursor: default;
    color: gray;
}

.lesson-item .title {
    margin: 0 5px;
}

.lesson-item .icon-trial {
    color: red;
    font-size: 24px;
    margin-right: 5px;
}

.lesson-item .duration,
.lesson-item .live {
    top: 0;
    right: 10px;
    position: absolute;
    color: #666;
}

.lesson-item .live .active {
    color: red;
}

.lesson-item .study-time {
    color: green;
}

.lesson-item:hover {
    background-color: #f2f2f2;
}

.package-item {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #f6f6f6;
}

.package-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border: none;
}

.package-info {
    width: 180px;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
}

.package-info span {
    margin-right: 5px;
}

.package-info .title {
    padding: 0 10px;
    margin-bottom: 10px;
}

.package-info .origin-price {
    color: #666;
    margin-bottom: 10px;
}

.package-info .origin-price i {
    font-style: normal;
    text-decoration: line-through;
}

.package-info .price {
    color: #666;
    margin-bottom: 10px;
}

.package-info .price i {
    color: red;
    font-style: normal;
}

.package-course-list {
    width: 580px;
    height: 180px;
    overflow-x: auto;
    white-space: nowrap;
}

.package-course-list .separator {
    color: #666;
    display: inline-block;
    padding-top: 35px;
    margin-left: -5px;
    margin-right: 4px;
}

.package-course-card {
    width: 175px;
    height: 160px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: top;
    box-shadow: 0 4px 8px 0 rgba(7, 17, 27, 0.1);
}

.package-course-card .cover {
    width: 175px;
    height: 95px;
    margin-bottom: 10px;
}

.package-course-card .cover img {
    width: 100%;
    height: 100%;
}

.package-course-card .title {
    font-size: 12px;
    padding: 0 5px;
    text-align: center;
    white-space: normal;
}

.review-card,
.consult-card,
.answer-card {
    position: relative;
}

.review-card .rating,
.consult-card .more,
.answer-card .accepted {
    position: absolute;
    top: 0;
    right: 0;
    margin-bottom: 10px;
}

.consult-card .question {
    margin-bottom: 10px;
    color: #333;
}

.consult-card .question,
.consult-card .answer {
    line-height: 1.5em;
    max-height: 6em;
    overflow: hidden;
}

.review-card .rating .layui-icon {
    color: orange;
    font-size: 12px;
}

.review-card .more {
    color: #666;
    cursor: pointer;
}

.sidebar-card .layui-card-header {
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #3D3D3D;
}

.sidebar-user-card {
    display: flex;
    margin-bottom: 40px;
    border-bottom: 1px solid #f6f6f6;
}


.sidebar-user-card .avatar {
    width: 48px;
    height: 48px;
}

.sidebar-user-card .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.sidebar-user-card .info {
    line-height: 24px;
}

.sidebar-user-card .info .title {
    color: #666;
    font-size: 12px;
}

.topic-badge,
.tag-badge {
    padding: 2px 5px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.sidebar-course-card {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f6f6f6;
}

.sidebar-course-card:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-course-card .cover {
    width: 90px;
    height: 50px;
    margin-right: 10px;
}

.sidebar-course-card .cover img {
    width: 100%;
    height: 100%;
}

.sidebar-course-card .info {
    width: 200px;
    color: #666;
    font-size: 12px;
    overflow: hidden;
}

.sidebar-course-card .title {
    white-space: nowrap;
}

.sidebar-course-card .meta span {
    margin-right: 10px;
}

.sidebar-chapter-list {
    height: 405px;
    overflow-y: auto;
}

.sidebar-chapter-list .chapter-title {
    padding: 5px 5px 5px 15px;
    margin: 20px 0 10px;

    font-size: 16px;
    font-weight: 600;
    color: #3D3D3D;

    background: #F6F6F6;
    border-radius: 3px;
}

.sidebar-lesson-list {
    margin-left: 10px;
}

.sidebar-lesson-list .lesson-title {
    line-height: 30px;
}

.lesson-title .active {
    color: red;
}

.lesson-title .deny {
    color: gray;
}

.share .layui-icon {
    margin-right: 5px;
    cursor: pointer;
}

.share .active,
.share .layui-icon-star-fill {
    color: orange;
}

.share a {
    margin-right: 5px;
}

.share i {
    margin-right: 5px;
}

.share em {
    font-style: normal;
    color: #666;
}

.preview {
    color: #666;
    margin-top: 30px;
    text-align: center;
}

.preview .icon {
    margin-bottom: 10px;
}

.preview .icon .layui-icon {
    font-size: 150px;
}

.preview .tips {
    font-size: 16px;
    margin: 20px 0;
}

.countdown .timer {
    font-size: 32px;
}

.countdown .timer span {
    color: green;
    font-size: 36px;
    padding: 10px;
}

.player-wrap {
    height: 82%;
    aspect-ratio: 16/9;
    margin: 0;
    padding: 0;
    background: black;
    position: relative;


}

.dplayer {
    width: 100%;
    height: 100%;
}


.play-mask {
    top: 50%;
    left: 50%;
    z-index: 8;
    position: absolute;
    margin-top: -32px;
    margin-left: -32px;
}

.play-mask .layui-icon-play {
    color: white;
    cursor: pointer;
    font-size: 64px;
}

.play-mask .layui-icon-play:hover {
    color: #00a4ff;
}

.chat-wrap .layui-card-header {
    text-align: center;
}

.chat-wrap .layui-card-body {
    padding-bottom: 20px;
}

.chat-msg-list {
    height: 354px;
    margin-bottom: 10px;
    overflow-y: auto;
}

.chat-msg-list .chat,
.chat-msg-list .chat-sys {
    margin-bottom: 10px;
    line-height: 25px;
    word-break: break-all;
}

.chat-sys {
    color: #999;
}

.chat-sys span,
.chat span {
    margin-right: 5px;
}

.chat .user {
    color: orange;
}

.chat .icon-vip {
    color: orange;
}

.chat .content {
    color: #666;
}

.chat-msg-form .layui-input {
    height: 32px;
    line-height: 32px;
    font-size: 12px;
    color: #666;
}

.vip-header {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px;
}

.vip-reason-list {
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.vip-reason-list .reason-badge {
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    margin-right: 15px;
    background-color: #1E9FFF;
}

.vip-option-list {
    margin-bottom: 30px;
}

.vip-option-card {
    float: left;
    width: 100%;
    height: 170px;
    background-color: #fff;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.vip-option-card .title {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 18px;
}

.vip-option-card .price {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: red;
}

.cart-item-card {
    display: flex;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ccc;
}

.cart-item-card:last-child {
    padding: 0;
    margin: 0;
    border-bottom: none;
}

.cart-item-card .cover {
    margin-right: 10px;
}

.cart-item-card .cover img {
    width: 175px;
    height: 95px;
}

.cart-item-card p {
    line-height: 30px;
}

.cart-item-card .key {
    margin-right: 5px;
}

.cart-item-card .value {
    margin-right: 5px;
    color: #666;
}

.cart-item-card .origin-price {
    text-decoration: line-through;
}

.cart-item-card .price {
    margin-right: 5px;
    color: red;
}

.cart-stats {
    display: flex;
    justify-content: space-between;
}

.cart-stats .info {
    line-height: 38px;
}

.cart-stats .amount {
    color: red;
}

.cart-stats .pay-amount {
    font-size: 18px;
    font-weight: 700;
}

.cart-stats span {
    color: #666;
    margin-right: 15px;
}

.payment .header {
    padding-bottom: 15px;
    border-bottom: 1px solid #f6f6f6;
    line-height: 30px;
    text-align: center;
}

.payment .header span {
    color: #666;
    margin-right: 20px;
}

.payment .header .amount {
    color: red;
    font-size: 18px;
    font-weight: 700;
}

.payment .channel {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center;
}

.channel .btn-pay {
    width: 200px;
    height: 80px;
    display: inline-block;
    line-height: 80px;
    margin-right: 15px;
    background-color: #f2f2f2;
}

.payment .footer {
    text-align: center;
}

.payment .footer .tips {
    color: #999;
    font-size: 12px;
}

#pay-layer {
    padding-top: 50px;
}

#pay-layer .qrcode {
    text-align: center;
}

#pay-layer .qrcode img {
    border: 3px dashed #666;
    width: 160px;
    height: 160px;
}

#pay-layer .success-tips {
    color: green;
    text-align: center;
}

.account-wrap {
    padding-top: 40px;
    padding-bottom: 30px;
}

.account-form .label {
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 5px;
    color: #000;

}

.account-form .layui-form-item {
    position: relative;
    margin-bottom: 30px;
}

.account-form .layui-form-item label {
    position: absolute;
    left: 1px;
    top: 1px;
    width: 38px;
    line-height: 36px;
    text-align: center;
    color: #d2d2d2;
}

.account-form .layui-form-item input {
    padding-left: 36px;
}

.account-form .layui-input-block {
    margin-left: 0;
}

.account-form .verify-input-inline {
    width: calc(100% - 120px);
    margin-right: 10px;
}

.account-form .verify-btn-inline {
    width: 110px;
    margin-right: 0;
}

.account-form .agree {
    display: flex;
}

.account-form .agree .right {
    padding-top: 8px;
    color: #999;
}

.verify-btn-inline button {
    min-width: 100px;
    width: 100%;
}

.login-tab {
    margin: 0;
}

.login-tab .layui-tab-title {
    /* text-align: center; */
}

.login-tab .layui-tab-content {
    padding-top: 40px;
}

.login-wrap {
    position: absolute;
    right: 93px;
    top: 50%;
    transform: translateY(-50%);

    width: 659px;
    /* height: 81%;
    aspect-ratio: 0.8; */
    padding: 91px 113px;

    border: 1px solid #DCDFE6;
    box-sizing: border-box;

    font-size: 16px !important;
}

.login-wrap .title {
    font-size: 28px;
    font-weight: 500;
    line-height: 39px;
}

.login-wrap .sub-title {
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    margin-bottom: 53px;
}

.login-wrap .link {
    margin-bottom: 20px;
    font-size: 12px;
    text-align: center;
}

.login-wrap .link a {
    color: #999;
}

.login-wrap .link .separator {
    margin: 0 15px;
    color: #999;
}

.login-wrap .oauth {
    text-align: center;
}

.login-wrap .oauth a {
    margin: 0 10px;
}

.login-wrap .layui-tab .layui-tab-title li {
    font-size: 16px;
}

.login-qq {
    color: dodgerblue;
}

.login-wechat {
    color: green;
}

.login-weibo {
    color: red;
}

.register-close-tips {
    padding: 50px;
    text-align: center;
    color: #999;
}

.wechat-scan-box {
    padding: 20px;
    text-align: center;
}

.wechat-scan-box .qrcode {
    margin-bottom: 20px;
}

.wechat-scan-box .qrcode img {
    border: 3px solid #999;
    padding: 3px;
}

.wechat-scan-box .tips {
    color: #666;
}

.user-profile {
    display: flex;
    /* align-items: center; */
    margin-bottom: 69px;

    font-size: 14px;

}

.user-profile .avatar {
    width: 115px;
    height: 115px;
    margin-right: 17px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.user-profile .avatar img {
    width: 100%;
    height: 100%;
}

.user-profile .avatar a.edit-btn {
    border-radius: 3px;
    opacity: 1;
    background: #FFFFFF;
    box-sizing: border-box;
    border: 1px solid #D1D1D1;

    font-size: 12px;
    color: #8D8D8D;
    text-align: center;
    margin-top: 7px;
    cursor: pointer;

    display: block;
    padding: 3px 14px;

}

.user-profile .info {
    flex: 1;
}

.user-profile .info .name {
    font-size: 32px;
    font-weight: bold;
}

.user-profile .info h3 {
    padding-top: 5px;
    margin-bottom: 10px;
}

.user-profile .info p {
    margin-bottom: 7px;
    /* color: #666; */
}

.user-profile .info span {
    /* color: #999; */
    margin-right: 5px;
}

.user-profile .about-wrap {
    display: flex;
}

.user-profile .about {
    /* width: 400px;
    height: 70px;
    padding: 10px;
    color: #999;
    font-size: 12px;
    background-color: #f2f2f2; */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* 设置显示的行数 */
    overflow: hidden;
    height: 40px;
    width: 50%;

    margin-left: 5px;
}

.user-tab {
    margin: 0;
}

.user-tab .layui-tab-title {
    margin-bottom: 10px;
    text-align: center;
    border-bottom: none;
}

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

.user-tab .loading {
    text-align: center;
    padding: 15px;
}

.user-tab .loading .layui-icon {
    font-size: 30px;
}

.user-tab .course-card .info {
    padding: 10px 8px;
}

.user-tab .article-card {
    height: 110px;
    overflow: hidden;
}

.user-tab .article-card .title {
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 10px;
}

.user-tab .article-card .summary {
    max-height: 3em;
}

.user-card {
    float: left;
    width: 100%;
    height: 240px;
    position: relative;
    text-align: center;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.user-card .avatar {
    margin-top: 20px;
    margin-bottom: 15px;
}

.user-card .avatar img {
    width: 96px;
    height: 96px;
    border-radius: 100px;
    transition: 0.5s;
}

.user-card .avatar img:hover {
    transform: rotateY(180deg);
}

.user-card .name {
    padding: 0 10px;
    margin-bottom: 10px;
}

.user-card .title {
    color: #666;
}

.user-card .meta {
    color: #666;
}

.user-card .meta span {
    margin-right: 5px;
}

.user-card .type {
    position: absolute;
    top: 18px;
    right: 28px;
}

.user-list {
    margin-bottom: 20px;
}

.teacher-list .user-card {
    height: 200px;
}

.vip-user-list .user-card {
    height: 200px;
}

.tag-card {
    float: left;
    width: 100%;
    height: 160px;
    padding: 25px 0;
    text-align: center;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.tag-card .icon {
    margin-bottom: 20px;
}

.tag-card .icon img {
    width: 64px;
    height: 64px;
    border-radius: 64px;
    transition: 0.5s;
}

.tag-card .name {
    margin-bottom: 20px;
}

.tag-card .stats {
    color: #666;
}

.my-sidebar {
    width: 240px;
}

.my-content {
    width: 900px;
}

.my-avatar {
    width: 96px;
    height: 96px;
    border-radius: 100px;
}

.my-profile-card {
    margin-bottom: 15px;
    text-align: center;
}

.my-profile-card .avatar {
    margin-bottom: 10px;
}

.my-menu li {
    line-height: 30px;
    padding-left: 30px;
}

.my-nav {
    position: relative;
    line-height: 30px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    /* border-bottom: 1px solid #e6e6e6; */
}

.my-nav .title {
    margin-right: 20px;
    font-size: 16px;
}

.my-nav .sub-nav {
    margin-right: 0;
    position: absolute;
    top: 0;
    right: 0;
}

.my-nav a {
    margin-right: 20px;
}

.sub-nav a {
    margin-right: 0;
}

.my-content .section {
    margin-bottom: 20px;
}

.profile-form {
    width: 95%;
}

.wrap .layui-table {
    margin: 0;
}

.layui-table p {
    line-height: 2em;
}

.layui-table .center {
    text-align: center;
}

.review-table .title {
    width: 400px;
}

.review-table .content,
.consult-table .content {
    width: 400px;
    color: #666;
}

.review-form .layui-rate {
    padding-top: 6px;
}

.consult-form .layui-form-label {
    width: 50px;
    padding: 9px 0;
}

.consult-form .layui-input-block {
    margin-left: 70px;
}

.consult-form .layui-form-mid {
    float: none;
    margin-left: 70px;
}

.consult-info .item {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.5em;
}

.consult-info .item .label {
    width: 50px;
    text-align: right;
}

.consult-info .item .title {
    width: 600px;
}

.consult-info .item .content {
    width: 600px;
    color: #666;
    word-wrap: break-word;
}

.security-form {
    width: 600px;
}

.security-form .verify-input-inline {
    width: 360px;
}

.security-form .verify-btn-inline {
    width: 120px;
    margin-right: 0;
}

.security-item-list {
    margin-top: -20px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ccc;
    line-height: 80px;
}

.security-item:last-child {
    border-bottom: none;
}

.security-item .icon {
    margin-right: 15px;
}

.security-item .title {
    margin-right: 15px;
}

.security-item .summary {
    color: #666;
}

.connect-list {
    margin-bottom: 20px;
}

.open-avatar img {
    width: 16px;
    height: 16px;
    border-radius: 100%;
}

.connect-tips {
    color: #666;
    margin-bottom: 20px;
}

.oauth-list {
    margin-bottom: 20px;
}

.oauth-list a {
    margin: 0 10px;
}

.my-subscribe {
    margin-bottom: 15px;
}

.my-subscribe .qrcode {
    border: 3px dashed #666;
    margin: 30px auto;
    width: 160px;
    height: 160px;
}

.my-subscribe .tips {
    text-align: center;
}

.my-subscribe .success {
    color: green;
}

.order-filter {
    padding: 15px 20px;
}

.order-filter a {
    margin-right: 20px;
}

.order-table {
    margin: 0;
}

.order-table span {
    margin-right: 10px;
}

.order-table em {
    font-style: normal;
}

.order-table .price {
    color: red;
}

.order-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
}

.order-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.order-item .price {
    color: red;
    font-style: normal;
}

.order-card {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #e6e6e6;
    color: #666;
}

.order-card .header {
    margin-bottom: 10px;
}

.order-card .header span {
    margin-right: 10px;
}

.order-card .column {
    float: left;
    line-height: 30px;
}

.order-card .subject {
    width: 50%;
    color: #666;
}

.order-card .price {
    width: 20%;
    color: red;
}

.order-card .status {
    width: 20%;
    color: #666;
}

.order-card .action {
    width: 10%;
}

.notice-card .content {
    white-space: nowrap;
}

.notice-card .content p {
    margin-bottom: 10px;
}

.notice-card .content p:last-child {
    margin-bottom: 0;
}


.gift-meta {
    display: flex;
}

.gift-meta .cover {
    position: relative;
    width: 270px;
    height: 150px;
    margin-right: 10px;
}

.gift-meta .cover .type {
    position: absolute;
    top: 15px;
    right: 15px;
}

.gift-meta .cover img {
    width: 100%;
    height: 100%;
}

.gift-meta .info {
    padding-top: 5px;
}

.gift-meta .info p {
    line-height: 35px;
}

.gift-meta .info span {
    margin-right: 5px;
}

.gift-meta .info .value {
    color: #666;
}

.gift-meta .info .price {
    color: red;
}

.gift-details {
    min-height: 450px;
}


/* 登录验证 弹窗 */
#access_password_layer {
    overflow: hidden;
    border-radius: 9px;
    display: block;
    width: auto;
}

#access_password_layer input {
    border-radius: 6px;
}

.layui-layer.layui-layer-dialog,
.layui-layer.layui-layer-msg
 {
    border-radius: 9px;
    width: auto;
}
.layui-layer-dialog .layui-layer-content {
    text-align: center;
}

.layui-layer.layui-layer-dialog .layui-layer-btn {
    transform: translateY(-10px);
    text-align: center;
}

.layui-layer-btn a,
.layui-btn-sm
{
    height: auto;
}

/* 包裹容器提取 */
.course-wrap {

    width: 1400px;
    height: 100%;
    color: #3D3D3D;
    padding: 0 15px;

    margin: 100px auto 180px;

}

/* 省略号 */
.ellisp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellisp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* 可以设置为所需的行数 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellisp-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    /* 可以设置为所需的行数 */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 26px;
}