@charset "UTF-8";
:root {
  --main-color: #337a55;
  --sub-color: #40be7d;
  --accent-color: #72c02c;
  --title-color: #00572b;
  --light-color: #deffe2;
  --second-bgcolor1: #c1d9c4;
  --second-bgcolor2: #e2ece1;
  --footer-bgcolor: #b3e6c5;
  --red-color: #c8293f;
}

a:focus {
  outline: 1px dashed transparent;
}

.btnmore {
  width: 120px;
  display: inline-block;
  margin: 15px 0;
  font-size: 18px;
  background: #337a55;
  color: #fff;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}
.btnmore.lg {
  padding: 12px 24px;
}
.btnmore.md {
  padding: 8px 16px;
}
.btnmore.sm {
  padding: 4px 8px;
}
.btnmore.xs {
  padding: 2px 4px;
}
.btnmore:hover {
  background: rgb(38.9722543353, 93.2277456647, 64.9537572254);
  color: #fff;
}
.btnmore {
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  border-radius: 30px;
}

body {
  -webkit-text-size-adjust: none;
  font-family: "Noto Sans TC", sans-serif;
}

@font-face {
  font-family: "bootstrap-icons";
  src: url("../fonts/bootstrap-icons.woff2") format("woff2"), url("../fonts/bootstrap-icons.woff") format("woff");
}
body {
  font-family: "Noto Sans TC", sans-serif !important;
  font-size: 16px;
  font-optical-sizing: auto;
  font-weight: 400;
}

main {
  line-height: 2em;
}

/*================================*/
/* accordion 優化側邊伸縮選單 & 配合JS
/*================================*/
@media (min-width: 768px) {
  /* 強制顯示內容 */
  #accordionIDEC .accordion-collapse {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
  }
  /* 讓側邊欄按鈕看起來像普通的標題標籤 */
  #accordionIDEC .accordion-button {
    color: inherit !important;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    padding-left: 0; /* 依照你的設計調整 */
  }
  /* 隱藏箭頭 ICON */
  #accordionIDEC .accordion-button::after {
    display: none !important;
  }
  /* 移除點擊時的藍色外框 (Focus) */
  #accordionIDEC .accordion-button:focus {
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
  }
}
/*================================*/
/*       category.asp
/*================================*/
@media screen and (min-width: 820px) {
  .category-wrapper .col-12.col-sm-9 {
    --bs-gutter-x: 3rem;
  }
}
.card {
  border: transparent;
}
.card:hover {
  -webkit-box-shadow: 0 0 4px #afafaf;
          box-shadow: 0 0 4px #afafaf;
  overflow: hidden;
}

nav.breadwrap ol.breadcrumb {
  padding: 8px 15px;
  margin: 30px 0 20px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
}
nav.breadwrap ol.breadcrumb li.breadcrumb-item a {
  text-decoration: none;
  color: #495057;
}
nav.breadwrap ol.breadcrumb li.breadcrumb-item a:hover {
  color: #005ed7;
  font-weight: bold;
}
nav.breadwrap ol.breadcrumb li.breadcrumb-item a:focus {
  outline: 2px solid #005ed7; /* 提供明顯的聚焦外框 */
  outline-offset: 2px;
  border-radius: 1px;
}
nav.breadwrap .breadcrumb-item.active {
  color: #495057; /* 確保對比度達標 */
}

.picbox {
  position: relative;
  height: 198px;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 8px;
}
.picbox img.card-img-top {
  width: 100%;
  height: 102%;
  -o-object-fit: contain;
     object-fit: contain; /* contain|cover 效果不同.針對不同比圖片做調整*/
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  position: absolute;
}

