.layui-upload-drag {
    width: 100%;
    border: none;
}

.layui-upload-drag .layui-icon {
    font-size: 30px;
    color: #39CAE1;
}

.img_tip_tit {
    color: #39CAE1;
}

.Teacher-block .box form .form-group i {
    
}

.media_pup form .form-group i {
    margin-right: unset;
    position: relative;
    right: unset;
    top: unset;
}

.Teacher-block .box form .form-group i.layui-edge {
    position: absolute;
    right: 10px;
    top: 50%;
}

.Learning-block .Learninglist .items .con .two-btn .big-more {
    width: 222px;
}

.Teacher-block .box form .form-group .v_upload i {
    margin-right: 5px;
}

#calendar.fc .fc-daygrid-day.has-events .fc-daygrid-day-number {
    border: 1px solid #FFDA9A;
    cursor: pointer;
}

#calendar.fc .fc-daygrid-day.fc-day-today.has-events .fc-daygrid-day-number {
    background: #55ae97;
    color: #fff;
    border: 1px solid #55ae97;
}

.mt_40 {
    margin-top: 40px;
}

.youtube_link {
    display: none;
}

.other_link {
    display: none;
}

.Teacher-block .Departmenttable table tbody tr td a.edit_error {
    background-color: #de5151;
    color: #fff;
}

.Teacher-block .Departmenttable table tbody tr td a.edit_right {
    background-color: #40ad5f;
    color: #fff;
}

.uploadbox.has_detail {
    display: flex;
}

.uploadbox.has_detail .layui-upload-drag {
    width: 50%;
}

.uploadbox.has_detail #ID-upload-demo-preview {
    width: 50%;
}

.video_link.hide_file {
    display: none;
}

.youtube_link.show_file {
    display: block;
}

.other_link.show_file {
    display: block;
}

.pageinfo ul li a.not_allow {
    cursor: not-allowed;
}

.uploadbox.assignment_box {
    padding: 1px;
    background-color: #fff;
}

.uploadbox.assignment_box .layui-upload-drag {
    padding: 10px;
    border: 1px solid #E9E9E9;
    border-radius: 10px;
}

.teacher_ass_mark_con {
    margin-left: 5px;
    width: calc(100% - 130px);
}

.Teacher-block .Assessmenttab .box .d-flex.f_start {
    justify-content: flex-start;
}

.eCourses-block .tabcontent .tabbox .items .li .n_txt {
    padding-top: 1.5rem;
    margin-bottom: 2rem;
    display: none;
}

.layui-progress-bar {
    background-color: #39CAE1;
}

.Teacher-block .box {
    border-radius: 0;
}

header .nav-box .nav .nav-item {
    position: relative;
}

.main-header .main-menu .navigation>li>ul {
    top: 100%
}

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

.detail_more a.more {
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 5px;
    background: #0EADC6;
    padding: 0.7rem 1rem;
    color: #ffffff;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.Learning-block .Learning-bar .more.max_more {
    width: max-content;
}

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

