﻿/*#region Global Style */

/**
 * ====================================================
 * Global Style
 * ====================================================
 */

:root {
  /* Card */
  --body-bg-color: #f2f3f7; /* body背景顏色 */
  --card-bg-color: #ffffff; /* card背景顏色 */
  --card-text-color: #000; /* card文字顏色 */
  --card-dark-bg-color: #2f323e; /* dark-card背景顏色 */
  --card-dark-text-color: #fff; /* dark-card文字顏色 */
  --card-header-border-bottom-color: #d7d7d7; /* card-header內部線條顏色 */
  --card-body-border-bottom-color: #e6e6e6; /* card-body內部線條顏色 */
  /* Header */
  --header-bg-color: #40658f; /* header背景顏色 */
  --header-a-text-color: #ffffff; /* header超連結顏色 */
  --custom-downarrow-border-color: #000; /* dropdown-menu倒三角形顏色 */
  --dropdown-menu-bg-color: #fff; /* dropdown-menu 背景顏色 */
  --dropdown-menu-a-text-color: #000; /* dropdown-menu超連結文字顏色 */
  --dropdown-menu-a-focus-bg-color: #bae3f9; /* dropdown-menu超連結背景顏色:focus */
  /* Sidebar */
  --sidebar-bg-color: #f2f3f7; /* Sidebar背景顏色 */
  --menu-toggle-bar-bg-color: #ffffff; /* Sidebar漢堡顏色 */
  --sidebar-menu-header-text-color: #004298; /* Sidebar選單標題顏色 */
  --sidebar-menu-link-text-color: #000000; /* Sidebar選單文字顏色 */
  --sidebar-menu-icon-color: #000000; /* Sidebar選單icon顏色 */
  --sidebar-not-has-sub-menu-link-hover-bg-color: #a3c5ec; /* Sidebar選單(無子功能)背景顏色:hover */
  --sidebar-not-has-sub-menu-link-active-bg-color: #a3c5ec; /* Sidebar選單(無子功能)背景顏色:active */
  --sidebar-not-has-sub-menu-link-active-border-right-color: #2f4f86; /* Sidebar選單(無子功能)右邊框顏色:active */
  --sidebar-not-has-sub-menu-link-active-text-color: #004298;
  --sidebar-has-sub-menu-link-hover-bg-color: #a3c5ec; /* Sidebar選單(有子功能)背景顏色:hover */
  --sidebar-has-sub-menu-link-active-bg-color: #a3c5ec; /* Sidebar選單(有子功能)背景顏色:active */
  --sidebar-has-sub-menu-link-active-border-right-color: #2f4f86; /* Sidebar選單(有子功能)右邊框顏色:active */
  --sidebar-sub-menu-link-hover-bg-color: #a3c5ec; /* Sidebar選單(子功能)背景顏色:hover */
  --sidebar-sub-menu-link-hover-text-color: #0053bb; /* Sidebar選單(子功能)文字顏色:active */
  --menu-divider-border-color: #e3e4e5; /* 選單邊界框顏色 */
  /* Input */
  --form-control-border-color: #6a8c9e; /* 輸入框邊框顏色 */
  /* Breadcrumb */
  --breadcrumb-item-a-text-color: #000; /* breadcrumb超連結文字顏色 */
  --breadcrumb-item-a-hover-text-color: #0053bb; /* breadcrumb超連結文字顏色 */
  --breadcrumb-item-before-text-color: #657eae; /* breadcrumb斜槓文字顏色 */
  --breadcrumb-item-a-active-text-color: #0053bb; /* breadcrumb文字顏色 */
  /* Table */
  --table-thead-text-color: #000; /* datatable文字顏色 */
  --table-tbody-text-color: #000; /* datatable文字顏色 */
  --table-border-color: #dbdbdb; /* datatable邊框顏色 */
  --table-thead-border-bottom-color: #40658f; /* datatable邊框顏色 */
  --table-even-bg-color: #f3f3f3; /* datatable雙數行背景顏色 */
  --datatable-thead-tr-th-bg-color: #e0e9f2; /* datatable背景顏色 */
  --datatable-page-link-active-bg-color: #3c7098; /* datatable頁碼顏色.active */
  --datatable-page-link-disabled-bg-color: #f2f3f7; /* datatable頁碼背景顏色.disabled */
  --datatable-page-link-disabled-border-color: #ddd; /* datatable頁碼背景顏色.disabled */
  --datatable-page-link-disabled-text-color: #000; /* datatable頁碼顏色.disabled */
  --datatable-collapse-bg-color: #35b228; /* datatable摺疊按鈕背景顏色 */
  --datatable-collapse-text-color: #fff; /* datatable摺疊按鈕文字顏色 */
  /* Button */
  --btn-create-bg-color: #3c6f97; /* 新增按鈕背景顏色 */
  --btn-create-text-color: #fff; /* 新增按鈕文字顏色 */
  --btn-create-hover-bg-color: #0d5b97; /* 新增按鈕背景顏色:hover */
  --btn-create-hover-text-color: #fff; /* 新增按鈕文字顏色:hover */
  --btn-submit-bg-color: #3c6f97; /* 查詢/送出表單按鈕背景顏色 */
  --btn-submit-text-color: #fff; /* 查詢/送出表單按鈕文字顏色 */
  --btn-submit-hover-bg-color: #0d5b97; /* 查詢/送出表單按鈕背景顏色:hover */
  --btn-submit-hover-text-color: #fff; /* 查詢/送出表單按鈕文字顏色:hover */
  --btn-cancel-bg-color: #7d7d7d; /* 取消按鈕背景顏色 */
  --btn-cancel-text-color: #fff; /* 取消按鈕文字顏色 */
  --btn-cancel-hover-bg-color: #6a6a6a; /* 取消按鈕背景顏色:hover */
  --btn-cancel-hover-text-color: #fff; /* 取消按鈕文字顏色:hover */

  --btn-edit-bg-color: #c5d9ed; /* 編輯按鈕背景顏色 */
  --btn-edit-text-color: #000000; /* 編輯按鈕文字顏色 */
  --btn-edit-hover-bg-color: #96c5ed; /* 編輯按鈕背景顏色:hover */
  --btn-edit-hover-text-color: #000000; /* 編輯按鈕文字顏色:hover */

  --btn-option-bg-color: #5761a9; /* 選項按鈕背景顏色 */
  --btn-option-text-color: #fff; /* 選項按鈕文字顏色 */
  --btn-option-hover-bg-color: #47529f; /* 選項按鈕背景顏色:hover */
  --btn-option-hover-text-color: #fff; /* 選項按鈕文字顏色:hover */
  --btn-delete-bg-color: #ce2727; /* 刪除按鈕背景顏色 */
  --btn-delete-text-color: #fff; /* 刪除按鈕文字顏色 */
  --btn-delete-hover-bg-color: #ab1a1a; /* 刪除按鈕背景顏色:hover */
  --btn-delete-hover-text-color: #fff; /* 刪除按鈕文字顏色:hover */
  --btn-review-bg-color: #00b12c; /* 複閱按鈕背景顏色 */
  --btn-review-text-color: #fff; /* 複閱按鈕文字顏色 */
  --btn-review-hover-bg-color: #009527; /* 複閱按鈕背景顏色:hover */
  --btn-review-hover-text-color: #fff; /* 複閱按鈕文字顏色:hover */
  --btn-browse-bg-color: #089ccb; /* 瀏覽按鈕背景顏色 */
  --btn-browse-text-color: #fff; /* 瀏覽按鈕文字顏色 */
  --btn-browse-hover-bg-color: #0183ad; /* 瀏覽按鈕背景顏色:hover */
  --btn-browse-hover-text-color: #fff; /* 瀏覽按鈕文字顏色:hover */

  --btn-position-hover-bg-color: #dddddd; /* 瀏覽按鈕文字顏色:hover */
  /* Step */
  --step-item-link-active-bg-color: #479b96; /* 步驟區塊背景顏色.active */
  --step-item-link-disabled-bg-color: #7e7e7e; /* 步驟區塊背景顏色.disabled */
  --step-item-link-text-color: #fff; /* 步驟區塊文字顏色 */
  /* Scroll Bar */
  --scroll-track-bg-color: #757575; /* 卷軸拖動條顏色 */
  --scroll-thumb-bg-color: #333; /* 卷軸拖動條底色 */
  /* Badge */
  --badge-bg-color: #d0dfff;
}