img.card-img-top {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.card:hover img.card-img-top {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1); /* 現在基準點就是真正的視覺中心 */
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

/* ------頁碼----- */
nav.idec_page {
  padding: 40px 0;
}

/*================ 左側樓層 ================*/
/*------------------------------*/
/*           $Utilities
/* -----------------------------*/
/* 最新消息列表頁、商品列表頁、側邊導覽列，文字多於一行以...表示 */
.nav_cate_item a,
.headlinecate,
.headlinecate0,
.features-box .view .mask p.prd_info,
.features-box .view .mask h2,
.features-box a h4,
.features-box p.prd_info {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

aside ul.nav {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  line-height: 2.5em;
}
aside ul.nav li.nav_cate_current {
  padding: 0 10px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #757575;
}
aside ul.nav li.nav_cate_item {
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
aside ul.nav li.nav_cate_item:hover {
  background: #d5ecf9;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}
aside ul.nav li.nav_cate_item a {
  text-decoration: none;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 10px;
  color: #363636;
}
aside ul.nav li.nav_cate_item a:focus, aside ul.nav li.nav_cate_item a:hover {
  background-color: transparent;
}

.aside-title {
  width: 100%;
  background: transparent;
  padding: 8px 12px;
  font-size: 18px;
}

#accordionIDEC {
  margin-bottom: 30px;
}
#accordionIDEC h2.aside-title {
  font-size: 18px;
  padding: 10px;
  line-height: 20px;
  margin-bottom: 0;
}
#accordionIDEC button.accordion-button {
  padding: 0 10px 0 0;
  background: #f5f5f5;
}
#accordionIDEC .accordion-body {
  padding: 0;
}

@media screen and (max-width: 768px) {
  /* MOBILE導覽列標題ICON */
  h2.aside-title:after {
    content: "";
    float: right;
    cursor: pointer;
    font-size: 25px;
    font-weight: bold;
    margin-top: -4px;
    color: #757575;
    background: url("../../images/more_open.svg");
    height: 24px;
    width: 24px;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    -webkit-filter: invert(0);
    filter: invert(0);
  }
  h2.aside-title.is-active::after {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    content: "";
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}
/*================ 右側產品列表頁 ================*/
.link-top {
  position: relative;
  z-index: 2; /* 只要大於 1 即可，因為 stretched-link 的 z-index 預設是 1 */
}

i#sortIcon {
  color: #085d94;
}

/*================================*/
/*       product.asp
/*================================*/
.product-wrapper {
  word-break: break-word;
}

/*================ 商品圖片 ================*/
/*================ 商品圖片放大鏡優化 ================*/
.product-wrap {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}

#prod_img {
  width: 100%;
  height: 500px; /* 容器固定高度 */
  background-color: #f8f9fa;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  overflow: visible; /* 關鍵：必須設為 visible 側邊放大鏡才看得到 */
  border-radius: 6px;
  cursor: crosshair;
}

#prodImgEl {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  outline-offset: 4px;
}
#prodImgEl:focus {
  outline: 2px solid #007bff;
}

/* 原圖上的選取方框 (Cursor) */
.zoom-cursor {
  position: absolute;
  width: 150px; /* 可隨倍率調整 */
  height: 150px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: none;
  pointer-events: none;
  z-index: 10;
}

/* 側置放大視窗 (不擋原圖) */
.zoom-lens {
  position: absolute;
  left: 105%; /* 推到右側邊緣外 */
  top: -5px;
  width: 300px; /* 放大後的寬度 */
  height: 300px; /* 放大後的高度 */
  border: 1px solid #ddd;
  background-repeat: no-repeat;
  background-color: #fff;
  z-index: 1000;
  display: none;
  pointer-events: none;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
          box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  /* RWD 手機版自動改回覆蓋式或隱藏 */
}
@media (max-width: 1200px) {
  .zoom-lens {
    width: 300px;
    height: 300px;
  }
}
@media (max-width: 991px) {
  .zoom-lens {
    display: none !important; /* 平板以下通常空間不足，建議隱藏側邊放大鏡 */
  }
}

