body, h1, h2, h3, h4, h5, h6, p, span, button {
    font-family: "微軟正黑體", Arial;
}

.hidden {
    display: none;
}

.border-l-title {
    border-left: 4px solid #113080;
}

.fs-7 {
    font-size: 0.9rem;
}

/* 20210421 add */
.text-justify {
    text-align: justify;
}

/* 20210628 add */
.text-blue {
    color: #093A69;
}

.text-gray {
    color: #707070;
}

/* 20210421 add */
.text-red {
    color: #FF0000;
}
.text-course{ color: #D09E88;}/*20210720 add*/

.bg-skyblue{ background: #38C0DA;}
.bg-darkblue{ background: #083867;}
.bg-lightgray{ background: #F8F9FA;}

.border-top-dashed{ border-top: 1px dashed #dddddd;}
.border-bottom-dashed{ border-bottom: 1px dashed #dddddd;}

.btn-square {
    border-radius: 0px;
    padding: 6px 15px;
    background: #38C0DA;
    color: #ffffff;
    font-size: 1rem;
}

.btn-square:hover {
    background: #38C0DA;
    color: #ffffff;
}

/* ----------------- 表單樣式 ----------------- */
.btn:focus,
.btn:active,
.btn:focus,
a:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #d1d7e0;
}

.form-control,
.form-select {
    min-height: calc(1.5em + 1.225rem);
    padding: 0.55rem 0.75rem;
    font-size: 15px;
    line-height: 1.5;
    color: #66799e;
    background-color: #ffffff;
    border: 0.0625rem solid #d1d7e0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-group-text {
    padding: 0.55rem 0.75rem;
    font-size: 14px;
    font-weight: 400;
    color: #93a5be;
    background-color: #ffffff;
    border: 0.0625rem solid #d1d7e0;
    border-radius: 0.5rem;
}

/* 分頁按鈕 */
.page-link {
    padding: 3px 10px;
    color: #3d5aa6;
    margin: 0px 5px;
}

.page-item.active .page-link {
    background-color: #3d5aa6;
    border-color: #3d5aa6;
}

.page-item:first-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-link:focus {
    box-shadow: 0 0 0 0 rgb(13 110 253 / 25%);
}
/* 20210802 add scrollbar */
::-webkit-scrollbar-track{
    background-color: rgba(255,255,255,0);
}
::-webkit-scrollbar{
    width: 6px;
    background-color: rgba(255,255,255,0);
}
::-webkit-scrollbar-thumb{
    border-radius: 6px;
    background-color: rgba(0,0,0,0.2);
    position: absolute;
}

/* ----------------- header footer container ----------------- */
.main-container {
    min-height: calc(100vh - 61px);
    padding-top: 61px;
    position: relative;
    background: #f6f8fa;
}

.list-container {
    background: #f6f8fa;
}

.navbar h3 {
    margin-bottom: 0px;
    color: #4d4d4d;
}

.navbar a.nav-link {
    padding: 4px 12px;
    margin: 0px 4px;
    color: #707070;
    font-weight: bold;
    font-size: 17px;
}

.navbar a.nav-link:hover,
.navbar a.nav-link.active {
    color: #093A69;
}

.btn-logout {
    border: 1px solid #093A69;
    color: #093A69;
    padding: 4px 16px;
    font-weight: bold;
    font-size: 14px;
}

.btn-logout:hover {
    background: #093A69;
    color: #ffffff;
}

.nav-news {
    position: relative;
}

.nav-news a i {
    font-size: 22px;
}

.nav-news .news-badge {
    position: absolute;
    top: -1px;
    right: 0px;
    background: #DC3545;
    font-size: 12px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    color: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
}

.nav-news-mobile {
    display: none;
}

.navbar-toggler {
    padding: 0px;
    height: 24px;
    width: 32px;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.footer {
    background: #3C3C3C;
    font-size: 14px;
    padding: 20px;
}

@media screen and (max-width: 767.9px) {
    #navbar-course {
        position: absolute;
        top: 61px;
        right: 0;
        z-index: 99;
        width: 100%;
    }

    .navbar-nav {
        background: #ffffff;
        box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar li.nav-item {
        width: 100%;
        border-top: 1px dashed #dddddd;
        text-align: center;
        padding: 8px;
    }

    .navbar li.nav-item:first-child {
        border-top-width: 0px;
    }

    .navbar a.nav-link {
        font-size: 16px;
    }

    .btn-logout {
        border-width: 0px;
        font-size: 16px;
        color: #707070;
    }

    .btn-logout:hover {
        background: #ffffff;
        color: #707070;
    }

    .nav-item.nav-news {
        display: none;
    }

    .nav-news a i {
        font-size: 18px;
    }

    .nav-news .news-badge {
        top: 1px;
        right: 0px;
        font-size: 10px;
        width: 15px;
        height: 15px;
        line-height: 15px;
    }

    .nav-mobile a.nav-link { /* 20210623 add*/
        padding: 4px 0px;
    }

    .nav-news-mobile { /* 20210623 change*/
        text-align: center;
        width: 28px;
        display: inline-block !important;
    }
}

@media screen and (max-width: 388.9px) {
    .main-container {
        min-height: calc(100vh - 82px);
    }

    .navbar h3 {
        font-size: 20px;
    }

    .navbar-brand img {
        height: 38px;
    }
}

/* ----------------- login page ----------------- */
.login-container {
    background: #F5F8FB;
    display: flex;
    align-items: center;
    background-image: url("../images/10g4_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-panel h1:after {
    content: " ";
    display: table;
    border-radius: 4px;
    background: #14bdcc;
    width: 80px;
    height: 3px;
    margin: 8px auto 12px auto;
}

.login-panel {
    background: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #eaedf2;
    box-shadow: 0 2px 18px rgb(0 0 0 / 2%);
}

.login-img {
    margin-right: -20px;
    text-align: center;
}

.login-panel .form-label {
    color: #4A5073;
}

.login-panel .input-group .form-control:not(:first-child) {
    border-left: 0;
    padding-left: 0;
}

.prompt-text {
    color: #aaaaaa;
    font-size: 14px;
}

.error-prompt {
    padding: 16px;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    font-size: 15px;
    margin-bottom: 24px;
}

.btn-login {
    color: #ffffff;
    background-color: #262B40;
    padding: 0.55rem 0.75rem;
    border-radius: 30px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(46 54 80 / 8%);
}

.btn-login:hover {
    color: #ffffff;
}

@media screen and (max-width: 767.9px) {
    .login-img img {
        width: 100%;
        max-width: 270px;
    }
}

@media screen and (max-width: 575.9px) {
    .login-img img {
        max-width: 170px;
    }

    .btn-login {
        padding: 0.45rem;
        box-shadow: inset 0 1px 0 rgb(255 255 255 / 15%), 0 1px 1px rgb(46 54 80 / 8%);
    }
}

/* ----------------- course list ----------------- */
.page-title:after {
    content: " ";
    display: table;
    border-radius: 4px;
    background: #14bdcc;
    width: 80px;
    height: 3px;
    margin: 8px 0 0 0;
}

.search-course,
.search-course .form-control,
.search-course .input-group-text,
.form-select {
    border-radius: 0.25rem;
}

.search-course .input-group-text {
    border-left-width: 0px;
}

.search-course .form-control {
    border-right-width: 0px;
}
.badge-makeup{ /*20210727 add*/
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
}
.card-course .card-body {
    padding: 1rem 1rem 0.5rem 1rem;
}

.card-course .card-footer {
    background: #ffffff;
    border-top-width: 0px;
    padding: 0.25rem 1rem 1rem 1rem;
}

.card-course .card-img-container {
    width: 100%;
    height: 200px;
}
.card-course .course-img{ /*20210802刪.card-profile .course-img*/
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat:no-repeat;
    background-size: cover;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

.card-course .card-title {
    font-size: 17px;
    font-weight: 600;
    color: #4d4d4d;
    text-decoration: none;
    margin-bottom: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-course .card-text {
    margin-top: 4px;
    font-size: 14px;
    line-height: 20px;
    color: #707070;
}

.card-course .progress-text {
    color: #707070;
    font-size: 12px;
    width: 40px;
    display: inline-block;
    vertical-align: middle;
}

.card-course .progress {
    display: inline-block;
    width: calc(100% - 50px);
    height: 5px;
    border-radius: 4px;
    vertical-align: middle;
    margin: 0;
}

.card-course .progress-bar {
    border-radius: 5px;
    height: 5px;
    background-color: #38c0da;
}

@media (max-width: 1199.9px) and (min-width: 992px) {
    .card-course .card-img-container {
        height: 230px;
    }
}

@media (max-width: 991.9px) and (min-width: 768px) {
    .card-course .card-img-container {
        height: 300px;
    }
}

@media (max-width: 575.9px) and (min-width: 490px) {
    .card-course .card-img-container {
        height: 350px;
    }
}

@media (max-width: 489.9px) and (min-width: 375px) {
    .card-course .card-img-container {
        height: 250px;
    }
}

/* ----------------- 系統公告 ----------------- */
.page-title {
    position: relative;
}

.page-title:after {
    content: "";
    height: 2px;
    width: 80px;
    background: #38C0DA;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.news-h5 {
    font-weight: bold;
    font-size: 24px;
    color: #093A69;
    text-align: center;
    padding: 12px;
}

.news-h5 span {
    display: block;
}

.news-container {
    flex: 1;
}

.news-container .news-content {
    padding: 8px;
    border-bottom: 1px dashed #dddddd;
}

.news-container.news-list .news-content {
    padding: 12px 8px;
}

/*20210712 delete*/
/*
.news-container .news-content:first-child{
  border-top: 1px dashed #dddddd;
}
*/

.news-content .new-sort {
    flex: 0 0 60px;
}

.news-content .news-title {
    flex: 1;
}

.news-content .news-date {
    flex: 0 0 110px;
    text-align: center;
    font-size: 0.9rem;
    color: #707070;
}

.new-sort span {
    padding: 2px 8px;
    color: #ffffff;
    font-size: 14px;
}

.sort-important {
    background: #F24030;
}

.sort-normal {
    background: #0DCAF0;
}

.news-content .news-title a {
    text-decoration: none;
    color: #4d4d4d;
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
    text-align: justify;
    margin-bottom: 0px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-content .news-title a:hover {
    opacity: 0.8;
}

#news-content p {
    text-align: justify;
}

/* 20210712 公告分系統與個人公告*/
.news-container .nav-tabs {
    border-bottom: 3px solid #f0f0f0;
}
.news-container ul.nav-tabs a.nav-link{
    font-weight: bold;
    color: #cccccc;
    border-width: 0px 0px 3px 0px;
    margin-bottom: -3px;
    background-color: #F6F8FA;
    border-color: #f0f0f0;
    padding: 12px 16px;
}
.news-container ul.nav-tabs a.nav-link.active,
.news-container ul.nav-tabs a.nav-link:hover{
    color: #093A69;
    border-color: #093A69;
}
.sort-makeup{ background: #FFC107; color: #ffffff;}
.sort-hw{ background: #F24030;}
/* end 20270712*/

/* 20210421 add */
@media screen and (max-width: 767.9px) {
    .news-content .news-title a {
        font-size: 0.95rem;
        line-height: 1.2rem;
        width: 300px;
        padding: 10px;
    }
}

@media screen and (max-width: 575.9px) {
    .news-h5 {
        flex: 0 0 100%;
        text-align: left;
        padding: 12px 0px;
        font-size: calc(1.3rem + .6vw);
    }

    .news-h5 span {
        display: inline-block;
    }

    .news-container .news-content {
        padding: 8px 4px;
        flex-wrap: wrap;
    }

    .news-content .new-sort {
        flex: 0 0 55px;
    }

    .news-content .news-title {
        flex: 0 0 calc(100% - 55px);
    }

    .news-content .news-date {
        flex: 0 0 100%;
        padding-left: 55px;
        text-align: left;
        margin-top: 2px;
    }

    /* 20210712 576px下公告分系統與個人公告*/
    .news-container ul.nav-tabs a.nav-link {
        font-size: 20px;
        padding: 8px 8px;
    }
}

/* end 20270712*/
@media screen and (max-width: 319.9px) {
    /* 20210712 add */
    .news-container ul.nav-tabs a.nav-link {
        font-size: 18px;
        padding: 8px 4px;
    }
}


/* ----------------- profile ----------------- */
/*.card-profile .card-body {*/
/*    padding: 1.5rem;*/
/*    height: calc(100% - 69px);*/
/*    background: #fafafa;*/
/*}*/

/*.card-profile .card-footer {*/
/*    background: #fafafa;*/
/*    padding: 15px;*/
/*}*/

/*.card-profile .card-img-container {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*}*/

.card-profile .card-footer { /* 20210802 add */
    background: #fafafa;
    padding: 15px;
    min-height: 69px;
}
.card-profile > .d-flex .card-img{ /* 20210802 add */
    flex: 0 0 700px;
}
.card-profile > .d-flex .card-content{ /* 20210802 add */
    display: flex;
    flex-direction: column;
    background: #fafafa;
}
.card-profile > .d-flex .card-content .card-body{ /* 20210802 add */
    flex: 1;
    position: relative;
    overflow-y: auto;
    max-height: 400px;
}

.accordion-notice .accordion-button .sort-important,
.accordion-notice .accordion-button .sort-normal {
    flex: 0 0 50px;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    margin-right: 4px;
    height: 20px;
    line-height: 20px;
    margin-top: 2px;
}

/*.card-profile .course-img {*/
/*    border-top-left-radius: calc(0.25rem - 1px);*/
/*    border-bottom-left-radius: calc(0.25rem - 1px);*/
/*    border-top-right-radius: 0px;*/
/*}*/

.card-profile .card-title {
    font-weight: 600;
    color: #4d4d4d;
}

.card-profile .card-text {
    margin-top: 4px;
    font-size: 15px;
    line-height: 20px;
    color: #707070;
}

.card-profile .card-info {
    line-height: 26px;
    color: #4d4d4d;
    text-align: justify;
}

/* TAB 課程介紹 */
.profile-tab {
    background: #ffffff;
    border: 1px solid #dddddd;
}

.profile-tab .nav {
    flex-wrap: nowrap;
    justify-content: space-between;
}

.profile-tab .nav-item {
    flex: 1;
    text-align: center;
}

.profile-tab .nav-link {
    font-size: 20px;
    color: #4d4d4d;
    font-weight: bold;
    padding: 12px 20px;
}

.profile-tab .nav-link:hover,
.profile-tab .nav-link.active {
    color: #38C0DA;
    border-bottom: 2px solid #38C0DA;
}

.profile-tab .tab-content {
    border-top: 1px solid #dddddd;
    padding: 2.5rem;
}

.profile-tab .tab-content p {
    color: #707070;
    line-height: 30px;
    text-align: justify;
    font-size: 16px;
    margin-bottom: 1rem;
}

/* TAB 課程公告 */
.accordion-notice .accordion-item {
    margin-bottom: 24px;
    border: 1px solid #dddddd;
}

.accordion-notice .accordion-button {
    background-color: #f6f6f6;
    border-width: 0px;
    color: #707070;
    font-weight: bold;
    outline: none;
    box-shadow: none;
    text-align: left;
    padding: 0.75rem 1rem;
}

.accordion-notice .accordion-button.show::after {
    background: #093A69;
}

.accordion-notice .accordion-body {
    background: #ffffff;
}

/* TAB 課程章節 */
.chapter .ch-title {
    font-weight: bold;
    color: #093A69;
    margin-bottom: 24px;
}

.ch-list { /* 20210625修改 */
    padding: 12px 8px 12px 4px;
    border-top: 1px solid #D3DEE5;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.ch-list:hover {
    background: #F6F6F6;
}

.chapter .ch-list:last-child {
    border-bottom: 1px solid #D3DEE5;
}

.ch-list .ch-number,
.ch-list .ch-name a,
.ch-list .ch-time {
    color: #707070;
}

.ch-list .ch-number {
    width: 60px;
    text-align: center;
}

.ch-list .ch-name {
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    -webkit-line-clamp: 100;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ch-list .ch-name a {
    text-decoration: none;
}

.ch-list:hover .ch-name a {
    color: #093A69;
}

.ch-list:hover .ch-name, .ch-list:hover .ch-name a {
    color: #093A69;
}

/*20210331 eyes新增*/
.ch-list .ch-name .sub-name { /*20210331 eyes新增*/
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    display: -moz-box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
}

.ch-list .ch-name .ch-desc { /* 20210421 */
    font-size: 0.9rem;
    color: #7a7a7a;
}

.ch-list .ch-download {
    width: 28px;
    padding: 0px;
}

/*20210628 change*/
.ch-list .ch-status { /* 20210625修改 */
    font-size: 13px;
    flex: 0 0 116px;
    text-align: center;
}

.ch-list .text-status {
    margin-left: 4px;
}

.status-finish {
    color: #0DCAF0;
    border: 1px solid #0DCAF0;
    font-size: 12px;
    border-radius: 20px;
    padding: 2px 4px;
}

.status-ing {
    color: #DC3545;
}

.status-not {
    color: #aaaaaa;
}

.ch-list .ch-time { /* 20210625修改 */
    flex: 0 0 85px;
    text-align: center;
}

.ch-list.class-day { /* 20210625新增 */
    border: 4px solid rgba(196, 0, 72, 0.2)!important;
}

.ch-status .btn-enter { /* 20210625新增 */
    color: #ffffff;
    border: 1px solid #dddddd;
    font-size: 13px;
    border-radius: 5px;
    padding: 8px 4px;
    display: block;
    width: calc(100% - 2px);
    background: #dddddd;
    box-shadow: rgb(22, 149, 171, 0.05) 1px 1px 0px 0px;
}

.ch-status .btn-enter.active { /* 20210625新增 */
    background-color: #C40048;
    border: 1px solid #880606;
    box-shadow: 0px 2px 0 #880606;
}

/* 20210628 以下新增作業相關樣式 */
.ch-status .btn-work {
    color: #ffffff;
    font-size: 13px;
    border-radius: 4px;
    padding: 8px 4px;
    display: block;
    background: #38C0DA;
}

.homework {
    color: #4d4d4d;
    font-size: 15px;
}

.homework .d-flex {
    border: 1px solid #dddddd;
    border-bottom-width: 0px;
}

.homework .d-flex div {
    padding: 8px 12px;
}

.homework .d-flex:last-child {
    border-bottom: 1px solid #dddddd;
}

.homework .work-item {
    padding: 8px 4px;
    flex: 0 0 88px;
    border-right: 1px solid #dddddd;
    text-align: center;
    background: #F6F6F6;
}

#homework-upload .form-control {
    border-radius: 0px;
    min-height: 24px;
    padding: 0.375rem 0.75rem;
}

/* over 作業樣式 */

/* 20211014 新增考卷modal */
.stu-ans{
    border: 1px solid #dfdfdf;
    background-color: #F5F5F5;
    padding: 8px;
    color: #4d4d4d;
    border-radius: 4px;
    font-size: 15px;
    font-weight: bold;
}
.stu-ans > .d-flex > div:first-child{
    flex: 0 0 100px;
    word-break: break-all;
}
.stu-ans.ans-items > .d-flex > div:nth-child(3){
    flex: 0 0 200px;
}
.stu-ans.ans-items > .d-flex > div:last-child{
    flex: 0 0 140px;
}
.table-ans{
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 0.9rem;
}
.table-ans thead th{
    border-bottom-width: 0px;
    font-size: 15px;
    color: #4d4d4d;
    background: #F5f5f5;
}
.table-ans tbody td{
    border-bottom: 1px dotted #dddddd;
    color: #4d4d4d;
}
.table-ans tbody tr:last-child td{ border-bottom-width: 0px;}
/* 20211014 end */
/* TAB 課程學生清單 */
.stu-list {
    padding: 4px 0px;
    color: #707070;
}

.stu-list .stu-name {
    width: 170px;
}

.stu-list .stu-ch {
    width: 80px;
    text-align: center;
}

.stu-list .stu-time {
    width: 100px;
    text-align: center;
}

.stu-list .progress {
    height: 6px;
}

.stu-list .progress-bar {
    background: #FFC107;
}

/* TAB 問題討論 */
.discuss-container {
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.discuss-content {
    padding: 16px;
    border-bottom: 1px solid #dddddd;
}

.discuss-body {
    display: none;
}

.discuss-content.toggled .discuss-body {
    display: block;
}

.discuss-content .form-control,
.discuss-new .form-control,
.discuss-new .form-select{ /*20210720*/
    border-radius: 0px;
    min-height: 24px;
    padding: 0.375rem 0.75rem;
}

.discuss-content .discuss-upload {
    margin-top: -1px;
}

.photo-content {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #dddddd;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.text-break {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    display:inline-block;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.discuss-content.toggled .text-break {
    -webkit-line-clamp: 10;
}

.discuss-header .discuss-photo {
    flex: 0 0 60px;
}

.discuss-header .discuss-faq {
    flex: 1;
}

.discuss-header .discuss-faq .discuss-title {
    margin-bottom: 0px;
    color: #4d4d4d;
    font-size: 17px;
    font-weight: bold;
    line-height: 24px;
}
.discuss-header .discuss-faq .discuss-title span{ /*20210720*/
    font-size: 17px;
    color: #D09E88;
}
.discuss-header .discuss-faq span,
.discuss-body .faq-comment span {
    font-size: 13px;
    color: #707070;
    vertical-align: middle;
}

.discuss-header .discuss-num {
    flex: 0 0 60px;
    text-align: center;
    font-size: 13px;
    color: #707070;
}

.discuss-header .discuss-num p {
    margin-bottom: 0px;
    color: #093A69;
    font-size: 30px;
    text-align: center;
}

.discuss-body {
    padding: 12px 60px;
}

.discuss-body .faq-content,
.discuss-body .faq-content p,
.discuss-body .faq-comment,
.discuss-body .faq-comment p {
    color: #4d4d4d;
    font-size: 16px;
    margin-bottom: 0px;
    line-height: 28px;
    text-align: justify;
}

.discuss-body .faq-comment .comment-content {
    padding-left: 60px;
}

.discuss-new {
    background: #fafafa;
    border: 1px solid #dddddd;
}

.discuss-new .new-title {
    font-size: 18px;
}

.discuss-new .new-title:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    font-size: 16px;
    margin-left: 8px;
}

.discuss-new.toggled .new-title:after {
    content: "\f077";
}

.discuss-new .new-body {
    display: none;
}

.discuss-new.toggled .new-body {
    display: block;
}

@media screen and (max-width: 991.9px) { /* 20210802 add*/
    .card-profile > .d-flex{
        flex-wrap:wrap;
    }
    .card-profile > .d-flex .card-img{
        flex: 0 0 100%;
    }
    .card-profile > .d-flex .card-content{
        flex: 0 0 100%;
    }
    .card-profile > .d-flex .card-content .card-body{
        max-height: 100%;
    }
}

@media screen and (max-width: 767.9px) {
    .profile-tab .nav-link {
        font-size: 18px;
        padding: 12px 16px;
    }

    .card-profile .course-img {
        border-top-left-radius: calc(0.25rem - 1px);
        border-bottom-left-radius: 0px;
        border-top-right-radius: calc(0.25rem - 1px);;
    }

    /*.card-profile .card-img-container {*/
    /*    min-height: none;*/
    /*}*/

    .discuss-body {
        padding: 12px 16px;
    }

    .discuss-body .faq-comment .comment-content {
        padding-left: 0px;
    }

}

@media screen and (max-width: 575.9px) {
    .profile-tab .tab-content {
        padding: 2rem 1rem;
    }

    .profile-tab .tab-content p {
        font-size: 15px;
        line-height: 24px;
    }

    .text-mobile {
        display: block;
    }

    .card-profile .card-info {
        font-size: 15px;
        line-height: 22px;
    }

    .profile-tab .nav-link {
        font-size: 17px;
        padding: 12px 4px;
    }

    .chapter .ch-title {
        font-size: 19px;
    }

    .ch-list {
        padding: 8px 4px;
    }

    /* 20210625修改 */
    .ch-list .ch-number,
    .ch-list .ch-name a {
        font-size: 15px;
    }

    .ch-list .ch-number {
        width: 40px;
        font-size: 13px;
        text-align: left;
        display: none;
    }

    .ch-list .ch-time { /* 20210628修改 */
        flex: 0 0 60px;
        font-size: 13px;
    }

    .ch-list .ch-status { /* 20210625修改 */
        flex: 0 0 32px;
    }

    .status-finish {
        border-width: 0px;
    }

    .ch-list .text-status {
        display: none;
    }

    .stu-list {
        font-size: 15px;
    }

    .stu-list .stu-name {
        width: 110px;
    }

    .stu-list .stu-time {
        font-size: 13px;
    }

    .discuss-content {
        padding: 12px;
    }

    .discuss-body {
        padding: 12px 0px;
    }

    .discuss-header .discuss-faq .discuss-title {
        font-size: 16px;
    }

    .photo-content {
        width: 40px;
        height: 40px;
    }

    .discuss-body .faq-content,
    .discuss-body .faq-content p,
    .discuss-body .faq-comment,
    .discuss-body .faq-comment p {
        font-size: 15px;
        line-height: 24px;
    }

    .discuss-header .discuss-photo {
        flex: 0 0 45px;
    }

    .discuss-header .discuss-num {
        flex: 0 0 40px;
    }

    .discuss-header .discuss-num p {
        font-size: 20px;
    }
}

@media screen and (max-width: 441.9px) {
    .stu-list .stu-name {
        flex-grow: 1;
    }

    .stu-list .stu-progress {
        display: none;
    }
}


/* ----------------- player ----------------- */
.player-container { /* 20210607 修改*/
    min-height: calc(100vh - 60px);
    background: #000000;
}

.player-bar {
    background: #093A69;
    height: 60px;
    z-index: 999999999999;
}

.player-bar .course-name {
    font-size: 20px;
    line-height: 60px;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    z-index: 999999999999;
}

.player-bar .player-back a {
    text-decoration: none;
    color: #ffffff;
    line-height: 60px;
    padding: 0px 8px;
    z-index: 999999999999;
}

#menu-toggle {
    background: #093A69;
    border: 1px solid #ffffff;
    color: #ffffff;
    font-size: 14px;
    margin: 4px;
    z-index: 999999999999;
}

.video-container { /*20210607 修改*/
    position: relative;
    text-align: center;
    margin: 0 auto;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    display: flex;
    min-height: calc(100vh - 60px);
    flex-direction: column;
}

#player-container.toggled .video-container { /*20210607 修改*/
    padding-right: 350px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.video { /*20210607 修改*/
    padding: 20px;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.video img { /*20210607 修改*/
    max-height: calc(100vh - 152px);
}

.video-container .remarks-add .form-control { /*20210607 新增*/
    background-color: rgba(255, 255, 255, 0.2);
    border: solid 1px #666666;
    color: #fff;
    resize: none;
    padding: 2px 8px;
    font-size: 14px;
    border-radius: 5px;
    min-height: 36px;
}

.video-container .remarks-add .btn-remarks { /*20210607 新增*/
    font-size: 14px;
    flex: 0 1 auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    padding: 2px 16px;
    height: 36px;
    border: 1px solid #979797;
    transition: all .3s ease;
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
}

.video-container .remarks-add .btn-remarks:hover { /*20210607 新增*/
    color: #38C0DA;
    border: 1px solid #38C0DA;
    transition: all .3s ease;
}

.player-list {
    position: fixed;
    top: 60px;
    right: 0px;
    width: 0px;
    /*flex: 0 0 350px;*/
    height: calc(100vh - 60px);
    overflow-y: scroll;
    background: #000000;
    color: #aaaaaa;
    border-left: 4px solid rgba(255, 255, 255, 0.2);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
.player-list .ch-desc{
    font-size: 0.9rem;
    color: #7a7a7a;
}
.player-list .sub-name{
    word-break: break-all;
}

#player-container.toggled .player-list {
    position: fixed;
    right: 350px;
    width: 350px;
    margin-right: -350px;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.player-list .ch-submenu {
    padding: 20px 8px;
    margin-bottom: 2px;
    color: #ffffff;
    font-size: 18px;
    background: #212a34;
    text-align: left;
    border-radius: 0px;
    z-index: 999999999999999;
}

.player-list .player-ch {
    border-bottom: 2px solid #000000;
    padding: 8px 4px;
    background: rgba(34, 34, 34, 0.7);
}

.player-list .player-ch:hover,
.player-list .player-ch.active {
    background: rgba(34, 34, 34, 1);
}

.player-list .player-ch p {
    margin: 4px;
}

.player-list .player-ch .player-icon {
    flex: 0 0 30px;
    text-align: center;
    padding: 4px;
}

.player-list .player-ch .player-time {
    font-size: 13px;
    color: #707070;
}

/* SCROLLBAR*/
.player-list::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0);
}

.player-list::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(255, 255, 255, 0);
}

.player-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* player list tab 20210607 新增*/
.player-list .nav-pills .nav-link {
    font-size: 14px;
    padding: 2px 8px;
}

.player-list .nav-pills .nav-link {
    border: 1px solid #38C0DA;
    color: #38C0DA;
    margin: 4px;
}

.player-list .nav-pills .nav-link.active,
.player-list .nav-pills .nav-link:hover,
.player-list .nav-pills .show > .nav-link {
    background-color: #38C0DA;
    color: #ffffff;
}

.player-list .remarks-ch {
    background: #ffffff;
    border-bottom: 2px solid #000000;
    padding: 8px;
}

.player-list .remarks-ch > p {
    color: #C07D2F;
}

.player-list .remarks-container a {
    text-decoration: none;
}

.player-list .remarks-container {
    border-bottom: 1px solid #dddddd;
    padding: 12px 0px;
    color: #4d4d4d;
    font-size: 14px;
}

.player-list .remarks-container:last-child {
    border-bottom-width: 0px;
}

.player-list .remarks-container .show {
    display: none;
    color: #aaaaaa;
}

.player-list .remarks-container:hover .show {
    display: inline;
}

.player-list .remarks-time {
    background: #38C0DA;
    color: #ffffff;
    padding: 2px 4px;
}

.player-list .remarks-action a {
    color: #aaaaaa;
    margin: 0px 8px;
}

.player-list .remarks-action a:hover {
    color: #093A69;
}

.player-list .remarks-link {
    color: #4d4d4d;
}

.player-list .remarks-container:hover .remarks-link {
    color: #093A69;
}

.player-list .remarks-container button {
    font-size: 13px;
}

@media screen and (max-width: 767.9px) {
    /*20210607 修改*/
    #player-container.toggled .video-container {
        padding-right: 0px;
    }
}

@media screen and (max-width: 575.9px) {
    #player-container.toggled .player-list {
        width: 100%;
    }

    .player-list .ch-submenu {
        font-size: 16px;
    }

    .player-list .player-ch {
        font-size: 15px;
    }
}

.modal p {
    word-wrap: break-word;
}

.modal span {
    word-wrap: break-word;
}

/*.col-auto {*/
/*    z-index: 9999999999;*/
/*}*/

.accordion-flush .accordion-item:first-child {
    border-top: 1px solid #dddddd;
}

.accordion-flush .accordion-item:last-child {
    border-bottom: 1px solid #dddddd;
}

figure > img {
    width: 100%;
}

.table-course thead tr th {
    border-bottom-width: 0px;
    padding: 12px 8px;
    color: #555555;
}

.table-course .course-name {
    font-size: 1rem;
}

.th-stu {
    width: 80px;
    min-width: 80px;
}

.table-course .th-action {
    width: 65px;
    min-width: 65px
}

.table-course span {
    font-size: 0.9rem;
}

@media screen and (max-width: 575px) {
    .table-course thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .table-course tbody tr {
        display: block;
        margin-bottom: 25px;
    }

    .table-course tbody td {
        display: flex;
        flex-wrap: wrap;
    }

    .table-course tbody td:first-child {
        background: #FFF3CD;
        align-items: center;
        justify-content: space-between;
        padding: 0.25rem 0.5rem;
    }

    .table-course td:before {
        content: attr(data-label);
        display: flex;
        flex: 0 0 85px;
        text-transform: uppercase;
        color: #555555;
        font-weight: bold;
    }

    .table-course tbody td:nth-child(3) span,
    .table-course tbody td:nth-child(4) span,
    .table-course .course-name {
        width: calc(100% - 85px);
        text-align: left;
    }

    .table-course .course-remarks {
        width: calc(100% - 85px);
        margin-left: 85px;
    }
}

.btn-action {
    color: #113080;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    margin-right: 2px;
    margin-left: 2px;
}

@media screen and (max-width: 320px) {
    .player-bar .course-name,
    .player-bar .back-text {
        display: none;
    }
}

p.course-name {
    margin-bottom: 0px;
    font-weight: bold;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #4d4d4d;
    text-decoration: none;
    text-align: justify;
    -webkit-box-orient: vertical;
}

.box {
    width: 200px;
    padding: 8px;
    border: #ffffff 2px solid;
}

a.course-name {
    text-decoration: none;
    color: #4d4d4d;
    font-weight: bold;
    line-height: 24px;
    text-align: justify;
    margin-bottom: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/*hint message*/
.hint-msg {
    color: #EC4646;
    border-top: 3px solid #EC4646;
    font-size: 1.15rem;
    font-weight: bold;
    width: 400px;
    padding: 40px 20px 30px;
    background-color: #fff2ee;
}

.preWrap {
    white-space: pre-wrap;
}

/* 20210701 打卡成功 */
.clock-in .d-flex > div:first-child {
    flex: 0 0 52px;
}
/* ----------------- 20210712 補課紀錄 ----------------- */
.table-makeup { border: 1px solid rgb(222, 226, 230);}
.table-makeup tbody tr:last-child{ border-bottom-width: 0px;}
.table-makeup tr th{
    min-width: 85px;
    padding: 12px 8px;
    border-color: rgb(222, 226, 230)!important;
}
.table-makeup .th-start,
.table-makeup .th-end{
    min-width: 108px;
}
.table-makeup tbody tr td:nth-child(3),
.table-makeup tbody tr td:nth-child(4){
    font-size: 0.9rem;
}
.table-makeup .class-remarks{
    font-size: 0.9rem;
    color: #707070;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
@media screen and (max-width: 767.9px) {
    .table-makeup { border-width: 0px;}
    .table-makeup tbody tr{ border: 1px solid rgb(222, 226, 230);}
    .table-makeup tbody tr:last-child{ border-bottom-width: 1px;}
    .table-makeup tbody td:last-child{ border-bottom-width: 0px;}
    .table-makeup thead{
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .table-makeup tbody tr td{
        font-size: 15px;
    }
    .table-makeup tbody tr{
        display: block;
        margin-bottom: 25px;
    }
    .table-makeup tbody td{
        display: flex;
        flex-wrap: wrap;
    }
    .table-makeup tbody td:first-child{
        background: #FFF3CD;
    }
    .table-makeup td:before{
        content: attr(data-label);
        display: flex;
        flex: 0 0 80px;
        text-transform: uppercase;
        color: #555555;
        font-weight: bold;
    }
    .table-makeup td p,
    .table-makeup td:last-child div{
        width: calc(100% - 80px);
        text-align: left;
    }
    .table-makeup .class-remarks{
        width: calc(100% - 80px);
        margin-left: 80px;
    }
}
@media screen and (max-width: 319.9px) {
    .table-makeup td:nth-child(3) span:last-child,
    .table-makeup td:nth-child(4) span:last-child{
        width: calc(100% - 80px);
        margin-left: 80px;
    }
}
/* ----------------- 行事曆 20210727 add ----------------- */
.schedule-card{
    background: #ffffff;
    border: 1px solid #dddddd;
    border-top: 8px solid #38C0DA;
}
.schedule-card .schedule-header{
    font-weight: bold;
    padding: 15px 5px;
    text-align: center;
    position: relative;
    color: #707070;
}
.schedule-card .schedule-header .date{
    font-size: 20px;
}
.schedule-card .schedule-header .time{
    line-height: 1;
}
.schedule-card .schedule-header .time span{
    font-size: 18px;
    color: #ffffff;
}
.schedule-card #loading {
    top: 0px;
    right: calc(50% - 30px);
}
/*  針對元件使用bootstrap5產生與4的差異與行動裝置版調整 */
#calendar {
    max-width: 100%;
}
a.fc-day-number {
    color: #38C0DA;
}
a.fc-list-heading-main,
a.fc-list-heading-alt{
    color: #4d4d4d;
}
.calendar .btn-warning {
    background-color: #ffc107;
    border-color: #ffc107;
}
.calendar .btn-warning:hover {
    background-color: #ffca2c;
    border-color: #ffc720;
}
.schedule-card .btn-primary,
.schedule-card .btn-primary.disabled,
.schedule-card .btn-primary:disabled,
.schedule-card .btn-check:active+.btn-primary,
.schedule-card .btn-check:checked+.btn-primary,
.schedule-card .btn-primary.active,
.schedule-card .btn-primary:active,
.schedule-card .show>.btn-primary.dropdown-toggle{
    color: #ffffff;
}
.schedule-card .btn-primary{
    background-color: #38C0DA;
    border-color: #38C0DA;
}
.schedule-card .btn-primary:hover{
    color: #fff;
    background-color: #00a0bf;
    border-color: #00a0bf;
}
.schedule-card .btn-primary:not(:disabled):not(.disabled).active,
.schedule-card .btn-primary:not(:disabled):not(.disabled):active,
.schedule-card .show>.btn-primary.dropdown-toggle {
    background-color: #00a0bf;
    border-color: #00a0bf;
}
.table-bordered{
    border: 1px solid rgba(0,0,0,.05);
}
.schedule-card .alert-info {
    background-color: #f1faff;
    border-color: #f1faff;
}
.schedule-card .fc-nonbusiness {
    background: #eaeaea;
}
.schedule-card .fc-center h2{
    font-size: 24px;
    font-weight: bold;
    color: #707070;
}
.schedule-card .fc-center{
    text-align: center;
    padding-left: 40px;
    flex-grow:1;
}
@media screen and (max-width: 767.9px) {
    .schedule-card .fc-toolbar{
        flex-wrap: wrap;
        margin-bottom: 12px;
    }
    .schedule-card .fc-center{
        text-align: left;
        padding-left: 12px;
    }
    .schedule-card .fc-left{
        flex: 0 0 148px;
    }
    .schedule-card .fc-right{
        flex: 0 0 188px;
        margin-left: auto;
        text-align: right;
    }
    .schedule-card .fc table {
        font-size: 14px;
    }
}
@media screen and (max-width: 575.9px) {
    .schedule-card .fc-toolbar{
        padding: 0px 12px;
    }
    .schedule-card .fc-center h2{
        font-size: 20px;
    }
    .schedule-card .fc-bootstrap .btn{
        padding: 4px 8px;
        font-size: 14px;
    }
    .schedule-card .fc-center{
        order:1;
        flex: 0 0 100%;
        padding-left: 0px;
        margin-bottom: 8px;
        text-align: center;
    }
    .schedule-card .fc-left{
        flex: 0 0 116px;
        order:2;
    }
    .schedule-card .fc-right{
        flex: 0 0 144px;
        order:3;
    }

}
@media screen and (max-width: 309.9px) {
    .schedule-card .fc-center{
        order:2;
        margin-top: 8px;
    }
    .schedule-card .fc-center h2{
        font-size: 18px;
    }
    .schedule-card .fc-left{
        order:1;
        flex: 0 0 100%;
        text-align: center;
    }
    .schedule-card .fc-right{
        flex: 0 0 100%;
        text-align: center;
    }
}





