body,h1,h2,h3,h4,h5,h6,p,span,a,button{
	font-family: "微軟正黑體", Arial;
}

a{ text-decoration: none;}
.hidden{ display: none;}
.fs-7{ font-size: 0.9rem;}
.fs-18px{ font-size: 18px;}
.ls-2{ letter-spacing: 2px; text-indent: 2px;}
.text-justify{ text-align: justify;}

.text-blue{ color: #093A69;}
.text-gray{ color: #4d4d4d;}
.text-line{ color: #1DCD00;}
.text-lightgray{ color: #707070;}
.text-brown{ color: #C18C4C;}
.text-lightbrown{ color: #F3ECE1;}
.text-course{ color: #C18C4C;}
.text-pink{ color: #F56765;}

.bg-brown{ background-color: #C18C4C;}
.bg-lightbrown{ background-color: #F3ECE1;}
.bg-lightwarning{ background-color: #F9F8EE;}
.bg-pink{ background-color: #F56765;}

.btn-pink{ background-color: #F56765; color: #ffffff;}
.btn-pink:hover{ background-color: #E64C4C; color: #ffffff;}

/* ----------------- 表單樣式 ----------------- */
.btn:focus,
.btn:active,
.btn:focus,
a:focus,
.btn-close: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{
  color: #707070;
  border-color: #dddddd;
}

/* 分頁按鈕 */
.page-item{ text-align: center;}
.page-link { /* 20211130 change */
  padding: 0px;
  color: #C18C4C;
  margin: 0px 5px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
}
.page-link:hover{
  background-color: #F9F8EE;
  color: #C18C4C;
}
.page-item.active .page-link {
  background-color: #F9F8EE;
  border-color: #C18C4C;
  color: #C18C4C;
}
.page-item:first-child .page-link {
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
}
.page-item:last-child .page-link {
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
}
.page-link:focus {
  background-color: #F9F8EE;
  border-color: #C18C4C;
  color: #C18C4C;
  box-shadow: 0 0 0 0 rgb(13 110 253 / 25%);
}
/* scrollbar */
::-webkit-scrollbar-track{
  background-color: rgba(255,255,255,0);
}
::-webkit-scrollbar{
  width: 6px;
  height: 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 ----------------- */
body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.main-container{
  flex: 1;
  position: relative;
}
/* header */
.navbar{
  border-bottom: 6px solid #C18C4C;
  background: #ffffff;
}
.navbar-brand{ padding-right: 80px;}
.navbar .position-relative{ background: #F9F8EE;}
.navbar .position-relative:before{
  position: absolute;
  content: '';
  left: -56px;
  top: 0px;
  border: none;
  border-color: transparent #F9F8EE #F9F8EE transparent;
  border-style: solid solid solid solid;
  border-width: 32px 28px;
  z-index: 0;
}
.navbar a.nav-link{
  padding: 0px;
  margin: 0px 4px;
  color: #707070;
  font-weight: bold;
  font-size: 22px;
}
.navbar a.nav-link:hover,
.navbar a.nav-link.active,
.btn-login:hover,
.btn-logout:hover{
  opacity: 0.85;
}
.btn-login{
  border: 1px solid #C18C4C;
  color: #ffffff;
  background: #C18C4C;
  padding: 4px 16px;
  font-weight: bold;
  font-size: 0.9rem;
}
.btn-logout{
  border: 2px solid #C18C4C;
  color: #C18C4C;
  background: transparent;
  padding: 4px 16px;
  font-weight: bold;
  font-size: 0.9rem;
}
.btn-logout:hover,
.btn-logout:focus{
  color: #C18C4C;
}
.nav-news{ position: relative;}
.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.9;
}
.navbar-toggler{
  padding: 0px;
  height: 24px;
  width: 32px;
  color: #4d4d4d;
}
.navbar-toggler-icon{ height: 1.3em;}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
  outline: none;
  box-shadow: none;
}
/* help modal */
.help-modal .fa-line{
  color: #1DCD00;
  font-size: 52px;
}
.help-modal .fa-envelope-square{
  color: #DE3C51;
  font-size: 52px;
}
/* 打卡 modal */
.clock-in .d-flex > div:first-child{
  flex: 0 0 52px;
}
/* page-title */
.page-title h1{
  position: relative;
  display: inline-block;
  padding: 0px 45px;
}
.page-title h1:before,
.page-title h1:after{
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 36px;
  height: 1px;
  background-color: black;
  -webkit-transform: rotate(-70deg);
  transform: rotate(-70deg);
}
.page-title h1:before { left:0;}
.page-title h1:after { right: 0;}
/* footer */
.footer{ background: #F3ECE1;}
.footer-border{ border-right: 1px solid #ccc;}
/* scrolltop*/
.scroll-top{
  position: fixed;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #ffffff;
  background-color: rgba(0,0,0,0.3);
  z-index: 99;
}
.scroll-top:hover{
  color: #ffffff;
  background-color: rgba(0,0,0,0.5);
}
@media screen and (max-width:767.9px){
  #navbar-course{
    position: absolute;
    top: 70px;
    right: 0px;
    z-index: 99;
    width: 100vw;
  }
  .navbar-nav{
    background: rgba(249,248,238,1);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  }
  .navbar-nav li.nav-item{
    width: 100%;
    border-top: 1px dashed #dddddd;
    text-align: center;
    padding: 8px 12px;
  }
  .navbar-nav li.nav-item:first-child{
    border-top-width: 0px;
  }
  .navbar-nav li.nav-item a.nav-link{
    font-size: 16px;
  }
  .navbar-nav .btn-logout{
    border-width: 0px;
    font-size: 16px;
    color: #707070;
    background: transparent;
    padding: 0px;
  }
  .navbar-nav .btn-logout:hover{
    background: transparent;
    color: #707070;
  }
  .news-badge.class-badge{
    position: relative;
    display: inline-block;
  }
}
@media screen and (max-width:575.9px){
  .navbar-brand{ padding-right: 60px;}
  .footer .d-flex > div:last-child > .footer-border{ border-right-width: 0px;}
}
@media screen and (max-width:319.9px){
  .navbar-brand{ padding-right: 0px;}
  .navbar .position-relative:before{ border-width: 0px;}
}
/* ----------------- login modal ----------------- */
.prompt-text{
  color: #aaaaaa;
  font-size: 14px;
}
.error-prompt{
  padding: 16px;
  background-color: #f2dede;
  border: 1px solid #ebccd1;
  font-size: 15px;
  margin-bottom: 24px;
}
/* login modal */
.login-modal .wrap-input { /* 20211103 change */
  width: 100%;
  position: relative;
  border-bottom: 2px solid #E8E1D9;
}
.login-modal .form-control{
  font-size: 16px;
  line-height: 1;
  border-radius: 0px;
  border: 0px;
  display: block;
  width: 100%;
  height: 40px;
  background: transparent;
  padding: 0px 7px 0px 45px;
  letter-spacing: 1px;
  text-indent: 1px;
}
.login-modal .input-icon{
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}
.login-modal .input-icon::after{ /* 20211103 change */
  content: attr(data-symbol);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #E8E1D9;
  font-size: 22px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 0;
  padding-left: 10px;
  padding-top: 3px;
}
.login-modal .input-icon::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C18C4C;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.login-modal .form-control:focus + .input-icon::before{
  width: 100%;
}
.login-modal .form-control:focus + .input-icon::after{
  color: #C18C4C;
}
.login-modal .btn{
  min-height: 44px;
}
.login-divider{  /* 20211103 change */
  position: relative;
  background-color: #FCFAF7;
  color: #C18C4C;
  font-size: 13px;
}
.login-divider:before, .login-divider:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: calc((100% - 140px)/2);
  height: 1px;
  background-color: #aaaaaa;
}
.login-divider:before { left:0;}
.login-divider:after { right: 0;}
.login-google,
.login-btn{ /* 20211103 change */
  transition: background-color 0.3s, box-shadow 0.3s;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dddddd;
  color: #757575;
  font-size: 14px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background-color: white;
}
.login-google:hover {
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.login-btn:hover{ /* 20211103 change */
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.08);
}
#accountLogin{ /* 20211103 add */
  background-color: #FCFAF7;
}
.input-checkbox { display: none;}
.label-checkbox{
  font-size: 13px;
  font-weight: 900;
  color: #999999;
  line-height: 1.4;
  display: block;
  position: relative;
  cursor: pointer;
}
.label-checkbox::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-size: 14px;
  color: transparent;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 2px;
  background: #fff;
  border: 1px solid #e6e6e6;
  right: 60px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.input-checkbox:checked + .label-checkbox::before {
  color: #C18C4C;
}
/* ----------------- 首頁 ----------------- */
.index-title {
  position: relative;
  padding: 12px 28px 12px 20px;
  -webkit-background: linear-gradient(-155deg, rgba(0, 0, 0, 0) 1.5em, #F56765 0%);
  background: linear-gradient(-155deg, rgba(0, 0, 0, 0) 1.5em, #F56765 0%);
  border-radius: 4px;
}
.index-title::after {
  position: absolute;
  top: 0;
  right: 0;
  content: '';
  width: 1.65507em;
  height: 3.5493em;
  background: -webkit-linear-gradient(to left bottom, rgba(230,76,76, 0) 50%, rgba(230,76,76, 0.9) 0%, rgba(230,76,76, 0.8));
  background: linear-gradient(to left bottom, rgba(230,76,76, 0) 50%, rgba(230,76,76, 0.9) 0%, rgba(230,76,76, 0.8));
  border-bottom-left-radius: 4px;
  box-shadow: -.2em .2em .3em -.1em rgba(213,90,88, 0.4);
  -webkit-transform: translateY(-1.89424em) rotate(-40deg);
  transform: translateY(-1.89424em) rotate(-40deg);
  -webkit-transform-origin: bottom right;
  transform-origin: bottom right;
}
.school-card{
  justify-content: space-between;
}
.school-card .card-footer{
  background: #ffffff;
  margin: 0 12px;
  text-align: center;
}
/* ----------------- 學校課程清單 ----------------- */
.title-img{
  width: 50px;
  margin-right: 4px;
  display: inline-block;
}
.block-title{
  position: relative;
  padding: 12px 20px;
  border-radius: 4px;
  background: #F3ECE1;
}
.block-title:before,
.block-title:after {
  position: absolute;
  content: '';
  border-radius: 50%;
  background: #F3ECE1;
  z-index: -1;
}
.block-title:before {
  bottom: -10px;
  left: 30px;
  width: 24px;
  height: 24px;
}
.block-title:after {
  bottom: -24px;
  left: 50px;
  width: 12px;
  height: 12px;
}
.course-card{
  border-bottom: 6px solid #F4CA73;
}
.course-card .card-img-container{
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.course-card .card-img-container:after{
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.35);
  transition: all .8s;
}
.course-card .card-img-container .card-img{
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all .8s;
  border-radius: 0px;
}
.course-card:hover .card-img-container .card-img{
  transform: scale(1.2);
  transition: all .8s;
}
.course-card:hover .card-img-container:after{
  background: rgba(0,0,0,0.1);
  transition: all .8s;
}
.course-card .card-title{
  color: #4d4d4d;
  font-weight: bold;
}
.course-card .card-body a,
.course-card .card-body p{
  display: inline-block;
  -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;
}
.course-search .input-group-text{
  background-color: #F56765;
  color: #ffffff;
  border-width: 0px 0px 0px 0px;
}
.course-search .form-select{
  border-width: 1px 1px 1px 0px;
}
.teacher-card {
  justify-content: space-between;
}
/* teacher modal */
.teacher-modal h6.info-title {
  border-bottom: solid 3px #F7D1DA;
  position: relative;
  font-weight: bold;
}
.teacher-modal h6.info-title:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #E64C4C;
  bottom: -3px;
  width: 88px;
}
.teacher-modal img{
  max-height: 200px;
}
@media screen and (max-width: 991.9px) {
  .course-card .card-img-container{
    height: 300px;
  }
}
@media screen and (max-width: 767.9px) {
  .course-card .card-img-container{
    height: 260px;
  }
}
@media screen and (max-width: 575.9px) {
  .course-card .card-img-container{
    height: 200px;
  }
}
@media screen and (max-width: 399.9px) {
  .course-card .card-img-container{
    height: 160px;
  }
  .course-card .card-body{ padding: 12px 8px;}
  .course-card .card-title{ font-size: 15px;}
  .course-card .card-text{ font-size: 13px;}
}
@media screen and (max-width: 299.9px) {
  #tab-mycourses .row-cols-2>* ,
  #tab-courseslist .row-cols-2>*{
      flex: 0 0 auto;
      width: 100%;
  }
}
/* ----------------- profile ----------------- */
.bg-profile{ background-color: rgba(243,236,225,0.25);}
.card-profile .profile-img{
  border-radius: 16px;
  box-shadow: 6px 6px 0px rgba(243,236,225,1);
}
.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 .profile-info{
  position: relative;
  border: 1px dashed #aaaaaa;
}
.card-profile .profile-info:before {
  position: absolute;
  top: 5px;
  right: -5px;
  width: 100%;
  height: 100%;
  content: '';
  background-color: rgba(243,236,225,1);
  z-index: -1;
}
.card-profile .card-info{
  overflow-y: auto;
  max-height: 168px;
  color: #707070;
  line-height: 28px;
  background: linear-gradient(#FCFAF7 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #FCFAF7 70%) 0 100%, radial-gradient(50% 0, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), radial-gradient(50% 100%, farthest-side, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;
  background: linear-gradient(#FCFAF7 30%, rgba(255, 255, 255, 0)), linear-gradient(rgba(255, 255, 255, 0), #FCFAF7 70%) 0 100%, radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)) 0 100%;
  background-repeat: no-repeat;
  background-color: #FCFAF7;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}
.card-profile .card-info p{ margin-bottom: 8px;}
/* ----- TAB 課程介紹與公告 -----*/
/* 課程介紹 */
.profile-tab.tab-nav{
  border: 1px dotted #F3ECE1;
  border-width: 2px 0px;
}
.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: 18px;
  color: #707070;
  font-weight: bold;
  padding: 16px 20px;
}
.profile-tab .nav-link:hover,
.profile-tab .nav-link.active{
  color: #C18C4C;
  text-shadow: 0px 0px 6px rgba(243,236,225,0.3);
}
.profile-tab .tab-content{
  padding: 2.5rem 4px;
}
.profile-tab .tab-content p,
.profile-tab .tab-content li{
  color: #707070;
  line-height: 30px;
  text-align: justify;
  font-size: 16px;
}
/* 課程公告 */
.accordion-notice .accordion-item{
  margin-bottom: 24px;
  border: 2px solid #F3ECE1;
  border-radius: 4px;
  overflow: hidden;
}
.accordion-flush .accordion-item:first-child {
  border-top: 2px solid #F3ECE1;
}
.accordion-flush .accordion-item:last-child {
  border-bottom: 2px solid #F3ECE1;
}
.accordion-notice .accordion-button{
  background-color: #FCFAF7;
  border-width: 0px;
  color: #707070;
  font-weight: bold;
  outline: none;
  box-shadow: none;
  text-align: left;
  padding: 0.75rem 1rem;
  align-items: flex-start;
  line-height: 24px;
}
.accordion-notice .accordion-button .sort-important,
.accordion-notice .accordion-button .sort-normal,
.accordion-notice .accordion-button .sort-hw,
.accordion-notice .accordion-button .sort-makeup{
  flex: 0 0 44px;
  font-size: 0.9rem;
  color: #ffffff;
  text-align: center;
  margin: 2px 4px 0px 12px;
  height: 20px;
  line-height: 20px;
  position: relative;
}
.accordion-notice .accordion-button .sort-important{
  background: #F24030;
}
.accordion-notice .accordion-button .sort-normal{
  background: #0DCAF0;
}
.accordion-notice .accordion-button.show::after{
  background: #093A69;
  margin-top: 4px;
}
.accordion-notice .accordion-body{
  background: #ffffff;
}
.accordion-button div.sort-important:before,
.accordion-button div.sort-hw:before {
  position: absolute;
  top: 0;
  left: -10px;
  content: '';
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #F24030 transparent transparent;
}
.accordion-button div.sort-normal:before{
  position: absolute;
  top: 0;
  left: -10px;
  content: '';
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #0DCAF0 transparent transparent;
}
.accordion-button div.sort-makeup:before {
  position: absolute;
  top: 0;
  left: -10px;
  content: '';
  border-width: 10px 10px 10px 0;
  border-style: solid;
  border-color: transparent #FFC107 transparent transparent;
}
.accordion-button div.sort-important:after,
.accordion-button div.sort-hw:after,
.accordion-button div.sort-normal:after,
.accordion-button div.sort-makeup:after{
  position: absolute;
  top: calc(50% - 3px);
  left: -3px;
  width: 5px;
  height: 5px;
  content: '';
  border-radius: 50%;
  background: #fff;
}
/* ----- TAB 課程章節 ----- */
.chapter{ margin-bottom: 24px;}
.chapter .ch-title{
  font-weight: bold;
  color: #E64C4C;
}
.chapter .ch-list{
  padding: 12px 8px 12px 4px;
  border-bottom: 2px dotted #F3ECE1;
  border-left: 2px solid #F3ECE1;
  border-right: 2px solid #F3ECE1;
}
.chapter .ch-list:first-child{
  border-bottom: 2px solid #F3ECE1;
  border-top: 2px solid #F3ECE1;
  background-color: rgba(252,250,247,0.8);
}
.chapter .ch-list:last-child{
  border-bottom: 2px solid #F3ECE1;
}
.chapter .ch-list:hover{ background: #FCFAF7;}
.chapter .ch-list.class-day{
  border: 2px solid rgba(230,76,76,0.8);
  margin-top: -2px;
}
/* other col */
.ch-list .ch-number{
  width: 56px;
  text-align: center;
  font-size: 13px;
  color: rgba(230,76,76,0.8);
}
.ch-list .ch-name{
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}
.ch-list .ch-name a{ color: #707070;}
.ch-list:hover .ch-name a{ color: #E64C4C;}
.ch-list .ch-name .ch-desc{
  font-size: 0.9rem;
  color: #aaaaaa;
  word-break: break-all; /*20220425因為描述遇到網址在手機介面無法換行的處理*/
}
.ch-list .ch-name .sub-name{
  /*單元描述多行隱藏*/
  -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-download{ flex: 0 0 35px;}
.ch-list .ch-download a{
  width: 30px;
  height: 30px;
  background-color: #F3ECE1;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  display: inline-block;
  font-size: 16px;
  color: #F56765;
}
.ch-list .ch-download a:hover{
  color: #E64C4C;
}
.ch-list .ch-time{
  flex: 0 0 100px;
  text-align: center;
  color: #707070;
  font-size: 0.9rem;
}
/* 狀態 */
.ch-list .ch-status{
  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-status .btn-enter{
  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;
  cursor: not-allowed;
}
.ch-status .btn-enter.active{
  background-color: #C40048;
  border: 1px solid #880606;
  box-shadow: 0px 2px 0 #880606;
  cursor: pointer;
}
.ch-status .btn-work{
  font-size: 13px;
  border-radius: 4px;
  padding: 8px 4px;
  display: block;
}
/* 作業 modal */
.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;
}
/* ----- TAB 問題討論和課程學生清單 ----- */
/* student list */
#course-stu > .stu-list:first-child{
  background-color: #FCFAF7;
  padding: 12px 4px;
}
.stu-list{
  padding: 8px 4px;
  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;}
/* search bar */
.search-pill .form-control,
.search-pill .input-group-text{
  border-radius: 0.25rem;
  min-height: 42px;
  font-size: 15px;
}
.search-pill .input-group-text{
  border: 1px solid #ced4da;
  border-left-width: 0px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  line-height: 26px;
  padding: 0.375rem 20px;
}
.search-pill .form-control{
  border-right-width: 0px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  padding: 0.375rem 20px;
}
/* 新增討論 */
.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;
  transition: all .8s;
  position: relative;
  background: #FCFAF7;
  border: 1px solid #efefef;
  border-radius: 4px;
}
.discuss-new.toggled .new-body{
  display: block;
  transition: all .8s;
}
.discuss-new .new-body:after{
  position: absolute;
  content: '';
  top: -24px;
  left: 30px;
  border: 12px solid transparent;
  border-bottom: 12px solid #FCFAF7;
  width: 0;
  height: 0;
}
.discuss-new .new-body:before{
  position: absolute;
  content: '';
  top: -28px;
  left: 28px;
  border: 14px solid transparent;
  border-bottom: 14px solid #efefef;
  width: 0;
  height: 0;
}
.discuss-upload.form-control:read-only {
  background-color: #ffffff;
}
.discuss-new .new-body .input-group > div:first-child{
  width: 90px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.discuss-upload{ position: relative;}
.discuss-upload:after{
  content: "上傳檔案";
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: #F56765;
  width: 89px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  min-height: 42px;
  padding-top: 6px;
}
/* 討論內容 */
.discuss-content{
  padding: 16px;
  border: 2px solid #F3ECE1;
  margin-bottom: 20px;
}
.discuss-content .border-bottom {
    border-bottom: 2px dotted #F3ECE1!important;
}
.discuss-body{ display: none;}
.discuss-content.toggled .discuss-body{
  display: block;
}
.discuss-content .discuss-upload{
  margin-top: -1px;
}
.photo-content{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #F3ECE1;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.text-break{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -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{
  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;
}
@media screen and (max-width: 991.9px) {
  .card-profile .card-info{ max-height: 100%;}
}
@media screen and (max-width: 767.9px){
    .profile-tab .tab-content{
        padding: 32px 4px 4px;
    }
    .profile-tab .nav-link{
        font-size: 18px;
        padding: 12px 16px;
    }
    .discuss-body{ padding: 12px 16px;}
    .discuss-body .faq-comment .comment-content{
        padding-left: 0px;
    }
    /**/
    .ch-list .ch-number{ /* 20220210 修改 */
        flex: 0 0 40px;
        font-size: 13px;
    }
    .ch-list .ch-name{
        padding-left: 8px;
        padding-right: 8px;
    }
    .ch-list .ch-name a{ font-size: 15px;}
    .ch-list .ch-download{ flex: 0 0 25px;}
    .ch-list .ch-download a{
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 13px;
    }
    .ch-list .ch-time{
        flex: 0 0 68px;
        font-size: 13px;
    }
    .ch-list .ch-status{ flex:0 0 32px;}
    .status-finish{ border-width: 0px;}
    .ch-list .text-status{ display: none;}
    .ch-list .btn-text-mobile{ display: none;}
}
@media screen and (max-width: 575.9px){
  .profile-tab .tab-content p{
    font-size: 15px;
    line-height: 24px;
  }
  .text-mobile{ display: block;}
  .profile-tab .nav-link{
    font-size: 17px;
    padding: 12px 4px;
  }
  .accordion-notice .accordion-button{ flex-wrap: wrap;}
  .accordion-notice .accordion-btn-title{
    flex: 0 0 calc(100% - 28px);
    margin-top: 6px;
  }

  .ch-list{ padding: 8px 4px;}

  .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;}
}
@media screen and (max-width: 475.9px){ /* 20220210 將399.9px 改 475.9px */
    .ch-list .ch-number{ /* 20220210 新增 */
        flex: 0 0 100%;
        text-align: left;
        margin-bottom: 4px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .ch-list{
        flex-wrap: wrap;
        justify-content: end;
    }
    .ch-list .ch-name{
        flex: 0 0 100%;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid #f5f5f5;
    }
    .ch-list .ch-time{
        flex: 0 0 auto;
        padding-left: 12px;
        padding-right: 12px;
    }
    .ch-list .ch-status{
        flex: 0 0 120px;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    .ch-list .text-status{ display: inline;}
    .ch-list .btn-text-mobile{ display: inline;}
}

/* ----------------- player ----------------- */
.player-container{
  min-height: calc(100vh - 60px);
  background: #000000;
}
.player-bar{
  background: #C18C4C;
  height: 60px;
}
.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;
}
.player-bar .player-back a{
  text-decoration: none;
  color: #ffffff;
  line-height: 60px;
  padding: 0px 8px;
}
#menu-toggle{
  border: 1px solid #AA1C40;
  font-size: 14px;
  margin: 4px;
  background-color: #E64C4C;
  color: #ffffff;
}
.video-container{
  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{
  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{
  padding: 20px;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
}
.video img{
  max-height: calc(100vh - 152px);
}
.video-container .remarks-add .form-control{
  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{
  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{
  color: #38C0DA;
  border: 1px solid #38C0DA;
  transition: all .3s ease;
}
.player-list{
  position: fixed;
  top: 60px;
  right: 0px;
  width: 0px;
  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-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;
}
.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;
}
.btn-download button{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 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 */
.player-list .nav-pills .nav-link{
  font-size: 14px;
  padding: 2px 8px;
}
.player-list .nav-pills .nav-link{
  border: 1px solid #E64C4C;
  color: rgba(255,255,255,0.7);
  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: #E64C4C;
  color: #ffffff;
}
.player-list .remarks-ch{
  background: #ffffff;
  border-bottom: 2px solid #000000;
  padding: 8px;
}
.player-list .remarks-ch-book{
  background: #ffffff;
  border-bottom: 2px solid #000000;
}
.player-list .remarks-ch-book > p{
  color: #C07D2F;
}
.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: #E64C4C;
  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: 575.9px){
  #player-container.toggled .video-container{
    padding-right: 0px;
  }
  #player-container.toggled .player-list{
    width: 100%;
  }
  .player-list .ch-submenu{
    font-size: 16px;
  }
  .player-list .player-ch{
    font-size: 15px;
  }
}
@media screen and (max-width: 320px){
  .player-bar .course-name,
  .player-bar .back-text{
    display: none;
  }
}
/* ----------------- 系統公告 ----------------- */
.news-container .news-content{
  padding: 8px;
  border-bottom: 2px dotted #F3ECE1;
}
.news-container.news-list .news-content{
  padding: 12px 8px;
}
.news-content .new-sort{
  flex: 0 0 68px;
  padding-left: 8px;
}
.news-content .news-title{ flex: 1;}
.news-content .news-date{
  flex: 0 0 110px;
  text-align: right;
  font-size: 0.9rem;
  color: #aaaaaa;
  letter-spacing: 0.5px;
  text-indent: 0.5px;
}
.new-sort span,
#news-content .modal-title > span:first-child{
  position: relative;
  padding: 2px 8px;
  color: #ffffff;
  font-size: 14px;
}
.sort-important{ background: #F24030;}
.sort-normal{ background: #0DCAF0;}
.sort-makeup{ background: #FFC107; color: #ffffff;}
.sort-hw{ background: #F24030;}
span.sort-important:before,
span.sort-hw:before{
  position: absolute;
  top: 0;
  left: -10px;
  content: '';
  border-width: 11.5px 10px 11.5px 0;
  border-style: solid;
  border-color: transparent #F24030 transparent transparent;
}
span.sort-normal:before{
  position: absolute;
  top: 0;
  left: -10px;
  content: '';
  border-width: 11.5px 10px 11.5px 0;
  border-style: solid;
  border-color: transparent #0DCAF0 transparent transparent;
}
span.sort-makeup:before{
  position: absolute;
  top: 0;
  left: -10px;
  content: '';
  border-width: 11.5px 10px 11.5px 0;
  border-style: solid;
  border-color: transparent #FFC107 transparent transparent;
}
span.sort-important:after,
span.sort-hw:after,
span.sort-normal:after,
span.sort-makeup:after{
  position: absolute;
  top: calc(50% - 3px);
  left: -3px;
  width: 5px;
  height: 5px;
  content: '';
  border-radius: 50%;
  background: #fff;
}
.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;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-content .news-title a:hover{
  opacity: 0.8;
}
.news-container .nav-tabs,
.school-container .nav-tabs{
  border-bottom: 0px solid #f0f0f0;
  position: relative;
  margin-bottom: 2em;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: #F3ECE1;
}
.news-container .nav-tabs:before,
.news-container .nav-tabs:after,
.school-container .nav-tabs:before,
.school-container .nav-tabs:after{
  position: absolute;
  content: '';
  border-radius: 50%;
  background: #F3ECE1;
}
.news-container .nav-tabs:before,
.school-container .nav-tabs:before{
  bottom: -10px;
  left: 30px;
  width: 24px;
  height: 24px;
}
.news-container .nav-tabs:after,
.school-container .nav-tabs:after{
  bottom: -24px;
  left: 50px;
  width: 12px;
  height: 12px;
}
.news-container ul.nav-tabs a.nav-link,
.school-container ul.nav-tabs a.nav-link{
  font-weight: bold;
  color: #707070;
  border-width: 0px;
  margin-bottom: 0px;
  border-color: #f0f0f0;
  padding: 4px 12px;
  background: transparent;
  font-size: 18px;
}
.news-container ul.nav-tabs a.nav-link.active,
.news-container ul.nav-tabs a.nav-link:hover{
  color: #093A69;
}
.school-container ul.nav-tabs a.nav-link.active,
.school-container ul.nav-tabs a.nav-link:hover{
  color: #E64C4C;
}
@media screen and (max-width: 575.9px) {
  .news-container .news-content{
    flex-wrap: wrap;
  }
  .news-container.news-list .news-content{
    padding: 8px 8px;
  }
  .news-content .new-sort{
    flex: 0 0 60px;
    padding-left: 4px;
  }
  .news-content .news-title{
    flex: 0 0 calc(100% - 60px);
  }
  .news-content .news-title a{
    font-size: 15px;
  }
  .news-content .news-date{
    flex: 0 0 100%;
    padding-left: 60px;
    text-align: left;
    margin-top: 2px;
    font-size: 13px;
  }
  .news-container ul.nav-tabs a.nav-link,
  .school-container ul.nav-tabs a.nav-link{
    padding: 4px 8px;
  }
  #news-content .modal-title .h5{ font-size: 17px;}
}
/* ----------------- 補課紀錄 ----------------- */
.table-makeup tbody tr:last-child{ border-bottom-width: 0px;}
.table-makeup tr th{
  min-width: 85px;
  padding: 12px 8px;
  border-width: 0px;
  background-color: #F3ECE1;
  font-size: 15px;
  color: #707070;
  text-align: center;
}
.table-makeup .th-start,
.table-makeup .th-end{
  min-width: 108px;
}
.table-makeup tbody tr td{
  border-color: #efefef;
}
.table-makeup tbody tr td:nth-child(3),
.table-makeup tbody tr td:nth-child(4),
.table-makeup tbody tr td:nth-child(5){
  font-size: 0.9rem;
  text-align: center;
}
.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: #F3ECE1;
  }
  .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;
    text-align: left;
  }
}

/* ----------------- 行事曆 ----------------- */
.schedule-card{
  background: #ffffff;
  border: 1px solid #dddddd;
}
.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: #C18C4C;}
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: #F56765;
  border-color: #F56765;
}
.schedule-card .btn-primary:hover{
  color: #fff;
  background-color: #E64C4C;
  border-color: #E64C4C;
}
.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: #E64C4C;
  border-color: #E64C4C;
  color: #ffffff;
}
.table-bordered{
  border: 1px solid rgba(0,0,0,0.08);
}
.schedule-card .alert-info {
  background-color: rgba(249,157,155,0.05);
  border-color: rgba(249,157,155,0.05);
}
.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;
  }
}
/*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;
}
/* 考卷 modal */
.stu-ans{
  border: 2px solid #F3ECE1;
  background-color: #F3ECE1;
  padding: 8px;
  color: #4d4d4d;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
}
.stu-ans > .d-flex > div:first-child{
  flex: 0 0 160px;
  word-break: break-all;
}
.stu-ans > .d-flex > div:last-child{
  flex: 0 0 200px;
}
.table-ans{
  border: 2px solid #F3ECE1;
  border-radius: 4px;
  font-size: 0.9rem;
}
.table-ans thead th{
  border-bottom-width: 0px;
  font-size: 17px;
  color: #C18C4C;
}
.table-ans tbody td{
  border-bottom: 2px dotted #F3ECE1;
  color: #4d4d4d;
}
.table-ans tbody tr:last-child td{ border-bottom-width: 0px;}
@media screen and (max-width: 991.9px) {
  .ans-modal .modal-dialog{
    max-width: 100%;
    margin: 1.75rem 1rem;
  }
}
@media screen and (max-width: 767.9px) {
  .stu-ans > .d-flex{
    flex-wrap: wrap;
  }
  .stu-ans > .d-flex > div:first-child,
  .stu-ans > .d-flex > div:nth-child(2),
  .stu-ans > .d-flex > div:last-child{
    flex: 0 0 100%;
  }
  /* 作業類型 */
  .table-ans{ border-width: 0px;}
  .table-ans thead{
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .table-ans td:before{
    content: attr(data-label);
    display: flex;
    flex: 0 0 80px;
    text-transform: uppercase;
    color: #555555;
    font-weight: bold;
  }
  .table-ans tbody tr{
    display: block;
    margin-bottom: 24px;
    margin-bottom: 0px;
  }
  .table-ans tbody td{
    display: flex;
    flex-wrap: nowrap;
    border-right: 2px solid #F3ECE1;
    border-left: 2px solid #F3ECE1;
  }
  .table-ans tbody tr:last-child td{
    border-bottom-width: 2px;
  }
  .table-ans tbody td:first-child{
    background: #F3ECE1;
    align-items: center;
  }
  .table-ans tbody td:last-child{
    padding: 0.5rem;
    border-bottom-style: solid;
  }
}
/*EPUB*/
.popover-header{
  background: #FCFAF7;
  border-bottom: 1px dashed #F3ECE1;
  padding: 8px 12px;
  font-size: 14px;
  color: #707070;
}
.popover-body{
  background: #FCFAF7;
  padding: 8px 12px;
  color: #707070;
  font-size: 14px;
}
.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,
.bs-popover-start>.popover-arrow::after{
  border-left-color: #FCFAF7;
}
@media screen and (max-width: 991.9px) {
  .ans-modal .modal-dialog{
    max-width: 100%;
    margin: 1.75rem 1rem;
  }
}
/* -------------------------- 課程報表 -------------------------- */
.report-container .title-card ul.nav-tabs li:first-child a.nav-link {
  padding-left: 8px;
}
.stu-report{
  border: 1px solid rgba(193,140,76,0.3);
  background-color: #F3ECE1;
  padding: 10px 8px;
  color: #4d4d4d;
  border-radius: 4px;
  font-size: 15px;
  font-weight: bold;
}
.stu-report i.fa-user-clock{
  color: #E64C4C;
}
.stu-report > .d-flex > div:first-child{
  flex: 0 0 340px;
  word-break: break-all;
}
/*報表table*/
.report-container .table-responsive-sm{
  border: 1px solid #F3ECE1;
}
.table-report tbody td{
  font-size: 15px;
  color: #4d4d4d;
  text-align: center;
  border-bottom: 1px dotted #F3ECE1;
}
.table-report thead th{
  text-align: center;
  color: #C18C4C;
  border-bottom-width: 0px;
  background: #FCFAF7;
  font-size: 15px;
  min-width: 80px;
}
.table-report tbody td:first-child{
  text-align: left;
  text-align: justify;
  min-width: 120px;
}
.table-report tbody tr:last-child td{
  border-bottom-width: 0px;
}
/*全班累積閱讀時間和slide報表報表*/
.report-search.d-flex > div:last-child{
  flex: 0 0 280px;
  font-size: 14px;
}
.epubtime-container{
  border: 2px solid #F3ECE1;
  width: 100%;
  max-height: 400px;
  overflow: auto;
}
.epubslide-container{
  width: 100%;
  overflow: auto;
}
.table-epubtime td,
.table-epubslide td{
  font-size: 15px;
  color: #4d4d4d;
  text-align: center;
  border-bottom: 1px dotted #F3ECE1;
}
.table-epubtime p,
.table-epubslide p{
  margin-bottom: 0px;
  font-size: 13px;
  color: #707070;
}
.table-epubtime thead th,
.table-epubslide thead th{
  text-align: center;
  color: #C18C4C;
  border-bottom-width: 0px;
  background: #F3ECE1;
  font-size: 15px;
  min-width: 120px;
  vertical-align: middle;
}
.table-epubslide thead th{
  background: #FCFAF7;
  min-width: 80px;
}
.table-epubtime th:first-child,
.table-epubslide th:first-child{
  min-width: 160px;
}
.table-epubtime tbody tr:last-child td,
.table-epubslide tbody tr:last-child td{
  border-bottom-width: 0px;
}
/*上列固定*/
.table-epubtime thead,
.table-epubslide thead{
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: 0 2px 0px #F3ECE1;
}
.table-epubslide thead{
  box-shadow: 0 1px 0px #F3ECE1;
}
.table-epubtime thead tr td{
  border-bottom-width: 0px;
  background: #ffffff;
  font-weight: bold;
}
/*左側固定*/
.table-epubtime thead th:first-child,
.table-epubslide thead th:first-child{
  position: sticky;
  left: 0;
  z-index: 2;
}
.table-epubtime thead td:first-child,
.table-epubtime tbody td:first-child,
.table-epubslide tbody td:first-child{
  position: sticky;
  left: 0;
  background: #FCFAF7;
  z-index: 1;
  word-break: break-all;
  text-align: left;
}
@media screen and (max-width: 767.9px) {
  .report-search.d-flex > div:last-child{
    flex: 0 0 100%;
  }
}
@media screen and (max-width: 575.9px) {
  .report-search{ font-size: 15px;}
  .stu-report{
    padding: 4px 8px;
  }
  .stu-report > .d-flex{ flex-wrap:wrap;}
  .stu-report > .d-flex > div:first-child,
  .stu-report > .d-flex > div:last-child{
    flex: 0 0 100%;
  }
  .stu-report > .d-flex > div:last-child{
    padding-left: 28px;
  }
  .stu-report > .d-flex > div{
    padding: 4px 0px;
    border-bottom: 1px dotted rgba(193,140,76,0.8);
  }
  .stu-report > .d-flex > div:last-child{
    border-bottom-width: 0px;
  }
}
@media screen and (max-width: 380px){
  .report-container .title-card ul.nav-tabs a.nav-link {
    font-size: 18px;
  }
}
/* 整體 */
.search-card .input-group-text{
  background-color: #F56765;
  color: #ffffff;
  border-width: 0px 0px 0px 0px;
}
.search-card .form-select{
  border-width: 1px 1px 1px 0px;
}
.title-card{
  position: relative;
  padding: 12px 20px;
  border-radius: 4px;
  background: #F3ECE1;
}
.title-card:before,
.title-card:after{
  position: absolute;
  content: '';
  border-radius: 50%;
  background: #F3ECE1;
  z-index: -1;
}
.title-card:before{
  bottom: -10px;
  left: 30px;
  width: 24px;
  height: 24px;
}
.title-card:after{
  bottom: -24px;
  left: 50px;
  width: 12px;
  height: 12px;
}
p.course-name{
  margin-bottom: 0px;
  color: #707070;
  font-weight: normal;
}
span.course-remarks{
  font-size: 0.9rem;
  color: #7F7F7F;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media screen and (max-width:991.9px){
  .notfound-404{
    font-size: 200px;
  }
  #delete-modal h5{ font-size: 17px!important;}
  .search-card button[type="submit"]{ font-size: 15px;}
  .search-card .input-group-text{ font-size: 15px;}
}
@media screen and (max-width:575.9px){
  .title-card{ padding: 8px 12px;}
  #navbarMenu{
    position: absolute;
    top: 70px;
    right: 0px;
    z-index: 99;
    width: 100vw;
  }
  .navbar-nav{
    background: rgba(249,248,238,1);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
  }
  .navbar-nav li.nav-item{
    width: 100%;
    border-top: 1px dashed #dddddd;
    text-align: center;
    padding: 8px 12px;
  }
  .navbar-nav li.nav-item:nth-child(2){
    border-top-width: 0px;
  }
  .navbar-nav li.nav-item a.nav-link{
    font-size: 16px;
  }
  .navbar .navbar-toggler-icon{
    height: 1.2em;
  }
  .navbar-nav .btn-login,
  .navbar-nav .btn-logout{
    border-width: 0px;
    font-size: 16px;
    color: #707070;
    background: transparent;
    padding: 0px;
  }
  .navbar-nav .btn-login:hover,
  .navbar-nav .btn-logout:hover{
    background: transparent;
    color: #707070;
  }
  .news-badge.class-badge{
    position: relative;
    display: inline-block;
  }
  .navbar-brand{ padding-right: 40px;}
  .footer .d-flex > div:last-child > .footer-border{
    border-right-width: 0px;
  }
  .notfound p{ line-height: 24px!important;}
  .modal-footer .btn{ font-size: 15px;}
}
@media screen and (max-width:349.9px){
  .btn-login {
    padding: 4px 8px;
    font-size: 0.8rem;
  }
}
@media screen and (max-width:319.9px){
  .navbar-brand{ padding-right: 0px;}
  .navbar-brand h3{ display: none!important;}
  .navbar .position-relative:before{ border-width: 0px;}
}
/* -------------------------- 課程紀錄 -------------------------- */
.title-card ul.nav-tabs {
  border-bottom: 0px solid #dee2e6;
}
.title-card ul.nav-tabs a.nav-link{
  font-weight: bold;
  color: #707070;
  border-width: 0px;
  margin-bottom: 0px;
  border-color: #f0f0f0;
  padding: 4px 12px;
  background: transparent;
  font-size: 18px;
}
.title-card ul.nav-tabs li:first-child a.nav-link{
  padding-left: 0px;
}
.title-card ul.nav-tabs li:last-child a.nav-link{
  padding-right: 0px;
}
.title-card ul.nav-tabs a.nav-link.active,
.title-card ul.nav-tabs a.nav-link:hover{
  color: #093A69;
}
.course-record .tab-content .d-flex{
  border-bottom: 2px dotted #F3ECE1;
  padding: 8px 12px;
}
.course-record .tab-content .d-flex:last-child{
  border-bottom-width: 0px;
}
.course-record .tab-content .d-flex > div:last-child{
  flex: 0 0 160px;
  font-size: 15px;
}
.course-record .tab-content .tab-pane{
  border: 2px solid #F3ECE1;
}
.course-record .tab-content .tab-pane > .d-flex:first-child > div{
  font-size: 17px;
}
.course-record #tab-playback .d-flex > div:first-child{
  flex: 0 0 160px;
}
.course-record #tab-playback .d-flex > div:nth-child(2){
  word-break: break-word;
  margin: 0 4px;
}
@media screen and (max-width: 991.9px) {
  .course-record .tab-content .d-flex{
    font-size: 15px;
  }
}
@media screen and (max-width: 575.9px) {
  .title-card ul.nav-tabs a.nav-link{
    padding: 4px 8px;
  }
  .course-record #tab-playback .d-flex > div:first-child{
    flex: 0 0 140px;
  }
  .course-record #tab-playback .d-flex > div:last-child{
    flex: 0 0 88px;
    text-align: center;
  }
}
@media screen and (max-width: 380px) {
  .title-card ul.nav-tabs a.nav-link{
    font-size: 16px;
    text-align: center;
  }
  .course-record #tab-playback .d-flex > div:first-child{
    flex: 0 0 80px;
  }
  .course-record a.nav-link{
    padding: 8px;
  }
  .course-record .tab-content .d-flex > div:last-child{
    flex: 0 0 108px;
    text-align: center;
  }
}
.btn-square {
  border-radius: 0px;
  padding: 6px 15px;
  background: #38C0DA;
  color: #ffffff;
  font-size: 1rem;
}
.modal p {
  word-break: break-all;
}

.modal span {
  word-break: break-all;
}

figure > img {
  width: 100%;
}

.modal { overflow: auto !important; }


/* ----------------- 20251111圖片縮放 ----------------- */
.logo-size {
  width: 36px;
  height: 36px;
  object-fit: contain; /* 保持图片比例 */
}

.column-gap-5{
  column-gap: 3rem!important;
}