.zoom-badge-container {
  min-height: 30px;
  margin-top: 10px;
  text-align: center;
}

.zoom-badge {
  font-size: 14px;
  color: #666;
  background: #eee;
  padding: 2px 12px;
  border-radius: 20px;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.zoom-badge.show {
  opacity: 1;
}

/* 手機版停用提示 */
@media (hover: none) and (pointer: coarse) {
  #prod_img {
    cursor: default;
  }
  .zoom-cursor,
  .zoom-lens {
    display: none !important;
  }
}
/*================ 商品屬性 ================*/
.pd_name {
  font-size: 24px;
  font-weight: 800;
}

.CodeNum,
.PersonNum,
.rwd_pprice,
.rwd_oprice,
.prod_attrib01,
.prod_attrib02,
.prod_attrib03 {
  font-size: 14px;
  color: #333;
}

.prod_attrib fieldset {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
  padding: 5px 30px 10px 5px;
}

span.cut-price {
  font-size: 16px;
}

.normal-price {
  font-size: 20px;
  font-weight: 600;
  color: #d52229;
}

.info_card_box {
  border: 0px solid #c7c8c9;
  padding: 15px;
  border-radius: 15px;
  -webkit-box-shadow: 0 0 3px 0px #ccc;
          box-shadow: 0 0 3px 0px #ccc;
}
.info_card_box .idec_attbtn:checked + .btn {
  background: #424242;
  border: 1px solid #afafaf;
  color: #fff;
}
.info_card_box label.btn.idec_btn-outline {
  border: 1px solid #757575;
  color: #333;
  font-weight: 600;
  font-size: 18px;
  min-width: 66px;
  margin: 4px;
}

/* =========================
   商品區塊版型（40 / 60）
   ========================= */
