/* ==========================================================================
   首頁主題色／樣式覆寫（後台 color-setting2 編輯目標）
   主題代號：exhi01（展覽）
   用途：定義首頁色票與字型 token，並覆寫輪播點點、數字、進度條、垂直線與影片播放鈕顏色
   ========================================================================== */

/* https://fonts.google.com/  字型網址 */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');
:root {
  /* 主色 */
  --home-color-main: #185159;
  /* 主色半透明（此主題目前同主色值） */
  --home-color-main-o: #185159;
  /* 輔色 */
  --home-color-second: #c5f368;
  /* 白色 */
  --home-color-white: #fff;
  /* 白色半透明 */
  --home-color-white-o: rgba(255, 255, 255, 0.3);
  /* 黑色 */
  --home-color-black: #000;
  /* 黑色半透明 */
  --home-color-black-o: rgba(0, 0, 0, 0.3);
  /* 中性深色／分隔線常用色 */
  --home-color-origin: #1c2028;
  /* 透明 */
  --home-color-tr: transparent;
  /* 英文字型 */
  --home-font-en: 'Roboto', sans-serif;
  /* 繁中字型 */
  --home-font-tw: 'Noto Sans TC', sans-serif;
}
/* 改字體範例 */
/* . {
} */

/* 輔助導覽列底色（強制白底） */
.inpage_nav {
  background-color: #FFFFFF !important;
}

/* 02 */
/* -------------------------------------------------- */

/* 橫線 */
.exhi01-template-02 .line {
  background-color: #1951596e;
}

/* 滾動線 */
.exhi01-template-02 .scrolldown:before {
  background-color: var(--home-color-origin);
}
/* 輪播背景定位（貼底） */
.exhi01-template-02 .bg{
  background-position: bottom !important;
}
/* 輪播點點框 */
.exhi01-template-02 .swiper-pagination span:before {
  border: 1px solid var(--home-color-white);
}
/* 輪播點點hover */
.exhi01-template-02
  .swiper-pagination
  span.swiper-pagination-bullet-active:before {
  background-color: #185159 !important;
  border-color: #185159 !important;
}

/* 文案段落行數限制 */
.exhi01-template-03 .text p {
    -webkit-line-clamp: 5;
}

/* -------------------------------------------------- */

/* 03 */
/* -------------------------------------------------- */

/* 大數字 */
.exhi01-template-03 .text .num {
  color: #FFFFFF;
}
/* 輪播點點 */
.exhi01-template-03 .controller .swiper-pagination span:before {
  background-color: var(--home-color-main);
}
/* 輪播字 */
.exhi01-template-03 .controller .swiper-pagination span:after {
  color: var(--home-color-white);
}

/* 文字區背景定位（靠左） */
.exhi01-template-03 .text {
  background-position: left !important;
  }

 /* 圖片區背景定位（靠右） */
 .exhi01-template-03 .img-holder {
  background-position: right !important;
 }
/* 04 */
/* -------------------------------------------------- */

/* 輪播點點框 */
.exhi01-template-04 .swiper-pagination .swiper-pagination-bullet:before {
  border: 1px solid #185159 !important;
}

/* 輪播點點hover */
.exhi01-template-04
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
  background-color: #185159 !important;
  border-color: #185159 !important;
}

/* -------------------------------------------------- */

/* 05 */
/* -------------------------------------------------- */

/* 輪播當前數字 */
.exhi01-template-05 .exhi01-template-05__swiper-index-current {
  color: var(--home-color-white);
}
/* 輪播數字線 */
.exhi01-template-05 .exhi01-template-05__swiper-index-split {
  color: var(--home-color-white);
}
/* 輪播總數 */
.exhi01-template-05 .exhi01-template-05__swiper-index-max {
  color: var(--home-color-white-o);
}
/* 輪播過程底線 */
.exhi01-template-05 .controller .bar-wrap .swiper-pagination {
  background-color: var(--home-color-white-o);
}
/* 輪播過程線 */
.exhi01-template-05 .controller .bar-wrap .swiper-pagination span {
  background-color: var(--home-color-white);
}
/* -------------------------------------------------- */

/* 06 */
/* -------------------------------------------------- */

/* 輪播數字 */
.exhi01-template-06 .swiper-count span {
  color: var(--home-color-white);
}
/* 輪播數字線 */
.exhi01-template-06 .swiper-count .line {
  color: var(--home-color-main);
}
/* 輪播點點框 */
.exhi01-template-06 .swiper-pagination .swiper-pagination-bullet:before {
  border: 1px solid var(--home-color-white);
}
/* 輪播點點hover */
.exhi01-template-06
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
  border: 1px solid #f5f2e9 !important;
  background-color: #f5f2e9 !important;