/* HTML */
html {
  position: relative;
  min-height: 100%;
  font-size: 18px;
}

/* 螢幕 >= md Size (手機、平板) */
@media (min-width: 768px) {
  /* HTML */
  html {
    font-size: 18px;
  }
}

/* BODY */
body {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--body-bg-color) !important;
}

/*#endregion*/

/*#region Bootstrap UI Component Style */

/**
 * ====================================================
 * Bootstrap UI Component Style
 * ====================================================
 */

a {
  text-decoration: none;
}

/* 省略符號 */
.text-skip {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* 滑鼠游標 */
.cursor-pointer {
  cursor: pointer;
}

/* Badge */
.bg-badge {
  background-color: var(--badge-bg-color);
}

/* Modal */
.modal-content {
  border-radius: 0px;
}

/* 區塊 */
.card {
  border-radius: 5px !important;
}

/* 篩選區塊 */
#CollapseFilter .card-body {
  font-size: 18px !important;
}

.card-header {
  border-bottom: 1px solid var(--card-header-border-bottom-color);
  font-size: 18px;
}

.card-body {
  font-size: 18px;
}

.card-body-detail {
  border-bottom: 1px solid var(--card-body-border-bottom-color);
}

.card-footer {
  border-top: 1px solid var(--card-header-border-bottom-color);
}

/* 陰影 */
.custom-box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

/* 區塊背景 */
.custom-bg-card {
  background-color: var(--card-bg-color);
  color: var(--card-text-color);
}

/* 區塊背景-深色版本 */
.custom-bg-card-dark {
  background-color: var(--card-dark-bg-color);
  color: var(--card-dark-text-color);
}

/* 區塊背景分隔線 */
.custom-bg-card hr {
  margin-left: -1rem;
  margin-right: -1rem;
  opacity: 0.5;
}

/* 支援Y軸捲軸區塊 */
.custom-card-scroll {
  overflow-x: hidden;
  overflow-y: auto;
}

/* 系統頁面區塊-捲軸大小 */
.custom-card-scroll::-webkit-scrollbar,
.dataTables_scrollBody::-webkit-scrollbar {
  width: 5px;
  height: 6px;
}

/* 系統頁面區塊-捲軸底樣式 */
.custom-card-scroll::-webkit-scrollbar-track,
.dataTables_scrollBody::-webkit-scrollbar-track {
  -webkit-border-radius: 0px;
  border-radius: 4px;
  background: var(--scroll-track-bg-color);
}

/* 系統頁面選單區塊-捲軸樣式 */
.custom-card-scroll::-webkit-scrollbar-thumb,
.dataTables_scrollBody::-webkit-scrollbar-thumb {
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background: var(--scroll-thumb-bg-color);
}

/* 提示文字(黃) */
.text-hint {
  color: #0053bb !important;
}

/* 提示文字(黃) */
a.text-hint {
  color: #ffee00 !important;
}

/* 文字-綠 */
.text-bright-green {
  color: #48f500;
}

/* 文字-灰 */
.text-bright-gray {
  color: #bfbfbf;
}

/* 文字-紅 */
.text-red {
  color: #ff0000;
}

