@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+TC:wght@100..900&display=swap");

/* ===============================
            root               
=================================*/

:root {
  /*色系*/
  --color-white: #fff;
  --color-default: #373c40;
  --color-primary: #1756b4;
  --color-secondary: #767676;
  --color-dark: #4b4b4b;
  --color-success: #43c465;
  --color-info: #41bae5;
  --color-warning: #f2b64d;
  --color-danger: #ce4451;
  --color-gray: #555555;
  --color-light: #f7f7f7;
  --color-ci-green: #189068;
  --color-ci-blue: #008dbb;
  --color-yellow: #fedc00;

  /*-字體大小*/
  --size_03: 0.125rem;
  --size_04: 0.25rem;
  --size_05: 0.3125rem;
  --size_06: 0.375rem;
  --size_08: 0.5rem;
  --size_10: 0.625rem;
  --size_12: 0.75rem;
  --size_13: 0.8125rem;
  --size_14: 0.875rem;
  --size_15: 0.9375rem;
  --size_16: 1rem;
  --size_18: 1.125rem;
  --size_20: 1.25rem;
  --size_22: 1.375rem;
  --size_24: 1.5rem;
  --size_26: 1.625rem;
  --size_28: 1.75rem;
  --size_30: 1.875rem;
  --size_32: 2rem;
  --size_34: 2.125rem;
  --size_36: 2.25rem;
  --size_40: 2.5rem;
  --size_44: 2.75rem;
  --size_48: 3rem;
  --size_50: 3.125rem;
  --size_54: 3.375rem;
  --size_56: 3.5rem;
  --size_60: 3.75rem;
  --size_64: 4rem;
  --size_72: 4.5rem;
  --size_80: 5rem;
  --root-font-size: 1rem;

  /* 粗細 */
  --weight-light: 300;
  --weight-nor: 400;
  --weight-med: 500;
  --weight-bold: 600;
  --weight-bolder: 900;

  /*圓角*/
  --bs-border-radius: 0.25rem;
  --bs-border-radius-sm: 0.1875rem;
  --bs-border-radius-lg: 0.3125rem;
  --bs-border-radius-xl: 0.375rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  /* 字型 */
  --aw-font: "Font Awesome 5 Pro";
  --bs-font: "Noto Sans TC", "Open Sans", "Microsoft JhengHei", "Helvetica Neue",
    Helvetica, Arial, sans-serif;

  /* 陰影 */
  --bs-shadow: 0 0 1.25rem 0 rgba(0, 0, 0, 0.15);
}

html,
body {
  font-size: var(--root-font-size);
  color: var(--body-color);
  background: #f9f9f9 url("../images/bg-wrap.svg") no-repeat top center;
  background-attachment: fixed;
  line-height: 1.5;
  font-family: var(--bs-font);
  padding: 0;
  margin: 0;
  /* ipod touch / iphone text resize */
  -webkit-text-size-adjust: none;
  -webkit-overflow-scrolling: touch;
}

/* =====================================
              setting               
=======================================*/

body.fixed {
  overflow: hidden;
}

.btn > i {
  margin-right: 6px;
}
header,
.content,
section,
footer {
  position: relative;
}

/* input:focus,
select:focus,
button:focus,
.btn:focus,
a:focus,
area:focus,
textarea:focus {
  outline-offset: -2px;
  outline: 2px dashed #e2a00e;
} */
input:focus-visible,
select:focus-visible,
button:focus-visible,
.btn:focus-visible,
a:focus-visible,
area:focus-visible,
textarea:focus-visible{
  /* box-shadow:0 0 0 .25rem rgba(238, 216, 18, 0.25); */
  outline-offset: -2px;
  outline: 2px dashed #e2a00e;
}

/* =====================================
              Accesskey                
=======================================*/
[accesskey] {
  position: absolute;
  left: -9999px;
  text-align: center;
}
[accesskey]:focus {
  /* position: static; */
  left: auto;
  top: 0;
  padding: 0.25rem 0.5rem;
  background: var(--color-white);
  color: var(--color-primary);
  font-size: var(--size_16);
  z-index: 1000;
  display: inline-block;
}

#C:focus {
  position: absolute;
  left: 10px;
}
#Z:focus {
  position: absolute;
  top: 1.5rem;
}
#U:focus {
  left: 0;
  color: inherit;
  padding: 0;
}
@media (max-width: 991px) {
  [accesskey]:focus{
    background:transparent
  }
  #AU[accesskey]:focus {
    margin-right: 0.5rem;
  }
}

/* 跳到主要內容 */
.visually-hidden-focusable {
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.visually-hidden-focusable:active,
.visually-hidden-focusable:focus {
  position: absolute;
  color: var(--color-white);
  background: #0077bb;
  top: auto;
  left: calc(50% - 110px);
  width: 220px;
  height: auto;
  margin: 10px auto;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1em;
  z-index: 100000;
}

/* =========================
      grid系統
============================ */

.grid {
  display: grid;
  grid-template-rows: repeat(var(--bs-rows, 1), 1fr);
  grid-template-columns: repeat(var(--bs-columns, 12), 1fr);
  gap: var(--bs-gap, 1.5rem);
}

/*  */
.table-responsive {
  display: block;
  width: 100%;
  -webkit-overflow-scrolling: touch; /* iOS 平滑滾動 */
  scroll-behavior: smooth; /* 平滑滾動 */
}
.table-responsive > .table {
  border: 0;
  margin-bottom: 0;
}