.detail_assignment_list a.ass_view {
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 5px;
    background: #0EADC6;
    padding: 0.3rem 1rem;
    color: #ffffff;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.detail_assignment_list a.ass_view_btn {
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 5px;
    background: #0EADC6;
    padding: 0.3rem 1rem;
    color: #ffffff;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.detail_assignment_list a.ass_res {
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 5px;
    background: #FE9900;
    padding: 0.3rem 1rem;
    color: #ffffff;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.eCourses-block .tabcontent .tabbox .items .li .txt a.ass_view,
.eCourses-block .tabcontent .tabbox .items .li .txt a.ass_view_btn,
.eCourses-block .tabcontent .tabbox .items .li .txt a.ass_res {
    color: #fff;
}

header .lang dl {
    min-width: 50px;
}


/*******layui**********/

.pr1 {
    padding-right: 1rem;
}

.layui-input-block {
    width: 100%;
}

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

.layui-form-select .layui-input {
    font-size: 1rem;
    height: 51px;
    line-height: 51px;
    border-radius: 0.25rem;
}

.layui-form-select dl {
    /* top: 53px; */
}

.layui-form-select dl dd.layui-this {
    color: #0EADC6;
    font-weight: normal;
}

.layui-input:focus,
.layui-textarea:focus {
    border-color: #0EADC6 !important;
    box-shadow: 0 0 0 3px rgb(22 183 119 / 8%);
}

.layui-layer-prompt .layui-layer-input:focus {
    outline: 0px solid #0EADC6 !important;
}

layui-layer-input:focus {
    outline: 0px solid #0EADC6 !important;
}

.layui-input,
.layui-textarea,
.layui-select {
    font-size: 1rem;
    height: 51px;
    line-height: 51px;
    border-radius: 0.25rem;
}

.layui-laydate .layui-this,
.layui-laydate .layui-this>div {
    background-color: #0EADC6 !important
}

.layui-laydate-header i:hover,
.layui-laydate-header span:hover {
    color: #0EADC6;
}

.Login-block .container .row form .there_input {
    display: block;
    width: 100%;
}

.layui-layer-btn .layui-layer-btn0 {
    background-color: #0EADC6 !important;
}

.eCourses-block .box.boxshadow .personform .there_input.n_flex {
    display: block;
}


/******用戶圖片*********/

.person_img {
    width: 140px;
    height: 140px;
}

.person_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.more.Create-btn.max-width {
    width: max-content;
    padding: 0 1rem;
}

.mediatab ul li.active a {
    font-weight: normal;
}

.nml-1 {
    margin-left: 1rem;
}


/************form**************/

.pup.exam_pub .container {
    max-width: 630px;
    max-height: 660px;
    overflow: auto;
}

.Teacher-block .box .questionbox .flex {
    margin-bottom: 10px;
}

.layui-form-label {
    margin-right: 10px;
}

.Teacher-block .Quizlist .questionbox .quesflexbox.f_start {
    justify-content: flex-start;
}

#exambank_form .layui-input,
#exambank_form .layui-textarea,
#exambank_form .layui-select {
    font-size: 1rem;
    height: 40px;
    line-height: 40px;
    border-radius: 0.25rem;
}

#exambank_form .layui-form-mid {
    line-height: 40px;
}

.layui-btn {
    background: #39CAE1;
    border-color: #39CAE1;
    color: #FFF !important;
}

.layui-btn.layui-btn-danger {
    background-color: #ff5722;
    border-color: #ff5722;
}

.layui-btn.new_sty {
    background: #262626;
    margin-right: 1rem;
    padding: 0.5rem 2rem;
    border: 1px solid #262626;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.layui-btn.layui-btn-primary {
    background: #fff;
    border-color: #d2d2d2;
    color: #000 !important;
}

.layui-btn-primary.act {
    background: #39CAE1;
    border-color: #39CAE1;
    color: #FFF !important;
}

#tm_body .layui-form-item .layui-input-inline {
    width: max-content;
}

#tm_body .pub .container {
    max-width: 600px;
    height: 650px;
    overflow: auto;
}

@media (max-width: 768px) {
    #tm_body .pub .container {
        max-width: 90%;
    }
    #tm_body .layui-form-item .layui-input-inline.pup_lay_input {
        width: 30%;
    }
    #tm_body .layui-btn {
        height: 30px;
        line-height: 30px;
    }
}

@media (max-width: 460px) {
    #tm_body .layui-form-item .layui-input-inline.pup_lay_input {
        width: 25%;
    }
}

@media (max-width: 450px) {
    .layui-form-label {
        position: relative;
        float: none;
        display: block;
        padding: 0;
        width: 100%;
        text-align: left;
        margin-top: 2rem;
    }
    .layui-form-item .layui-input-inline {
        margin: 0;
        left: 0;
        padding-top: 10px;
        display: inline-block;
    }
    .layui-form-item .layui-input-inline.pup_lay_input {
        display: block;
    }
    .layui-form-mid {
        float: none;
        display: inline-block;
    }
    .layui-form-item .layui-input-inline+.layui-form-mid {
        margin-left: 0;
        top: unset;
        position: relative;
        top: 8px
    }
}

.Quizlist .ques_tit {
    display: flex;
    align-items: center;
}