/* 文字-藍綠 */
.text-bluegreen {
  color: #0a8391;
}

/* 按鈕 */
.btn {
  padding: 0.375rem 0.75rem 0.275rem 0.75rem !important;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}

/* 圓形按鈕 */
.btn-circle {
  margin-top: -5px;
}

/* 新增按鈕 */
.btn-create {
  background-color: var(--btn-create-bg-color);
  color: var(--btn-create-text-color);
}

/* 新增按鈕:hover */
.btn-create:hover {
  background-color: var(--btn-create-hover-bg-color);
  color: var(--btn-create-hover-text-color);
}

/* 新增按鈕:focus :active */
.btn-create:focus,
.btn-create:active {
  box-shadow: 0 0 0 0.2rem rgba(0, 159, 159, 0.1);
}

/* 查詢/送出表單按鈕 */
.btn-submit {
  background-color: var(--btn-submit-bg-color);
  color: var(--btn-submit-text-color);
}

/* 查詢/送出表單按鈕:hover */
.btn-submit:hover {
  background-color: var(--btn-submit-hover-bg-color);
  color: var(--btn-submit-hover-text-color);
}

/* 查詢/送出表單按鈕:focus :active */
.btn-submit:focus,
.btn-submit:active {
  box-shadow: 0 0 0 0.2rem rgba(14, 106, 177, 0.5);
}

/* 取消按鈕 */
.btn-cancel {
  background-color: var(--btn-cancel-bg-color);
  color: var(--btn-cancel-text-color);
}

/* 取消按鈕:hover */
.btn-cancel:hover {
  background-color: var(--btn-cancel-hover-bg-color);
  color: var(--btn-cancel-hover-text-color);
}

/* 取消按鈕:focus :active */
.btn-cancel:focus,
.btn-cancel:active {
  box-shadow: 0 0 0 0.2rem rgba(125, 125, 125, 0.5);
}

/* 編輯按鈕 */
.btn-edit {
  background-color: var(--btn-edit-bg-color);
  color: var(--btn-edit-text-color);
}

/* 編輯按鈕:hover */
.btn-edit:hover {
  background-color: var(--btn-edit-hover-bg-color);
  color: var(--btn-edit-hover-text-color);
}

/* 篩選按鈕:focus :active */
.btn-edit:focus,
.btn-edit:active {
  box-shadow: 0 0 0 0.2rem rgba(72, 170, 255, 0.552);
}
/* 選項按鈕 */
.btn-option {
  background-color: var(--btn-option-bg-color);
  color: var(--btn-option-text-color);
}

/* 選項按鈕:hover */
.btn-option:hover {
  background-color: var(--btn-option-hover-bg-color);
  color: var(--btn-option-hover-text-color);
}

/* 選項按鈕:focus :active */
.btn-option:focus,
.btn-option:active {
  box-shadow: 0 0 0 0.2rem rgba(71, 82, 159, 0.5);
}

/* 刪除按鈕 */
.btn-delete {
  background-color: var(--btn-delete-bg-color);
  color: var(--btn-delete-text-color);
}

/* 刪除按鈕:hover */
.btn-delete:hover {
  background-color: var(--btn-delete-hover-bg-color);
  color: var(--btn-delete-hover-text-color);
}

/* 刪除按鈕:focus :active */
.btn-delete:focus,
.btn-delete:active {
  box-shadow: 0 0 0 0.2rem rgba(206, 39, 39, 0.5);
}

/* 複閱按鈕 */
.btn-review {
  background-color: var(--btn-review-bg-color);
  color: var(--btn-review-text-color);
}

/* 複閱按鈕:hover */
.btn-review:hover {
  background-color: var(--btn-review-hover-bg-color);
  color: var(--btn-review-hover-text-color);
}

/* 複閱按鈕:focus :active */
.btn-review:focus,
.btn-review:active {
  box-shadow: 0 0 0 0.2rem rgba(185, 2, 82, 0.5);
}

/* 瀏覽按鈕 */
.btn-browse {
  background-color: var(--btn-browse-bg-color);
  color: var(--btn-browse-text-color);
}

/* 瀏覽按鈕:hover */
.btn-browse:hover {
  background-color: var(--btn-browse-hover-bg-color);
  color: var(--btn-browse-hover-text-color);
}

/* 瀏覽按鈕:focus :active */
.btn-browse:focus,
.btn-browse:active {
  box-shadow: 0 0 0 0.2rem rgba(8, 156, 203, 0.5);
}

/* 倒三角形 */
.custom-btn-downarrow {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 6px 6px 0px 6px;
  border-color: var(--custom-downarrow-border-color) transparent transparent transparent;
  position: relative;
  right: -5px;
  top: 12px;
}

.btn-square {
  min-width: unset !important;
  width: 45px;
  height: 42px;
}

/* 螢幕 < md Size (電腦、平板) */
@media (max-width: 767px) {
  .btn-fill {
    min-width: 49% !important;
  }
}
@media (min-width: 768px) {
  .btn-fill {
    max-width: 100% !important;
  }
}
/*#endregion*/

/*#region Bootstrap Form Style */

/**
 * ====================================================
 * Bootstrap Form Style
 * ====================================================
 */

/* Chrome, Firefox, Opera, Safari 10.1+ */
::placeholder {
  color: #9499ab !important;
  opacity: 1; /* Firefox */
}

/* Internet Explorer 10-11 */
:-ms-input-placeholder {
  color: #9499ab !important;
}

/* Microsoft Edge */
::-ms-input-placeholder {
  color: #9499ab !important;
}

/* 表單輸入框內距 */
.form-control {
  background-color: #f2f2f2;
  padding: 0.25rem 0.75rem 0.25rem 0.75rem !important;
  border-radius: 8px !important;
  border: 0px solid var(--form-control-border-color) !important;
}

