html {
    height: 100%;
}

.main {
    display: flex;
    flex-direction: column;
    background-color: #f2f2f2;
    height: 100%;
}

.layer {
    padding: 20px;
}

.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-input-wrap .layui-icon {
    color: #d2d2d2;
}

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

.qrcode img {
    width: 160px;
    height: 160px;
    padding: 5px;
    border: 3px solid #999;
}

.img-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.img-viewer img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 90%;
    max-height: 90%;
    background-color: white;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-in-out;
    padding: 5px;
    cursor: zoom-out;
}

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

.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);
}

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

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

.sso-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sso-loading .layui-icon {
    font-size: 80px;
}

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

.pager a {
    margin-right: 15px;
}

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

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

.layout-content {
    width: 800px;
}

.layout-sidebar {
    width: 340px;
}

.label-110 .layui-form-label {
    width: 110px;
}

.label-110 .layui-input-block {
    margin-left: 140px;
}

#header {
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    position: fixed;
    background-color: #393D49;
}

#main {
    flex: 1;
    margin-top: 80px;
    margin-bottom: 20px;
}

#footer {
    width: 100%;
    padding: 30px 0;
    background: #474443;
    text-align: center;
    font-size: 12px;
}

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

.logo img {
    max-width: 185px;
    max-height: 60px;
}

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

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

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

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

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

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

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

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

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

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

.layout-sidebar .sidebar {
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    height: 40px;
    line-height: 40px;
    padding-bottom: 5px;
}

.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;
}

.user-card {
    float: left;
    width: 100%;
    height: 200px;
    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 .name {
    padding: 0 10px;
    margin-bottom: 10px;
}

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

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

.article-info .content {
    padding-top: 10px;
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    align-items: center;
}

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

.course-meta .info {
    width: 600px;
    height: 150px;
    margin-right: 30px;
}

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

.course-meta .info .title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.course-meta .info .summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #999;
}

.course-meta .info .item {
    line-height: 37px;
}

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

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

.course-meta .progress {
    width: 100px;
    height: 100px;
}

.lesson-list .allow {
    cursor: pointer;
}

.lesson-list .deny {
    cursor: default;
}

.lesson-item {
    display: flex;
    justify-content: space-between;
    line-height: 35px;
    padding: 0 10px;
}

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

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

.lesson-item .model {
    margin-right: 5px;
}

.lesson-item .study-time {
    margin-right: 5px;
    color: green;
}

.lesson-item .flag {
    padding: 2px 3px;
    margin-right: 5px;
    font-size: 12px;
}

.lesson-item .flag-playback {
    border: 1px solid orange;
    color: orange;
}

.lesson-item .flag-scheduled {
    border: 1px solid green;
    color: green;
}

.lesson-item .flag-active {
    border: 1px solid red;
    color: red;
}

.lesson-item .flag-inactive {
    border: 1px solid gray;
    color: gray;
}

.lesson-item .flag-ended {
    border: 1px solid gray;
    color: gray;
}

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

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

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

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

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

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

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

.sidebar-lesson-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sidebar-lesson-list .active {
    background-color: black;
    color: white;
}

.sidebar-lesson-list .allow {
    cursor: pointer;
}

.sidebar-lesson-list .deny {
    cursor: default;
    color: #f6f6f6;
}

.sidebar-chapter {
    margin-top: 20px;
    margin-bottom: 20px;
    color: #333;
}

.sidebar-lesson {
    width: 20px;
    height: 20px;
    padding: 10px;
    line-height: 20px;
    text-align: center;
    border: 1px solid #f6f6f6;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .05);
}

.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;
}

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

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

.live-preview .tips {
    color: #999;
    margin: 20px 0;
}

.countdown .timer .label {
    font-size: 24px;
}

.countdown .timer .value {
    color: green;
    font-size: 28px;
    padding: 10px;
}

.player-wrap {
    width: 760px;
    height: 428px;
    margin-bottom: 20px;
    background: black;
    position: relative;
}

.dplayer,
.tcplayer {
    width: 760px;
    height: 428px;
}

.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-closed-tips {
    padding-top: 5px;
    border-top: 1px solid #f6f6f6;
    text-align: center;
    color: #ccc;
}

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

.chat {
    margin-bottom: 10px;
    line-height: 1.5em;
    word-break: break-all;
    font-size: 12px;
    color: #999;
}

.chat-sys {
    padding: 5px;
    background-color: black;
    color: white;
}

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

.chat .icon .layui-icon {
    font-size: 14px;
}

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

.live-user-list {
    display: flex;
    flex-wrap: wrap;
    padding-top: 10px;
    margin-bottom: 20px;
}

.live-user-card {
    width: 130px;
    margin-right: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.live-user-card:last-child {
    margin-bottom: 0;
}

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

.live-user-card .avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

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

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

.account-form {
    width: 400px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 30px;
}

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

.account-form .verify-input-inline {
    width: 280px;
    margin-right: 10px;
}

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

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

.login-scan-box {
    padding: 30px;
}

.login-scan-box .qrcode {
    display: flex;
    justify-content: center;
}

.login-scan-box .feishu-qrcode {
    margin: 30px;
}

.login-scan-box .header-tips {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.login-scan-box .footer-tips {
    color: #666;
    text-align: center;
}

.my-sidebar {
    width: 240px;
}

.my-content {
    width: 900px;
}

.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;
}

.my-nav a:last-child,
.sub-nav a:last-child {
    margin-right: 0;
}

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

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

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

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

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