.Quizlist .ques_tit a.q_tag {
    margin-left: 2rem;
    width: max-content;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.Quizlist .ques_tit a.i_tag {
    margin-left: 10px;
    width: max-content;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.Quizlist .ques_tit a.i_tag.ques_sort_top {
    border: 1px solid #ffb800;
    color: #ffb800;
    background-color: #fff;
}

.Quizlist .ques_tit a.i_tag.ques_sort_down {
    border: 1px solid #1e9fff;
    color: #1e9fff;
    background-color: #fff;
}

.Quizlist .ques_tit a.i_tag.ques_sort_top:hover {
    color: #fff;
    background: #ffb800;
}

.Quizlist .ques_tit a.i_tag.ques_sort_top:hover::after {
    background: #ffb800;
}

.Quizlist .ques_tit a.i_tag.ques_sort_down:hover {
    color: #fff;
    background: #1e9fff;
}

.Quizlist .ques_tit a.i_tag.ques_sort_down:hover::after {
    background: #1e9fff;
}


/********stu quiz*********/

.eCourses-block .quiz_fixed {
    z-index: 1;
}

.eCourses-block .quiz_fixed .col-md-3 a {
    border-radius: 5px;
    background: #39CAE1;
}

.eCourses-block .quiz_fixed .timebox {
    background: #FAFAFA;
    border-radius: 10px;
    line-height: 1;
    padding: 1rem 2rem;
    text-align: right;
    font-size: 62px;
    color: #39CAE1;
    margin-right: 15px;
}

.eCourses-block .box .ques_tit {
    display: flex;
    align-items: center;
}

.eCourses-block .box .ques_tit a.q_tag {
    margin-left: 2rem;
    width: 136px;
    height: 25px;
    line-height: 25px;
    padding: 0 10px;
    white-space: nowrap;
}

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

.uploadbox .upload-btn .fa-upload {
    margin-right: 5px;
}

.eCourses-block .box .quesbox .more-green {
    display: inline-block;
    background: #3B9851;
    border-radius: 5px;
    padding: 5px 15px;
    height: auto;
    color: #ffffff;
    border: 1px solid #3B9851;
}

.eCourses-block .box .quesbox .more-green:hover {
    background: none;
    color: #3B9851;
}

.eCourses-block .box .quesbox .more-green i {
    color: #fff;
}

.eCourses-block .box .quesbox .more-green:hover i {
    color: #3B9851;
}

.fc .fc-scroller {
    overflow: auto !important;
}


/**************/

.eCourses-block .box.s_detail .radio-inline.redback {
    background: #FF6464;
    color: #ffffff;
}

.eCourses-block .box.s_detail .radio-inline.blueback {
    background: #39CAE1;
    color: #ffffff;
}

.eCourses-block .box.s_detail .radio-inline.greenback {
    background: #7ADB62;
    color: #ffffff;
}

.teacher_read {
    display: flex;
    align-items: center;
}

.teacher_read .d_f_align {
    display: flex;
    align-items: center;
}

.teacher_read .radio_item {
    margin-right: 10px;
}

.teacher_read .radio_item input {
    margin-right: 5px;
}

.teacher_read .layui-input {
    height: 40px;
    line-height: 40px;
    border-radius: 0.25rem;
}

.layui-btn.right {
    background: #7ADB62;
    border-color: #7ADB62;
}

.layui-btn.wrong {
    background: #FF6464;
    border-color: #FF6464;
}

.Teacher-block .Departmenttable table tbody tr td a.gray-btn {
    background: #7E7E7E;
    color: #ffffff;
    padding: 0.5rem 1.3rem;
}

.eCourses-block .box .Coursetable table tbody td a.edit_more {
    padding: 0.5rem 0.5rem;
    background: #39CAE1;
    width: 100%;
}


/********xmselect*******/

xm-select {
    height: 51px;
    line-height: 51px !important;
    border-radius: 10px !important;
    border-color: #39CAE1 !important;
}

xm-select>.xm-body .xm-search {
    display: flex;
}

.Teacher-block .box form .form-group xm-select i.xm-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    /* transition: all 0.3s;
    transform: translateY(0%); */
}

.Teacher-block .box form .form-group xm-select i .xm-icon-expand {
    margin-top: -9px;
    transform: rotate(180deg) !important;
}

.Teacher-block .box form .form-group xm-select .xm-search .xm-icon-sousuo {
    padding-right: 20px;
}

xm-select>.xm-label.single-row {
    display: flex;
    align-items: center;
}

xm-select>.xm-label .xm-label-block {
    background-color: #39CAE1 !important;
}

xm-select>.xm-body .xm-option i {
    border-color: #39CAE1 !important;
}

xm-select>.xm-body .xm-option.selected i {
    color: #39CAE1 !important;
}

xm-select>.xm-tips {
    font-size: unset;
}

.layui-form-select dl dd.layui-this {
    font-weight: normal;
    background: #39CAE1;
    color: #fff;
}

.layui-form-select dl dd:hover {
    background-color: #39CAE1;
    color: #fff;
    -webkit-transition: .5s all;
    transition: .5s all;
}

.form_search .layui-form-select .layui-input {
    height: 41px;
    line-height: 41px;
}

.mr-1 {
    margin-right: 0.5rem;
}

.ml-1 {
    margin-left: 0.5rem;
}

.Learning-block .formbox .form-group .form-control.b_border,
.Teacher-block .box form .form-group .relative .form-control.b_border {
    border: 1px solid #ced4da;
    height: 41px;
    line-height: 41px;
    border-radius: 0.25rem;
    padding-left: 10px;
}

.Learning-block .Learning-bar .more.s_btn {
    width: 50px;
}

.Learning-block .formbox .form-group .relative.wid-search {
    width: 100%;
}

.Learning-block .addbox .addbtn {
    height: 41px;
    line-height: 41px;
    border-radius: 0.25rem;
    padding: 0;
}

.mediatab .Departmenttable .itemss .addbox .Learning-bar .form-group {
    padding-left: 0.5rem;
}

.Learning-bar .form_search .form-group {
    display: flex;
    align-items: center;
}

.Teacher-block .box form.form_search .form-group label {
    white-space: nowrap;
}

.statics_box ul {
    margin-top: 1rem;
}

.statics_box ul li {
    margin-bottom: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.statics_box ul li .bg {
    display: inline-block;
    width: 20px;
    height: 13px;
    border-radius: 2px;
    /* background-color: red; */
    margin-right: 10px;
}

.statics_box ul li .item {
    padding-right: 5px;
}

.statics_box ul li:nth-child(1) .bg {
    background-color: #BEA077;
}

.statics_box ul li:nth-child(2) .bg {
    background-color: #75C1BC;
}

.statics_box ul li:nth-child(3) .bg {
    background-color: #FFBE40;
}

.statics_box ul li:nth-child(4) .bg {
    background-color: #64A5DE;
}

.statics_box ul li:nth-child(5) .bg {
    background-color: #39CAE1;
}

.top_list_con {
    display: flex;
    align-items: center;
}

.top_list_con .b_more {
    margin-left: 1rem;
    padding: 0.5rem 3rem;
    background: #39CAE1;
    color: #ffffff;
}


/********notice list**********/


/* .eCourses-block .box .Schedule {
    max-height: 500px;
    overflow: auto;
} */

.eCourses-block .box .eventlists {
    max-height: 500px;
    overflow: auto;
}

.noticebox .notice_list ul {
    position: relative;
}

.noticebox .notice_list ul li {
    padding-left: 0;
}

.noticebox .notice_list ul li::before {
    display: block;
    background: #4172D8;
}

.noticebox .notice_list ul li h5 {
    color: #444444;
}

.noticebox .notice_list ul li p {
    color: #878787;
}

.fc .fc-daygrid-event {
    display: none;
}

.eCourses-block .box {
    min-height: 168px;
}

.Teacher-block .Quizlist .questionbox .flex {
    width: auto;
    min-width: 24%;
}

.eCourses-block .tabcontent .tabbox .items .li .txt .lia_item a {
    font-size: 14px;
}

.more.Create-btn {
    width: max-content;
    padding: 0 10px;
    height: 49px;
}

.eCourses-block .box .questionbox .flex {
    margin-bottom: 0.5rem;
}

.layui-input-inline {
    margin-bottom: 0.5rem;
}

.eCourses-block .tabcontent .tabbox .items.items2 .links a.ass_view_btn {
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 5px;
    padding: 0.3rem 1rem;
    color: #ffffff;
    margin-left: 0.5rem;
    white-space: nowrap;
}

.eCourses-block .tabcontent .tabbox .items.items2 .links a.ass_res {
    display: flex;
    align-items: center;
    border-bottom: none;
    border-radius: 5px;
    background: #FE9900;
    padding: 0.3rem 1rem;
    color: #ffffff;
    margin-left: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 1440px) {
    .eCourses-block .quiz_fixed #quiztime {
        width: 40%;
    }
    .eCourses-block .quiz_fixed #quiztime a {
        width: 139px;
        margin-left: 15px;
    }
}

