﻿@charset "utf-8";

/*page_01 國家據點*/
/*成員*/
.column-ms-4 { margin-left: 1.5rem;}
@media (max-width: 576px) { .column-sm { flex-direction: column;} .column-ms-4 { margin-top: 1.5rem; margin-left: 0rem;} }

/*page_02 計畫簡介*/
.small { font-size: 80%; font-weight: 400; color: #999;}
ul.ul-icon-01 { list-style: none; margin: 0; padding: 0;}
ul.ul-icon-01 li { margin-left: 1.5rem/*20px*/; color: #333;}
ul.ul-icon-01 li:before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 600; color: #2fa4e7; margin-right: -1rem /*-16px*/; position: relative; left: -1.5rem/*-20px*/;}

/**/
.alert-grey { padding: 15px; border: 1px solid #d8dadb; border-radius: 4px; background:#ebebeb;}

/*page_07*/
.resume-section-content { color: #58677c;}
.resume-timeline { padding-left: 2rem;}
.position-relative { position: relative !important;}
.resume-timeline:before { content: ""; display: inline-block; width: 3px; height: 100%; background: #c8cfd8; left: 6px; top: 4px; position: absolute;}/*時間軸_線*/
.resume-timeline-item:before { content: ""; display: inline-block; position: absolute; left: -32px; top: 3px; width: 15px; height: 15px; border: 4px solid #6f8098; background: white; border-radius: 50%;}/*時間軸_點*/
.pb-5 { padding-bottom: 3rem !important;}
.resume-position-title { color: #434E5E;} /*標題*/
.resume-position-time { color: #fc7700; font-weight: 700 !important;} /*日期_小字_橘*/
.resume-timeline-item-desc { font-size: 0.875rem;}
/*.resume-position-time { font-size: 0.875rem;}*/ /*日期_小字_灰*/
.resume-timeline-item-desc ul { padding-left: 1.25rem;}
.resume-timeline-item-desc-heading { font-size: 1rem; color: #aab4c3;} /*次標題*/

/*08*/
/*7分之1*/
.col-lg-7-1 {}
@media (min-width: 992px) { .col-lg-7-1 { flex: 0 0 auto; width: 14.285%;} }
.slider-EMJM .tns-item { height:300px;}
.slider-EMJM .tns-item img { position: relative; max-height:100%; object-fit: cover;}
.slider-EMJM.tns-autowidth { display: block;}

/*.tns-outer { padding-right: calc(var(--bs-gutter-x) * 0.5); padding-left: calc(var(--bs-gutter-x) * 0.5);}*/
.slider-partnership .tns-item { height:100px;}
.slider-partnership .tns-item img { position: relative; max-height:100%; object-fit: cover;}
.slider-partnership.tns-autowidth { display: block;}

/*其他設定*/
.w-100 { width:100%;}/*全寬*/
.h-auto { height:auto !important;}
.w-auto { width: auto !important;}
.font-0 { font-size:0 !important; line-height: normal;}
.h-5 { height:5px;}
.h-20 { height:20px;}
.hide { visibility:hidden !important;} /*物件隱藏,所佔位置保留*/
.b-t_01 { border-top: 1px solid #ddd;}
.b-b_01 { border-bottom: 1px solid #eee;}
.b-b_02 { border-bottom: 1px solid #fff;}
.b-b_03 { border-bottom: 1px solid #e5e5e5;}
.b-b_04 { border-bottom: 1px solid #ddd;}
.b_02 { border: 1px solid #ccc;}
.b_03 { border: 1px solid #e5e5e5;}
.border-coffee { border:2px solid #9B7D59; border-radius: 5px; display:inline-block; width:100%; margin:5px 0;}
.border-gray { border:2px solid #ccc; border-radius: 5px; display:inline-block; width:100%; margin:5px 0;}
.none-border { border:none !important;}/*無框線*/
.none-border .row { border:none !important;}
.none-bottom-border { border-bottom:none !important;}
.padding_01 { padding: 0 20px;}
.padding_02 { padding: 0 10px;}
.padding_03 { padding: 0 5px;}
.padding_04 { padding: 5px 0;}
.padding_05 { padding: 2px 7px 3px 7px;}
.m-5-0 { margin:5px 0;}

.t--2 { top:-2px; position:relative;}
.t-8 { top:8px;}
.view-deta-choose { padding:5px; margin:5px;}
.pm-0 { padding:0; margin:0;}
.pm-5 { padding:5px; margin:5px;}
.p-0 { padding:0 !important;}
.p-8 { padding:8px;}
.p-t-0 { padding-top:0 !important;}
.p-t-5 { padding-top:5px;}
.p-t-10 { padding-top:10px;}
.p-l-0 { padding-left:0 !important;}
.p-l-5 { padding-left:5px;}
.p-l-10 { padding-left:10px;}
.p-l-15 { padding-left:15px;}
.p-r-5 { padding-right:5px;}
.p-r-10 { padding-right:10px;}
.p-r-15 { padding-right:15px;}
.p-r-18 { padding-right:18px;}
.p-10-0 { padding: 10px 0;}
.p-lr-10 { padding: 0 10px;}
.p-10 { padding:10px;}
.p-20 { padding:20px;}
.p-b-0 { padding-bottom:0 !important;}
.p-b-5 { padding-bottom:5px;}
.p-b-10 { padding-bottom:10px;}
.p-b-20 { padding-bottom:20px;}
.p-b-30 { padding-bottom:30px;}
.p-b-50 { padding-bottom:50px;}
.p-tb-20 { padding-top:20px; padding-bottom:20px;}
.p-20-10 { padding-top:20px; padding-bottom:20px; padding-left:10px; padding-right:10px;}
.m-0-auto { margin:0 auto !important;}
.m-0 { margin:0px !important;}
.m-5 { margin:5px;}
.m-t-0 { margin-top:0px !important;}
.m-t-2 { margin-top:2px !important;}
.m-t-5 { margin-top:5px;}
.m-t-7 { margin-top:7px;}
.m-t-10 { margin-top:10px;}
.m-t-15 { margin-top:15px;}
.m-t-20 { margin-top:20px;}
.m-t-25 { margin-top:25px;}
.m-t-30 { margin-top:30px;}
.m-t-40 { margin-top:40px;}
.m-tb-10 { margin-top:10px; margin-bottom:10px;}
.m-tb-20 { margin-top:20px; margin-bottom:20px;}
.m-b-0 { margin-bottom:0px;}
.m-b-5 { margin-bottom:5px;}
.m-b-10 { margin-bottom:10px;}
.m-b-20 { margin-bottom:20px;}
.m-b--5 { margin-bottom:-5px;}
.m-b--10 { margin-bottom:-10px;}
.m-l-10 { margin-left:10px;}
.m-l-20 { margin-left:20px;}
.m-lr-20 { margin-left:20px; margin-right:20px;}
.m-r-5 { margin-right:5px;}
.m-r-7 { margin-right:7px;}
.m-r-10 { margin-right:10px;}
.m-r-20 { margin-right:20px;}
.m-rb-5 { margin-right:5px; margin-bottom:5px;}

.float-l { float:left;}
.float-r { float:right;}
.float-n { float:none !important;}
.text-l { text-align:left !important;}
.text-r { text-align:right !important;}
.text-c { text-align: center !important;}
.va-t { vertical-align:top;}
.va-m { vertical-align:middle;}
.va-b { vertical-align:bottom;}

.pos-a { position:absolute;}
.pos-r { position:relative;}

.d-block { display:block !important;}
.d-b, d-b { display:block;}
.d-ib, d-ib { display:inline-block;}
.d-n { display: none;} /*物件隱藏,不佔位置*/
.d-inline-block { display:inline-block !important;}
.d-it { display: inline-table;} /*配合input-group使用，取代原則#list .row的display:table;屬性*/
.d-flex-cc { display: flex; align-items: center; justify-content: center;}
.border-r { border:2px solid #ff6c60; border-radius: 5px; display:inline-block; width:100%; margin:5px 0;}
.border-success { border:2px solid #a9d86e; border-radius: 5px; display:inline-block; width:100%; margin:5px 0; padding:5px;}/* 綠 */
.b-important { border: 1px solid #ff6c60;}/*紅*/
.b-orange { border: 1px solid #ff8f00;}/*橘*/

.cursor-d { cursor: default;}/*滑鼠游標*/

.90deg { transform:rotate(90deg);}
.180deg { transform:rotate(180deg);}
.270deg { transform:rotate(270deg);}

/*顏色*/
.color-gray { color: #999;}/*灰*/
.color-blue { color:#033c73;}/*藍*/

/*背景色*/
.bg-color-01 { background-color: var(--bs-blue);}

/*框線*/
.border-n { border:none !important;}/*無框線*/

/*比例*/
.ratio-3x4 { --bs-aspect-ratio: 133.3%;}

/*列表*/
.w-1 { width:1%;} .w-2 { width:2%;} .w-3 { width:3%;} .w-4 { width:4%;} .w-5 { width:5%;}
.w-6 { width:6%;} .w-7 { width:7%;} .w-8 { width:8%;} .w-9 { width:9%;} .w-10 { width:10%;}
.w-11 { width:11%;} .w-12 { width:12%;} .w-13 { width:13%;} .w-14 { width:14%;} .w-15 { width:15%;}
.w-16 { width:16%;} .w-17 { width:17%;} .w-18 { width:18%;} .w-19 { width:19%;} .w-20 { width:20%;}
.w-21 { width:21%;} .w-22 { width:22%;} .w-23 { width:23%;} .w-24 { width:24%;} .w-25 { width:25%;}
.w-26 { width:26%;} .w-27 { width:27%;} .w-28 { width:28%;} .w-29 { width:29%;} .w-30 { width:30%;}
.w-31 { width:31%;} .w-32 { width:32%;} .w-33 { width:33%;} .w-34 { width:34%;} .w-35 { width:35%;}
.w-36 { width:36%;} .w-37 { width:37%;} .w-38 { width:38%;} .w-39 { width:39%;} .w-40 { width:40%;}
.w-41 { width:41%;} .w-42 { width:42%;} .w-43 { width:43%;} .w-44 { width:44%;} .w-45 { width:45%;}
.w-46 { width:46%;} .w-47 { width:47%;} .w-48 { width:48%;} .w-49 { width:49%;} .w-50 { width:50%;}
.w-51 { width:51%;} .w-52 { width:52%;} .w-53 { width:53%;} .w-54 { width:54%;} .w-55 { width:55%;}
.w-56 { width:56%;} .w-57 { width:57%;} .w-58 { width:58%;} .w-59 { width:59%;} .w-60 { width:60%;}
.w-61 { width:61%;} .w-62 { width:62%;} .w-63 { width:63%;} .w-64 { width:64%;} .w-65 { width:65%;}
.w-66 { width:66%;} .w-67 { width:67%;} .w-68 { width:68%;} .w-69 { width:69%;} .w-70 { width:70%;}
.w-71 { width:71%;} .w-72 { width:72%;} .w-73 { width:73%;} .w-74 { width:74%;} .w-75 { width:75%;}
.w-76 { width:76%;} .w-77 { width:77%;} .w-78 { width:78%;} .w-79 { width:79%;} .w-80 { width:80%;} 
.w-81 { width:81%;} .w-82 { width:82%;} .w-83 { width:83%;} .w-84 { width:84%;} .w-85 { width:85%;}
.w-86 { width:86%;} .w-87 { width:87%;} .w-88 { width:88%;} .w-89 { width:89%;} .w-90 { width:90%;}
.w-91 { width:91%;} .w-92 { width:92%;} .w-93 { width:93%;} .w-94 { width:94%;} .w-95 { width:95%;}
.w-96 { width:96%;} .w-97 { width:97%;} .w-98 { width:98%;} .w-99 { width:99%;} .w-100 { width:100%;}/*全寬*/

/* 2026-1116 新增功能-最新消息 */
.text-14px { font-size: 0.875rem;}
/*單元標頭*/
.unit-header { display: flex; flex-basis: 100%;/* background: #ebebeb; border-bottom: 1px solid #ef4122;*/ /*padding: 10px 0px 0px 0px;*/ margin-bottom: 10px; align-items: center;}
.unit-header:after { display: block; content: ""; clear:both;}
.unit-title { display:inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.unit-header h1 { display:inline-block; margin: 0; /*font-size: 1.875rem; color:#177BB1; font-weight:bold;*/}
.unit-tools { display: inline-block; float: right; margin-top: 2.5px; padding: 0; margin-left:1rem; white-space: nowrap; flex-grow: 1;}
.unit-tools .more { font-size:0.875rem; color: #666; background: #fff; text-decoration:none; border: 1px solid #ddd; border-radius: 15px; padding: 0px 10px;}
.unit-tools .more:hover, .unit-tools .more:focus { color: #f93;}
@media (max-width: 767px) {
	.unit-header { display: grid;}
	.unit-tools { margin-left: 0;}
}

/* 最新消息_列表(內頁-圖-文-標題-組合) */
.article-list { width:100%; margin:0;/* margin-top: 25px;*/ padding:0;}
.article-list > .row{ width:100%; position: relative; margin: 0; border-bottom: 1px solid #e5e5e5; min-height:30px;}
.article-list .item { overflow: hidden; position: relative; display:table-cell; float: left; width: 100%; padding: 20px 0 10px 0;}
.article-list .item > a { color:#444; text-decoration: none; transition: all .25s; position:relative;}

/*列表-圖片*/
.article-list .photo { float: left; width: 20%; padding:5px; margin:0; margin-right: 20px; margin-bottom: 5px; border: 1px solid #ddd; border-radius:3px;}
.article-list .photo.img-horizontal .photo-img {}
.article-list .photo.img-vertical .photo-img { width:56.25%; margin: 0 auto;}
.article-list .photo-img { background-position: center center; background-size: contain/*圖片改為原比例，不填滿*/ /*cover*/; background-repeat: no-repeat;/* margin:10px;*/ border-radius:3px;}
.article-list .photo-img img { width: 100%;}	
.article-list .title { font-size: 1.25rem; line-height:1.3em; color:#3498db; text-decoration:none; margin: 0; text-align:left; padding-bottom: 0.4em;}
.article-list a:hover .title,
.article-list a:focus .title { color:#0cf;}
.article-list .date { font-size: 0.875rem; color: #999; margin-bottom: 4px;}

.article-list .text { overflow: hidden; height: 5.25em; line-height: 1.75em; margin-bottom:10px; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;}
.article-list .title i { position: relative; margin-left: 10px; line-height:inherit; color: #ccc; font-size: 1rem;}
.article-list .item.DownLink .date { float:left; font-size: 1rem; margin-right:1rem;}
    @media (max-width: 1000px) { .article-list .photo { width: 25%;} }
	@media (max-width: 768px) { .article-list .photo { width: 35%;} }
	@media (max-width: 600px) { .article-list .photo { width: 45%;} }
	@media (max-width: 500px) { .article-list .photo { float:none; width: 100%; margin-bottom: 10px;}
	    .article-list .item.DownLink .date { float: none; font-size: 0.8125rem; margin-right: 0;}
	}

/*文章頁面*/
.article-header { margin-bottom: 20px; padding: 15px 0 10px 0;/* border-top: 2px solid #584E42;*/ border-bottom: 1px solid #e5e5e5; text-align: left;}
.article-header h3 { margin-top: 10px; /*font-size: 1.5rem;*/ color:#555; font-weight:600; line-height: 30px;}
.article-meta { color: #999;}
.article-meta .item {/* line-height: 1; border-left: 10px solid #ef4122; padding-left:5px;*/ margin-right: 20px; display:inline-block; white-space:pre-wrap; word-wrap:break-word;}
.article-meta .items { display:inline-block; margin-left:20px; font-size: 0.875rem; white-space:pre-wrap; word-wrap:break-word;}
.article-meta .items i { position: absolute; margin-left: -20px; color: #ccc; line-height:1.5rem;}

.article-content { font-size: 1rem; word-wrap: break-word; margin-top:10px; margin-bottom:20px; padding-bottom: 10px; /*text-align: justify;*/}
.article-content iframe, .project-modal iframe { max-width:100%;}/*youtube響應示設定*/

/*文章下方功能(相關連結及下載)*/
.second-title { padding: 1rem 0 1rem 0; overflow: hidden;}
.second-title h4 { /*font-size: 1.25rem;*/ font-weight:bold; line-height: 1; border-left: 10px solid #028fcc; padding-left:10px; float: left; margin: 0;}
.second-title h5 { margin: 0; float: left;}
/*.relates ul { list-style: disc; margin-left: 18px; color: #bbb; margin-bottom: 20px; padding:0;}*/
.relates ul { list-style: none; margin-left: 0.5rem; color: #bbb; margin-bottom: 20px; padding:0;}
.relates li { margin-top: 0px;}
/*.relatesa a { color:#333333; text-decoration: none; transition: all .25s;}
.relatesa a:hover, .relatesa a:focus { color:#85BB23;}*/
.relates a { color:#444; text-decoration: none; transition: all .25s;}
.relates a:hover, .relates a:focus { color: #0cf; text-decoration: none; cursor: pointer;}

.photo ul { list-style: none; margin-left: 0px; margin-bottom: 20px; padding:0;}

.relates ul li.i-file::before { font-family: "Font Awesome 5 Free"; content: "\f0c7"; position: relative; left:-0.5rem;}
.relates ul li.i-link::before { font-family: "Font Awesome 5 Free"; content: "\f0c1"; font-weight: 900; position: relative; left:-0.5rem;}

/*文章下方-相簿*/
.fancybox-module { width: 100%; position:relative;}
.fancybox-module ul { list-style: none; margin-left: 0; margin-bottom: 20px; padding:0;}
.fancybox-module li { display: inline-block; width: 100px; margin: 3px;}
.fancybox-module li .fancybox-con { background-position: center center; background-size: cover;}
.fancybox-image-height { padding-top: 65%; overflow: hidden;}
.fancybox-module img { width: 100px;/* height: 100%;*/ max-width:100%; border-color: #eee;}
.fancybox-module li span { display:block;}
.fancybox-image-height img { display:none;}

/*文章頁尾(頁數/功能鍵)*/
.page-footer { width: 100%; border-top: 1px solid #999/*e2e5e8*/; padding: 20px 0 10px 0;}
.page-footer:after { display: block; content: ""; clear:both;}
.pagination { display: flex; list-style: none; padding-left: 0; margin: 0 0 10px 0; border-radius: 0.25rem;}

/*頁數(覆蓋原設定顏色)*/
.page-item { min-width: 32px;}
.page-link { position: relative; display: grid; gap: 5px; justify-content: center; align-items: center; grid-auto-flow: column; line-height: 1.25; border: 1px solid #ced4da; /*dee2e6*/}
.page-item .page-link { margin: 0 2px; border-radius: 60px !important;}

.pagination > .active > a.page-link,
.pagination > .active > .page-link span,
.pagination > .active > a.page-link:hover,
.pagination > .active > .page-link span:hover,
.pagination > .active > a.page-link:focus,
.pagination > .active > .page-link span:focus { background-color: #3498db; border-color: rgba(0, 0, 0, 0.1) /*#3498db*/; color: #fff;}
.pagination > li > a, 
.pagination > li > span { color: #444444; padding: 5px 10px; background-color:#ededed; /*f2f2f2*/}

.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus { z-index: 2; color: #ffffff; background-color: #3498db; border-color: rgba(0, 0, 0, 0.1) /*#4ea5e0*/;}

/*禁止狀態*/
.pagination > .disabled > .page-link span,
.pagination > .disabled > .page-link span:hover,
.pagination > .disabled > .page-link span:focus,
.pagination > .disabled > a.page-link,
.pagination > .disabled > a.page-link:hover,
.pagination > .disabled > a.page-link:focus { color: #ccc; border-color: #ccc; pointer-events: auto;/*先解除bootstrap原設定none*/ cursor: not-allowed !important;} 
.page-item.disabled .page-link { background-color:#f2f2f2;}

/*欄位禁止狀態*/
.form-control[disabled], fieldset[disabled] .form-control { cursor: not-allowed;}

/*下拉選單*/
.pagination select.form-control { /*font-size: 0.8125rem; height: calc(1.2em + 0.75rem + 2px);*/ padding: 0rem 0.75rem;}

/*一般文字設定*/
.state_gray { color: #999999;}/* 灰 */
