@charset "utf-8";

/* CSS Document */
body {
  font-family: 'Lato', '微軟正黑體', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

/* 短頁面撐滿視窗，長頁面的頁尾仍接在內容後方。 */
body.frontend-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.frontend-layout > main {
  flex: 1 0 auto;
}

body.frontend-layout > header,
body.frontend-layout > footer {
  flex-shrink: 0;
}

/* 分隔線屬於頁尾邊界，避免短頁面撐高後與頁尾分離。 */
body.frontend-layout > footer {
  border-top: 1px solid rgb(123 137 159 / 50%);
}

body:not(.dark-mode) {
  color: #333;

  --bs-body-color-rgb: 33, 37, 41;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: 1s cubic-bezier(0.42, 0, 0.58, 1);
  transition: 1s cubic-bezier(0.42, 0, 0.58, 1);
}

body.page-fade::after {
  opacity: 1;
}

a {
  color: #000;
  text-decoration: none;
  -o-transition: all .3s linear;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  transition: all .3s linear
}

a:hover {
  color: #777;
}

* {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}

img {
  image-rendering: auto;
}

/*---------------------- 基礎設定 ----------------------*/
.container {
  --bs-gutter-x: 40px;
  /* Bootstrap 5.2 預設取一半 gutter；交流平台 5.1 的容器直接使用完整值。 */
  padding-inline: var(--bs-gutter-x);
}

@media (max-width: 767.98px) {
  main .container,
  footer .container {
    /* 保留原本右側 50px 的浮動切換鈕，內容再留 8px 間距。 */
    padding-inline-end: max(var(--bs-gutter-x), 58px);
  }
}

@media (min-width: 768px) {
  .container {
    --bs-gutter-x: 48px;
  }
}

:root {
  --go-top-size: 3.25rem;
}

/*反白設定
::selection { background: #666; color: #FFF; }
::-moz-selection { background: #666; color: #FFF; }
*/
.alertLine {
  border-color: #d40023;
}

.txt--red {
  color: #d40023;
}

.txt--blue {
  color: #2676F3
}

.txt--purple {
  color: var(--subColor);
}

.btn-link.txt--purple:hover {
  color: var(--subColor);
}

/* 回頂端 */
#goTop {
  display: none;
  cursor: pointer;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  color: #ccc;
  background: #fff;
  border: solid 1px #ccc;
  border-radius: 100%;
  box-shadow: rgba(0, 0, 0, .5) 0 0 5px
}

#goTop:hover {
  background: #999;
  color: #FFF
}

/*按鈕*/
.btnWrap {
  margin: 2em 0;
  text-align: center;
}

@media screen and (max-width: 640px) {
  #goTop {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0;
    border: 0;
    border-top: 1px solid #eee
  }
}

/*RWD編輯器表格(X捲軸)*/
.tableContainer table td {
  min-width: 100px;
  padding: 5px;
  border: 1px solid #ccc;
  white-space: inherit
}

@media screen and (max-width: 768px) {
  .tableContainer {
    width: 100%;
    overflow-y: auto;
    margin: 0 0 1em
  }
}

/*IE瀏覽器*/
.warning {
  width: 100%;
  color: #fff;
  text-align: center;
  max-width: 1500px;
  padding: 60px 50px 50px;
  position: fixed;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
  background-color: #283d86;
  box-shadow: 0 0 15px rgba(51, 51, 51, .5);
  border-radius: 3px;
  z-index: 9999999999;
  -o-transition: all .3s linear;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  transition: all .3s linear;
}

.off {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  border: 1px solid #eee;
  padding: 3px 5px 3px 10px;
}

.off:hover {
  background-color: #fff;
  color: #333;
}

.useTool p {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 30px;
}

.useTool ul {
  padding-left: 0;
  list-style: none
}

.useTool li {
  display: inline-block;
  margin: 0 5px;
}

.useTool a {
  display: block;
  background: #fff;
  padding: 7px 10px;
  border-radius: 60px;
}

.useTool b {
  margin-bottom: 10px;
  display: block;
  text-align: center;
}

.useTool figure {
  width: 30px;
  float: left;
  margin-right: 5px;
  margin-bottom: 0;
}

.useTool span {
  float: right;
  margin-top: 2px;
  font-weight: 600;
}

/* submit-loading */
.load-wrapp {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 65%);
  top: 0;
  left: 0;
  z-index: 99999;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading span {
  color: #fff;
  font-size: 25px;
  margin-top: 40px;
  display: table;
}

.spinner {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto;
}

.bubble-1,
.bubble-2 {
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  background-color: #fff;
}

