﻿/* 离线作业 */
img.offline-paper {
    display: inline-block;
    width: 18px;
    height: 18px;
    transform: translateY(2px);
    cursor: pointer;
    left: -22px;
    position: absolute;
}

.report {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 19991017;
}

.shadow {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.1;
    z-index: 19991017;
}

.reportCss {
    position: relative;
    height: 530px;
    display: flex;
    flex-direction: column-reverse;
    display: none;
    z-index: 19991018;
}

.background {
    z-index: 19991018;
}

.background1 {
    position: absolute;
    top: 36.8%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 19991025;
}

.tx2 {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 19991019;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.tx {
    position: absolute;
    top: -23.2%;
    left: -13%;
    z-index: 0;
    -webkit-animation: spin 7s linear 1s 5 alternate;
    animation: spin 7s linear infinite;
}

.closeBtn {
    position: absolute;
    right: 10px;
    top: 48%;
    cursor: pointer;
    z-index: 19991019;
}

.score {
    position: absolute;
    right: 33%;
    top: 50%;
    color: #eb2f06;
    color: #eb2f06;
    font-size: 48px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    z-index: 19991019;
}

.score1 {
    right: 27%;
}

.score span {
    font-size: 100px;
}

.AItask {
    width: 1121px;
    margin: 0 auto;
}

.thead {
    font-size: 17px;
}

.tbodyBox {
    font-size: 16px;
}

.thead,
.tbody {
    width: 100%;
    height: 40px;
    color: #ffffff;
    background: var(--color-base-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.thead span,
.tbody span {
    box-sizing: border-box;
}

.tbodyBox {
    background: #fff;
}

.tbodyBox li:nth-child(2n + 1) .tbody {
    background: #ffffff;
}

.tbodyBox li .tbody {
    background: #f4f4f4;
}

.tbody {
    color: #676464;
    cursor: pointer;
}

.tBox {
    text-align: center;
}

.box {
    width: 921px;
    margin: 15px auto 25px auto;
}

.t0 {
    width: 18px;
}

.t1 {
    width: 60px;
}

.tbody .t1 {
    font-size: 16px;
    font-style: normal;
    color: #fbb040;
    font-weight: bold;
}

.t2 {
    width: 200px;
    text-align: left;
    padding-left: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.t3 {
    width: 150px;
}

.t4 {
    width: 150px;
}

.t5 {
    width: 180px;
}

.t6 {
    width: 150px;
    display: flex;
    justify-content: space-around;
}

.t6 span {
    color: var(--color-base-secondary);
}

.t7 {
    width: 100px;
}

.box > div:nth-child(2n) {
    background: #ffffff;
}

.box > div:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.AIbsBox {
    height: 30px;
    margin: 35px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bsBtn {
    width: 95px;
    height: 29px;
    background: #62abe5;
    display: inline-block;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: #ffffff;
    text-decoration: none;
}

.AIbsBox,
.box {
    display: none;
}

.thead,
.aitask_tr .tbody {
    padding: 0 10px;
    box-sizing: border-box;
}

.aitask_tr:hover .tbody {
    background: #d8eaf8 !important;
}

/* ---------------------------------- 任务表格 ---------------------------------- */
.task-user-action {
    display: flex;
    justify-content: center;
}

.task-user-action .action-btn {
    width: max-content;
    padding: 2px 16px;
    background-color: transparent;
    cursor: pointer;
    color: var(--color-base-secondary);
    font-size: 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.task-user-action .action-btn:hover {
    background-color: #e9e9e9;
}

.task-table-top {
    display: flex;
    align-items: center;
}

.task-table-top .task-table-top-name {
    width: 200px;
    font-weight: bold;
    font-size: 15px;
}

.task-table-top .task-table-top-backup {
    flex-shrink: 0;
    text-align: right;
    color: var(--color-secondary-secondary);
    line-height: 25px;
    cursor: pointer;
}

.task-table-top .task-table-top-info {
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 30px;
}

.task-table-top .task-table-top-info .info-item {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 14px;
}

.task-table-top .task-table-top-info .info-item img {
    display: block;
    width: 18px;
    height: 18px;
}

.task-table-top .task-table-top-calss-info {
    margin-right: 25px;
    flex-shrink: 0;
    padding: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
    color: var(--color-secondary-secondary);
    font-size: 16px;
    cursor: pointer;
    background-color: transparent;
    border-radius: 4px;
    transition: all 0.3s;
}

.task-table-top .task-table-top-calss-info:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.task-table-top .task-table-top-calss-info img {
    display: block;
    width: 18px;
    height: 18px;
}

.no-student-done-info {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    font-size: 18px;
    color: grey;
}

/* ? start: 知识点模板作业 */
.fix-title {
    font-weight: bold;
    font-size: 18px;
    color: #333333;
    margin-top: 10px;
    margin-left: 25px;
}

.fix-title img {
    margin-right: 6px;
    display: inline-block;
    width: 18px;
    transform: translateY(-2px);
}

.know-model-tips {
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.know-model-tips li {
    width: 135px;
    height: 30px;
    background: #f7f7f7;
    border: 1px solid #cfcfcf;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px transparent, 0 0 6px transparent;
    transition: all 0.3s;
}

.know-model-tips li:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
}

.know-model-tips li.on {
    background: #fff;
    color: #ff5757;
}

.know-model-table {
    width: 100%;
}

.know-model-table thead {
    height: 40px;
    background-color: #62abe5;
    color: #fff;
    font-size: 17px;
}

.know-model-table thead th {
    font-weight: 400;
}

.know-model-table tbody tr {
    text-align: center;
    background-color: #fff;
    transition: all 0.2s;
}

.know-model-table tbody tr.normal-row {
    height: 40px;
}

.know-model-table tbody tr.expand-row {
    border-bottom: 1px solid #e5e5e5;
}

.know-model-table tbody tr:nth-of-type(even) {
    background-color: #f4f4f4;
}

.know-model-table tbody tr:hover {
    background-color: #d8eaf8;
}

.pagination-box {
    margin-top: 20px;
}

.know-model-fold-icon {
    margin: 0 12px;
    width: 18px;
    display: inline-block;
    transition: all 0.3s;
}

td.sj {
    position: relative;
}

.table-title_time {
    width: 150px;
    background-color: #62abe5;
    cursor: pointer;
    user-select: none;
}
.table-title_time img {
    margin-left: 6px;
    transform: translateY(-2px);
}

.sj .submition-time {
    display: none;
}

.know-model-table .completion.origin {
    --main-color: #42acff;
}
.know-model-table .completion.update {
    --main-color: #ec7050;
}
.know-model-table .completion {
    width: fit-content;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: var(--main-color);
}
.know-model-table .completion * {
    display: inline-block;
}
.know-model-table .completion .completion-bar {
    width: 60px;
    height: 6px;
    display: flex;
    border-radius: 6px;
    text-align: left;
    background-color: #dee0e2;
    overflow: hidden;
}
.know-model-table .completion .completion-bar::before {
    content: '';
    width: calc(var(--value-w, 0) + 5px);
    display: inline-block;
    background-color: var(--main-color);
    border-radius: 6px;
    transform: translateX(-5px);
}
.know-model-table .completion div:nth-of-type(2) {
    width: 38px;
    text-align: left;
}

.normal-row .a1 {
    margin-right: 7px;
    color: #15b595;
}
.normal-row .a1 i {
    background: url(/Images/sprites.png) -229px -203px no-repeat;
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-right: 6px;
    vertical-align: -4px;
}

.normal-row .active-btn {
    width: 84px;
    height: 25px;
    border-radius: 3px;
    border: 1px solid #ccc;
    position: relative;
    box-sizing: border-box;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
}

.normal-row .active-btn div:nth-of-type(1) {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.normal-row .active-btn div:nth-of-type(1) i {
    display: inline-block;
    width: 17px;
    height: 15px;
    background: url(/Images/sprites.png) -3px -128px;
}
.normal-row .active-btn .active-list {
    box-sizing: border-box;
    position: absolute;
    z-index: -1;
    margin: 0;
    width: 68px;
    height: 50px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    opacity: 0;
    transition: all 0.16s ease-out, z-index 0s ease-out;
}
.normal-row .active-btn .active-list.on {
    z-index: 1;
    opacity: 1;
    width: 84px;
    height: 62px;
}
.normal-row .active-btn .active-list li {
    width: calc(100% - 8px);
    height: 24px;
    line-height: 24px;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.2s;
}
.normal-row .active-btn .active-list li:hover {
    background-color: #ddd;
}
.normal-row .active-btn .active-list li[value='edit'] {
    --icon-left: -43px;
    --icon-top: -128px;
}
.normal-row .active-btn .active-list li[value='delete'] {
    --icon-left: -121px;
    --icon-top: -128px;
}
.normal-row .active-btn .active-list li i {
    display: inline-block;
    width: 17px;
    height: 15px;
    background: url(/Images/sprites.png) var(--icon-left) var(--icon-top);
    transform: translateY(2px);
}

.normal-row .num {
    font-size: 16px;
    font-style: normal;
    color: #fbb040;
    font-weight: bold;
}
/* ? end: 知识点模板作业 */

.title-box {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.ocr-title {
    position: absolute;
    right: 186px;
    top: 92px;
    width: 100px;
    height: 40px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    background: var(--color-base-secondary);
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ocr-title:hover {
    background-color: hsl(from var(--color-base-secondary) h s calc(l * 1.1));
}

.ocr-title:active {
    background-color: hsl(from var(--color-base-secondary) h s calc(l * 0.9));
}