.product-layout {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column; /* 手機：上下 */
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 994px) {
  .product-layout {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
/* 左側：數量區（40%）加減器欄位 */
.product-col-left {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 40%;
      -ms-flex: 0 0 40%;
          flex: 0 0 40%;
}

/* 右側：按鈕區（60%）加入購物/詢價橺位 */
.product-col-right {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

/* =========================
   數量 input-group
   ========================= */
.qty-group {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  max-width: 160px;
}

/* =========================
   按鈕區排版
   ========================= */
.action-buttons {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column; /* 手機：上下 */
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
}

/* 平板以上：橫排 */
@media (min-width: 1400px) {
  .action-buttons {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
/* 讓按鈕平均寬度 */
.action-buttons button {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  white-space: nowrap;
}
.action-buttons button:hover {
  -webkit-box-shadow: 0 0 3px #424242;
          box-shadow: 0 0 3px #424242;
}

/* =========================
   工具類補強
   ========================= */
/* 防止文字換行 */
.text-nowrap {
  white-space: nowrap;
}

/* 庫存提示 */
.stock-text {
  font-size: 0.875rem;
  color: #6c757d;
}

/*---------加入購物/詢價車-------*/
a.Car_Val {
  color: #fff;
}

/* =========================
   平版客製_可自行設定或全隱藏
   ========================= */
/* 小螢幕預設（<1024） */
/*================ 備用空白DIV 特殊客製使用================*/
.spareblock01 {
  display: none;
}

.spareblock02 {
  display: none;
}

.spareblock03 {
  display: none;
}

.spareblock04 {
  display: none;
}

.feature {
  display: block;
}

/*------------------------------*/
/*           關聯商品
/*------------------------------*/
#related {
  border: 1px solid #dbdbdb;
  padding: 15px 15px 15px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 30px;
  clear: both;
}
#related h4 {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}
#related .card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #454545;
}
#related .card-text {
  color: #777777;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
#related .idec-relatd-link {
  margin-top: 15px;
}

/*------------------------------*/
/*           $好康推薦C
/*------------------------------*/
.B_hot_3 .page-header {
  border-bottom: 1px solid #ccc;
}
.B_hot_3 ul.thumbnail-list {
  background: #ededed;
  border-radius: 15px;
  margin: 15px 0;
}
.B_hot_3 ul.thumbnail-list .li-item {
  border-radius: 6px;
}
.B_hot_3 .view.view-third {
  position: relative;
  overflow: hidden;
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}
.B_hot_3 .view.view-third:hover .mask {
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  -webkit-transform: translateX(0);
      -ms-transform: translateX(0);
          transform: translateX(0);
}
.B_hot_3 .view.view-third .mask {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  -webkit-transform: translateX(-500px);
      -ms-transform: translateX(-500px);
          transform: translateX(-500px);
  -webkit-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}
.B_hot_3 .view.view-third .mask h2.hot_mask_title {
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
}
.B_hot_3 .view.view-third .mask p.hot_mask_intro {
  padding: 15px;
  word-break: break-all;
  letter-spacing: 1px;
}
.B_hot_3 .view.view-third .mask a.info {
  color: #fff;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 18px;
  border: 1px solid #696969;
  border-radius: 4px;
  padding: 8px 10px;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100px;
  margin: auto;
  background: #3c3c3c;
}
.B_hot_3 .hot_prod_title {
  padding: 15px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.B_hot_3 p.hot_prod_intro {
  word-break: break-all;
}
.B_hot_3 a.btn.btn-default {
  border: 1px solid #ccc;
}
.B_hot_3 a.btn.btn-default:hover {
  background: #363636;
  color: #fff;
}
.B_hot_3 a {
  text-decoration: none;
  color: #363636;
}

/*------------------------------*/
/*           $好康推薦D
/*-------------------------------*/
.B_hot_4 .page-header {
  border-bottom: 1px solid #ccc;
}
.B_hot_4 .hero-feature {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.B_hot_4 .thumbnail {
  padding: 10px;
  background: #ededed;
  border-radius: 15px;
  margin: 15px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.B_hot_4 .thumbnail .caption {
  padding: 15px 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.B_hot_4 .thumbnail .caption .well {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  margin: 15px 0;
  overflow: hidden;
}
.B_hot_4 .thumbnail .caption .well h3 {
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.B_hot_4 .thumbnail .caption p {
  word-break: break-all;
}
.B_hot_4 .thumbnail .caption p a.btn {
  border: 1px solid #ccc;
}
.B_hot_4 .thumbnail .caption p a.btn:hover {
  background: #363636;
  color: #fff;
}

/*------------------------------*/
/*           $好康推薦E
/*------------------------------*/
.bestsell .img-fluid {
  border-radius: 6px;
}
.bestsell ul.breadcrumb {
  background: #f5f5f5;
  border-radius: 5px;
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  font-weight: 600;
  letter-spacing: 1px;
}
.bestsell .caption.prod-caption {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 10px;
}
.bestsell .caption.prod-caption h4 a {
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #3c3c3c;
}
.bestsell .caption.prod-caption p {
  word-break: break-all;
  text-align: left;
}
.bestsell .caption.prod-caption .btn-group {
  border: 1px solid #ccc;
  display: none;
}

/*================================*/
/*     新聞系統頁面  news.asp
/*================================*/
.news-wrapper ul.NEWS_type {
  line-height: 2em;
  padding: 15px;
}
.news-wrapper ul.NEWS_type span.badge {
  background: #6c757d;
  margin: 0 5px 0;
}
.news-wrapper ul.NEWS_type li {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.news-wrapper ul.NEWS_type a {
  text-decoration: none;
  color: #333;
  line-height: 2.5em;
  padding-left: 10px;
}
.news-wrapper ul.NEWS_type a:hover {
  font-weight: bold;
}
.news-wrapper .newsbar {
  padding: 4px 15px;
  margin-bottom: 0px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  font-size: 17px;
}
.news-wrapper #LinkContainer {
  display: block;
  margin-bottom: 20px;
}
.news-wrapper #LinkContainer ol {
  position: absolute;
  right: 23px;
  top: -35px;
  padding-left: 0;
}
.news-wrapper #LinkContainer a {
  text-decoration: none;
  color: #333;
}
.news-wrapper #LinkContainer a:hover {
  font-weight: bold;
}
.news-wrapper #idec-hotlist-group ul,
.news-wrapper #idec-hotlist-group li {
  list-style: none;
}
.news-wrapper #idec-hotlist-group span.list-group-item.active {
  background: #1e73b2;
  border: 0;
}
.news-wrapper #idec-tagcloud .tagcloud-title {
  background: #1e73b2;
  border: 0;
  position: relative;
  z-index: 0;
}
.news-wrapper {
  /*------------- 新聞列表調整 -----------------*/
}
.news-wrapper .thumbnail.newslist {
  display: block;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem; /* Bootstrap 5 預設 */
  overflow: hidden;
  background-color: #fff;
  -webkit-transition: -webkit-box-shadow 0.2s ease-in-out;
  transition: -webkit-box-shadow 0.2s ease-in-out;
  transition: box-shadow 0.2s ease-in-out;
  transition: box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
  margin-bottom: 30px;
}
.news-wrapper .thumbnail.newslist:hover {
  -webkit-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.news-wrapper {
  /* 圖片區 */
}
.news-wrapper .news_imgBox img {
  width: 100%;
  height: auto;
  display: block;
}
.news-wrapper {
  /* 內容區 ≈ card-body */
}
.news-wrapper .thumbnail .caption {
  padding: 1rem;
}
.news-wrapper {
  /* 標題 */
}
.news-wrapper .news_title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-family: "Chiron GoRound TC", sans-serif;
}
.news-wrapper {
  /* 內容頁標題 */
}
.news-wrapper h1.news_title {
  font-size: 2rem !important;
}
.news-wrapper {
  /* 日期分類 */
}
.news-wrapper .news_date,
.news-wrapper .news_sort,
.news-wrapper .news_author {
  font-size: 0.875rem;
  color: #6c757d;
  margin-right: 0.5rem;
}
.news-wrapper .news_date img,
.news-wrapper .news_sort img,
.news-wrapper .news_author img {
  width: 18px;
  margin: 0 10px 0 0;
}
.news-wrapper {
  /* 內文 */
}
.news-wrapper .news_info {
  font-size: 0.95rem;
  color: #212529;
  margin-top: 0.5rem;
  font-family: "LXGW WenKai TC", cursive;
}
.news-wrapper {
  /* 按鈕 → 模擬 btn-primary */
}
.news-wrapper .news_more {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: #fff;
  background-color: #0d6efd;
  border-radius: 0.25rem;
  text-decoration: none;
}
.news-wrapper .news_more:hover {
  background-color: #0b5ed7;
}
.news-wrapper {
  /*------------- 新聞.舊程式頁碼 -----------------*/
}
.news-wrapper .NP-Buttons {
  margin: 30px 0 30px;
}

/*----- 新聞內頁頁下方-客製-新聞推薦(新聞列表) ------*/
.recommends #rwdnews_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 30px 0;
}
.recommends #rwdnews_list ul {
  -webkit-flex-basis: 50%;
      -ms-flex-preferred-size: 50%;
          flex-basis: 50%;
  padding: 0px 8px 15px;
}
@media screen and (min-width: 1024px) {
  .recommends #rwdnews_list ul {
    -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
            flex-basis: 25%;
  }
}
.recommends #rwdnews_list ul li.rwdnewsli {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}