/* 驗證欄位有被填寫 */
input:valid,
textarea:valid {
  background-color: #f2f2f2;
}

/* 表單日期選擇 */
input[type="date"] {
  position: relative;
  padding: 10px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  color: transparent;
  background: none;
  z-index: 1;
}

input[type="date"]:before {
  background: none;
  display: block;
  font-family: "FontAwesome";
  content: "";
  background-image: url("/img/bg/date-bg.png");
  background-repeat: no-repeat;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 6px;
  right: 8px;
  color: #000;
}

/* 表單時間選擇 */
input[type="time"] {
  position: relative;
  padding: 10px;
}

input[type="time"]::-webkit-calendar-picker-indicator {
  color: transparent;
  background: none;
  z-index: 1;
}

input[type="time"]:before {
  background: none;
  display: block;
  font-family: "FontAwesome";
  content: "";
  background-image: url("/img/bg/time-bg.png");
  background-repeat: no-repeat;
  width: 22px;
  height: 22px;
  position: absolute;
  top: 6px;
  right: 8px;
  color: #000;
}

/* 表單下拉選項內距 */
.form-select {
  background-color: #f2f2f2;
  padding: 0.25rem 0.75rem 0.25rem 0.75rem !important;
  border-radius: 8px !important;
  border: 0px solid var(--form-control-border-color) !important;
  color: #000000;
}
/* 表單下拉多選 */
.bootstrap-select .btn {
  background-color: #f2f2f2;
  padding: 0.25rem 0.75rem 0.25rem 0.75rem !important;
  border-radius: 8px !important;
  border: 0px solid var(--form-control-border-color) !important;
  font-weight: normal;
  font-size: 0.875rem;
}
/* 表單下拉多選:focus */
.bootstrap-select .btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(31, 107, 255, 0.25);
}

/* 表單核取方塊 */
.form-check-input[type="checkbox"] {
  border-radius: 0px !important;
}

/* 核取方塊外層Label */
.checkbox-label {
  margin-top: 8px;
  margin-bottom: 5px;
}

/* 核取方塊複合輸入框 */
.checkbox-input {
  width: 160px;
  display: inline-block;
}

/* 篩選區塊表單 */
.filter-form-item {
  /* 篩選欄位上下間距 */
  margin: 0.45rem auto !important;
}

/* 篩選輸入框最大寬度 */
.filter-form-item input,
.filter-form-item {
  max-width: 100%;
}

.filter-form-item .form-group {
  align-items: center;
}

/* 螢幕 >= md Size (電腦、平板) */
@media (min-width: 768px) {
  /* 篩選欄位文字 */
  .filter-form-item .form-group > label {
    text-align: right !important;
    white-space: nowrap;
    max-width: 111px;
  }
}

/* 螢幕 > xxl Size (大型電腦) */
@media (min-width: 1660px) {
  /* 強制不換行欄位 */
  .filter-nowrap {
    white-space: nowrap;
  }
}

/* 通用表單標題 */
.custom-form-title {
  font-size: 17px;
  font-weight: 500;
}

/* 通用表單標題 & 裝飾線 */
.custom-form-title .custom-form-title-decoration {
  width: 5px;
  height: 20px;
  margin-bottom: -3px;
  margin-right: 5px;
  background-color: #62b9b4;
  display: inline-block;
}

/* 通用表單右側按鈕 */
.title-toolbar-container {
  position: absolute;
  top: 13px;
  right: 18px;
}

/* 通用表單上下間距 */
.custom-form-item {
  margin: 1.15rem auto !important;
}

/* 通用表單輸入框最大寬度 */
.custom-form-item input,
.custom-form-item select {
  max-width: 100%;
}

/* 螢幕 >= md Size (電腦、平板) */
@media (min-width: 768px) {
  /* 欄位文字 */
  .custom-form-item .form-group > label {
    text-align: right !important;
    white-space: nowrap;
    max-width: 280px;
    font-weight: bold;
  }
}

/* 螢幕 < md Size (手機) */
@media (max-width: 767.98px) {
  /* 欄位文字 */
  .custom-form-item .form-group > label {
    font-weight: bold;
  }
}

/* 螢幕 > xxl Size (大型電腦) */
@media (min-width: 1680px) {
  /* 調整full-size文字輸入框寬度 */
  .custom-input-fullwidth {
    width: 79.1% !important;
  }
}

@media (max-width: 1679.98px) and (min-width: 1660px) {
  /* 調整full-size文字輸入框寬度 */
  .custom-input-fullwidth {
    width: 78.8% !important;
  }
}

/*#endregion*/

/*#region Top Navbar Style */

/**
 * ====================================================
 * Top Navbar Style
 * ====================================================
 */

/* 導覽列 */
.app-header {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16) !important;
}

/* 導覽列連結 */
.app-header a {
  color: var(--header-a-text-color) !important;
}

/* 導覽列漢堡按鈕:hover */
.app-header .desktop-toggler .menu-toggler:hover {
  opacity: 1;
}

/* 導覽列標題 */
.brand {
  width: auto !important;
}

/* 導覽列標題LOGO圖片 */
.app-header .brand img {
  max-height: 160%;
  margin-right: 8px;
}

/* 導覽列查詢區塊 */
.app-header .menu .menu-search {
  margin: 0 auto 0 30px;
}

/* 下拉選單區塊 */
.dropdown-menu {
  border-radius: 0px;
  background-color: var(--dropdown-menu-bg-color);
  box-shadow: 0 6px 6px rgb(0 0 0 / 15%) !important;
}

/* 選單連結 */
.dropdown-menu a {
  color: var(--dropdown-menu-a-text-color) !important;
}

/* 選單連結:focus :hover */
.dropdown-menu a:focus,
.dropdown-menu a:hover {
  background-color: var(--dropdown-menu-a-focus-bg-color) !important;
}

