*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  /* overflow: hidden; */
  overflow-x: hidden;
  position: relative;
  left: 0px;
  top: 0px;
  font-family: sans-serif, serif, "Noto Sans CJK TC", "Microsoft JhengHei", PingFang, STHeiti;
  letter-spacing: .05rem;
  font-size: 14px;
}

#container {
  display: flex;
  flex-direction: column;
  height: 100%;
  
}

header {
  flex: 0 0 auto;
  box-shadow: #aaaaaa 1px 0px 3px;
}

.main {
  flex: 1 0 auto;
  background-image: linear-gradient(-225deg, #FFFEFF 0%, #fdf3ec 100%);
}

footer {
  flex: 0 0 auto;
  width: 100%;
  background-color: #92817a;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: small;
}

footer p {
  margin-bottom: 0%;
}

/* 初始設定 end */

.content {
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 10rem;
  width: 90%;
  max-width: 1920px;
}
nav{
  box-shadow: 0px 2px 3px #e4e4e4;
}
.navbar li {
  color: #5a5a5a;
}

.nav-link:hover {
  color: #00b8b8!important;
}

.navbar a:hover {
  color: #00b8b8;
}

.navbar a:active {
  color: #fff;
}

.navbar-brand{
  color: #725e54 !important;
  font-weight: bold;
  letter-spacing: .2rem;
}

.dropdown-item:hover {
  background-color: #fcf7f8;
}

.dropdown-item:active {
  background-color: #c9c0c0;
}

/* button */

.btn-w100 {
  width: 100%;
  border: solid 1.5px #6d6875;
  border-radius: .25rem;
  padding: .75rem 0;
  font-size: .8rem;
  letter-spacing: .05rem;
}
.btn-w50 {
  width: 50%;
  border: solid 1.5px #6d6875;
  border-radius: .25rem;
  padding: .75rem 0;
  font-size: .8rem;
  letter-spacing: .05rem;
  margin: .25rem;
}

.btn-lg {
  font-size: 1rem;
}

.btn-normal {
  border: 1.5px;
  border-radius: .25rem;
  padding: .75rem;
  font-size: .8rem;
  letter-spacing: .05rem;
  margin: .25rem;
}

.btn-sm {
  border: 1.5px;
  border-radius: .25rem;
  padding: .5rem;
  font-size: .8rem;
  letter-spacing: .05rem;
  margin: .25rem;
}

.btn-cancel {
  background-color: #fff;
  border: 1px solid #725e54;
  color: #725e54;
}

.btn-cancel:hover {
  background-color: #c9c0c0;
  border: 1px solid #c9c0c0;
  color: #fff;
}

.btn-brown {
  background-color: #9e8576;
  border: 1px solid #9e8576;
  color: #fff;
}

.btn-brown:hover {
  background-color: #cba38c;
  border: 1px solid #cba38c;
  color: #fff;
}

.btn-brown:active {
  background-color: #725e54;
  border: 1px solid #725e54;
  color: #fff;
}

.btn-turquoise {
  background-color: #00a0be;
  border: 1px solid #00a0be;
  color: #fff;
}

.btn-turquoise:hover {
  background-color: #27c0db;
  border: 1px solid #27c0db;
  color: #fff;
}

.btn-turquoise:active {
  background-color: #007e94;
  border: 1px solid #007e94;
  color: #fff;
}

.btn-orange {
  background-color: #fe9700;
  border: 1px solid #fe9700;
  color: #fff;
}

.btn-orange:hover {
  background-color: #ffb20b;
  border: 1px solid #ffb20b;
  color: #fff;
}

.btn-orange:active {
  background-color: #e48509;
  border: 1px solid #e48509;
  color: #fff;
}

.btn-red {
  background-color: #da2f4f;
  border: 1px solid #da2f4f;
  color: #fff;
}

.btn-red:hover {
  background-color: #f74767;
  border: 1px solid #f74767;
  color: #fff;
}

.btn-red:active {
  background-color: #c33c54;
  border: 1px solid #c33c54;
  color: #fff;
}

/* dataTable */

.dataTables_wrapper .dataTables_paginate {
  float: none;
  text-align: center;
  margin-top: 5rem;
}

table.dataTable td {
  background-color: rgba(0, 0, 0, 0);
  border-bottom: 1px solid #c9c0c0;
}

table.dataTable tbody tr:hover {
  background-color: #fdf3ec;
}

table.dataTable thead th, table.dataTable thead td, table.dataTable.no-footer {
  border-bottom: none;
}

table.dataTable thead th, table.dataTable tbody td {
  padding: .5rem .5rem;
  line-height: 1.25rem;
}

.th-label {
  display: none;
}

table {
  font-size: 14px;
  width: 100%;
  padding: .75rem .5rem;
}

table.dataTable thead {
  background-color: #92817a;
  color: #fff;
}

@media screen and (max-width: 768px) {
  table.mb-table {
    border: 0;
  }
  table.mb-table thead {
    display: none;
  }
  table.th-show thead {
    display: block;
  }
  table.mb-table tr {
    margin-bottom: 16px;
    display: block;
    border-radius: .5rem;
    padding: .5rem;
  }
  table.mb-table thead tr {
    padding: 0;
    margin-bottom: 0;
  }
  table.mb-table tbody tr {
    background-color: #fcf7f8;
  }
  table.mb-table td {
    display: block;
    font-size: 16px;
    border-bottom: 1px dotted #c9c0c0;
  }
  table.mb-table td:last-child {
    border-bottom: 0;
    text-align: center;
  }
  .th-label {
    font-size: .75rem;
    color: #00a0be;
    display: block;
    margin: .5rem 0;
    font-weight: bold;
  }
  table.riverside thead tr:last-child {
    display: none;
  }
}
/* modal */
.modal-header{
  background-color: #92817a;
  color: #fff;
}
/* card */

.card-header {
  background-color: #92817a;
  border-bottom: 1px solid #c9c0c0;
}

.bb-dashed {
  border-bottom: 1px dashed #c9c0c0;
}

.screen-type {
  border-bottom: 1px dashed #c9c0c0;
  padding: 1rem;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.btn-none {
  background-color: none;
  border: none;
}

/* generay-page */

.page-title {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  position: relative;
}

.page-title p {
  background-color: #fff;
  display: inline-block;
  padding: .5rem;
  font-size: 1.25rem;
  position: relative;
}

.page-title:before {
  content: '';
  width: 100%;
  background: #c9c0c0;
  height: 1px;
  position: absolute;
  top: 50%;
}
/* login */
.login-box {
  height: 80vh;
  max-width: 480px;
  background-color: rgb(255, 255, 255, 0.5);
  border-radius: 1rem;
  box-shadow: .1rem .1rem .3rem rgb(185, 185, 185);
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 3rem;
}

.logo-box {
  height: 27vh;
  width: 80%;
  /*border-bottom: 1px dashed #c4c4c4;*/
}

.login-box img {
  max-height: auto;
  max-width: 100%;
  margin-bottom: 1rem;
}

.login-box h4 {
  color: #725e54;
  letter-spacing: .3rem;

}

.login-info {
  width: 80%;
}

.login-box a {
  color: #00b8b8;
}

.login-box a:hover {
  color: #00D9D9;
}

.login-box a:active {
  color: #13A2A2;
}

/* director */

.screen-type a {
  display: block;
  margin: 1rem;
  padding-left: .5rem;
  font-size: 14px;
}

.screen-type span {
  color: #9e8576;
  margin-right: 1rem;
}

.card {
  margin-bottom: 1rem;
}

.card-header {
  color: #fff;
  background-color: #92817a;
  padding: 1rem;
}

.form-group {
  margin: .5rem;
}

.form-group label {
  font-size: .75rem;
  margin-bottom: .5rem;
}

.form-group input {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.t-1 {
  font-size: 1rem;
  cursor: pointer; 
}

.video-box {
  background-color: #adb5bd;
  width: 100%;
  padding-top: 56.25%;
  /* 1:1 Aspect Ratio */
  position: relative;
}

.ctrl-btn i {
  font-size: 1rem;
}
/* live */
.live-info {
  padding: 1rem 0;
}

.live-title {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.5rem;
  margin-bottom: .5rem;
}

.teacher-name {
  font-size: 1rem;
  color: #00a0be;
}

.live-content {
  border: 1px solid #c9c0c0;
  border-radius: .25rem;
  background-color: #fff;
  padding: .75rem;
  margin-bottom: .5rem;
  max-height: 45vh;
  overflow: auto;
}

.tab-li {
  width: 50%;
  padding: .25rem;
}

.member-box {
  font-size: 1rem;
  padding: 1rem;
  border-bottom: 1px dashed #c9c0c0;
}