/*------------- COPY .NEWS_type <DIV>-----------*/
#LIST2 .NEWS_type {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

/*------------- 共用頁碼 -----------------*/
ul.pagination {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 30px 10px;
}
ul.pagination li a {
  width: 40px;
  height: 40px;
  border: 1px solid #e3e3e3;
  line-height: 38px;
  margin: 0 5px 0 0;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
}
ul.pagination li a:hover {
  background: #e3e3e3;
  -webkit-box-shadow: 0 0 3px #ccc;
          box-shadow: 0 0 3px #ccc;
}
@media screen and (max-width: 414px) {
  ul.pagination li a {
    width: 34px;
    height: 36px;
    line-height: 34px;
  }
}

ul.pagination li.active a {
  font-size: 18px;
  background: #f1f1f1;
  font-weight: bold;
  color: #085d94;
}

/*------------------------------*/
/*           $10圖10文
/*-------------------------------*/
.layout-mode01,
.layout-mode02 {
  min-height: 600px;
}

.layout-mode03 {
  min-height: 300px;
  height: 450px;
}

.idec-py img {
  border-radius: 4px;
  margin: 0 0 15px;
}

.article-content,
.article-content-type2,
.article-content-type3 {
  margin: 0px 0 15px;
  line-height: 2em;
}

