@charset "UTF-8";

:root {
  /* #347097 */
  --hs-color-main: 203.64deg, 48.77%;
  --l-color-main: 39.8%;
  --color-main: hsl(var(--hs-color-main), var(--l-color-main));
  --color-main-darker: hsl(
    var(--hs-color-main),
    calc(var(--l-color-main)- 10%)
  );
  --color-main-darkest: hsl(
    var(--hs-color-main),
    calc(var(--l-color-main)- 20%)
  );
  --color-secondary: #ff9000;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  word-break: break-all;
}

footer {
  text-align: center;
  color: #fff;
  padding-bottom: 1rem;
}

#homeTab {
  display: flex;
  justify-content: center;
  z-index: 1;
  border-bottom: none;
  bottom: -1px;
  position: relative;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

#main-content {
  flex: 1;
  width: 100%;
  margin: 50px 0;
}

body {
  background-color: #f4f4f4;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
/* 0902 ADD */
.is-hidden {
  display: none !important;
}

/* ＝＝＝ 文字顏色 ＝＝＝ */
.text-blue-lighter {
  color: #76b5ff;
}

.text-blue-light {
  color: #4fa0ff;
}

.text-blue {
  color: #1976d2;
  /* 0076FF */
}

.text-blue-dark {
  color: #004ba0;
}

.text-yellow {
  color: #ffbf00;
}

.text-red {
  color: #ee546d;
}

.text-green {
  color: #00c688;
}

.text-gray {
  color: #797f85;
}

/* ＝＝＝ 邊線顏色 ＝＝＝ */
.ContentBox .border-bottom-black {
  border-bottom: 1px solid #000000;
}

.ContentBox .border-bottom-gray {
  border-bottom: 1px solid #797f85;
}

.ContentBox .border-top-black {
  border-top: 1px solid #000000;
}

.ContentBox .border-top-gray {
  border-top: 1px solid #797f85;
}

/* ＝＝＝ 按鈕設定 ＝＝＝ */
.btn.btn-blue {
  background-color: #1976d2;
  color: #fff;
  border-color: #1976d2;
}

.btn.btn-blue:hover,
.btn.btn-blue:focus,
.btn.btn-blue:active {
  background-color: #004ba0;
  color: #fff;
  border-color: #004ba0;
}

.btn.btn-gray {
  background-color: rgb(206, 206, 206);
  color: #2d2d2d;
  border-color: rgb(206, 206, 206);
}

.btn.btn-gray:hover,
.btn.btn-gray:focus,
.btn.btn-gray:active {
  background-color: #202020;
  color: #fff;
  border-color: #202020;
}

.btn.btn-red {
  background-color: #ee546d;
  color: #fff;
  border-color: #ee546d;
}

.btn.btn-red:hover,
.btn.btn-red:focus,
.btn.btn-red:active {
  background-color: #c24257;
  color: #fff;
  border-color: #c24257;
}

.btn.btn-yellow {
  background-color: #ffbf00;
  color: #2d2d2d;
  border-color: #ffbf00;
}

.btn.btn-yellow:hover,
.btn.btn-yellow:focus,
.btn.btn-yellow:active {
  background-color: #ffed32;
  color: #2d2d2d;
}

.btn.btn-white {
  background-color: #ffffff;
  color: #2d2d2d;
  border-color: #ffffff;
}

.btn.btn-white:hover,
.btn.btn-white:focus,
.btn.btn-white:active {
  background-color: #2c2d2d;
  color: #ffffff;
  border-color: #2c2d2d;
}

.btn.btn-home-menu {
  background-color: white;
  color: #1976d2;
  border: 0px solid white;
}

.btn.btn-home-menu:hover,
.btn.btn-home-menu:focus,
.btn.btn-home-menu:active {
  background-color: #1976d2;
  color: #fff;
  border-color: #1976d2;
}

.btn.btn-home-menu-red {
  background-color: white;
  color: #ee546d;
  border: 0px solid white;
}

.btn.btn-home-menu-red:hover,
.btn.btn-home-menu-red:focus,
.btn.btn-home-menu-red:active {
  background-color: #ee546d;
  color: #fff;
  border-color: #ee546d;
}

/* ＝＝＝ 背景顏色 ＝＝＝ */
.bg-blue-lightest {
  background-color: #e6f4ff;
}

.bg-blue {
  background-color: #1976d2;
}

.bg-blue-dark {
  background-color: #004ba0;
}

.bg-red {
  background-color: #ee546d;
}

.bg-yellow {
  background-color: #ffbf00;
}

.bg-body-blue {
  background: linear-gradient(to bottom, #e6f4ff, #c2e9ff);
}

.bg-nav-blue {
  background: linear-gradient(to bottom, #2590d8, #1976d2);
}

.bg-gray {
  background-color: #e6eff5;
}

.bg-text-light {
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  background-color: #e6eff5;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 0.0625rem solid #d1d5db;
  border-radius: 1rem;
  -webkit-appearance: none;
  appearance: none;
  min-height: 2.7rem;
}
/* 0902 ADD */

/* ＝＝＝＝＝＝＝＝＝＝＝＝ 網站結構 ＝＝＝＝＝＝＝＝＝＝＝＝ */
body.Site-Body {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
}

.Nav {
  min-height: 3rem;
  padding: 1rem 1rem 0;
}

/* 導覽列按鈕 */
.navToggleIcon {
  width: 25px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navToggleIcon div {
  width: 100%;
  height: 2px;
  background: white;
  /* margin: 5px auto; */
  transition: all 0.3s;
  backface-visibility: hidden;
}

/* .navToggleIcon .one{
    margin-top: 0;
}

.navToggleIcon .three{
    margin-bottom: 0;
} */
.navToggleIcon.on .one {
  transform: rotate(45deg) translate(7px, 7px);
}

.navToggleIcon.on .two {
  opacity: 0;
}

.navToggleIcon.on .three {
  transform: rotate(-45deg) translate(6px, -6px);
}

.caseNavToggleIcon::before {
  transition: all 0.3s;
}

.caseNavToggleIcon.on::before {
  transform: rotate(180deg);
}

.Nav-Title {
  display: block;
  /* font-size: 1.2rem; */
  font-weight: 700;
  color: #000;
  text-decoration: none;
  border: 0;
  background-color: transparent;
}

.Nav-Title:hover {
  color: #000;
  text-decoration: none;
}

.Nav-Title:active {
  color: #000;
  text-decoration: none;
}

.login-person {
  text-align: end;
  color: var(--color-main);
  font-weight: 400;
}

.Unread {
  font-size: 0.75rem;
}

/* 內頁內容 */
.Content-Div {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding-left: 0.5rem;
  padding: 0.5rem 1rem 1rem;
}

.Content-Main {
  background-color: #fff;
  border-radius: 1rem;
}

.card-footer {
  background-color: var(--bs-card-bg);
}

/* 錯誤驗證 */
.valid-swal {
  text-align: left;
}

.valid-swal ul {
  padding-left: 2rem;
  margin-bottom: 0;
}

.valid-swal > ul {
  list-style: disc;
}

.valid-swal > ul > li {
  margin: 0.5rem 0;
}

.valid-swal > ul ul {
  list-style: circle;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝ 元件 ＝＝＝＝＝＝＝＝＝＝＝＝ */
.section-query {
  width: 100%;
  margin: 0 auto 0.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px #eee solid;
  background-color: #fff;
  box-shadow: 3px 3px 3px rgba(114, 114, 114, 0.15);
  font-size: 0.94rem;
}

.section-query + .section-query {
  margin-top: 1rem;
}

.section-query-content:not(.d-none) + .section-query-content,
.section-query-content:not(.is-hidden) + .section-query-content {
  margin-top: 0.25rem;
  padding-top: 5rem;
  border-top: 2px #e9e6d1 dashed;
}

.section-result {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  background-color: #fff;
  border-radius: 0.5rem;
  border-bottom: 3px rgba(0, 0, 0, 0.15) solid;
  font-size: 0.94rem;
}

.subtitle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1rem 0;
  padding: 0.5rem;
  color: var(--color-main);
  border-bottom: 1px #e9e6d1 dashed;
  letter-spacing: 1px;
  font-size: 1.3rem;
  font-weight: bold;
}

.subtitle::before {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-secondary);
  margin-right: 1rem;
}

.table-query,
.table-list {
  width: 100%;
  margin: 0 auto;
  table-layout: fixed;
  border-collapse: collapse;
}

.table-query th,
.table-query td,
.table-list th,
.table-list td,
.inp-div-title,
.inp-div-content {
  padding: 0.25rem;
}

.table-query th,
.inp-div-title {
  width: 8rem;
  text-align: right;
  color: var(--color-main);
  font-weight: bold;
}

.inp-div-title-l {
  width: 12rem;
}

.table-list {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.table-list > tbody > tr:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.04);
}

.table-list > tbody > tr:nth-child(odd):hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.table-list > tbody > tr:nth-child(even) {
  background-color: #fff;
}

.table-list > tbody > tr:nth-child(even):hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-list th {
  color: #347097;
  font-weight: bold;
}

.table-list.table-list-dashed-border th,
.table-list.table-list-dashed-border td {
  border-right: 1px #ccc dashed;
  padding: 0.25rem 0.5rem;
}

.table-list.table-list-dashed-border th:last-child,
.table-list.table-list-dashed-border td:last-child {
  border-right: 0;
}

.tr-empty td {
  padding: 0.5rem !important;
  color: #aaa;
  text-align: center;
}

/* ＝＝＝ 自動排序序號 ＝＝＝ */
.table-list {
  counter-reset: tbody_tr_idx 0;
}

.td-order {
  width: 3rem;
  text-align: center;
}

td.td-order::before {
  content: counter(tbody_tr_idx);
  counter-increment: tbody_tr_idx;
}

/* ＝＝＝ 項目縮起 ＝＝＝ */
label.subtitle:hover {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.section-content-control {
  display: none;
}

svg.section-content-control-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  transform: rotate(-90deg);
  transition: transform ease-in-out 0.3s;
}

.bi.section-content-control-icon {
  display: block;
  font-size: 1rem;
  margin-left: auto;
  transform: rotate(-90deg);
  transition: transform ease-in-out 0.3s;
}

.section-content-control:checked + .subtitle > .section-content-control-icon {
  transform: rotate(0deg);
}

.section-content-control:not(:checked) + .subtitle {
  margin-bottom: 0;
  border-bottom: 0;
}

.section-content-control:not(:checked) ~ .section-query-content {
  display: none;
}

/* ＝＝＝ 表格橫移 ＝＝＝ */
.table-horizontal-div {
  overflow-x: auto;
}

/* ＝＝＝ 輸入區塊(同table-query樣式，但非表格) ＝＝＝ */
.inp-divs {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.inp-div {
  width: 33.3333%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.inp-div.inp-div-2 {
  width: 66.6666%;
}

.inp-div.inp-div-full {
  width: 100% !important;
}

.inp-divs.inp-divs-always3 .inp-div {
  width: 33.3333% !important;
}

.inp-divs.inp-divs-always3 .inp-div-2 {
  width: 66.6666% !important;
}

.inp-divs.inp-divs-always3 .inp-div-full {
  width: 100% !important;
}

@media (max-width: 1400px) {
  .inp-div {
    width: 50%;
  }
  .inp-div.inp-div-2 {
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .inp-div {
    width: 100%;
    flex-direction: column;
    padding-block: 0.375rem;
  }
  .inp-div .inp-div-title {
    width: 100%;
    padding-bottom: 0.125rem;
    font-size: 0.9rem;
  }
  .inp-div .inp-div-title,
  .inp-div .inp-div-title > label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }
  .inp-div .inp-div-title br {
    content: ' ';
    display: none;
  }
}

.inp-div-title,
.inp-div-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inp-div.ta-l .inp-div-title,
.inp-div.ta-l .inp-div-content,
.ta-l.inp-div-content {
  justify-content: flex-start;
}

.inp-div.ta-r .inp-div-title,
.inp-div.ta-r .inp-div-content,
.ta-r.inp-div-content {
  justify-content: flex-end;
}

.inp-div-title {
  flex-grow: 0;
  flex-shrink: 0;
  justify-content: flex-end;
}

.inp-div-title > label {
  width: 100%;
  display: block;
  text-align: right;
}

.inp-div-content {
  width: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  justify-content: flex-start;
}

/* 0902 ADD */

/* switch */
.Switcher_box div.btn-container,
.Switcher_box_small div.btn-container {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.Switcher_box label {
  line-height: 34px;
}

.Switcher_box .btn-sub-mode-switch,
.Switcher_box_small .btn-sub-mode-switch {
  display: inline-block;
  margin: 0px;
  position: relative;
}

.Switcher_box .btn-sub-mode-switch > label.btn-sub-mode-switch-inner {
  background-color: gray;
  margin: 0px;
  width: 110px;
  height: 45px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: block;
  border-radius: 1rem;
}

.Switcher_box
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  + label.btn-sub-mode-switch-inner,
.Switcher_box_small
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  + label.btn-sub-mode-switch-inner {
  background-color: #1976d2;
}

.Switcher_box .btn-sub-mode-switch > label.btn-sub-mode-switch-inner:before {
  content: attr(data-on);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  top: 5px;
  right: 10px;
}

.Switcher_box .btn-sub-mode-switch > label.btn-sub-mode-switch-inner:after {
  content: attr(data-off);
  width: 50px;
  height: 35px;
  background: #fff;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 6px -2px #111;
  padding: 0;
  border-radius: 0.8rem;
  position: absolute;
  left: 5px;
  top: 5px;
}

.Switcher_box .btn-sub-mode-switch input[type='checkbox'] {
  cursor: pointer;
  width: 110px;
  height: 45px;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin: 0px;
}

.Switcher_box
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  + label.btn-sub-mode-switch-inner:after {
  content: attr(data-on);
  left: 55px;
  background: #fff;
  /* border-radius: 1rem; */
}

.Switcher_box
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  + label.btn-sub-mode-switch-inner:before {
  content: attr(data-off);
  right: auto;
  left: 10px;
}

/* small */
.Switcher_box_small .btn-sub-mode-switch > label.btn-sub-mode-switch-inner {
  background-color: gray;
  margin: 0px;
  width: 55px;
  height: 30px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  display: block;
  border-radius: 10rem;
}

.Switcher_box_small
  .btn-sub-mode-switch
  > label.btn-sub-mode-switch-inner:before {
  content: attr(data-on);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  top: 5px;
  right: 10px;
}

.Switcher_box_small
  .btn-sub-mode-switch
  > label.btn-sub-mode-switch-inner:after {
  content: attr(data-off);
  width: 20px;
  height: 20px;
  background: #fff;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 0px 6px -2px #111;
  padding: 0;
  border-radius: 20rem;
  position: absolute;
  left: 5px;
  top: 5px;
}

.Switcher_box_small .btn-sub-mode-switch input[type='checkbox'] {
  cursor: pointer;
  width: 55px;
  height: 30px;
  opacity: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.Switcher_box_small
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  + label.btn-sub-mode-switch-inner:after {
  content: attr(data-on);
  left: 30px;
  background: #fff;
  border-radius: 1rem;
}

.Switcher_box_small
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  + label.btn-sub-mode-switch-inner:before {
  content: attr(data-off);
  right: auto;
  left: 10px;
}

.Switcher_box_small
  .btn-sub-mode-switch
  input[type='checkbox']:checked
  ~ .alert {
  display: block;
}
/* switch */
.ContentBox .form-control {
  display: block;
  width: 100%;
  padding: 0.40rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  /* color: #4b5563; */
  background-color: #e6eff5;
  background-clip: padding-box;
  border: 0.0625rem solid #d1d5db;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0.8rem;
  /* box-shadow: inset 0 1px 2px rgba(23,31,56,.075);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out */
}

.ContentBox .form-control {
  display: block;
  width: 100%;
  padding: 0.40rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  /* color: #4b5563; */
  background-color: #e6eff5;
  background-clip: padding-box;
  border: 0.0625rem solid #d1d5db;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0.8rem;
  /* box-shadow: inset 0 1px 2px rgba(23,31,56,.075);
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out */
}

.ContentBox .form-select {
  display: block;
  width: 100%;
  padding: 0.40rem 1rem 0.40rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  /* color: #4b5563; */
  background-color: #e6eff5;
  background-image: url('../images/chevron-down.svg');
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 16px 12px;
  border: 0.0625rem solid #d1d5db;
  border-radius: 0.8rem;
  /* box-shadow: inset 0 1px 2px rgba(23, 31, 56, .075); */
  -webkit-appearance: none;
  appearance: none;
}

.ContentBox .form-select.form-select-sm {
  display: inline-block;
  width: auto;
}

.ContentBox .form-select:disabled,
.ContentBox .form-control:disabled {
  background-color: #bdc2c9;
}

.ContentBox .form-check {
  display: block;
  min-height: 1.5rem;
  padding-left: 1.625em;
  margin-bottom: 0.125rem;
}

.ContentBox .form-check-input {
  background-color: #e6eff5;
  border-color: #7d8795;
}

.ContentBox .form-check-input:checked {
  background-color: #1976d2;
  border-color: #1976d2;
}

.ContentBox .inside-table.form-check-input {
  background-color: #ffffff;
  border-color: #7d8795;
}

.ContentBox .inside-table.form-check-input:checked {
  background-color: #1976d2;
  border-color: #1976d2;
}

.ContentBox .form-check-input:checked[type='checkbox'] {
  background-image: url('../images/check2.svg');
}

.ContentBox .form-check-label {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ContentBox .input-group-text {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4b5563;
  text-align: center;
  white-space: nowrap;
  background-color: #fff;
  border: 0.0625rem solid #d1d5db;
  border-radius: 1rem;
}

.btn-check:checked + .btn-outline-secondary {
  background-color: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

/* ＝＝＝＝＝＝ accordion ＝＝＝＝＝＝ */
.ContentBox .accordion-button:not(.collapsed) {
  color: #1976d2;
  background-color: white;
  box-shadow: unset;
  border-bottom: 1px solid #797f85;
}

/* ＝＝＝＝＝＝ 多選與單選按鈕 ＝＝＝＝＝＝ */
.ContentBox .btn-check:checked + .btn {
  color: #ffffff;
  background-color: #1976d2;
  /* border-color: #1976d2; */
  border-top: 1px solid #1976d2;
  border-bottom: 1px solid #1976d2;
  border-left: 1px solid #e6eff5;
  border-right: 1px solid #e6eff5;
}

.ContentBox .btn-check + .btn:hover {
  color: #ffffff;
  background-color: #1976d2;
  /* border-color: #1976d2; */
  border-top: 1px solid #1976d2;
  border-bottom: 1px solid #1976d2;
  border-left: 1px solid #e6eff5;
  border-right: 1px solid #e6eff5;
}

.ContentBox .btn-outline-secondary {
  color: #212529;
  background-color: #e6eff5;
  border-color: #d1d5db;
}
/* ＝＝＝＝＝＝ 日期選擇器 ＝＝＝＝＝＝ */
.datepicker-group-div > .datepicker-div:first-child > .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.datepicker-group-div > .datepicker-div:last-child > .form-control {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.datepicker-div {
  position: relative;
  width: 8.5rem;
}

.datepicker-div:before {
  content: '\f1e8';
  display: inline-block;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #888;
}

.datepicker-div > .form-control {
  padding-right: 2.25rem;
  text-align: center;
}

/* 0902 ADD */
.datepickerBox {
  position: relative;
}

.datepickerBox:before {
  content: '\f1e8';
  display: inline-block;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-weight: 400 !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #888;
}

.ui-datepicker-tw
  td.ui-datepicker-current-day
  a.ui-state-default.ui-state-active {
  border: 1px solid #1976d2;
  background: #1976d2;
  color: #fff;
}

.ui-datepicker-tw td a.ui-state-highlight {
  background: #cce9ff;
}

.ui-datepicker .ui-datepicker-header {
  background-color: #cce9ff;
}

.ui-datepicker-tw td a.ui-state-default:hover {
  background: #cce9ff;
}

.ui-datepicker-tw .ui-widget-header .ui-icon {
  background-image: url('themes/base/images/ui-icons_2e83ff_256x240.png');
}
/* 0902 ADD */

/* ＝＝＝ 按鈕 ＝＝＝ */

/* 0902 ADD */
.btn {
  border-radius: 1rem;
}
/* 0902 ADD */
.btn.btn-main {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-bg: var(--color-main);
  --bs-btn-hover-bg: var(--color-main-darker);
  --bs-btn-active-bg: var(--color-main-darkest);
  --bs-btn-disabled-bg: var(--color-main);
  --bs-btn-border-color: var(--color-main);
  --bs-btn-hover-border-color: var(--color-main-darker);
  --bs-btn-active-border-color: var(--color-main-darkest);
  --bs-btn-disabled-border-color: var(--color-main);
}

/* .btn.btn-yellow {
    background-color: #c4b535;
    color: #FFF;
    border-color: #b1a32c;
}

.btn.btn-yellow:hover,
.btn.btn-yellow:focus {
    background-color: #ada02c;
    color: #FFF;
    border-color: #998d25;
}

.btn.btn-yellow:active {
    background-color: #9a8f26;
    color: #FFF;
    border-color: #8c8222;
}

.btn.btn-red {
    background-color: #a84c49;
    color: #FFF;
    border-color: #984444;
}

.btn.btn-red:hover,
.btn.btn-red:focus {
    background-color: #9e4545;
    color: #FFF;
    border-color: #964141;
}

.btn.btn-red:active {
    background-color: #913f3f;
    color: #FFF;
    border-color: #8b3c3c;
} */
.btn-div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-div.btn-div-left {
  justify-content: flex-start;
}

.btn-div > .btn {
  margin: 0.25rem;
}

.btn-s {
  padding: 0.5rem;
  font-size: 0.9rem;
}

.btn-xs {
  padding: 0.375rem;
  font-size: 0.8rem;
}

.btn-circle {
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  padding: 0;
  border-radius: 50%;
  font-size: 0.9rem;
  line-height: 1;
}

/* 連結樣式文字 */
.btn.text-href,
.text-href {
  text-decoration: underline;
  cursor: pointer;
  font-weight: bold;
  border: 0;
  color: #0d6efd;
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: transparent;
  --bs-btn-active-bg: transparent;
  --bs-btn-padding-x: 0.25rem;
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-color: #0d6efd;
  --bs-btn-hover-color: #0b5ed7;
  --bs-btn-active-color: #0a58ca;
}

.btn.text-href:hover,
.text-href:hover {
  color: #0b5ed7;
}

.btn.text-href:active,
.btn.text-href.btn:first-child:active,
.text-href:active,
.text-href.btn:first-child:active {
  color: #0a58ca;
}

/* ＝＝＝＝＝＝＝＝＝＝＝＝ 功能樣式 ＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ＝＝＝＝＝＝ Flex ＝＝＝＝＝＝ */
.f-cs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.f-ss {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.f-a {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
}

.f-a-v {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.f-n {
  flex-grow: 0;
  flex-shrink: 0;
}

.f-vertical {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.fw-w {
  flex-wrap: wrap;
}

.fd-c {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.fd-c > .f-a {
  height: 100%;
  overflow-y: auto;
}

/* ＝＝＝＝＝＝ Data Table ＝＝＝＝＝＝ */
.table.table-striped {
  border-bottom: 1px solid #ebeaea;
}

.dt-container .form-select.form-select-sm {
  padding-right: 1.5rem;
}

.table.table-striped thead tr th {
  color: #ffffff;
  background-color: #1976d2;
  border-bottom: 0;
}

.table.table-striped tbody .child .dtr-details {
  width: 100%;
}

.table.table-striped tbody .child .dtr-details li {
  text-align: start !important;
}

/* #table-list,
.dt-scroll{
    border-radius: 1rem;
    overflow: hidden;
} */
.table.dataTable.table-striped > tbody > tr:nth-of-type(2n + 1).selected > * {
  box-shadow: inset 0 0 0 9999px #c2e9ff !important;
  color: black !important;
}

.table.dataTable > tbody > tr.selected > * {
  box-shadow: inset 0 0 0 9999px #d6f0ff !important;
  color: black !important;
}

.table.table-striped thead tr .dt-select .form-check-input {
  border-color: white;
}

/* 租約查核 */
.ContentBox .bg-table-input-white {
  background-color: White;
}

.ContentBox .bg-table {
  background-color: #e6eff5;
  border-top: 1px solid #d1d5db;
  border-top: 1px solid #d1d5db;
}

.ContentBox .btn-outline-secondary-bg-white {
  color: #212529;
  background-color: white;
  border-color: #d1d5db;
}

.ContentBox .btn-outline-secondary-bg-gray {
  color: #ffffff;
  background-color: gray;
  border-color: #d1d5db;
}

/* 租約查核 */

/* ＝＝＝＝＝＝ 密碼顯示/隱藏 ＝＝＝＝＝＝ */
.inp-div-password-visible {
  width: 100%;
  position: relative;
}

.inp-div-password-visible-btn {
  width: 1.8rem;
  height: 1.8rem;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background-color: transparent;
  position: absolute;
  right: 0.125rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  line-height: 1;
}

.inp-div-password-visible-btn > .bi {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inp-div-password-visible-btn:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.inp-div-password-visible > .inp {
  padding-right: 2rem;
}

.inp-div-password-visible:not(.is-visible)
  > .inp-div-password-visible-btn
  > .bi-eye-slash,
.inp-div-password-visible.is-visible > .inp-div-password-visible-btn > .bi-eye {
  display: none;
}

.inp-div-password-visible .password-remark {
  display: none;
  max-width: 100%;
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 10;
  background-color: #ba2424;
  color: #fff;
  padding: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
  border-radius: 0.25rem;
}

@media screen and (max-height: 800px) {
  .inp-div-password-visible .password-remark {
    padding: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.2;
  }
}

.inp-div-password-visible .password-remark::before {
  content: '';
  position: absolute;
  top: -0.25rem;
  left: 0.375rem;
  z-index: 10;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0.25rem 0.25rem;
  border-color: transparent transparent #ba2424;
}

.inp-div-password-visible:hover .password-remark,
.inp-div-password-visible:focus-within .password-remark {
  display: block;
}

.password-remark-title {
  margin-bottom: 0.5rem;
}

.password-remark-list li + li {
  margin-top: 0.25rem;
}

.msgTimeOut {
  display: table-cell;
}

.user {
  display: table-cell;
}

.navTable {
  display: inline-table;
  vertical-align: middle;
}

.logout {
  display: table-cell;
}

#menu .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: left !important;
}
/* ＝＝＝＝＝＝ sweetalert 驗證 ＝＝＝＝＝＝ */
.swal-valid-data-error {
  text-align: left;
}

.swal-valid-data-error li {
  margin: 0.5rem 0;
}

.swal-valid-data-error li ul {
  margin-bottom: 0.675rem;
}

.swal-valid-data-error li ul li {
  margin: 0.125rem 0;
}

/* ＝＝＝ Swal 自訂輸入區塊 ＝＝＝ */
.sw-inp-divs {
  margin: 0.5rem 0;
}

.sw-inp-part + .sw-inp-part {
  border-top: 1px dashed #ddd;
}

.sw-inp-part {
  padding: 0.5rem 0;
}

.sw-inp-part-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0.5rem 0.25rem 0.5rem;
  text-align: left;
  color: #5b7a17;
  font-size: 1.1em;
  font-weight: bold;
}

.sw-inp-part-title::before {
  content: '';
  flex-grow: 0;
  flex-shrink: 0;
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  border-radius: 50%;
  background-color: #6ea89a;
}

.sw-inp-div-2 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.sw-inp-div-2 > .sw-inp-div {
  width: 50%;
  min-width: 250px;
}

.sw-inp-div {
  margin: 0.25rem 0;
  padding: 0.5rem;
}

.sw-inp-title {
  display: flex;
  align-items: center;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  text-align: left;
  font-size: 0.9em;
  color: #ad9c16;
}

.sw-inp-title-required::before {
  content: '＊';
  color: #d33;
}

.sw-inp-content {
  text-align: left;
  font-size: 1rem;
}

.sw-inp-content textarea {
  resize: none;
}

/* 錯誤樣式 */
.sw-inp-div-style-Error {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px #f4c2c2 solid;
  border-radius: 0.25rem;
  background-color: rgba(255, 0, 0, 0.1);
}

.sw-inp-div-style-Error .sw-inp-title {
  color: #d33;
}

.page-content > .sw-inp-div-style-Error {
  border: 1px #dd9b9b solid;
  background-color: #ffe5e5;
}

/* 警告樣式 */
.sw-inp-div-style-Warning {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px #f4ecc2 solid;
  border-radius: 0.25rem;
  background-color: rgba(255, 181, 0, 0.1);
}

.sw-inp-div-style-Warning .sw-inp-title {
  color: #cc882d;
}

/*多選下拉清單*/
.select2-container--bootstrap-5 .select2-selection {
  background-color: #e6eff5;
  border-radius: 1rem;
}

.select2-container--bootstrap-5
  .select2-selection--multiple
  .select2-selection__rendered
  .select2-selection__choice {
  background-color: #1976d2;
  color: #ffffff;
  border-radius: 1rem;
}

.select2-container--bootstrap-5
  .select2-selection--multiple
  .select2-selection__rendered
  .select2-selection__choice
  .select2-selection__choice__remove {
  background-image: url('../images/x-lg.svg');
  color: white; /* SVG 將會繼承這個顏色作為填色 */
}

.btn-close {
  background-image: url('../images/x-lg.svg');
}

table.dataTable th,
table.dataTable td {
  vertical-align: middle;
  padding: 0 8px;
}

table.dataTable tbody th, 
table.dataTable tbody td {
  padding: 5px;
}

/* ＝＝＝＝＝＝ 頁面載入 ＝＝＝＝＝＝ */
.page-full-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.65);
}

.page-full-loading-img {
  margin-bottom: 1.5rem;
}

.approvedCaseMsg {
  color: red;
}

.dropdown-item {
  cursor: pointer;
}

main.container {
  margin: 50px auto;
}

main.index.container {
  margin: 20px auto 50px;
}

@media (min-width: 1200px) {
  .smaller {
    font-size: 2.2rem;
  }
  .small {
    font-size: 2.8rem;
  }
}

@media (min-width: 990px) and (max-width: 1199px) {
  .smaller {
    font-size: 1.5rem;
  }
  .small {
    font-size: 1.8rem;
  }
}

.smaller {
  font-size: 2.5rem;
}

.small {
  font-size: 2.8rem;
}

.ContentBox .form-control::placeholder {
  color: #ccc;
}

.dsNone {
  display: none;
}

.privacy h1 {
  text-align: center;
  letter-spacing: 1px;
  border-bottom: dashed 1px darkblue;
  padding: 2.5rem 0 1.5rem;
  margin-bottom: 2rem;
}

/* 導覽列縮小功能 */
/* 只有在電腦版 (lg 以上) 才套用強制手機模式的覆蓋規則 */
@media (min-width: 992px) {
  #navbar.force-mobile #navDesktop {
    display: none !important;
  }
  #navbar.force-mobile #navMobile {
    display: flex !important;
  }
  #navbar.force-mobile .navbar-toggler {
    display: block !important;
  }
  #navbar.force-mobile .navToggleLogOutBox {
    display: block !important;
  }
  #navbar.force-mobile .navToggleClose {
    display: block !important;
  }
}
