@first-bgColor: #141414;
@second-bgColor: #1b1b1b;
@third-bgColor: #222222;
@borderColor: #424242;
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@primary-fontSize: 14px;
@second-fontSize: 15px;

.class-record-container {
    width: 100%;
    height: 100%;
}

.class-record-header {
    width: 100%;

    .course-name {
        background: #1CC0F3;
        padding: 4px 13px;
        margin-right: 10px;
        color: white;
        border-radius: 18px;
        font-size: 16px;
        font-weight: bold;
    }

    .record-name {
        color: white;
        font-size: 18px;
        font-weight: bold;
        vertical-align: top;
    }

    .label-text {
        color: white;
    }

    .label-value {
        color: #1CC0F3;
        font-weight: bold;
        margin-right: 30px;
    }
}

.class-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 450px;
    background: #000;
    margin-top: 15px;

    &:hover .page-wrap {
        opacity: 1;
    }

    &:hover .cur-page-tag {
        opacity: 0;
    }
}
.mouse-over-status{


}
.video-player-box {
    width: 50%;
    justify-content: center;
    height: 450px;
    display: flex;
}
.courseware-wrap {
    width: 50%;
    position: relative;
    height: 450px;

    .full-screen-icon {
        float: right;
        margin-right: 20px;
        margin-top: -20px;
        cursor: pointer;
    }

    .cur-page-tag {
        position: absolute;
        left: 20px;
        bottom: 5px;
        width: 30px;
        height: 30px;
        font-size: 18px;
        line-height: 30px;
        display: block;
        background: rgba(255,153,0,0.9);
        border-radius: 50%;
        text-align: center;
        opacity: 1;
        transition: opacity 0.2s;
        color: white;
        box-shadow: 0px 0px 5px rgb(255, 153, 0);
    }
}
.page-wrap {
    left: 0px;
    bottom: 0px;
    position: absolute;
    padding: 6px;
    color: white;
    width: 100%;
    height: 36px;
    background: rgba(43, 51, 63, 0.7);
    text-align: center;
    opacity: 0;
    transition: opacity 1.2s;
    border-right: 2px solid black;
}

