/* 固定寬度 */
body {
  max-width: 1024px;
  margin: 0 auto !important;
  background: #efeae6 !important;
}

/* 基礎框架 */
.container-fluid {
  padding-right: 5px;
  padding-left: 5px;
}

/* 基礎2欄框架 */
#container-nav,
#container-main {
  overflow: hidden;
}

#container-nav:hover,
#container-main:hover {
  overflow: auto;
}

/* well */
.well {
  /* background: #F8F8F8; */
}

/* 深色的well */
.my-well-deepcolor {
  /* background-color: #f0ffee; */
}

/* 次項標題 */
.my-label-title {
  color: #336600;
}

/* HR */
.my-hr {
  height: 1px;
  margin: 8px 1px;
  overflow: hidden;
  /* background-color: #E5E5E5; */
  border-bottom: 1px solid white;
}

/* 特殊的well */
.my-well {
  /* background: #F8F8F8; */
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: 1px 1px 3px 1px rgba(186, 186, 186, 0.4);
  -webkit-box-shadow: 1px 1px 3px 1px rgba(186, 186, 186, 0.4);
  box-shadow: 1px 1px 3px 1px rgba(186, 186, 186, 0.4);
  padding: 10px 20px;
  border: 2px solid white;
  margin: 2px 2px 20px;
}

/*自動完成*/
.my-roster-search-widget {
  padding-bottom: 5px;
}

.my-roster-search-widget .my-entry-search-div {
  position: relative;
  padding: 0 0 2px;
  width: 100%;
}

.my-roster-search-widget .my-entry-search-hint {
  position: absolute;
  top: 9px;
  left: 9px;
}