@media (max-width: 1280px) {
    .eCourses-block .quiz_fixed .col-md-3 a {
        margin-top: 1rem;
    }
    .eCourses-block .quiz_fixed .timebox {
        margin-right: 0;
    }
    .eCourses-block .box .ques_tit a.q_tag {
        width: 156px;
    }
}

@media (max-width: 1024px) {
    .eCourses-block .box .ques_tit a.q_tag {
        width: max-content;
        white-space: nowrap;
        padding: 0 40px;
    }
}

@media (max-width: 996px) {
    .eCourses-block .quiz_fixed #quiztime {
        width: 45%;
    }
}

@media (max-width: 767px) {
    .eCourses-block .box .ques_tit {
        flex-wrap: wrap;
        display: block;
    }
    .eCourses-block .quiz_fixed .timebox {
        margin-top: 1rem;
    }
    .eCourses-block .box .ques_tit a.q_tag {
        font-size: 12px;
        margin-left: 0rem;
        display: block;
        margin-top: 0.5rem;
    }
    .eCourses-block .box .questionbox .flex label {
        padding: 5px 15px;
        height: auto;
        width: 100%;
        text-align: left;
        border-radius: 50px;
    }
    .eCourses-block .quiz_fixed #quiztime {
        width: 100%;
    }
}