/* 選單連結文字 */
.menu-text {
  line-height: 21px;
}

/* 選單倒三角形 */

.custom-downarrow {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 6px 6px 0px 6px;
  border-color: var(--custom-downarrow-border-color) transparent transparent transparent;
  position: absolute;
  right: 1.2rem;
  top: 1.6rem;
}

/*#endregion */

/*#region Side Bar Menu Style */

/**
 * ====================================================
 * Side Bar Menu Style
 * ====================================================
 */

/* 側邊選單 */
.app-sidebar {
  background-color: var(--sidebar-bg-color);
  border-right: 1px solid #c9c9c9 !important;
}

/* 側邊選單內容區塊 */
.app-sidebar-content {
  background-color: var(--sidebar-bg-color) !important;
  border-right: 0px solid var(--sidebar-bg-color) !important;
}

/* 螢幕 <= lg Size (小型電腦、手機、平板) */
@media (max-width: 991.98px) {
  /* 側邊選單項目下移 */
}

/* 手機版側邊選單上方導覽列 */
.mobile-toggle-menu {
  position: absolute;
  border: none;
  left: 0;
  z-index: 1030;
  right: 0;
  top: 0;
  padding: 0 10px;
  height: 60px;
  background-color: var(--sidebar-bg-color);
  width: 100%;
}

/* 螢幕 >= lg Size (電腦) */
@media (min-width: 992px) {
  /* 導覽列區塊於電腦版不顯示 */
  .mobile-toggle-menu {
    display: none;
  }
}

/* 螢幕 <= lg Size (電腦) */
@media (max-width: 991.98px) {
  /* 導覽列區塊於手機版顯示 */
  .mobile-toggle-menu {
    display: flex;
  }
}

/* 側邊選單標題 */
.app-sidebar .menu-header {
  font-size: 14px !important;
}

/* 選單分隔間距 */
.app-sidebar .menu .menu-divider {
  margin: 10px 0px;
  border-bottom: 1px var(--menu-divider-border-color) solid;
}

/* 導覽列手機版漢堡按鈕外層 */
.mobile-toggle-menu .mobile-toggler {
  margin-right: 0px;
  width: auto;
}

/* 導覽列手機版漢堡按鈕外層 */
.mobile-toggle-menu .menu-toggler {
  position: relative;
  border: none;
  background: 0 0;
  width: 45px;
  display: block;
  outline: 0;
  padding: 0 10px;
  margin: 0;
  height: 60px;
}

/* 橫線Bar */
.mobile-toggle-menu .menu-toggler .bar {
  width: 100%;
  display: block;
  background: var(--menu-toggle-bar-bg-color);
  height: 2px !important;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}

/* 橫線Bar與橫線Bar之間 */
.mobile-toggle-menu .menu-toggler .bar + .bar {
  margin-top: 4px;
}

/* 側邊選單標題文字 */
.menu-header {
  color: var(--sidebar-menu-header-text-color) !important;
}

/* 螢幕 >= lg Size (電腦) */
@media (min-width: 992px) {
  /* 專案資訊顯示區塊 */
  .sidebar-project-info {
    padding: 15px 20px;
    line-height: 26px;
    background-color: #0c161e;
  }

  /* 當側邊選單收合，隱藏專案資訊 */
  .app.app-sidebar-minified .sidebar-project-info {
    display: none;
  }
}

/* 螢幕 <= lg Size (電腦) */
@media (max-width: 991.98px) {
  /* 專案資訊顯示區塊 */
  .sidebar-project-info {
    padding: 15px 20px;
    line-height: 26px;
    background-color: #0c161e;
  }

  /* 專案資訊顯示區塊 */
  .mobile-sidebar-project-info {
    margin-left: -10px;
    width: 100%;
    padding: 9px 20px;
    border-bottom: 1px var(--menu-divider-border-color) solid;
    background-color: #0c161e;
    line-height: 26px;
    position: absolute;
    top: 60px;
  }
}

/* 預設文字、icon */
.app-sidebar .menu .menu-item .menu-link,
.app-sidebar .menu .menu-item .menu-icon {
  color: var(--sidebar-menu-link-text-color) !important;
  font-size: 18px;
}

/* 無階層選單連結 */
.app-sidebar .menu > .menu-item:not(.has-sub) > .menu-link {
  color: var(--sidebar-menu-link-text-color) !important;
  font-weight: 400 !important;
  border-radius: 0px;
  margin-left: -12px;
  margin-right: -10px;
  padding: 5px 20px;
  min-height: 35px;
}

/* 無階層選單連結:hover */
.app-sidebar .menu > .menu-item:not(.has-sub) > .menu-link:hover {
  background-color: var(--sidebar-not-has-sub-menu-link-hover-bg-color);
}

/* 無階層選單icon */
.app-sidebar .menu > .menu-item:not(.has-sub) > .menu-link .menu-icon {
  color: var(--sidebar-menu-icon-color) !important;
  font-weight: normal !important;
}

/* 無階層選單連結.active */
.app-sidebar .menu > .menu-item.active:not(.has-sub) {
  color: #fff !important;
  font-weight: 400 !important;
}

/* 無階層選單連結.active */
.app-sidebar .menu > .menu-item.active:not(.has-sub) > .menu-link {
  background-color: var(--sidebar-not-has-sub-menu-link-active-bg-color) !important;
}

/* 無階層選單文字 */
.app-sidebar .menu > .menu-item.active:not(.has-sub) > .menu-link > .menu-text,
.app-sidebar .menu > .menu-item.active:not(.has-sub) > .menu-link > .menu-icon {
  color: var(--sidebar-not-has-sub-menu-link-active-text-color) !important;
}