.my-roster-search-widget .my-entry-search {
  position: static;
  width: 100%;
  height: 36px;
  padding: 4px 8px 4px 25px;
  overflow: hidden;
  white-space: nowrap;
  margin: 0;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 一般搜尋 */
.my-search-input {
  height: 36px;
  -ms-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 學生列表 */
.my-student-list-widget .accordion-heading {
  letter-spacing: 2px;
  /* background: #eeeeee; */
  /* Old browsers */

  /* background: -moz-linear-gradient(top, #eeeeee 0%, #cccccc 100%); */
  /* FF3.6+ */

  /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #cccccc)); */
  /* Chrome,Safari4+ */

  /* background: -webkit-linear-gradient(top, #eeeeee 0%, #cccccc 100%); */
  /* Chrome10+,Safari5.1+ */

  /* background: -o-linear-gradient(top, #eeeeee 0%, #cccccc 100%); */
  /* Opera 11.10+ */

  /* background: -ms-linear-gradient(top, #eeeeee 0%, #cccccc 100%); */
  /* IE10+ */

  /* background: linear-gradient(to bottom, #eeeeee 0%, #cccccc 100%); */
  /* W3C */

  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);
  /* IE6-9 */

}

.my-student-list-widget .accordion-heading i {
  margin-right: 3px;
}

.my-student-list-widget .nav {
  margin-bottom: 2px;
}

.my-student-list-widget .accordion {
  height: 530px;
  margin-bottom: 0px;
  overflow: hidden;
}

.my-student-list-widget .accordion:hover {
  overflow: auto;
}

.my-student-list-widget .accordion i {
  margin-top: 2px;
}

.my-student-list-widget .accordion .accordion-inner {
  padding: 1px 3px;
}

.my-student-list-widget .accordion .my-seat-no {
  font-size: 16px;
  text-align: center;
  display: inline-block;
  width: 18px;
  height: 18px;
  padding: 4px 3px 1px;
}

/* 選擇學年度學期 */
.my-schoolyear-semester-widget {
  /* padding: 9px 0;
  /* background-color: #ffffff; */
}

/* 自訂表格，無 hover */
.my-table {
  width: 100%;
  margin-bottom: 0px;
}

.my-table th,
.my-table td {
  padding: 12px;
  line-height: 18px;
  text-align: left;
  vertical-align: top;
  /* border-top: 1px solid #dddddd; */
}

.my-table th {
  font-weight: bold;
}

.my-table thead th {
  vertical-align: bottom;
}

.my-table caption+thead tr:first-child th,
.my-table caption+thead tr:first-child td,
.my-table colgroup+thead tr:first-child th,
.my-table colgroup+thead tr:first-child td,
.my-table thead:first-child tr:first-child th,
.my-table thead:first-child tr:first-child td {
  border-top: 0;
}

.my-table tbody+tbody {
  border-top: 2px solid #dddddd;
}

.my-table-condensed th,
.my-table-condensed td {
  padding: 4px 5px;
}

.my-table-bordered {
  border: 1px solid #dddddd;
  border-collapse: separate;
  *border-collapse: collapsed;
  border-left: 0;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.my-table-bordered th,
.my-table-bordered td {
  border-left: 1px solid #dddddd;
}

.my-table-bordered caption+thead tr:first-child th,
.my-table-bordered caption+tbody tr:first-child th,
.my-table-bordered caption+tbody tr:first-child td,
.my-table-bordered colgroup+thead tr:first-child th,
.my-table-bordered colgroup+tbody tr:first-child th,
.my-table-bordered colgroup+tbody tr:first-child td,
.my-table-bordered thead:first-child tr:first-child th,
.my-table-bordered tbody:first-child tr:first-child th,
.my-table-bordered tbody:first-child tr:first-child td {
  border-top: 0;
}

.my-table-bordered thead:first-child tr:first-child th:first-child,
.my-table-bordered tbody:first-child tr:first-child td:first-child {
  -webkit-border-top-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-topleft: 4px;
}

.my-table-bordered thead:first-child tr:first-child th:last-child,
.my-table-bordered tbody:first-child tr:first-child td:last-child {
  -webkit-border-top-right-radius: 4px;
  border-top-right-radius: 4px;
  -moz-border-radius-topright: 4px;
}

.my-table-bordered thead:last-child tr:last-child th:first-child,
.my-table-bordered tbody:last-child tr:last-child td:first-child {
  -webkit-border-radius: 0 0 0 4px;
  -moz-border-radius: 0 0 0 4px;
  border-radius: 0 0 0 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
}

.my-table-bordered thead:last-child tr:last-child th:last-child,
.my-table-bordered tbody:last-child tr:last-child td:last-child {
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -moz-border-radius-bottomright: 4px;
}

.my-table-striped tbody tr:nth-child(odd) td,
.my-table-striped tbody tr:nth-child(odd) th {
  /* background-color: #f9f9f9; */
}

.my-well-table-striped thead td,
.my-well-table-striped thead th,
.my-well-table-striped tbody td,
.my-well-table-striped tbody th {
  /* background-color: #ffffff; */
}

.my-well-table-striped tbody tr:nth-child(odd) td,
.my-well-table-striped tbody tr:nth-child(odd) th {
  /* background-color: #f9f9f9; */
}

.text-primary {
  color: #65c3c8;
}

.text-cyan {
  color: #00cbee;
}

.text-red {
  color: #f30707;
}

.bg-base-100 {
  background: #faf7f8;
}

.btn.active {
  background-color: #e7e2df;
}

@media (min-width:460px) {
  .xs\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 640px) {
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sm\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .md\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .md\:p-6 {
    padding: 24px;
  }

  .md\:text-base {
    font-size: 16px;
  }

  .md\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .lg\:w-xl {
    width: 576px
  }
}

@media (min-width: 1200px) {
  .xl\:grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.flex .border-ll {
  border-left: 1px solid #f3f4f6;
}

.flex .border-ll:first-child {
  border: none;
}

.table-striped tbody tr:nth-child(odd) td {
  background-color: #f9f9f9;
}

.table-striped tbody tr:nth-child(even) td {
  background-color: #fff;
}