.bubble-2 {
  top: auto;
  bottom: 0;
}

.loading .spinner {
  animation: loadingI 2s linear infinite;
}

.loading .bubble-1,
.loading .bubble-2 {
  -webkit-animation: bubble 2s ease-in-out infinite;
  animation: bubble 2s ease-in-out infinite;
  -moz-animation: bubble 2s ease-in-out infinite;
  -o-animation: bubble 2s ease-in-out infinite;
}

.loading .bubble-2 {
  animation-delay: -1s;
}

/* animation:loadingI */
@-o-keyframes loadingI {
  100% {
    transform: rotate(360deg);
  }
}

@-moz-keyframes loadingI {
  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes loadingI {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadingI {
  100% {
    transform: rotate(360deg);
  }
}

/* bubble */
@-o-keyframes bubble {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

@-moz-keyframes bubble {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

@-webkit-keyframes bubble {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

@keyframes bubble {

  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

/* submit-loading END*/
/*---------------------- 頁面開始 ----------------------*/
/*總設定*/
:root {
  --mainColor: #FFE602;
  --subColor: #6868AC;
  --menuTxt: #3D444F;
  --pageTxt: #1F2631;
  --bigTxt: 3rem;
}

/*表格樣式-TABLE*/
.scrollBar {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgb(148 163 185 / 50%);
  border-radius: 10px;
}

.scrollBar:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.downloadingIndicator {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1080;
  max-width: calc(100% - 2rem);
  padding: .75rem 1rem;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 1.25rem;
  text-align: center;
  color: #333;
  box-shadow: 0 .25rem 1rem rgb(0 0 0 / 20%);
}

.tableStyle {
  /* margin-top:1rem; */
  overflow: hidden;
  width: 100%;
}

.tableStyle thead {
  background: rgb(148 163 185 / 10%);
  color: #6868AC;
  /* border: 1px solid rgb(148 163 185 / 50%); */
  text-align: center;
  font-weight: bold;
}

.tableStyle td,
th {
  padding: 15px;
  min-width: 100px;
  position: relative;
}

.tableStyle td {
  overflow-wrap: anywhere;
}

.tableStyle tr {
  border-bottom: 1px solid rgb(123 137 159 / 50%);
}

.adviceBox span {
  display: block;
  padding-bottom: 1rem;
}

.adviceBox button {
  margin-left: auto;
}

/*表格--建議表*/
.tableStyle.tableStyle--advise th {
  background: #D9D9D9;
  color: #000;
  padding: 10px;
  border: 1px solid rgb(123 137 159 / 50%);
}

.tableStyle.tableStyle--advise td {
  border: 1px solid #D9D9D9
}

/*全頁佈局*/
h1,
h2,
h3,
h4,
h5,
p,
ul,
figure {
  margin-bottom: 0;
}

.wrapper {
  padding: 2rem 0;
}

.blockHeight {
  padding: clamp(2rem, 6vw, 5rem) 0;
}

.mainTit {
  color: var(--subColor);
  font-weight: 600;
}

.mainTit--line {
  border-bottom: 1px solid rgb(123 137 159 / 50%);
  padding-bottom: 2rem;
}

.mainTit--black {
  color: var(--pageTxt);
  font-weight: 500;
  font-size: 3rem;
}

.smTit {
  font-size: 1.5rem;
  line-height: 2.4rem;
}

.smTit--sm {
  font-size: 1rem;
  margin-top: 3rem;
}

.mainTit+.smTit {
  margin-top: 1rem
}

.pageInner {
  max-width: 1000px;
  margin: 0px auto;
}

.txt--mid {
  font-size: 1.25rem;
}

.underline {
  text-decoration: underline;
  color: #6868AC
}

/*並排*/
.flexBox {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/*清單樣式*/
.listStyle+.listStyle {
  margin-top: 3rem
}

.listStyle li+li {
  padding-top: 1rem;
  margin-top: 1rem
}

.listStyle--line {
  list-style: decimal;
  font-size: 1.25rem;
}

.listStyle--line li {
  position: relative;
}

.listStyle--line li:after {
  content: '';
  width: 100%;
  height: 1px;
  background: rgb(123 137 159 / 50%);
  position: absolute;
  bottom: -10px;
  left: -20px;
}

.listStyle--line li:first-child:before {
  content: '';
  width: 100%;
  height: 1px;
  background: rgb(123 137 159 / 50%);
  position: absolute;
  top: -10px;
  left: -20px;
}

/*按鈕*/
.btnStyle {
  display: inline-block;
  background: var(--mainColor);
  padding: 10px 20px;
  min-width: min(12.1875rem, 100%);
  max-width: 100%;
  font-size: 1.2rem;
  /* margin-bottom: 1rem; */
  transition: all .5s;
  border: 1px solid var(--mainColor);
}

.btnStyle.btnStyle--purple {
  background: var(--subColor);
  border: 1px solid var(--subColor);
  color: #fff;
}

.btnStyle.btnStyle--purple:hover,
.btnStyle.btnStyle--purple:active {
  background-color: #fff;
  color: var(--subColor);
  border: 1px solid var(--subColor);
}

.btnStyle--white {
  background: #fff
}

.btnStyle--sm {
  min-width: 100px;
  padding: 8px 20px;
  font-size: 1rem;
  margin-bottom: 0;
}

.btnStyle:hover {
  background: #fff;
  border: 1px solid var(--mainColor)
}

/*提醒:編輯器插入的圖需做以下設定，圖才不會變形*/
.tx01 img {
  max-width: 100%;
  height: auto !important;
}

/*------------首頁-----------*/
/*按鈕區*/
.btnStyle__zone {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid rgb(123 137 159 / 50%);
}

.btnStyle__zone .btnStyle+.btnStyle {
  margin-left: 0;
}

.btnStyle__zone--noline {
  margin-top: 0;
  padding-top: 0;
  border-top: inherit
}

.btnStyle__zone--line {
  position: relative;
  border-top: none;
}

.btnStyle__zone--line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 1px;
  background: rgb(123 137 159 / 50%);
}

/* RWD - 匹配 Bootstrap container 的最大宽度 */
@media (min-width: 576px) {
  .btnStyle__zone--line::before {
    max-width: 515px;
  }
}

@media (min-width: 768px) {
  .btnStyle__zone--line::before {
    max-width: 690px;
  }
}

@media (min-width: 992px) {
  .btnStyle__zone--line::before {
    max-width: 930px;
  }
}

@media (min-width: 1200px) {
  .btnStyle__zone--line::before {
    max-width: 1110px;
  }
}

@media (min-width: 1400px) {
  .btnStyle__zone--line::before {
    max-width: 1290px;
  }
}

/*page number*/
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .25rem;
  padding: 0;
}

.pagination>li {
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
  position: relative;
}

.pagination>li>a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: none;
  color: #333;
  transition: color .3s linear, background-color .3s linear;
  padding: 10px 18px;
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.25;
  background: rgb(148 163 185 / 10%);
}

.pagination>li>a:hover {
  color: #000;
}

.pagination>li.on a {
  background: var(--mainColor);
  border-radius: inherit;
}

.pagination-ellipsis {
  padding-inline: .125rem;
}

@media (max-width: 767.98px) {
  .pagination {
    column-gap: .125rem;
  }

  .pagination>li {
    column-gap: .125rem;
  }

  .pagination>li>a {
    min-width: 2.25rem;
    padding: .5rem .25rem;
    font-size: 1rem;
  }

  .pagination-ellipsis {
    padding-inline: 0;
    font-size: .875rem;
  }
}

/*-----------登入後-----------*/

/*燈箱*/
.popUp {
  position: fixed;
  top: 50%;
  left: 50%;
  background: #fff;
  width: 80%;
  height: auto;
  transform: translate(-50%, -50%);
  padding: 3rem;
  z-index: 1;
  border-radius: 20px;
  display: none;
}

.popUp__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 60%);
  display: none;
}

/* 檢核、量表送出後樣式 */
.finalContent .container div:first-child {
  color: #527fa8;
}

.accordion {
  --bs-accordion-color: var(--bs-body-color);
  --bs-accordion-bg: #fff;
  --bs-accordion-border-color: var(--bs-border-color);
  --bs-accordion-btn-color: var(--bs-body-color);
  --bs-accordion-btn-bg: var(--bs-accordion-bg);
  --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='var%28--bs-body-color%29'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  --bs-accordion-btn-focus-border-color: var(--mainColor);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-body-color-rgb), 0.5);
  --bs-accordion-active-color: inherit;
  --bs-accordion-active-bg: var(--mainColor);
}

.accordion.accordion-lite {
  --bs-accordion-btn-color: var(--bs-link-color);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-border-color: transparent;
  --bs-accordion-border-width: 0;
  --bs-accordion-btn-focus-border-color: transparent;
  --bs-accordion-active-color: var(--bs-link-color);
  --bs-accordion-active-bg: transparent;
}

.accordion.accordion-lite .accordion-button {
  margin: 0.9rem 20px 0 0;
}

.fs-sm {
  font-size: 0.875rem;
}
