/*--- bootstrap ---*/

* {
  font-family: "微軟正黑體", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html, body {
  font-size: 16px;
}

.navbar {
  border: 1px dashed transparent;
}

.panel, .form-control, .modal-content, .nav-pills>li>a, .btn, .input-group-addon {
  border-radius: 8px;
}

.panel, .nav-pills>li>a {
  border: 1px solid #eee;
}

.nav-stacked>li+li {
  margin-top: -1px;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
  color: #08c;
  background: #f3f5f7;
}

.btn-default-bt {
  background: #6db4f5;
  color: #fff;
  border-radius: 8px;
  border: 0;
  padding: 8px 16px;
}

.btn-default-bt:hover, .btn-default-bt:focus, .btn-default-bt:active, .btn-default-bt.active, .open .dropdown-toggle.btn-default-bt {
  color: #ffffff;
  background-color: #70a8dd;
}

.btn-default-bt .caret {
  border-top-color: #ffffff;
  margin-left: 8px;
}

hr {
  border-top: none;
}

@media (min-width: 768px) {
  .navbar {
    border-radius: 0;
  }
}

/*--- share ---*/

/* *:hover {
	-o-transition: background .50s ease-out;
    -webkit-transition: background .50s ease-out;
    -moz-transition: background .50s ease-out;
    transition:  background .50s ease-out;
} */

/* 固定寬度 */
body {
  /* max-width: 1024px; */
  margin: 0 auto;
  background: url(images/page-bg.gif);
}

/* 基礎框架 */
.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: 18px;
}

.my-table th,
.my-table td {
  padding: 8px;
  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-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;
}

.my-page {
  max-width: 1500px;
  margin: 20px auto;
  background: #fff;
  padding: 10px;
  border: 1px solid #eee;
  /*box-shadow:0 0 2px rgba(0, 0, 0, 0.2), 0 0 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, .2), 3px 3px 0 white,4px 4px 0 rgba(0, 0, 0, .2),6px 6px 0 white,7px 7px 0 rgba(0, 0, 0, .2);*/
}

.my-page h1:first-child {
  /*font-size: 1.2rem;*/
  font-size: 20px;
  position: relative;
  /* left: -18px; */
  border-left: 10px solid #5b9bd5;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0 10px 20px;
}

.my-page h1 a {
  color: #333;
}

.my-page h1 .caret {
  vertical-align: middle;
}

.my-page h1 li {
  font-size: 1rem;
}

.my-table2 {
  background: #fff;
  border: 1px solid #CCC;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.2);
}

.my-table2 th {
  background: #f1f1f1;
  width: 80px;
}

.table th, .table td {
  vertical-align: top !important;
}

.my-sure {
  text-align: center;
}

.my-trash {
  background: url(../img/trash.png) no-repeat;
  width: 11px;
  height: 13px;
  display: block;
  overflow: hidden;
  line-height: 999px;
}

/* table thead th {
	background: #DDDDE1 url(images/thbg.png) 0 0 repeat-x;
	border-bottom: 1px solid #ACACAC;
} */

.grid>div {
  box-shadow: 1px 1px 5px 0px #f0f0f0;
}


/* .grid > div:last-child {
  border-right: 0px;
} */

/* @media (max-width: 767px) {
  .grid > div:nth-child(2), .grid > div:nth-child(4) {
    border-right: 0px;
  }
}

@media (min-width: 768px) {
  .grid > div:nth-child(3) {
    border-right: 0px;
  }    
}

@media (min-width: 1024px) {
  .grid > div:nth-child(3) {
    border-right: 1px solid #e7e7e7;
  }
} */

.w-fit {
  width: fit-content;
}

.min-h-\[90vh\] {
  min-height: 90vh;
}

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

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

.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1))
    /* #dc2626 */
  ;
}

.border-red-400 {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1))
    /* #f87171 */
  ;
}

.border-red-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1))
    /* #fca5a5 */
  ;
}

.text-red-400 {
  --tw-text-opacity: 1;
  color: rgb(248 113 113 / var(--tw-text-opacity, 1))
    /* #f87171 */
  ;
}

.border-orange-300 {
  --tw-border-opacity: 1;
  border-color: rgb(253 186 116 / var(--tw-border-opacity, 1))
    /* #fdba74 */
  ;
}

.text-orange-400 {
  --tw-text-opacity: 1;
  color: rgb(251 146 60 / var(--tw-text-opacity, 1))
    /* #fb923c */
  ;
}

.border-cyan-300 {
  --tw-border-opacity: 1;
  border-color: rgb(103 232 249 / var(--tw-border-opacity, 1))
    /* #67e8f9 */
  ;
}

.text-cyan-400 {
  --tw-text-opacity: 1;
  color: rgb(34 211 238 / var(--tw-text-opacity, 1))
    /* #22d3ee */
  ;
}

