.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-8e952bd:#C9C9C9;--e-global-color-835be9e:#0D2487;--e-global-color-0b76080:#F2F2F2;--e-global-color-b3006c8:#000000;--e-global-color-d5a6792:#3F485D;--e-global-color-ce12077:#E1031F;--e-global-color-e248001:#F6F6F6;--e-global-color-ab404a8:#40495D;--e-global-color-0143712:#4054B2;--e-global-color-5cdcb6e:#656C7D;--e-global-color-6eac190:#020C26;--e-global-color-2dec652:#C91826;--e-global-color-72c42f1:#3F485D;--e-global-color-5595071:#818A91;--e-global-color-99100d4:#818A91;--e-global-color-a169801:#808080;--e-global-color-0d23ad9:#F7F7F7;--e-global-color-a2b4b93:#668F2C;--e-global-color-25f6f4c:#F5F7F8;--e-global-typography-primary-font-family:"微軟正黑體";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"微軟正黑體";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"微軟正黑體";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"微軟正黑體";--e-global-typography-accent-font-weight:500;font-size:18px;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button{background-color:#98989878;bottom:2%;right:10px;width:30px;height:30px;border-radius:3px 3px 3px 3px;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button:hover{background-color:#0D2487D9;}.elementor-kit-6 a{color:var( --e-global-color-835be9e );font-family:"微軟正黑體", Sans-serif;font-size:18px;}.elementor-kit-6 h1{font-family:"微軟正黑體", Sans-serif;font-size:36px;}.elementor-kit-6 h2{font-size:32px;}.elementor-kit-6 h3{font-family:"微軟正黑體", Sans-serif;font-size:26px;}.elementor-kit-6 h4{font-family:"微軟正黑體", Sans-serif;font-size:22px;}.elementor-kit-6 h5{font-family:"微軟正黑體", Sans-serif;font-size:18px;}.elementor-kit-6 h6{font-family:"微軟正黑體", Sans-serif;font-size:14px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1500px;}.e-con{--container-max-width:1500px;}.elementor-widget:not(:last-child){margin-block-end:12px;}.elementor-element{--widgets-spacing:12px 12px;--widgets-spacing-row:12px;--widgets-spacing-column:12px;}{}h1.entry-title{display:var(--page-title-display);}body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button i{font-size:10px;color:#FFFFFF;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button img{height:10px;width:10px;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button span{color:#FFFFFF;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button:hover i{color:#FFFFFF;}.ha-scroll-to-top-wrap .ha-scroll-to-top-button:hover span{color:#FFFFFF;}@media(max-width:1024px){.elementor-kit-6{font-size:18px;}.elementor-kit-6 h1{font-size:32px;}.elementor-kit-6 h2{font-size:30px;}.elementor-kit-6 h3{font-size:24px;}.elementor-kit-6 h4{font-size:20px;}.elementor-kit-6 h5{font-size:16px;}.elementor-kit-6 h6{font-size:14px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1025px;}.e-con{--container-max-width:1025px;}body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}}@media(max-width:767px){.elementor-kit-6 h1{font-size:28px;}.elementor-kit-6 h2{font-size:24px;}.elementor-kit-6 h3{font-size:22px;}.elementor-kit-6 h4{font-size:18px;}.elementor-kit-6 h5{font-size:16px;}.elementor-kit-6 h6{font-size:14px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .ha-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}}/* Start custom CSS *//* 讓彈窗與按鈕真的蓋過所有東西 */
.elementor-popup-modal{position:fixed!important; z-index:1000003!important; isolation:isolate;}
.elementor-popup-modal .dialog-close-button{z-index:1000004!important; pointer-events:auto!important;}
/* 全域強制關閉鈕（我外掛插入）若被主題樣式蓋掉，這裡再拉高 */
.eppc-global-close{z-index:2000000!important;}
/* 你的頂部白區塊請壓在彈窗之下（若你有 .white-top-block 或 header 很高 z-index） */
header.site-header, .white-top-block{z-index:99999!important;}

/* 讓 Elementor 彈窗永遠壓過任何頁面元素 */
.elementor-popup-modal {
  position: fixed;                 /* 確保脫離文件流 */
  z-index: 1000003 !important;     /* 比你 header/白區塊還高 */
}

/* 確保關閉按鈕本身可點擊、不被遮 */
.elementor-popup-modal .dialog-close-button {
  position: absolute;
  z-index: 1000004 !important;
  pointer-events: auto;
}