.layui-form-checkbox[lay-skin="primary"] {
    padding-left: 0;
    padding-right: 24px;
}

.layui-form-checked[lay-skin="primary"]>i {
    border-color: #39CAE1 !important;
    background-color: #39CAE1;
}

.layui-form-checkbox[lay-skin="primary"]>div {
    margin-top: -1px;
    padding-left: 0;
    padding-right: 0;
    line-height: 18px;
    background: none;
    color: #5F5F5F;
    padding-left: 20px;
}


/* .Login-block::after {
    display: none;
} */


/* .log_img {
    width: 58%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
} */

.new_layui .layui-form-checkbox[lay-skin="primary"]>div {
    padding-left: 0;
    padding-right: 15px;
}

.agreen_list .agreen_cont {
    /* padding-left: 28px; */
    width: calc(100% - 30px);
    display: inline-block;
}

.agreen_list .agreen_cont a {
    color: #0EADC6
}

.Learning-block .Learninglist .items .boximg img {
    border-radius: 15px;
}

.right_tip.red {
    color: #FF0000
}

.right_tip.green {
    color: #7ADB62
}

.certificate_down {
    padding-left: 8px;
}

#ID-upload-demo-preview .f_name a {
    word-break: break-all;
}

.table_no_data {
    padding: 1.5rem;
    margin-bottom: 0;
}

.Assessmentlist .box .icos {
    width: 150px;
    height: 150px
}

.Assessmentlist .box .icos img {
    border-radius: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pup .container .border .txt a .file_name {
    word-break: break-all;
}

.eCourses-block .box .conbox .address dd .stu_addr {
    width: calc(100% - 100px);
    word-wrap: break-word;
}

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

.teacher_info .name {
    width: 100px;
    height: 100px;
}

.teacher_info .name img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

#calendar.fc .fc-daygrid-day.fc-day-today .fc-daygrid-day-number {
    background-color: #39CAE1;
    color: #fff;
}

.no_data_img {
    background: #fff;
    text-align: center;
    padding: 5rem 0;
}

.no_data_img.p1 {
    padding: 1rem 0;
}

.layui-btn-container #exam4 {
    display: none !important;
}

.pup .container table tbody td a.edit_score {
    color: #ffffff;
    margin-left: 5px;
    cursor: pointer;
    padding: 2px 10px;
}

.pup .container table tbody td a.reset_qes {
    color: #ffffff;
    margin-left: 5px;
    cursor: pointer;
    padding: 2px 10px;
    background: #FF5722;
}

.pup .container table tbody td span.notcheck {
    color: #8f8f8f
}

.pup .container table tbody td span.notcheck::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background: #8f8f8f;
    border-radius: 50%;
    margin-right: 10px;
}

.pup .container table tbody td span.timeout {
    color: #FF5722
}

.pup .container table tbody td span.timeout::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    background: #FF5722;
    border-radius: 50%;
    margin-right: 10px;
}

.detail_assignment_list a.ass_view_btn.timeout_btn {
    background: #FF5722;
}

.eCourses-block .tabcontent .tabbox .items.items2 .links a.ass_view_btn.timeout_btn {
    background: #FF5722;
}

.noticebox .notice_list ul li p {
    margin-bottom: 0;
}

.noticebox .notice_list ul li {
    width: calc(100% - 2rem);
    padding: 5px;
    margin-bottom: 5px;
}

.noticebox .notice_list ul li.notice_has_read {
    background: #ccc;
}

.layui-layer-hui .layui-layer-content {
    text-align: left;
}

header .noticebox .notice_submenu {
    height: 500px;
    overflow-y: scroll;
}

.user .name {
    width: 140px;
    height: 140px;
    margin: auto;
}

.user .name img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.top_log {
    position: absolute;
    right: 20%;
    top: -180px;
}

.top_log img {
    max-width: 400px;
}

@media (max-width: 1200px) {
    .top_log {
        position: relative;
        right: unset;
        top: unset;
    }
}