.m-2 {
  margin: 0.5rem
    /* 8px */
  ;
}

.p-4 {
  padding: 1rem
    /* 16px */
  ;
}

.gap-x-3 {
  column-gap: 0.75rem
    /* 12px */
  ;
}

.gap-1 {
  gap: 0.25rem
    /* 4px */
  ;
}

.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: #fafcff;
}

.rounded-md {
  border-radius: 0.375rem
    /* 6px */
  ;
}

.break-keep {
  word-break: keep-all;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.table thead>tr>th {
  border-bottom: 0;
}

th {
  text-align: right;
}

.table tbody tr td {
  border-top: 0;
}

.table thead {
  background: #f5f5f5;
  position: sticky;
  top: 0;
}

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

.table tbody tr:hover {
  background: #eee;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.card {
  background-color: #fff;
  border-radius: 0.375rem
    /* 6px */
  ;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1.25rem
    /* 20px */
  ;
  margin-bottom: 1.25rem
    /* 20px */
  ;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

@media (min-width: 1280px) {
  .xl\:block {
    display: block !important;
    visibility: visible !important;
  }

  .xl\:table {
    display: table !important;
    visibility: visible !important;
  }
  
  .xl\:hidden {
    display: none;
    visibility: hidden;
  }
}

.justify-between {
  justify-content: space-between;
}

.mx-0 {
  margin-left: 0px;
  margin-right: 0px;
}

.-mx-2 {
  margin-left: -0.5rem
    /* -8px */
  ;
  margin-right: -0.5rem
    /* -8px */
  ;
}

.mt-4 {
  margin-top: 1rem
    /* 16px */
  ;
}

.mr-4 {
  margin-right: 1rem /* 16px */;
}

.mr-3 {
  margin-right: 0.75rem /* 12px */;
}

.mr-2 {
  margin-right: 0.5rem /* 8px */;
}

.mb-4 {
  margin-bottom: 1rem /* 16px */;
}

.mb-3 {
  margin-bottom: 10px ;
}

.mb-0 {
  margin-bottom: 0px;
}

.ml-0 {
  margin-left: 0px !important;
}

.ml-2 {
  margin-left: 0.5rem
    /* 8px */
  ;
}

.ml-1 {
  margin-left: 0.25rem
    /* 4px */
  ;
}

.ml-auto {
  margin-left: auto;
}

.mb-6 {
  margin-bottom: 1.5rem /* 24px */;
}

.mr-1 {
  margin-right: 0.25rem /* 4px */;
}

.mr-auto {
  margin-right: auto;
}

.px-0 {
  padding-left: 0px;
  padding-right: 0px;
}

.px-3 {
  padding-left: 0.75rem
    /* 12px */
  ;
  padding-right: 0.75rem
    /* 12px */
  ;
}

.py-1 {
  padding-top: 0.25rem
    /* 4px */
  ;
  padding-bottom: 0.25rem
    /* 4px */
  ;
}

.gap-4 {
  gap: 1rem
    /* 16px */
  ;
}

.float-right {
  float: right;
}

.row>.col-12:nth-child(odd) .card {
  background: #f9f9f9;
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1))
    /* #9ca3af */
  ;
}

.text-lg {
  font-size: 1.125rem
    /* 18px */
  ;
  line-height: 1.75rem
    /* 28px */
  ;
}

.text-gold {
  color: #eccb00;
}

.border-gold {
  border-color: #ffdb1a;
}

.text-orange {
  color: #b6b6b6;
}

.border-orange {
  border-color: #bcbcbc;
}

.text-brown {
  color: #daa986;
}

.border-brown {
  border-color: #efc9ae;
}

.text-green {
  color: #6eaae1;
}

.border-green {
  border-color: #9cc6ec;
}

.text-red {
  color: #ff8383;
}

.border-red {
  border-color: #fbd1d1;
}

.col-12 {
  width: 100%;
}

.items-center {
  align-items: center;
}

@media (min-width: 678px) {
  .col-xs-6 {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .col-md-4 {
      width: 33.33333333333333%;
  }
}

@media (min-width: 1200px) {
  .col-lg-3 {
      width: 25%;
  }
}

.form-control {
  height: 36px;
}

.btn-info {
  color: #fff !important;
}

.right-0.dropdown-menu {
  right: 0px;
  left: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.ng-isolate-scope {
  border-spacing: 2px;
  border-collapse: unset;
}

.dropdown-menu.ng-valid.ng-valid-date.ng-valid-date-disabled{
  left: 0 !important;
  background: #f8f8f8;
}

.textarea, .textarea:focus-visible {
  border: 1px solid #6db4f5;
  border-radius: 8px;
  width: 100% !important;
  outline: 0;
}