/* 若你有把頂部白色區塊設很高的 z-index，這裡補一條保險 */
header.site-header,
.white-top-block {
  z-index: 99999;                  /* 仍高，但低於彈窗 */
}

/* =========================
   1) 系統列 / 編輯列層級
   ========================= */

/* 讓 WP 系統列永遠最高（只影響已登入者） */
body.admin-bar #wpadminbar {
  position: fixed;
  z-index: 1000000 !important;
}

/* Elementor 前台編輯工具列壓到最上層 */
.elementor-editor-active .elementor-editor-header,
.elementor-editor-active #elementor-panel {
  z-index: 1000001 !important;
}

/* Elementor Popup 在登入者時略低於系統列與編輯列 */
body.admin-bar .elementor-popup-modal {
  z-index: 99990;
}

/* =========================
   2) 你的白色區塊層級
   ========================= */
.white-top-block, /* ← 把這個換成你的白色區塊實際選擇器 */
header.site-header {
  position: relative;   /* 確認建立定位 */
  z-index: 99999;       /* 高於主內容／選單，但低於系統列與編輯列 */
  isolation: isolate;   /* 將疊層限制在自己層級，避免全站 z-index 大戰 */
}

/* =========================
   3) TablePress 基礎樣式
   ========================= */
.tablepress {
  border: 1px solid #cccccc !important;
  border-collapse: collapse !important;
  font-family: 'Microsoft JhengHei', sans-serif !important;
}

.tablepress td,
.tablepress th {
  text-align: left !important;
  vertical-align: middle !important;
  font-family: "Lucida Grande", UBHeadline_regular, Tahoma, Verdana, Arial, sans-serif,
               "微軟正黑體", "蘋果儷中黑", "儷黑 Pro", "新細明體" !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.3rem !important;
  padding: 8px 12px !important;
  border: 1px solid #cccccc !important;
}

/* 表頭樣式 */
.tablepress thead th {
  background-color: #24237b !important;
  color: #ffffff !important;
  vertical-align: middle !important;
  border: 1px solid #cccccc !important;
  font-weight: 800 !important;
}

/* =========================
   4) 下拉選單範例（請替換 ID）
   ========================= */
#select_jp_dropdown_menu_widget-REPLACE_TO_ID {
  border-style: solid;
  border-color: #c9c9c9;
  border-radius: 5px;
  transform: translateX(0) translateY(0);
  color: #000;
}

/* =========================
   5) Gravity Forms 微調
   ========================= */
.gform-body .gform-grid-col .gform-field-label {
  padding-top: 10px;
}

.gform-body .gfield--no-description .ginput_container_text input[type=text]{
  padding-left: 10px !important;
}

.gform-body .gfield--no-description select{
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  border-radius: 3px;
  padding-right: 1px !important;
}

/* =========================
   6) 全域動畫（只定義一次）
   ========================= */
@keyframes move-hint {
  0%   { transform: translateX(0);   opacity: 1; }
  50%  { transform: translateX(6px); opacity: 0.4; }
  100% { transform: translateX(0);   opacity: 1; }
}

/* =========================
   7) 手機（<=767px）統一版
   - 合併你原本三段 @media
   - 調整為可換行、可水平捲動
   ========================= */
@media (max-width: 767px) {
  .tablepress-wrapper {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 98%;                 /* 需要更窄可改 90% */
    margin: 0 auto 24px;        /* 置中 */
    padding-bottom: 20px;
  }

  .tablepress-wrapper .tablepress {
    width: auto !important;     /* 不強制 max-content，避免超出 */
    min-width: 600px;           /* 太窄時仍保有表格結構（可視需求調整） */
    font-size: 14px;
  }

  .tablepress-wrapper td,
  .tablepress-wrapper th {
    padding: 6px 8px !important;
    font-size: 14px !important;
    line-height: 1.4;
    white-space: normal;        /* 可換行（原本 nowrap 改為可讀性更好的換行） */
    word-break: break-word;
    text-align: left;
  }

  /* Scrollbar 美化 */
  .tablepress-wrapper::-webkit-scrollbar {
    height: 6px;
  }
  .tablepress-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
  .tablepr/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: '微軟正黑體';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://www.ubright.com.tw/wp-content/uploads/2025/06/wei-ruan-zheng-hei-ti.woff2') format('woff2');
}
/* End Custom Fonts CSS */