/* 階層選單-第一層選單連結 */
.app-sidebar .menu .menu-item.has-sub > .menu-link {
  color: var(--sidebar-menu-link-text-color) !important;
  font-weight: 400 !important;
  border-radius: 0px;
  margin-left: -12px;
  margin-right: -10px;
  padding: 5px 20px;
  min-height: 35px;
}

/* 階層選單-第一層選單連結:hover */
.app-sidebar .menu .menu-item.has-sub > .menu-link:hover {
  background-color: var(--sidebar-has-sub-menu-link-hover-bg-color);
}

/* 階層選單-第一層選單連結.active */
.app-sidebar .menu .menu-item.active.has-sub > .menu-link {
  color: var(--sidebar-not-has-sub-menu-link-active-text-color) !important;
  font-weight: 400 !important;
  background-color: var(--sidebar-has-sub-menu-link-active-bg-color) !important;
}

.app-sidebar .menu .menu-item.active.has-sub > .menu-link > .menu-icon > i {
  color: var(--sidebar-not-has-sub-menu-link-active-text-color) !important;
}

/* 階層選單-第二層選單物件 */
.app-sidebar .menu .menu-item .menu-submenu .menu-item {
  padding: 0px 14px 0px 14px;
}

/* 階層選單-第二層選單物件:first-child */
.app-sidebar .menu .menu-item .menu-submenu .menu-item:first-child {
  padding: 6px 14px 0px 14px;
}

/* 階層選單-第二層選單連結 */
.app-sidebar .menu .menu-item .menu-submenu .menu-item .menu-link {
  padding: 6px 10px;
}

/* 階層選單-第二層選單連結:hover */
.app-sidebar .menu .menu-item .menu-submenu .menu-item .menu-link:hover {
  background-color: var(--sidebar-sub-menu-link-hover-bg-color);
}

/* 階層選單-第二層選單連結.active */
.app-sidebar .menu .menu-item .menu-submenu .menu-item.active .menu-link > .menu-text {
  color: var(--sidebar-sub-menu-link-hover-text-color) !important;
}

/* 摺疊選單樣式 */
.app-sidebar-minified .app-sidebar .menu-item {
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 10px;
}

/* 摺疊浮動選單 */
.app-float-submenu {
  border-radius: 0px;
  background-color: var(--dropdown-menu-bg-color);
  box-shadow: 0 8px 16px rgb(0 0 0 / 45%);
}

/* 摺疊浮動選單連結 */
.app-float-submenu a {
  color: #000;
}

/* 摺疊浮動選單連結.active */
.app-float-submenu a.active {
  color: #000;
}

/* 摺疊浮動選單連結:hover.active */
.app-float-submenu a:hover.active {
  color: #000;
}

/* 摺疊浮動選單連結:hover :focus */
.app-float-submenu a:hover,
.app-float-submenu a:focus {
  background-color: var(--dropdown-menu-a-focus-bg-color) !important;
  color: #000;
}

/*#endregion */

/*#region Content Style */

/**
 * ====================================================
 * Content Style
 * ====================================================
 */

/* 螢幕 >= lg Size (電腦) */
@media (min-width: 992px) {
  /* 電腦版內距 */
  .app-content {
    padding: 15px 20px;
  }
}

/* 螢幕 < lg Size (平板、手機) */
@media (max-width: 991.98px) {
  /* 手機版內距 */
  .app-content {
    padding: 10px 0.8rem;
  }
}

/*#endregion */

/*#region Breadcrumb Style */

/**
 * ====================================================
 * Breadcrumb Style
 * ====================================================
 */

/* 麵包屑外層 */
.breadcrumb-container {
  position: relative;
  background-color: var(--body-bg-color);
  margin: -23px -20px 20px -20px;
  padding: 10px 21px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c9c9c9 !important;
  padding-left: calc(19px + 0.5rem);
}

/* 螢幕 >= lg Size (電腦) */
@media (min-width: 992px) {
  /* 麵包屑外層 */
  .breadcrumb-container {
    margin: -23px -20px 0px -20px;
  }
}

/* 螢幕 < lg Size (平板) */
@media (max-width: 991.98px) {
  /* 麵包屑外層 */
  .breadcrumb-container {
    margin: -18px -20px 0px -20px;
  }
}

/* 螢幕 < lg Size (手機) */
@media (max-width: 767.98px) {
  /* 麵包屑外層 */
  .breadcrumb-container {
    margin: -18px -20px 0px -20px;
  }
}

/* 麵包屑文字 */
.breadcrumb {
  font-size: 15px !important;
  color: var(--breadcrumb-item-a-text-color) !important;
  margin-bottom: 0px;
}

/* 麵包屑連結文字 */
.breadcrumb-item > a {
  text-decoration: none !important;
}

/* 螢幕 >= lg Size (電腦) */
@media (min-width: 768px) {
  /* 麵包屑右側按鈕區塊 */
  .breadcrumb-container .toolbar-container {
    position: absolute;
    right: 22px;
    top: 15px;
  }
  /* 新增按鈕 */
  .breadcrumb-container #CreateButton {
    float: right;
  }
  /* 條件篩選按鈕 */
  .breadcrumb-container #FilterButton {
    margin-left: 8px;
    float: right;
  }
}

/* 螢幕 < lg Size (手機、平板) */
@media (max-width: 767.98px) {
  /* 麵包屑右側按鈕區塊 */
  .breadcrumb-container .toolbar-container {
    position: absolute;
    right: 22px;
    top: 15px;
  }

  /* 新增按鈕 */
  .breadcrumb-container #CreateButton {
    float: right;
  }
  /* 條件篩選按鈕 */
  .breadcrumb-container #FilterButton {
    margin-left: 8px;
    float: right;
  }
}

/* 螢幕 >= xl Size (電腦) */
@media (min-width: 1200px) {
  /* 麵包屑右側表單提示文字區塊 */
  .breadcrumb-container .form-hint-container {
    position: absolute;
    right: 0px;
    top: 2px;
  }
}