/* -------------------------------------------------- */

/* 07 */
/* -------------------------------------------------- */

/* 輪播按鈕 */
/* （空規則：stroke 覆寫已註解，保留選擇器占位） */
.exhi01-template-07 .prev-exhi01-t07 svg path,
.exhi01-template-07 .prev-exhi01-t07 svg line,
.exhi01-template-07 .next-exhi01-t07 svg path,
.exhi01-template-07 .next-exhi01-t07 svg line {
  /* stroke: var(--home-color-main); */
}
/* -------------------------------------------------- */

/* 08 */
/* -------------------------------------------------- */

/* 垂直線 */
.exhi01-template-08 .year:before {
  border-left: 3px solid var(--home-color-main);
}
/* 大數字hover */
.exhi01-template-08 .news-item:hover .month,
.exhi01-template-08 .news-item:active .month {
  //color: var(--home-color-main) !important;
}

/* 輪播點點框 */
.exhi01-template-08 .swiper-pagination .swiper-pagination-bullet:before {
  border: 1px solid #185159 !important;
}

/* 輪播點點hover */
.exhi01-template-08
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
  background-color: #185159 !important;
  border-color: #185159 !important;
}

/* -------------------------------------------------- */

/* 09 */
/* -------------------------------------------------- */

/* 垂直線 */
.exhi01-template-09 .fz-EN:before {
  border-left: 5px solid var(--home-color-main);
}
/* -------------------------------------------------- */

/* 10 */
/* -------------------------------------------------- */

/* 下載項目底部分隔線 */
.exhi01-template-10 .dl-item {
  border-bottom: 1px solid var(--home-color-origin);
}
/* -------------------------------------------------- */

/* 11 */
/* -------------------------------------------------- */

/* 輪播按鈕左 */
.exhi01-template-11 .swiper-button-prev {
  color: var(--home-color-white);
}
/* 輪播按鈕右 */
.exhi01-template-11 .swiper-button-next {
  color: var(--home-color-white);
}

/* 輪播點點框 */
.exhi01-template-11 .swiper-pagination .swiper-pagination-bullet:before {
  border: 1px solid #f5f2e9 !important;
}

/* 輪播點點hover */
.exhi01-template-11
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
  border: 1px solid #f5f2e9 !important;
  background-color: #f5f2e9 !important;
}

/* -------------------------------------------------- */
/* 大影片區塊*/
/* -------------------------------------------------- */
/* 播放按鈕邊框色 */
.exhi01-template-14 .play {
  border: 1px solid var(--home-color-main);
}
/* 播放按鈕hover邊框色跟背景色 */
.exhi01-template-14 .play:hover {
  background-color: var(--home-color-white);
  border: 1px solid var(--home-color-white);
}
/* 播放按鈕三角形色 */
.exhi01-template-14 .play::after {
  border-color: transparent transparent transparent var(--home-color-main);
}
/* 播放按鈕叉叉色 */
.exhi01-template-14 .play::before {
  color: var(--home-color-main);
}

/* -------------------------------------------------- */

/* 影響767以下：窄螢幕覆寫 */
@media (max-width: 767px) {
  /* 輪播點點改透明底 */
  .exhi01-template-03 .controller .swiper-pagination span:before {
    background-color: var(--home-color-tr);
  }
  /* 啟用中輪播點點改主色 */
  .exhi01-template-03
    .swiper-pagination
    span.swiper-pagination-bullet-active:before {
    background-color: #185159 !important;
  }
  /* 區塊改為直向反序排列 */
  .exhi01-template-03 {
     flex-direction: column-reverse;
  }
}

/* 首頁選單（寬螢幕） */
@media (min-width:1100px) {

	/* Header11 水平主選單文字改白字 */
  .header-v11 .header-bar>.main_nav.nav-horizontal>.dropmenu>.has_dropmenu>a,
  .header-v11 .header-bar>.main_nav.nav-horizontal>.dropmenu>.has_dropmenu>a *,
  .header-v11 .header-bar>.main_nav.nav-horizontal>.m_area>a,
  .header-v11 .header-bar>.main_nav.nav-horizontal>a,
  .header-v11 .header-bar>.main_nav.nav-horizontal>a * {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important
  }
}
/* 首頁選單下拉箭頭顏色 */
.header-v11 .header-bar .main_nav .has_dropmenu .more:before {
  background-color: #000
}