.content-title {
    border-left: 10px solid #1CC0F3;
    color: white;
    padding-left: 14px;
    line-height: 20px;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.page-content {
    width: 10%;
    height: 500px;
    border: 1px solid @borderColor;
    background: #515558;
    height: 450px;
}

.page-filter-icon {
    position: absolute;
    color: white;
    left: -28px;
    top: 5px;
    cursor:pointer;
    font-size:18px;
}
.page-info-item {
    color: white;
    border-bottom: 1px solid @borderColor;
    padding: 5px;
    cursor: pointer;
    transition: background 0.2s;

    &:hover {
        background: white;
        color: #1CC0F3;
    }

    .page-time {
        float: right;
    }
}

.interaction-record-wrap {
    width: 100%;
    box-shadow: 5px 5px 500px #404040 inset;
    border-radius: 4px;
    border: 1px solid #404040;
    margin-bottom: 10px;
    position: relative;
    /*padding: 40px 80px 20px 50px;*/
    min-height: 300px;
    height:750px;
    /*overflow-y:auto;*/
}

.class-file-wrap {
    width: 100%;
    box-shadow: 5px 5px 500px #404040 inset;
    border-radius: 4px;
    border: 1px solid #404040;
    margin-bottom: 10px;
    padding: 20px 30px 20px 30px;
    color: white;
    justify-content: space-between;
    display: flex;
    align-items: center;

    li {
        margin: 5px 0px;
    }
}

.upload-class-file-wrap {
    text-align: center;
    color: #a5a5a5;
    margin-right: 30px;
    cursor: pointer;

    &:hover {
        color: #1cc0f3;
    }

    .upload-class-file-icon {
        margin: auto;
        font-size: 60px;
    }

    .upload-class-file-text {
        display: block;
        margin-top: 5px;
    }
}


.interaction-type-wrap {
    position: absolute;
    padding: 10px 0px;
    width:50px;
    right: 10px;
    top: 0px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    z-index:999;
    .type-icon {
        font-size: 30px;
        color: white;
        display: block;
        cursor: pointer;
        margin-bottom: 15px;

        &:hover {
            color: #1CC0F3;
        }
    }

    .type-icon-active {
        color: #1cc0f3 !important;
    }
}

.page-item {
    margin-bottom: 50px;
    display: flex;
    position: relative;

    .record-data-wrap {
        width: 100%;
    }

    .record-data-item {
        /*display:flex;*/
    }

    .record-split{
    }
}

.page-tag {
    background-color: white;
    white-space: initial;
    display: block;
    font-size: 14px;
    width: 110px;
    color: #454545;
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
    height: fit-content;
    transition: background 0.3s;
    margin-right: 10px;

    &:hover {
        background: #1CC0F3;
        color: white;
    }
}
.page-mini-img{
    width:110px;
    margin-top:10px;
    border-radius:4px;
    cursor:pointer;
}

.question-record-item {
    display: flex;

    .question-icon {
        font-size: 24px;
        border-radius: 50%;
        width: 35px;
        background: #1cc0f3;
        height: 35px;
        line-height: 35px;
        display: inline-block;
        color: white;
        text-align: center;
    }

    .question-data-wrap {
        margin-left: 15px;
        /*width: 600px;*/
        background: rgba(255, 255, 255, 0.1);
        position: relative;
        border-radius: 4px;
        padding: 10px 15px;
        margin-top: 5px;

        .question-info {
            color: white;
        }

        &::before {
            position: absolute;
            content: '';
            left: -9px;
            top: 10px;
            border-right: 6px solid transparent;
            border-left: 6px solid transparent;
            border-bottom: 6px solid rgba(255, 255, 255, 0.1);
            transform: rotate(270deg);
        }
    }
}

.answer-data-wrap:hover .tools-wrap{
    display:block;
}
.irs-data-wrap:hover {
    border-radius: 0px 4px 4px 4px !important;
}
.tools-wrap {
    background: #6b6b6d;
    position: absolute;
    left: 0px;
    height: 30px;
    top: -30px;
    padding-left: 15px;
    line-height: 30px;
    border-radius: 4px 4px 0px 0px;
    display: none;

    .tools-icon {
        color: white;
        font-size: 16px;
        cursor: pointer;
        margin-right: 15px;
    }
}
.answer-record-item {
    display: flex;
    justify-content: flex-end;
    margin-bottom:18px;
    .question-icon {
        font-size: 24px;
        border-radius: 50%;
        width: 35px;
        background: #1cc0f3;
        height: 35px;
        line-height: 35px;
        display: inline-block;
        color: white;
        text-align: center;
    }

    .answer-data-wrap {
        margin-right: 15px;
        max-width: 80%;
        min-width: 400px;
        background: rgba(255, 255, 255, 0.1);
        position: relative;
        border-radius: 4px;
        margin-top: 5px;
        padding: 10px;
        transition: width 0.5s linear;
        transition: height 0.5s linear;

        &::before {
            position: absolute;
            content: '';
            right: -9px;
            top: 10px;
            border-right: 6px solid transparent;
            border-left: 6px solid transparent;
            border-bottom: 6px solid rgba(255, 255, 255, 0.1);
            transform: rotate(90deg);
        }
    }

    .msg-data-wrap{
        max-height:300px;
    }
}


.question-time {
    position: absolute;
    left: 0px;
    bottom: -24px;
    color: white;
}
.answer-time {
    position: absolute;
    right: 0px;
    bottom: -24px;
    color: white;
}

.message-info {
    color: @second-textColor;
}

.student-name {
    color: white
}

.text-label {
    color: white;
    margin-bottom: 10px;
    /*display:inline-block;
    vertical-align:top;*/
}

.student-img-box {
    display: inline-block;
    position: relative;
    width: 120px;
    margin-right: 10px;

    .img-info {
        color: white;
        position: absolute;
        background: rgba(0, 0, 0, 0.5);
        width: 100%;
        left: 0px;
        bottom: 6px;
        text-align: center;
    }
}

.upload-area {
    margin-top: 15px;
}

.flop-student-item {
    color: white;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #606060;

    .option-tag {
        margin-right: 5px;
        font-size: 16px;
    }

    .student-tag {
        background: #ed4014;
        border-radius: 4px;
        padding: 2px 5px;
        margin-right: 5px;
        font-size: 12px;
        cursor:pointer;
    }
}
.image-viewer {
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.htex-viewer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    .viewer-page-wrap {
        margin-top: -36px;
        z-index: 99;
        padding: 6px;
        color: white;
        width: 100%;
        background: rgba(43, 51, 63, 0.7);
    }
}

.image-viewer img {
    max-width: 50%;
    margin: 5% auto;
    border: none;
}
.close-icon {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 20px;
    color: white;
    cursor: pointer;
}