/* 螢幕 < xl Size (手機、平板) */
@media (max-width: 1199.98px) {
  /* 麵包屑右側表單提示文字區塊 */
  .breadcrumb-container .form-hint-container {
    right: 0px;
    top: 2px;
    margin-bottom: 1rem;
  }
}

/*#endregion */

/*#region Image Style */

/**
* ====================================================
* Image Style
* ====================================================
*/
.toolbar-container {
  max-height: 80px;
  margin: 1rem 0.5rem !important;
}
.toolbar-container .toolbar-label {
  font-size: 21px !important;
  font-weight: bold;
}

/*#endregion */
/*#region Image Style */

/**
 * ====================================================
 * Image Style
 * ====================================================
 */

/* 圖片 */
.img-profile {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  object-position: 50% 50%;
}

/* 螢幕 <= xl Size (中型電腦) */
@media (max-width: 1660px) {
  /* 圖片 */
  .img-profile {
    margin-bottom: 20px;
  }
}

/*#endregion */

/*#region Datatable Style */

/**
 * ====================================================
 * DataTable Style
 * ====================================================
 */

/* 表格文字 */
.table {
  color: var(--table-tbody-text-color);
}

/* 移除原有Border Style */
tbody,
td,
tfoot,
th,
thead,
tr {
  border-style: none;
}

/* 表格文字設定不可換行 */
#Tb.table > thead > tr > th,
#Tb.table > tbody > tr > td:not(.child) {
  white-space: nowrap !important;
}

/* 表格標頭 */
.table > thead > tr > th {
  background-color: var(--datatable-thead-tr-th-bg-color) !important;
  padding: 15px 5px;
  text-align: left;
  vertical-align: middle;
  border-top: 1px var(--table-border-color) solid !important;
  color: var(--table-thead-text-color) !important;
  border-bottom: 1px var(--table-thead-border-bottom-color) solid !important;
  white-space: normal !important;
}

/* 表格內容 */
.table > tbody > tr > td {
  padding: 8px 5px;
  text-align: left;
  vertical-align: middle;
  height: 36px !important;
  border-bottom: 1px var(--table-border-color) solid !important;
}

.table > thead > tr > th:first-child {
  border-bottom: 1px var(--table-thead-border-bottom-color) solid !important;
}

.table > tbody > tr > td:first-child {
  border-bottom: 1px var(--table-border-color) solid !important;
}

.table > thead > tr > th:last-child,
.table > tbody > tr > td:last-child {
  text-align: left;
}

.table > tbody > tr > td:last-child > a {
  margin-right: 5px;
}

.table > tbody > tr > td:last-child.dataTables_empty {
  text-align: center !important;
}

.table > tbody > tr > td.child {
  padding-left: 1rem;
}

.table > tbody > tr > td.child > .dtr-details {
  width: 100%;

  .dtr-title::after {
    content: "：";
  }
}

/* 表格單數行背景顏色 */
.table > tbody > tr:nth-child(odd) {
  background-color: var(--card-bg-color);
}

/* 表格左邊框 */
.table.border-table > thead > tr > th:first-child,
.table.border-table > tbody > tr > td:first-child {
  border-left: 1px var(--table-border-color) solid !important;
}

/* 表格右邊框 */
.table.border-table > thead > tr > th:last-child,
.table.border-table > tbody > tr > td:last-child {
  border-right: 1px var(--table-border-color) solid !important;
}

/* border-table-all 表格標頭 */
.table.border-table-all > tbody > tr > th {
  background-color: var(--datatable-thead-tr-th-bg-color) !important;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px var(--table-border-color) solid !important;
}

/* border-table-all 表格左邊框 */
.table.border-table-all > thead > tr > th,
.table.border-table-all > tbody > tr > td,
.table.border-table-all > tbody > tr > th {
  padding: 10px 10px !important;
  border-left: 1px var(--table-border-color) solid !important;
}

/* border-table-all 表格右邊框 */
.table.border-table-all > thead > tr > th:last-child,
.table.border-table-all > tbody > tr > td:last-child,
.table.border-table-all > tbody > tr > th:last-child {
  padding: 10px 10px !important;
  border-right: 1px var(--table-border-color) solid !important;
}

table.dataTable {
  margin-top: 0px !important;
}

/* 表格排序標籤位置 */
.dataTables_wrapper.dt-bootstrap4 .table thead tr th.sorting:before {
  top: 14px !important;
  left: 0 !important;
}

/* 表格排序標頭 */
.dataTables_wrapper.dt-bootstrap4 .table thead tr th.sorting,
.dataTables_wrapper.dt-bootstrap4 .table thead tr th.sorting_asc,
.dataTables_wrapper.dt-bootstrap4 .table thead tr th.sorting_desc {
  padding-left: 1.2rem !important;
}

/* 可使用頁碼樣式 */
.pagination .page-item .page-link {
  border-radius: 5px !important;
  font-weight: bold;
}

/* 頁碼樣式 */
.page-item .page-link {
  padding: 0.375rem 0.75rem 0.275rem 0.75rem !important;
}

/* 當前頁碼樣式 */
.page-item.active .page-link {
  background-color: var(--datatable-page-link-active-bg-color);
  border-color: var(--datatable-page-link-active-bg-color);
  border-radius: 0px;
}

/* 當前頁碼樣式.disabled */
.page-item.disabled .page-link {
  color: var(--datatable-page-link-disabled-text-color);
  background-color: var(--datatable-page-link-disabled-bg-color) !important;
  border-color: var(--datatable-page-link-disabled-border-color) !important;
  border-radius: 0px;
}

.page-item.first,
.page-item.last {
  display: none;
}