/* 自動奇偶交錯（進階） */
@media (min-width: 768px) {
  .article-content-type2:nth-child(even) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}

/*------------------------------*/
/*    contact.asp 聯絡我們
/*-------------------------------*/
.contact-wrapper {
  min-height: 600px;
  padding: 30px 0;
}

input#pic {
  margin-left: 47px;
  border-radius: 5px;
  border-style: solid;
  border: 1px solid #e4e7eb;
}
@media screen and (max-width: 576px) {
  input#pic {
    margin-left: 0;
    width: 40%;
  }
}
input#pic:focus {
  background-color: var(--bs-body-bg);
  border-color: #86b7fe;
  outline: 0;
  -webkit-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
          box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/*------------------------------*/
/*           footer
/*-------------------------------*/
.stickyBTN {
  position: fixed;
  bottom: 10%;
  right: 10px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
  height: 120px;
  z-index: 100;
}
.stickyBTN #goTop,
.stickyBTN .boxBottom {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.stickyBTN #goTop.show,
.stickyBTN .boxBottom.show {
  opacity: 1;
  visibility: visible;
}

.footerwrap {
  background: #ddefcc;
  color: #333;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.socialMedia {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-size: 30px;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
.socialMedia a {
  color: #042f4a;
  text-decoration: none;
  margin: 0 10px;
  font-size: 30px;
  -webkit-flex-basis: 30px;
      -ms-flex-preferred-size: 30px;
          flex-basis: 30px;
  font-size: 30px;
  padding: 10px;
}
.socialMedia a:hover {
  color: #0d6efd;
}

/*------------------------------*/
/*    member.asp 會員中心 微調
/*-------------------------------*/
.COMPLETE_BOX {
  margin-bottom: 60px;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 1px #ccc;
          box-shadow: 0 2px 1px #ccc;
}

/*--------BS3 ICON 換 BS5 ICON-----------------------*/
i.glyphicon-user::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  top: 4px;
  position: relative;
  -webkit-mask-image: url("../../images/person-fill.svg");
          mask-image: url("../../images/person-fill.svg");
}

i.glyphicon-plus::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  top: 4px;
  position: relative;
  -webkit-mask-image: url("../../images/person-add.svg");
          mask-image: url("../../images/person-add.svg");
}

i.glyphicon-search::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  top: 4px;
  position: relative;
  -webkit-mask-image: url("../../images/search.svg");
          mask-image: url("../../images/search.svg");
}

i.glyphicon-pencil::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  top: 4px;
  position: relative;
  -webkit-mask-image: url("../../images/pencil-square.svg");
          mask-image: url("../../images/pencil-square.svg");
}

i.glyphicon-home::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-color: currentColor;
  -webkit-mask-size: contain;
          mask-size: contain;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  top: 4px;
  position: relative;
  -webkit-mask-image: url("../../images/house-fill.svg");
          mask-image: url("../../images/house-fill.svg");
}