/* 摺疊按鈕 */
.dataTables_wrapper.dt-bootstrap4 .table.dataTable.dtr-inline.collapsed > tbody tr > td.dtr-control:before,
.dataTables_wrapper.dt-bootstrap4 .table.dataTable.dtr-inline.collapsed > tbody tr > th.dtr-control:before {
  background: var(--datatable-collapse-bg-color);
  color: var(--datatable-collapse-text-color);
  border-radius: 0px;
}

/* 摺疊時移除最左側及最右側框線 */
table.dtr-inline.collapsed thead > tr > th:not([style*="display:none"]),
table.dtr-inline.collapsed tbody > tr > td:not([style*="display:none"]) {
  border-right: none !important;
  border-left: none !important;
}

/* 篩選輸入框內距 */
.dataTables_filter input.form-control {
  padding: 0.25rem 0.75rem 0.25rem 0.75rem !important;
}

/* 移除有縱向捲軸之表格標頭底線  */
#ScrollTb_wrapper .sorting_disabled,
#ScrollTb_wrapper .sorting {
  border-bottom: none !important;
}

/* 表格邊框 */
#DetailTb > thead > tr > th,
#DetailTb > tbody > tr > td {
  border: 2px var(--table-border-color) solid !important;
}

/*#endregion */

/*#region Detail Table (Bootstrap Div) Style */

/**
 * ====================================================
 * Detail Table (Bootstrap Div) Style
 * ====================================================
 */

/* 表格外層框線 */
.table-column-wrapper {
  border-top: 0.01em var(--table-border-color) solid !important;
  border-right: 0.01em var(--table-border-color) solid !important;
  margin-left: 2px;
  margin-right: 2px;
}

/* 表格標頭 */
.table-column-title {
  background-color: #274a74 !important;
  text-align: center !important;
  border-bottom: 0.01em var(--table-border-color) solid !important;
  border-left: 0.01em var(--table-border-color) solid !important;
  border-right: 0.01em var(--table-border-color) solid !important;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 表格內容 */
.table-column-content {
  text-align: left !important;
  background-color: #2f323e;
  border-bottom: 0.01em var(--table-border-color) solid !important;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
}

/*#endregion */

/*#region Step Style */

/**
 * ====================================================
 * Step Style
 * ====================================================
 */

/* 步驟區塊 */
.step-item-link,
.step-item-link:hover {
  background-color: var(--step-item-link-active-bg-color);
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: var(--step-item-link-text-color);
  text-align: center;
  font-size: 17px;
  text-decoration: none;
}

/* 步驟區塊.active */
.step-item-link.active {
  background-color: var(--step-item-link-active-bg-color);
}

/* 步驟區塊.disable */
.step-item-link.disabled {
  background-color: var(--step-item-link-disabled-bg-color);
}

/* 圓圈數字.active */
.step-item-link.active .step-circle-text {
  display: inline;
  border-radius: 50%;
  background-color: var(--step-item-link-text-color);
  color: var(--step-item-link-active-bg-color);
  padding: 0px 6px;
  font-weight: bold;
}

/* 圓圈數字.disabled */
.step-item-link.disabled .step-circle-text {
  display: inline;
  border-radius: 50%;
  background-color: var(--step-item-link-text-color);
  color: var(--step-item-link-disabled-bg-color);
  padding: 0px 6px;
  font-weight: bold;
}

/* 步驟之間線段 */
.step-hr {
  border: none;
  border-top: 5px dotted #fff;
  height: 1px;
  width: 100%;
  opacity: 1;
}

/* 步驟之間箭頭 */
.step-arrow {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #fff;
  position: relative;
  left: 6px;
}

/*#endregion */

/*#region Loading Style */

/**
 * ====================================================
 * Loading Style
 * ====================================================
 */

/* 載入中 */
#loading {
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 載入中文字 */
.loading-text {
  color: #fff;
  font-size: 20px;
}

/* 載入中動畫效果 */
.dot-flashing {
  position: relative;
  margin-top: 15px;
  margin-left: 80px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #03a3a4;
  color: #03a3a4;
  animation: dotFlashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

/* 載入中動畫效果 */
.dot-flashing::before,
.dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

/* 載入中動畫效果 */
.dot-flashing::before {
  left: -24px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #03a3a4;
  color: #03a3a4;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 0s;
}

/* 載入中動畫效果 */
.dot-flashing::after {
  left: 24px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #03a3a4;
  color: #03a3a4;
  animation: dotFlashing 1s infinite alternate;
  animation-delay: 1s;
}

/* 載入中動畫效果 */
@keyframes dotFlashing {
  0% {
    background-color: #03a3a4;
  }

  50%,
  100% {
    background-color: #f2ffff;
  }
}

/*#endregion */

.dataanalysis-table {
  min-width: 997px;

  th,
  td {
    border: 1px solid #e1e1e1;
    border-collapse: collapse;
  }

  th:not(:first-child),
  td:not(:first-child) {
    border-left: 0;
  }

  th {
    background-color: #41658f;
    color: #fff;
    text-align: center;
    font-weight: 800;
    padding: 0.5rem 0.25rem;
    border-bottom: 0;
  }

  td {
    padding: 0.85rem 0.5rem;
    text-align: center;
  }
}

.prev-photo {
  width: fit-content;
  position: relative;
  padding: 10px;
}
.prev-photo > img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.prev-photo > img:hover {
  opacity: 0.8;
  cursor: pointer;
}

.prev-photo > a {
  padding: 0 0.4rem !important;
  background-color: #fff;
  position: absolute;
  top: 15px;
  right: 15px;
  color: #707070;
  box-shadow: 0 0 6px rgb(0 0 0 / 16%);
  font-size: 1rem;
}

.filter-option-inner-inner {
  overflow: hidden !important;
}

@media (min-width: 400px) {
  .modal-import {
    max-width: 400px;
  }
}
.example {
  text-decoration: none;
  color: #1956cc;
}
