@charset "utf-8";
/* CSS Document */
/*中文預設字型:Noto Sans TC,font-family:'Noto Sans TC', sans-serif; font-weight:300(Light),400(Regular),500(Medium),600(SemiBold),700(Bold)*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@700&display=swap');
@import url(mmenu.css);

/* CSS Reset */
html, body, div, span, applet, object, iframe, form,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, 
em, img, q, strong, sub, sup,
dl, dt, dd, ol, ul, li { margin:0; padding:0; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, input, button, header, footer, section, nav, main, figcaption, figure { box-sizing:border-box; }
img { border:0; }
ul, ol { list-style:none; }
table { border-collapse:collapse; border-spacing:0; }

select, input, textarea, button { font-size:1rem; }
input[type="checkbox"], input[type="radio"] { margin-right:5px; margin-left:0; vertical-align:middle; }
input[type="button"], input[type="submit"], input[type="reset"], input[type="file"], select, button { cursor:pointer; }
input:not([type="checkbox"]), input:not([type="radio"]), input:not([type="file"]) { padding:0; margin:0; }
button { padding:0; transition:all 0.3s ease; }
/*ios樣式清除*/
input[type="button"], input[type="submit"], input[type="reset"], button {
	background-color:transparent; border:none; margin:0px;
	background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
	}
input:not([type="checkbox"]), input:not([type="radio"]), input:not([type="file"]), select, textarea { border-radius:0; }

/* 基本設定 */
body, select, input, textarea, button { 
	color:var(--main_color_bk); font-family:'Noto Sans TC', 'Heiti TC', '黑體-繁', 'Microsoft JhengHei', '微軟正黑體', sans-serif; font-optical-sizing:auto; 
	}
body {  
	background-color:var(--main_color_w); -webkit-overflow-scrolling:touch;	/*momentum-based scrolling*/
	}
#Wrap { height:100%; max-width:1920px; margin:0 auto; position:relative; /*overflow:hidden;*/ }
body.fixed { overflow:hidden; }
/*@media (prefers-reduced-motion: no-preference) {
:root { scroll-behavior:smooth; }
}*/

:root {
	--main_color_w: #f2f2f2;
	--main_color_bk: #2e2c2f;
	--main_color_gr: #575959;
	--main_color_yl: #f5ac26;
	--main_color_light_g: #85a476;
	--main_color_dark_g: #626958;
	--main_color_bl: #447193;
	--main_color_pk: #e27270;
	--main_color_active: #f5ac26;
}

/* 連結 */
a { text-decoration:underline; text-underline-offset:5px; color:var(--main_color_bl); transition:all 0.3s ease; }
a:hover, a:focus { text-decoration:none; color:var(--main_color_yl); }
a:focus, :focus { outline:2px dashed var(--main_color_active); }

/* 反選 */
::selection{ background-color:var(--main_color_bl); color:#fff; }

/* 無障礙 */
body, input, select, textarea, button, h1, h2, h3, h4, h5, h6, p, span, div, legend { letter-spacing:0.1em; }
p { margin-bottom:2em; }
.guide_title { line-height:1em; font-size:0.75rem; letter-spacing:0; word-spacing:0; color:#7f7f7f; text-decoration:none; position:relative; }
.skip_to_content { 
	position:absolute; top:0; left:0; width:1px; height:1px; margin:-1px 0 0 -1px; background-color:#fff; z-index:99999; overflow:hidden; 
	line-height:1.75em; font-size:0.8125rem; color:#000; 
	}
	.skip_to_content:focus { width:auto; height:auto; margin:0; overflow:visible; }
.sr-only {
	position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(1px, 1px, 1px, 1px); border:0; 
	white-space:nowrap; font-size:0.8125rem; letter-spacing:0.05em; 
	}
.sr-only:focus { width:auto; height:auto; margin:0; overflow:visible; clip:auto; }

.SubMenuList { position:relative; }
.SubMenuList dl { display:flex; flex-wrap:wrap; margin:0 -10px; }
.SubMenuList dd { flex:0 1 auto; padding:10px; }
.SubMenuList a { 
	display:block; border:2px solid var(--main_color_yl); background-color:#fff; padding:20px; border-radius:10px;
	line-height:1.25em; color:var(--main_color_bk); font-size:1.25rem; font-weight:700; text-decoration:none; 
	}
.SubMenuList span {  }
.SubMenuList a:hover, .SubMenuList a:focus { background-color:var(--main_color_yl); color:#fff; box-shadow:0 0 15px rgba(0, 0, 0, 0.2); }
@media screen and (max-width: 479px) {
.SubMenuList dd { width:100%; }
}
@media screen and (min-width: 480px) and (max-width: 767px) {
.SubMenuList dd { width:50%; }
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
.SubMenuList dd { width:33.3333%; }
}
@media screen and (min-width: 1280px) {
.SubMenuList dd { width:25%; }
}

noscript { font-size:0.8125rem; }
noscript a:focus { outline:2px dashed var(--main_color_active); }
*:focus:not(:focus-visible),
*::before:focus:not(:focus-visible),
*::after:focus:not(:focus-visible) {
	outline: none;
	}

/* 頁籤共用 */
.tabs_group .tab_cont .no_data { padding:10px 0; text-align:center; }

/* 檔案下載圖示及雜湊值驗證 */
.file_ext { display:inline-block; position:relative; border-radius:4px; overflow:hidden; vertical-align:middle; }
.file_ext::before { 
	content:''; display:block; position:absolute; top:0; left:0; width:100%; height:100%; 
	}
	.file_csv::before { background-color:#589c00; }
	.file_doc::before { background-color:#2372ba; }
	.file_img::before { background-color:#5b2d8d; }
	.file_mov::before { background-color:#c51700; }
	.file_other::before { background-color:#919191; }
	.file_pdf::before { background-color:#ea4c3a; }
	.file_ppt::before { background-color:#dd5b26; }
	.file_txt::before { background-color:#919191; }
	.file_xls::before { background-color:#08743b; }
	.file_xml::before { background-color:#157efb; }
	.file_zip::before { background-color:#e67e22; }
	.file_odt::before { background-color:#2372ba; }
	.file_ods::before { background-color:#08743b; }
	.file_odp::before { background-color:#dd5b26; }
	.file_wmf::before { background-color:#2f5483; }
	.file_dwg::before { background-color:#2f5483; }
.file_ext::after { 
	content:''; display:block; position:absolute; top:0; left:0; width:100%; height:100%;
	background-repeat:no-repeat; background-position:center center; background-size:cover; 
	}
	.file_csv::after { background-image:url("../images/file_ext/csv.png"); }
	.file_doc::after { background-image:url("../images/file_ext/doc.png"); }
	.file_img::after { background-image:url("../images/file_ext/img.png"); }
	.file_mov::after { background-image:url("../images/file_ext/mov.png"); }
	.file_other::after { background-image:url("../images/file_ext/other.png"); }
	.file_pdf::after { background-image:url("../images/file_ext/pdf.png"); }
	.file_ppt::after { background-image:url("../images/file_ext/ppt.png"); }
	.file_txt::after { background-image:url("../images/file_ext/txt.png"); }
	.file_xls::after { background-image:url("../images/file_ext/xls.png"); }
	.file_xml::after { background-image:url("../images/file_ext/xml.png"); }
	.file_zip::after { background-image:url("../images/file_ext/zip.png"); }
	.file_odt::after { background-image:url("../images/file_ext/odt.png"); }
	.file_ods::after { background-image:url("../images/file_ext/ods.png"); }
	.file_odp::after { background-image:url("../images/file_ext/odp.png"); }
	.file_wmf::after { background-image:url("../images/file_ext/wmf.png"); }
	.file_dwg::after { background-image:url("../images/file_ext/dwg.png"); }

.file_hashes { 
	display:inline-block; position:relative; overflow:hidden; text-indent:-999px; vertical-align:middle; 
	}
.file_hashes a { display:block; width:24px; height:24px; background-color:#e5ecff; border-radius:4px; position:relative; }
.file_hashes a:hover, .file_hashes a:focus { background-color:#1d60cc; }
.file_hashes a::after { 
	content:''; display:block; position:absolute; top:50%; left:50%; width:16px; height:16px; margin:-8px 0 0 -8px; 
	background:url("../images/icon_file_hashes.png") 0 0 no-repeat; background-size:100%; 
	}
.file_hashes a:hover::after, .file_hashes a:focus::after { background-position:0 50%; }


/*----------------------------------------------------------------------*/
/* Header */
@media screen and (max-width: 1279px) {
#Header { padding:0 30px; }
}
@media screen and (min-width: 1280px) {
#Header { padding:0 40px; }
}
#Header > div { 
	display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; max-width:1660px; margin:0 auto; z-index:10001; 
	}
	@media screen and (max-width: 1023px) {
	#Header > div { height:80px; }
	}
	@media screen and (min-width: 1024px) and (max-width: 1599px) {
	#Header > div { height:9.375vw; }
	}
	@media screen and (min-width: 1600px) {
	#Header > div { height:150px; }
	}

/* logo */
#Header .logo { flex:0 1 auto; margin-right:20px; }
#Header .logo a { display:block; position:relative; aspect-ratio:28/8; text-decoration:none; }
	@media screen and (max-width: 1023px) {
	#Header .logo a { height:50px; }
	}
	@media screen and (min-width: 1024px) and (max-width: 1599px) {
	#Header .logo a { height:5.5vw; }
	}
	@media screen and (min-width: 1600px) {
	#Header .logo a { height:88px; }
	}
#Header .logo .logo-bg img { display:block; max-width:100%; max-height:100%; }

.svg-wave-anim { display:block; position:absolute; z-index:2; left:0; top:0; overflow:visible; background:transparent; width:25%; height:100%; }
.svg-wave-anim svg { position:absolute; top:50%; left:1%; transform:translateY(-50%); }
.svg-wave-anim .rect {
  fill:var(--main_color_w); /* define axis origin as transforms-origin referance point */
  transform-origin:0 80px; transform:scaleY(-1); width:8px;
  animation:.5s graphAni forwards alternate infinite ease-in-out;
	}
	#Footer .svg-wave-anim .rect { fill:var(--main_color_dark_g); }

.svg-wave-anim .rect.anim0 { animation-name:graphAni0; }
.svg-wave-anim .rect.anim1 { animation-name:graphAni1; }
.svg-wave-anim .rect.anim2 { animation-name:graphAni2; }
.svg-wave-anim .rect.anim3 { animation-name:graphAni3; }
.svg-wave-anim .rect.anim4 { animation-name:graphAni4; }
.svg-wave-anim .rect.delay0 { animation-delay:0.25s; }
.svg-wave-anim .rect.delay1 { animation-delay:0.5s; }
.svg-wave-anim .rect.delay2 { animation-delay:0.75s; }
.svg-wave-anim .rect.delay3 { animation-delay:1s; }
.svg-wave-anim .rect.delay4 { animation-delay:1s; }
@keyframes graphAni0 { to { height:25px; }}
@keyframes graphAni1 { to { height:35px; }}
@keyframes graphAni2 { to { height:45px; }}
@keyframes graphAni3 { to { height:45px; }}
@keyframes graphAni4 { to { height:35px; }}

/* popup頁(包含雜湊值頁) */
#Wrap.layoutless { padding:0; }

#Wrap.layoutless #Header { background-color:#fff; height:60px; }
#Wrap.layoutless #Header > div { height:inherit; }
#Wrap.layoutless #Header .logo { margin:0 auto; }
#Wrap.layoutless #Header .logo a { justify-content:center; }


/*----------------------------------------------------------------------*/
/* Menu */
/* 先隱藏子選單,等網頁載入完畢後再顯示 */
#Menu .superfish { /*overflow:hidden;*/ z-index:10002; }
#Menu .superfish.sf-js-enabled { overflow:visible; }

#Menu { position:relative; display:flex; align-items:center; }
#Menu .menu_list { display:flex; align-items:center; flex-wrap:wrap; position:relative; padding-right:1.25vw; }
#Menu .menu_list::after { 
	content:''; display:block; position:absolute; right:0; top:50%; width:1px; height:20px; margin-top:-10px; background-color:#000; opacity:0.2; 
	}
#Menu .menu_list li { position:relative; }
#Menu .menu_list a { display:block; text-align:left; color:var(--main_color_dark_g); text-decoration:none; position:relative; }

#Menu .menu_list > li > a { font-weight:400; }
#Menu .menu_list > li:hover > a, #Menu .menu_list > li > a:focus, #Menu .menu_list > li.selected > a { color:var(--main_color_yl); font-weight:600; }
#Menu .menu_list > li > a:active { color:var(--main_color_active); }

/* 子選單 */
#Menu .menu_list ul { position:absolute; display:none; background-color:#fff; box-shadow:0 0 10px rgba(0,0,0,0.10); border-radius:10px; }
	/*#Menu .menu_list li:hover > ul { display:block; }*/
	#Menu .menu_list > li > ul { left:50%; top:100%; }
	#Menu .menu_list > li > ul ul { top:0; }	
#Menu .menu_list ul li { position:relative; }
#Menu .menu_list ul a { padding:10px 15px; border-top:1px solid #d4d4d4; line-height:1.375em; text-align:center; font-weight:400; position:relative; }
	#Menu .menu_list ul li:first-child > a { border-top:0; }
#Menu .menu_list ul a:hover, #Menu .menu_list ul a:focus { color:var(--main_color_yl); }
#Menu .menu_list ul a.sf-with-ul::after { 
	content:''; position:absolute; top:50%; right:8px; width:6px; height:6px; margin-top:-3px;
	border-top:1px solid #999; border-right:1px solid #999;
	transform:rotate(45deg);
	}
#Menu .menu_list ul li:hover > a.sf-with-ul::after, #Menu .menu_list ul a.sf-with-ul:focus::after { border-color:var(--main_color_yl); }

@media screen and (max-width: 1599px) {
#Menu .menu_list > li { padding:0 1.25vw; }
#Menu .menu_list ul, #Menu .menu_list > li > ul ul { width:150px; }
#Menu .menu_list > li > ul { margin-left:-75px; }
#Menu .menu_list > li > ul ul { left:150px; }
#Menu .menu_list ul a { font-size:0.9375rem; }
}
	@media screen and (max-width: 1279px) {
	#Menu .menu_list > li > a { font-size:1.25rem; line-height:60px; }
	}
	@media screen and (min-width: 1280px) and (max-width: 1599px) {
	#Menu .menu_list > li > a { font-size:1.375rem; line-height:60px; }
	}
@media screen and (min-width: 1600px) {
#Menu .menu_list > li { padding:0 24px; }
#Menu .menu_list > li > a { font-size:1.5rem; line-height:72px; }
#Menu .menu_list ul, #Menu .menu_list > li > ul ul { width:200px; }
#Menu .menu_list > li > ul { margin-left:-100px; }
#Menu .menu_list > li > ul ul { left:200px; }
#Menu .menu_list ul a { font-size:1.125rem; }
}

/* 倒數第1個選單的處理 */
#Menu .menu_list > li:last-child > ul ul { left:auto; }
	@media screen and (max-width: 1439px) {
	#Menu .menu_list > li:last-child > ul ul { right:150px; }
	}
	@media screen and (min-width: 1440px) {
	#Menu .menu_list > li:last-child > ul ul { right:200px; }
	}
#Menu .menu_list > li:last-child ul a.sf-with-ul::after { 
	left:8px; right:auto; transform:rotate(-135deg);
	}
	
/* 倒數第2個選單的處理 */
#Menu .menu_list > li:nth-last-child(2) > ul ul { left:auto; }
	@media screen and (max-width: 1439px) {
	#Menu .menu_list > li:nth-last-child(2) > ul ul { right:150px; }
	}
	@media screen and (min-width: 1440px) {
	#Menu .menu_list > li:nth-last-child(2) > ul ul { right:200px; }
	}
#Menu .menu_list > li:nth-last-child(2) ul a.sf-with-ul::after { 
	left:8px; right:auto; transform:rotate(-135deg);
	}

/* 倒數第3個選單的處理 */
#Menu .menu_list > li:nth-last-child(3) > ul > li > ul > li > ul { left:auto; }
	@media screen and (max-width: 1439px) {
	#Menu .menu_list > li:nth-last-child(3) > ul > li > ul > li > ul { right:150px; }
	}
	@media screen and (min-width: 1440px) {
	#Menu .menu_list > li:nth-last-child(3) > ul > li > ul > li > ul { right:200px; }
	}
#Menu .menu_list > li:nth-last-child(3) > ul > li > ul a.sf-with-ul::after { 
	left:8px; right:auto; transform:rotate(-135deg);
	}

/* 浮動效果 
@media screen and (min-width: 1024px) {
.MenuFix #Wrap { padding-top:54px; }
.MenuFix #Menu { 
	position:fixed; top:0; left:0; width:100%; height:54px;
    box-shadow:0 10px 10px rgba(0,0,0,0.2);
	animation:header 0.5s ease 1;
	}
.MenuFix #Menu .menu_list > li > a { font-size:1rem; line-height:54px; }
}
	@-webkit-keyframes header{
		0%{
			top:-54px;
		}
		100%{
			 top:0;
		}
	}*/

	/* 浮動時取消倒數第1個選單的處理 */
/*	.MenuFix #Menu .menu_list > li:last-child > ul { left:0; right:auto; }
	.MenuFix #Menu .menu_list > li:last-child > ul > li > ul { left:180px; right:auto; }
	.MenuFix #Menu .menu_list > li:last-child a.sf-with-ul::after { 
		left:auto; right:10px; 
		transform: rotate(45deg);
		}*/
		
	/* 浮動時取消倒數第2個選單的處理 */
	/*.MenuFix #Menu .menu_list > li:nth-last-child(2) > ul { left:0; right:auto; }
	.MenuFix #Menu .menu_list > li:nth-last-child(2) > ul > li > ul { left:150px; right:auto; }
	.MenuFix #Menu .menu_list > li:nth-last-child(2) a { text-align:left; }
	.MenuFix #Menu .menu_list > li:nth-last-child(2) a.sf-with-ul::after { 
		left:auto; right:10px; 
		transform: rotate(45deg);
		}*/

@media screen and (max-width: 1023px) {
#Menu .menu_list { display:none }
}

/* 搜尋 */
#Menu .header_search { position:relative; display:flex; align-items:center; padding-left:0.75vw; }
#Menu .header_search > li { padding:0 0.5vw; }
#Menu .header_search > li:last-child { padding-right:0; }

#Menu .header_search .sitemap a { 
	position:relative; display:block; text-indent:-99px; overflow:hidden; width:60px; height:60px; text-decoration:none; 
	}
#Menu .header_search .sitemap a::before { 
	content:''; display:block; position:absolute; top:50%; left:50%; width:22px; height:22px; margin:-11px 0 0 -11px; 
	background:url(../images/icon_sitemap.png) no-repeat 0 0; background-size:100%; 
	}
#Menu .header_search .sitemap a:hover::before, #Menu .header_search .sitemap a:focus::before, #Menu .header_search .sitemap.selected a::before { background-position:0 100%; }

#Menu .header_search .search_toggle a { 
	position:relative; display:block; text-indent:-99px; overflow:hidden; width:60px; height:60px; text-decoration:none; 
	}
#Menu .header_search .search_toggle a::before { 
	content:''; display:block; position:absolute; top:50%; left:50%; width:22px; height:22px; margin:-11px 0 0 -11px; 
	background:url(../images/icon_search.png) no-repeat 0 0; background-size:100%; 
	}
#Menu .header_search .search_toggle:hover a::before, #Menu .header_search .search_toggle a:focus::before { background-position:0 20%; }

#Menu .header_search .search_wrap { 
	position:absolute; right:0; top:0; display:none; 
	border:3px solid var(--main_color_yl); background-color:#fff; border-radius:5px; box-shadow:0 0 15px rgba(0,0,0,0.20); 
	}
#Menu .header_search .search_box { position:relative;  }
#Menu .header_search .search_box .input_wrap { position:relative; }
#Menu .header_search .search_box .label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(1px, 1px, 1px, 1px); border:0; }
#Menu .header_search .search_box input[type="text"] { 
	display:block; padding:0 60px 0 20px; border:0; background-color:#fff; color:var(--main_color_dark_g); width:40vw; line-height:54px; 
	}
#Menu .header_search .search_box input[type="text"]::placeholder { color:var(--main_color_dark_g); }
#Menu .header_search .search_box input[type="text"]:focus { border-color:var(--main_color_yl); background-color:#fff; color:#000; }
#Menu .header_search .search_box input[type="text"]:focus::placeholder { color:#000; }
#Menu .header_search .search_box button.submit { position:absolute; top:5px; right:5px; text-indent:-999px; width:44px; height:44px; border-radius:5px; overflow:hidden; }
#Menu .header_search .search_box button.submit::before { 
	content:''; display:block; position:absolute; top:50%; left:50%; width:22px; height:22px; margin:-11px 0 0 -11px;
	background:url(../images/icon_search.png) no-repeat 0 20%; background-size:100%; 
	}
#Menu .header_search .search_box button.submit:hover, #Menu .header_search .search_box button.submit:focus { background-color:var(--main_color_yl); }
#Menu .header_search .search_box button.submit:hover::before, #Menu .header_search .search_box button.submit:focus::before { background-position:0 40%; }

#Menu .header_search .search_box button.close { position:absolute; top:0; right:-33px; width:30px; height:54px; text-indent:-999px; overflow:hidden; }
#Menu .header_search .search_box button.close::before, #Menu .header_search .search_box button.close::after { 
	display:block; content:''; position:absolute; top:50%; left:50%; width:2px; height:22px; margin:-11px 0 0 -1px; background-color:var(--main_color_yl); transition: all 0.3s ease;
	}
	#Menu .header_search .search_box button.close::before { transform:rotate(-45deg); }
	#Menu .header_search .search_box button.close::after { transform:rotate(45deg); }
#Menu .header_search .search_box button.close:hover::before, #Menu .header_search .search_box button.close:hover::after { background-color:var(--main_color_dark_g); }

/* RWD */
@media screen and (max-width: 1023px) {
#Menu .header_search { display:none; }
}


/*----------------------------------------------------------------------*/
/* Center */
#Center { position:relative; }
#Center::after { content:''; display:block; clear:both; }


/*----------------------------------------------------------------------*/
/* 廣告 */
.EventBnPlacement .banner.portrait { display:none; }
.EventBnPlacement .banner a { display:block; position:relative; border-style:solid; border-color:#f6f6f6; text-decoration:none; }
	@media screen and (max-width: 639px) {
	.EventBnPlacement .banner a { border-width:10px; }
	}
	@media screen and (min-width: 640px) and (max-width: 1279px) {
	.EventBnPlacement .banner a { border-width:1.5625vw; }
	}
	@media screen and (min-width: 1280px) {
	.EventBnPlacement .banner a { border-width:20px; }
	}
.EventBnPlacement .banner img { display:block; max-width:100%; max-height:100%; }
.EventBnPlacement .banner a:focus { outline:0; }
.EventBnPlacement .banner a:hover, .EventBnPlacement .banner a:focus { opacity:0.8; }
.EventBnPlacement .banner a:focus::after { 
	content:''; display:block; position:absolute; top:0; left:0; width:100%; height:100%; border:4px dashed var(--main_color_yl); box-sizing:border-box; 
	}

@media screen and (max-width: 479px) and (orientation: portrait) {
.EventBnPlacement .banner.landscape { display:none; }
.EventBnPlacement .banner.portrait { display:block; }
}


/*----------------------------------------------------------------------*/
/* Btn Top */
.BtnTop { display:none; text-align:center; z-index:99998; position:fixed; bottom:6px; right:6px; }
	.MenuFix .BtnTop { display:block; }
.BtnTop a { 
	display:block; width:50px; height:50px; 
	background-color:var(--main_color_w); border-radius:5px; text-indent:-99px; overflow:hidden; position:relative; 
	}
.BtnTop a:hover, .BtnTop a:focus { background-color:var(--main_color_yl); }
.BtnTop a::after {
	content:''; display:block; position:absolute; top:22px; left:50%; width:10px; height:10px; margin:0 0 0 -7px; 
	border-top:4px solid var(--main_color_dark_g);; border-left:4px solid var(--main_color_dark_g);; transform:rotate(45deg); transition:all 0.3s ease;
	}
.BtnTop a:hover::after, .BtnTop a:focus::after { border-color:var(--main_color_w); }

.BtnTop a:hover::before, .BtnTop a:focus::before { opacity:0; }


/*----------------------------------------------------------------------*/
/* Footer */
#Footer { position:relative; }
#Footer .guide_title { color:#fff; opacity:0.2; }
#Footer .guide_title:focus { opacity:1; }

#Footer .footer_menu { background-color:#737768; padding-top:22px; padding-bottom:22px; }
	@media screen and (max-width: 639px) {
	#Footer .footer_menu { padding-left:10px; padding-right:10px; }
	}
	@media screen and (min-width: 640px) and (max-width: 1279px) {
	#Footer .footer_menu { padding-left:20px; padding-right:20px; }
	}
	@media screen and (min-width: 1280px) {
	#Footer .footer_menu { padding-left:40px; padding-right:40px; }
	}
#Footer .footer_menu ul {  max-width:1660px; margin:0 auto; }
#Footer .footer_menu li { position:relative; }
#Footer .footer_menu li::before { 
	content:''; display:block; position:absolute; top:50%; left:0; height:16px; margin-top:-8px; border-left:1px solid #fff; opacity:0.4;
	}
#Footer .footer_menu li:last-child::after { 
	content:''; display:block; position:absolute; top:50%; right:0; height:16px; margin-top:-8px; border-left:1px solid #fff; opacity:0.4; 
	}
#Footer .footer_menu a { display:block; padding:10px 0; line-height:2em; color:var(--main_color_w); text-decoration:none; }
#Footer .footer_menu a:hover, #Footer .footer_menu a:focus { color:var(--main_color_yl); text-decoration:underline; }
	@media screen and (max-width: 1023px) {
	#Footer .footer_menu { display:none; }
	}

	@media screen and (max-width: 1599px) {
	#Footer .footer_menu ul { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; }
	#Footer .footer_menu li { padding-left:20px; padding-right:20px; }
	}
	@media screen and (min-width: 1600px) {
	#Footer .footer_menu ul { display:table; width:100%; table-layout:fixed; }
	#Footer .footer_menu li { display:table-cell; text-align:center; }
	}

	@media screen and (max-width: 1279px) {
	#Footer .footer_menu a { font-size:0.875rem; }
	#Footer .footer_menu li { padding-left:10px; padding-right:10px; }
	}
	@media screen and (min-width: 1280px) and (min-width: 1359px) {
	#Footer .footer_menu a { font-size:1rem; }
	}
	@media screen and (min-width: 1360px) {
	#Footer .footer_menu a { font-size:1.125rem; }
	}

#Footer .footer_container { background-color:var(--main_color_dark_g); color:var(--main_color_w); }
	@media screen and (min-width: 768px) and (max-width: 1279px) {
	#Footer .footer_container { padding-left:20px; padding-right:20px; }
	}
	@media screen and (min-width: 1280px) {
	#Footer .footer_container { padding-left:40px; padding-right:40px; }
	}
#Footer .footer_container > div { max-width:1610px; margin:0 auto; display:flex; justify-content:space-between; flex-wrap:wrap; }
#Footer .guide_title { position:absolute; top:0; left:0; }

#Footer .site_title { width:212px; height:60px; position:relative; }
#Footer .site_title img { display:block; max-width:100%; max-height:100%; }

#Footer .contact_info li { margin-top:10px; line-height:1.5em; }
#Footer .contact_info li span {  }
#Footer .contact_info li a { color:var(--main_color_w); text-decoration:none; }
#Footer .contact_info li a:hover, #Footer .contact_info li a:focus { color:var(--main_color_yl); text-decoration:underline; }

#Footer .footer_organizer { display:flex; justify-content:flex-end; }
#Footer .footer_organizer ul { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; width:100%; }
#Footer .footer_organizer li { display:flex; align-items:center; }
	#Footer .footer_organizer li.moc { width:57.4193%; }
	#Footer .footer_organizer li.culture_taipei { width:37.7419%; }
#Footer .footer_organizer li a { display:block; width:100%; }
#Footer .footer_organizer li img { display:block; }
	#Footer .footer_marks li.culture_taipei img { margin:0 auto; }
#Footer .footer_organizer li a:hover, #Footer .footer_organizer li a:focus { transform:translateY(-5px); opacity:0.75; }

#Footer .footer_marks { display:flex; justify-content:flex-end; margin-top:30px; }
#Footer .footer_marks ul { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; width:100%; }
#Footer .footer_marks li { display:flex; align-items:center; }
	#Footer .footer_marks li.tmc_taipei { width:57.4193%; }
	#Footer .footer_marks li.accessibility { width:37.7419%; }
#Footer .footer_marks li a { display:block; width:100%; }
#Footer .footer_marks li img { display:block; }
	#Footer .footer_marks li.accessibility img { margin:0 auto; }
#Footer .footer_marks li a:hover, #Footer .footer_marks li a:focus { transform:translateY(-5px); opacity:0.75; }

#Footer .site_utilization { display:flex; justify-content:flex-end; margin-top:30px; }
#Footer .site_utilization ul { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; width:100%; }
#Footer .site_utilization li { margin-top:10px; padding-right:12px; padding-left:12px; position:relative; font-size:0.875rem; }
	#Footer .site_utilization li:first-child { padding-left:0; }
	#Footer .site_utilization li:last-child { padding-right:0; }

@media screen and (max-width: 767px) {
#Footer .contact_info { margin-top:20px; }
#Footer .col_left { width:100%; display:flex; flex-direction:column; align-items:center; flex-wrap:wrap; padding:10vw 7.5vw 7vw; }
#Footer .col_right { width:100%; display:flex; flex-direction:column; align-items:center; flex-wrap:wrap; padding:7.5vw 7.5vw 60px; background-color:#575958; }
}
	@media screen and (max-width: 479px) {
	#Footer .footer_organizer, #Footer .footer_marks, #Footer .site_utilization { width:100%; max-width:400px; }
	#Footer .footer_organizer li.moc img { width:86.4628%; }
	#Footer .footer_organizer li.culture_taipei img { width:100%; }
	#Footer .footer_marks li.tmc_taipei img { width:100%; }
	#Footer .footer_marks li.accessibility img { width:90.0662%; }
	#Footer .site_utilization li { padding-right:8px; padding-left:8px; font-size:0.75rem; letter-spacing:0; }
	}
	@media screen and (min-width: 480px) and (max-width: 767px) {
	#Footer .footer_organizer, #Footer .footer_marks, #Footer .site_utilization { width:400px; }
	#Footer .footer_organizer li.moc img { width:198px; }
	#Footer .footer_organizer li.culture_taipei img { width:150px; }
	#Footer .footer_marks li.tmc_taipei img { width:228px; }
	#Footer .footer_marks li.accessibility img { width:136px; }
	}
@media screen and (min-width: 768px) {
#Footer .contact_info { margin-top:30px; }
#Footer .footer_container > div { padding-top:80px; padding-bottom:80px; }
}
	@media screen and (min-width: 768px) and (max-width: 899px) {
	#Footer .col_right { width:320px; }
	#Footer .footer_organizer li.moc img { width:158px; }
	#Footer .footer_organizer li.culture_taipei img { width:120px; }
	#Footer .footer_marks li.tmc_taipei img { width:182px; }
	#Footer .footer_marks li.accessibility img { width:108px; }
	#Footer .site_utilization li { padding-right:8px; padding-left:8px; font-size:0.8125rem; letter-spacing:0.05em; }
	}
	@media screen and (min-width: 900px) {
	#Footer .col_right { width:400px; }
	#Footer .footer_organizer li.moc img { width:198px; }
	#Footer .footer_organizer li.culture_taipei img { width:150px; }
	#Footer .footer_marks li.tmc_taipei img { width:228px; }
	#Footer .footer_marks li.accessibility img { width:136px; }
	}

@media screen and (max-width: 439px) {
#Footer .contact_info li { font-size:4vw; letter-spacing:0; }
}


/*----------------------------------------------------------------------*/
/* 手機板選單 */
/* mmenu補丁 */
#MenuMobile { --mm-color-background:#fff; }
.mm-wrapper--opened .mm-wrapper__blocker { opacity:1; --mm-blocker-opacity-delay:0s; box-shadow:0 0 10px rgba(0,0,0,.5); }
#mm-1 .mm-navbar { display:none; }
.mm-btn--next:after, .mm-btn--prev:before { border-left:1px solid #35343e; border-top:1px solid #35343e; }
.mm-navbar__title { justify-content:flex-start; }
.mm-listitem { padding-left:20px; padding-right:20px; border:0; }
.mm-listitem:after { inset-inline-start:0; width:calc(100% - 40px); left:20px; }
.mm-search.mm-listitem:after { display:none; }
.mm-listitem__text { 
	padding:20px 0; color:var(--main_color_bk); font-size:1.5rem; line-height:1.25em; text-overflow:inherit; white-space:normal; overflow:hidden; 
	}
.mm-menu a.mm-listitem__text:hover { color:var(--main_color_yl); }
.mm-menu a.mm-btn--next:hover::after { border-color:#1d60cc; }

.mm-search { padding:40px 20px 20px; }
.mm-search .search_box { width:100%; }
.mm-search .search_box .input_wrap { position:relative; background-color:#fff; display:flex; }
.mm-search .search_box input[type="text"] { 
	border:1px solid var(--main_color_bk); width:calc(100% - 40px); height:40px; line-height:38px; padding:0 10px; background-color:transparent; 
	}
.mm-search .search_box input[type="text"], .mm-search .search_box input[type="text"]::placeholder { color:var(--main_color_bk); }
.mm-search .search_box .btn { 
	width:40px; height:40px; position:relative; background-color:var(--main_color_yl); text-indent:-999px; overflow:hidden;
	}
.mm-search .search_box .btn::before { 
	content:''; display:block; position:absolute; top:50%; left:50%; width:24px; height:24px; margin:-12px 0 0 -12px; 
	background:url(../images/icon_search.png) no-repeat 0 0; background-size:100%; 
	}

/* 針對iPhone的補丁 */
#MenuMobile.mm-menu { opacity:0; }
#MenuMobile.mm-menu.mm-menu--opened { opacity:1; }

/* 次要選單 */
#MenuMobile .mm-footer section { width:100%; }
#MenuMobile .sub_menu { padding:12px 0; }
#MenuMobile .sub_menu ul {  }
#MenuMobile .sub_menu li { padding:8px 1.6em; }
#MenuMobile .sub_menu li a { 
	display:block; padding:8px 0; line-height:1.25em; font-size:1.25rem; font-weight:300; color:var(--main_color_bk);
	}
#MenuMobile .sub_menu li a:hover, #MenuMobile .sub_menu li a:focus { color:var(--main_color_yl); }
/*#MenuMobile .sub_menu ul { display:flex; align-items:center; flex-wrap:wrap; margin:0 -8px; }
#MenuMobile .sub_menu li { padding:8px; }
#MenuMobile .sub_menu li a { 
	display:block; background-color:var(--main_color_w); padding:10px 12px; line-height:1.25em; 
	}*/

@media screen and (min-width: 1024px) {
#nav, #MenuMobile, .switch { display:none; }
}
@media screen and (max-width: 1023px) {
html.mm-open { overflow:hidden; }
#nav .switch a {
	display:block; position:fixed; top:0; right:0; width:80px; height:80px; z-index:99999; background-color:rgba(242,242,242,0.75); transition-delay:0.3s;
	}
.menu-action { height:30px; left:50%; margin-left:-13px; overflow:hidden; }
.menu-action::after, .menu-action::before, .menu-action > i::before, .menu-action, .menu-action > i { width:26px; }
.menu-action::after, .menu-action::before, .menu-action > i::before {
	content:""; position:absolute; left:0; height:3px; background:var(--main_color_dark_g) none repeat scroll 0 0; transition:all 0.3s ease;
	}
.menu-action, .menu-action > i { position:absolute; top:50%; transform:translateY(-50%); }
.menu-action::after { bottom:6px; }
.menu-action::before { top:6px; }
.menu-action > i { height:3px; left:0; text-indent:-999px; overflow:hidden; }
.menu-action > i::before { top:0; }

.mm-wrapper--opened .menu-action > i { opacity:0; }
.mm-wrapper--opened .menu-action::after { bottom:13px; transform:rotate(45deg); }
.mm-wrapper--opened .menu-action::before { top:14px; transform:rotate(-45deg); }

.mm-wrapper--opened .mm-wrapper__blocker { opacity:0.8; }
}


/*----------------------------------------------------------------------*/
/* popup box */
.popup_box { 
	position:fixed; top:0; left:0; width:100%; height:100vh; background-color:rgba(0,0,0,0.75); transform:scale(0); opacity:0; z-index:-1; 
	}
	.popup_box.show { transform:scale(1); opacity:1; z-index:100000; }
.popup_box .box_wrap { 
	transform:scale(0); position:absolute; top:50%; left:50%; width:96vw; height:96vh; margin:-48vh 0 0 -48vw; box-sizing:border-box; 
	display:flex; align-items:center;
	transition: all 0.3s ease;
	}
	.popup_box.show .box_wrap { transform:scale(1); }
.popup_box .box_wrap > div { 
	flex:0 1 auto; width:100%; max-width:1440px; max-height:100%; margin:0 auto; position:relative; 
	background-color:#fff; box-sizing:border-box; 
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	}
.popup_box .scrollable_cont { 
	overflow-y:auto; overflow-x:hidden; height:100%; box-sizing:border-box; position:relative; 
	-webkit-overflow-scrolling:touch; 
	}
	/*添加IOS下卷軸*/
	.popup_box .scrollable_cont::-webkit-scrollbar { -webkit-appearance:none; width:14px; height:14px; }
	.popup_box .scrollable_cont::-webkit-scrollbar-thumb { border-radius:8px; border:3px solid #fff; background-color:rgba(0, 0, 0, .3); }
	.popup_box .scrollable_cont::-webkit-scrollbar-thumb:hover { background-color:#dc5512; }
.popup_box .scrollable_cont > *:first-child { margin-top:0; }
.popup_box .scrollable_cont > *:last-child { margin-bottom:0; }

.popup_box .close { 
	position:absolute; top:-5px; right:-5px; width:32px; height:32px; background-color:#2d6cab; text-indent:-10000px; cursor:pointer; z-index:10000;
	}
.popup_box .close::before, .popup_box .close::after { 
	display:block; content:''; position:absolute; top:50%; left:50%; width:2px; height:16px; margin:-8px 0 0 -1px; background-color:#fff; 
	}
.popup_box .close::before {
    transform: rotate(-45deg);
	}
.popup_box .close::after {
    transform: rotate(45deg);
	}
.popup_box .close:hover { background-color:#dc5512; }
@media screen and (max-width: 1023px) {
.popup_box .box_wrap > div { padding:20px 10px; }
}
@media screen and (min-width: 1024px) {
.popup_box .box_wrap > div { padding:40px; }
}

	
/*----------------------------------------------------------------------*/
/* 表單 */
/* 表單群組 */
/* 注意 ------
fieldset內，表單元件max-width:100%會失效(但IE沒事),加上如下兩個fix(尚未經測試),但須確保fieldset沒有左右margin
又或者,不要用fieldset,改用div
*/
/*IOS webkit fix*/
fieldset.FormGroup { 
	width:auto;
	min-width:0;
	max-width:none;
	}
/*Mozilla fix*/
@-moz-document url-prefix() { fieldset.FormGroup { display:table-cell; }}

.FormGroup { 
	max-width:100%; overflow:hidden; position:relative; 
	margin-left:0; margin-right:0; /*消除fieldset的左右margin*/
	}
.FormGroup::after { content:''; display:block; clear:both; }
legend.form_group_title { padding-left:0; padding-right:0; }/*消除legend的左右padding*/

.FormGroupWarp > *:first-child { margin-top:0; }
.FormGroupWarp > *:last-child { margin-bottom:0; }
.FormGroup { 
	background-color:#fff; border:1px solid #00837e; margin-top:10px; margin-bottom:40px; border-radius:10px; position:relative; 
	}
.form_group_title span { 
	display:block; padding:0.64em 20px; background-color:#00837e; border-radius:25px; 
	color:#fff; font-size:1.125rem; font-weight:700; line-height:1.5em; 
	}
.form_group_title.icon span::before { 
	content:''; display:inline-block; width:22px; height:22px; vertical-align:middle; margin:0 10px 0.15em 0; 
	background:url("../images/icon_legend.png") no-repeat; background-size:100%; 
	}
	.form_group_title.search span::before { background-position:0 0; }
	.form_group_title.setting span::before { background-position:0 10%; }
.FormGroup > *:first-child { margin-top:0; }
.FormGroup > *:last-child { margin-bottom:0; }
@media screen and (max-width: 639px) {
.FormGroupWarp { margin-top:20px; margin-bottom:30px; }
.FormGroup { padding:15px 15px 30px; }
}
@media screen and (min-width: 640px) and (max-width: 1023px) {
.FormGroupWarp { margin-top:20px; margin-bottom:40px; }
.FormGroup { padding:20px 30px 30px; }
}
@media screen and (min-width: 1024px) {
.FormGroupWarp { margin-top:20px; margin-bottom:40px; }
.FormGroup { padding-top:20px; padding-bottom:20px; }
}
	@media screen and (min-width: 1024px) and (max-width: 1439px) {
	.FormGroup { padding-left:2.8vw; padding-right:2.8vw; }
	}
	@media screen and (min-width: 1440px) {
	.FormGroup { padding-left:40px; padding-right:40px;  }
	}

.FormNote { line-height:1.6em; font-size:1.25rem; color:#e60000; }

/* 表單表格 */
.FormTableWrap { margin:10px auto 30px; padding-top:40px; border-top:1px solid #ccc; }
	.ContentIntroHeader + .FormTableWrap { margin-top:-20px; }
.FormTableWrap > *:first-child { margin-top:0; }
.FormTableWrap > *:last-child { margin-bottom:0; }
table.FormTable { width:100%; margin:10px 0 20px; table-layout:fixed; }
table.FormTable.small { max-width:700px; margin-left:auto; margin-right:auto; }
table.FormTable > tbody > tr > th { line-height:1.5em; font-size:1.375rem; font-weight:500; position:relative; }
table.FormTable > tbody > tr > th span.required { margin-left:5px; font-size:1rem; color:var(--main_color_pk); }
table.FormTable > tbody > tr > td { line-height:1.5em; }

@media screen and (max-width: 1023px) {
.FormTable { width:auto; }
table.FormTable , table.FormTable > tbody, table.FormTable > tbody > tr, table.FormTable > tbody > tr > th, table.FormTable > tbody > tr > td { display:block; }
table.FormTable > tbody > tr { padding:25px 0 25px 0; position:relative; }
    table.FormTable > tbody > tr:first-child { padding-top:0; }
    table.FormTable > tbody > tr:last-child { padding-bottom:0; }
table.FormTable > tbody > tr > th { margin-bottom:10px; text-align:left; }
}
	@media screen and (max-width: 639px) {
	.FormTableWrap { padding-top:10px; }
	table.FormTable > tbody > tr { padding:10px 0 10px 0; }
	table.FormTable > tbody > tr > th { margin-bottom:0; font-size:1rem; }
	}
@media screen and (min-width: 1024px) {
table.FormTable > tbody > tr > th { vertical-align:top; }
table.FormTable > tbody > tr > th { height:1px; width:250px; padding:20px 10px 20px 0; }
table.FormTable > tbody > tr > th > div { 
	max-height:80px; height:100%; 
	display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; 
	}
table.FormTable > tbody > tr > td { padding:15px 0 15px 10px; }
}

/* 表單內按鈕 */
.FormElmt .inline_btn { display:inline-block; margin-right:6px; vertical-align:top; }
.FormElmt .inline_btn > * { 
	display:inline-block; margin-right:5px; margin-bottom:5px; padding-left:15px; padding-right:15px; background-color:#999; 
	color:#fff; line-height:40px; text-decoration:none;
	border-radius:5px;
	}
.FormElmt .inline_btn > *[class] { background-image:url("../images/icon_inline_btn.png"); background-repeat:no-repeat; }
.FormElmt .inline_btn > *:hover, .FormElmt .inline_btn > *:focus { background-color:#2d6cab; }
.FormElmt .inline_btn.block { display:block; margin-left:0; margin-right:0; }

/* 表單警告/提示 */
.FormElmt .form_alert { display:inline-block; margin-left:10px; margin-right:6px; vertical-align:top; }
.FormElmt .form_alert span { 
	display:inline-block; margin-right:6px; margin-bottom:6px; padding-left:15px; padding-right:15px; background-color:#c9161d; 
	color:#fff; line-height:36px; font-size:0.875rem; box-sizing:border-box; position:relative; 
	border-radius:5px;
	}
.FormElmt .form_alert span::after { 
	display:block; content:''; top:15px; left:-8px; position:absolute; 
	border-top:5px solid transparent; border-bottom:5px solid transparent; border-right:8px solid #c9161d; 
	}

/* 表單元件 */
.FormElmt input[type="text"], .FormElmt input[type="password"], .FormElmt input[type="file"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"],
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"] { 
	line-height:76px; height:80px; 
	}
.FormElmt input[type="text"], .FormElmt input[type="password"], .FormElmt input[type="file"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"],
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"],
.FormElmt select, .FormElmt textarea { 
	/*max-width:100%;*/ margin-top:5px;  margin-bottom:5px; margin-right:5px; vertical-align:baseline; font-size:1.3125rem; color:var(--main_color_bk);
	}
	.FormElmt input::placeholder { color:var(--main_color_bk); }
.FormElmt input[type="text"], .FormElmt input[type="password"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"], 
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"],
.FormElmt select, .FormElmt textarea {
	border:2px solid var(--main_color_bk); background-color:#fff; box-sizing:border-box; 
	}
.FormElmt input[type="text"], .FormElmt input[type="password"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"],
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"] { 
	padding:0 20px; 
	}
.FormElmt textarea { padding:15px 20px; }
.FormElmt select { 
	padding-left:20px; padding-right:50px; height:80px; max-width:100%; 
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='46px' viewBox='0 0 24 24' width='46px' fill='%2385a476'%3E%3Cpath d='M24 24H0V0h24v24z' fill='none' opacity='1'/%3E%3Cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z'/%3E%3C/svg%3E");
	background-position-x:100%; background-position-y:50%; background-repeat:no-repeat;
    -moz-appearance:none;
    -webkit-appearance:none;
    appearance:none;
	}
.FormElmt input[type="radio"], .FormElmt input[type="checkbox"] { 
	width:24px; height:24px; margin-right:10px; position:relative;
	appearance:none; background-color:#fff; border:2px solid var(--main_color_bk); 
	}
	.FormElmt input[type="radio"] { border-radius:50%; }
	.FormElmt input[type="checkbox"] { border-radius:4px; }
.FormElmt input[type="radio"]:checked { border-color:var(--main_color_yl); }
.FormElmt input[type="checkbox"]:checked { background-color:var(--main_color_yl); border-color:var(--main_color_yl); }
.FormElmt input[type="radio"]:checked::after {
	content:""; position:absolute; left:3px; top:3px; width:14px; height:14px; background-color:var(--main_color_yl); border-radius:50%;
	}
.FormElmt input[type="checkbox"]:checked::after {
	content:""; position:absolute; left:5px; top:1px; width:6px; height:12px; transform:rotate(45deg);
	border-width:0 3px 3px 0; border-color:#fff; border-style:solid;
	}

.FormElmt input[type="text"]:focus, .FormElmt input[type="password"]:focus, .FormElmt input[type="file"]:focus, 
.FormElmt input[type="number"]:focus, .FormElmt input[type="date"]:focus, .FormElmt input[type="month"]:focus,
.FormElmt input[type="week"]:focus, .FormElmt input[type="time"]:focus, .FormElmt input[type="datetime-local"]:focus,
.FormElmt input[type="email"]:focus, .FormElmt input[type="search"]:focus, .FormElmt input[type="tel"]:focus, .FormElmt input[type="url"]:focus,
.FormElmt input[type="color"]:focus, .FormElmt input[type="hidden"]:focus, .FormElmt input[type="range"]:focus,
.FormElmt textarea:focus, .FormElmt select:focus {
	background-color:#fff; border-color:var(--main_color_yl); color:#000; box-shadow:0 0 10px rgba(0,0,0,0.2); transition:all ease-in-out .15s;
	}
.FormElmt input[disabled], .FormElmt textarea[disabled], .FormElmt select[disabled] { 
	background-color:#fff; color:#666; opacity:1; padding:0; height:auto; line-height:inherit;
	box-shadow:none;
	}
	.FormElmt select[disabled] { cursor:default; }
	.FormElmt input[type="file"][disabled] { border:0; background:none; }
	.FormElmt input[type="radio"][disabled] + label, .FormElmt input[type="checkbox"][disabled] + label { color:#999; }

@media screen and (max-width: 639px) {
.FormElmt input[type="text"], .FormElmt input[type="password"], .FormElmt input[type="file"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"],
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"] { 
	line-height:38px; height:40px; 
	}
.FormElmt input[type="text"], .FormElmt input[type="password"], .FormElmt input[type="file"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"],
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"],
.FormElmt select, .FormElmt textarea { 
	border-width:1px; font-size:0.875rem; letter-spacing:0.05em;
	}
.FormElmt input[type="file"] { width:100%; }
.FormElmt input[type="text"], .FormElmt input[type="password"], 
.FormElmt input[type="number"], .FormElmt input[type="date"], .FormElmt input[type="month"],
.FormElmt input[type="week"], .FormElmt input[type="time"], .FormElmt input[type="datetime-local"],
.FormElmt input[type="email"], .FormElmt input[type="search"], .FormElmt input[type="tel"], .FormElmt input[type="url"],
.FormElmt input[type="color"], .FormElmt input[type="hidden"], .FormElmt input[type="range"] {
	padding:0 10px;
	}
.FormElmt select { 
	padding-left:10px; padding-right:25px; height:40px; 
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 0 24 24' width='24px' fill='%2385a476'%3E%3Cpath d='M24 24H0V0h24v24z' fill='none' opacity='1'/%3E%3Cpath d='M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z'/%3E%3C/svg%3E");
	}
.FormElmt input[type="radio"], .FormElmt input[type="checkbox"] { width:20px; height:20px; border-width:1px; }
.FormElmt input[type="radio"]:checked::after { left:3px; top:3px; width:12px; height:12px; }
.FormElmt input[type="checkbox"]:checked::after { left:5px; top:0; width:6px; height:12px; }
}

.FormElmt hr { margin:15px 0 5px; }
.FormElmt .w40 { max-width:40px; width:100%; }
.FormElmt .w60 { max-width:60px; width:100%; }
.FormElmt .w80 { max-width:80px; width:100%; }
.FormElmt .w100 { max-width:100px; width:100%; }
.FormElmt .w150 { max-width:150px; width:100%; }
.FormElmt .w200 { max-width:200px; width:100%; }
.FormElmt .w250 { max-width:250px; width:100%; }
.FormElmt .w300 { max-width:300px; width:100%; }
.FormElmt .w350 { max-width:350px; width:100%; }
.FormElmt .w400 { max-width:400px; width:100%; }
.FormElmt .w500 { max-width:500px; width:100%; }
.FormElmt .fullwidth { width:100%; }
.FormElmt .date, .FormElmt .datepicker { width:160px; }
.FormElmt .FormTable .note { display:inline-block; margin:0 0 0 5px; }
.FormElmt .FormTable br + .note { margin:8px 0 0 0; }
.FormElmt .FormTable .alert { display:inline-flex; align-items:center; flex-wrap:wrap; margin:0 0 0 5px; color:var(--main_color_pk); font-size:0.875rem; font-weight:500; }
.FormElmt .FormTable br + .alert { margin:8px 0 0 0; }
.FormElmt .FormTable .alert::before { 
	content:'!'; display:inline-block; margin-right:5px; background-color:var(--main_color_pk);; border-radius:50%; width:16px; line-height:16px; 
	text-align:center; color:#fff; font-weight:700; font-size:0.75rem; letter-spacing:0; 
	}
@media screen and (max-width: 639px) {
.FormElmt .FormTable .note, .FormElmt .FormTable .alert { font-size:0.75rem; font-weight:400; }
.FormElmt .FormTable br + .note { margin:0; }
.FormElmt .FormTable br + .alert { margin:0; }
}


/* checkbox/radio群組 */
.FormElmt .form-check-group { max-width:100%; display:flex; align-items:center; flex-wrap:wrap; }
.FormElmt .form-check-group.inline { display:inline-flex; margin-left:10px; }
.FormElmt .form-check-group li, .FormElmt .form-check-group dd { 
	display:flex; align-items:center; flex-wrap:wrap; 
	margin-top:5px; margin-bottom:5px; padding-right:20px; max-width:100%; line-height:40px; font-size:1.125rem; vertical-align:middle; 
	}
	@media screen and (max-width: 639px) {
	.FormElmt .form-check-group li, .FormElmt .form-check-group dd { font-size:1rem; }
	}
.FormElmt .form-check-group li:last-child, .FormElmt .form-check-group dd:last-of-type { padding-right:0; }
.FormElmt .form-check-group.item_block li, .FormElmt .form-check-group.item_block dd { width:100%; margin-right:0; }
.FormElmt .form-check-group dt { width:100%; margin-top:10px; line-height:30px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.FormElmt .form-check-group dt .text { font-weight:700; }
.FormElmt .form-check-group dt .select-all { font-weight:700; }
.FormElmt .form-check-group label { display:inline-flex; align-items:center; flex-wrap:wrap; max-width:100%; }
.FormElmt .form-check-group.multi-group { border:1px solid #c6c6c6; border-radius:10px; padding:5px 15px; margin-top:15px; }
.FormElmt .form-check-group.multi-group dt { margin-top:5px; margin-bottom:5px; }
.FormElmt .form-check-group.multi-group dt .text { color:#005bb0; }
.FormElmt .form-check-group input[type="text"] { margin:0; line-height:36px; height:40px; }

/* 市內電話(含分機) */
.FormElmt .local_call { width:100%; display:flex; align-items:center; flex-wrap:wrap; }
.FormElmt .local_call > div { flex:0 1 auto; }
.FormElmt .local_call .area_code { position:relative; width:95px; display:flex; justify-content:space-between; align-items:center; }
.FormElmt .local_call .area_code::after { content:''; display:block; position:absolute; top:50%; right:0; width:5px; border-top:1px solid #696f82; }
.FormElmt .local_call .area_code input { width:80px; }
.FormElmt .local_call .tel_num { margin-left:10px; }
.FormElmt .local_call .ext { margin-left:10px; }
.FormElmt .local_call .ext::before { content:'分機'; display:inline-block; margin-right:5px; }

/* 地址 */
.FormElmt .address { width:100%; display:flex; align-items:center; flex-wrap:wrap; }
.FormElmt .address > div { flex:0 1 auto; }
.FormElmt .address .zip_code { position:relative; width:135px; display:flex; justify-content:space-between; align-items:center; }
.FormElmt .address .zip_code::after { content:''; display:block; position:absolute; top:50%; right:0; width:5px; border-top:1px solid #696f82; }
.FormElmt .address .zip_code input { width:120px; }
.FormElmt .address .city select { width:100%; }
.FormElmt .address .district select { width:100%; }
.FormElmt .address .text { width:100%; }
@media screen and (max-width: 799px) {
.FormElmt .address .city { padding-left:10px; }
.FormElmt .address .district { padding-left:10px; }
}
@media screen and (min-width: 800px) {
.FormElmt .address .city { padding-left:10px; width:calc((100% - 135px) / 2); }
.FormElmt .address .district { padding-left:20px; width:calc((100% - 135px) / 2); }
}

/* 驗證碼 */
.FormElmt .randomcode { 
	display:inline-flex; align-items:center; align-content:center; flex-wrap:wrap;
	}
.FormElmt .randomcode > div { flex:0 1 auto; margin-right:5px; line-height:normal; }
.FormElmt .randomcode .input input[type="text"] { width:200px; }
	@media screen and (max-width: 639px) {
	.FormElmt .randomcode .input input[type="text"] { width:160px; }
	}
.FormElmt .randomcode .img img { display:block; }
.FormElmt .randomcode .btns { margin-left:10px; }
.FormElmt .randomcode .btns > * { 
	border:0; padding:0; margin-right:10px; height:40px; position:relative; 
	display:inline-flex; align-items:center; flex-wrap:wrap;
	line-height:40px; color:var(--main_color_light_g); text-decoration:none;
	}
.FormElmt .randomcode .btns > *:last-child { margin-right:0; }
.FormElmt .randomcode .btns > *:hover, .FormElmt .randomcode .btns > *:focus { color:var(--main_color_yl); }
.FormElmt .randomcode .btns > *::before { 
    display:inline-block; content:''; width:20px; height:20px; vertical-align:middle; margin-right:5px; 
	background:url("../images/icon_random_code.png") no-repeat; background-size:200%; 
	}
	.FormElmt .randomcode .refresh::before { background-position:0 0; }
	.FormElmt .randomcode .play::before { background-position:0 20%; }
	.FormElmt .randomcode .refresh:hover::before, .FormElmt .randomcode .refresh:focus::before { background-position:right 0; }
	.FormElmt .randomcode .play:hover::before, .FormElmt .randomcode .play:focus::before { background-position:right 20%; }

/* 按鈕 */
.BtnCommon { margin-top:50px; margin-bottom:20px; clear:both; display:flex; align-items:center; justify-content:center; flex-wrap:wrap; }
	.BtnCommon.tl { justify-content:flex-start; }
	.BtnCommon.tr { justify-content:flex-end; }
.BtnCommon div { margin-bottom:15px; }
	@media screen and (max-width: 767px) {
	.BtnCommon div, .BtnCommon.tc div { margin-right:10px; margin-left:10px; }
	.BtnCommon.tl div { margin-right:20px; margin-left:0; }
	.BtnCommon.tr div { margin-right:0; margin-left:20px; }
	}
	@media screen and (min-width: 768px) {
	.BtnCommon div, .BtnCommon.tc div { margin-right:15px; margin-left:15px; }
	.BtnCommon.tl div { margin-right:30px; margin-left:0; }
	.BtnCommon.tr div { margin-right:0; margin-left:30px; }
	.BtnCommon.small div, .BtnCommon.tc.small div { margin-right:10px; margin-left:10px; }
	.BtnCommon.tl.small div { margin-right:20px; margin-left:0; }
	.BtnCommon.tr.small div { margin-right:0; margin-left:20px; }
	}

.BtnCommon .btn, .BtnCommon span { display:block; }
.BtnCommon .btn { display:block; background-color:var(--main_color_yl); border:2px solid var(--main_color_yl); color:#fff; }
	.BtnCommon .reset .btn { background-color:#a5a5a5; border-color:#a5a5a5; }
.BtnCommon a { text-decoration:none; }
	@media screen and (max-width: 639px) {
	.BtnCommon.large .btn { width:200px; }
	.BtnCommon.mid .btn {  }
	.BtnCommon.small .btn {  }
	}
	@media screen and (min-width: 640px) {
	.BtnCommon.large .btn { width:240px; }
	.BtnCommon.mid .btn {  }
	.BtnCommon.small .btn {  }
	}

.BtnCommon span { display:flex; align-items:center; justify-content:center; }
	.BtnCommon div[class] span { justify-content:space-between; }
	@media screen and (max-width: 639px) {
	.BtnCommon.large span { padding-left:20px; padding-right:20px; line-height:36px; font-size:1rem; }
	.BtnCommon.mid span { padding-left:15px; padding-right:15px; line-height:36px; font-size:0.9375rem; }
	.BtnCommon.small span { padding-left:10px; padding-right:10px; line-height:36px; font-size:0.875rem; }
	}
	@media screen and (min-width: 640px) {
	.BtnCommon.large span { padding-left:30px; padding-right:30px; line-height:76px; font-size:1.3125rem; letter-spacing:0.2em; }
	.BtnCommon.mid span { padding-left:25px; padding-right:25px; line-height:60px; font-size:1.25rem; }
	.BtnCommon.small span { padding-left:15px; padding-right:15px; line-height:44px; font-size:1.125rem; }
	}

/* 按鈕加icon */
.BtnCommon div[class] span::before { 
	content:''; display:inline-block; flex:0 1 auto; width:32px; height:32px; margin-right:10px; 
	background:url("../images/icon_btn_common.png") no-repeat; background-size:200%;
	}
	@media screen and (max-width: 639px) {
	.BtnCommon div[class] span::before { width:16px; height:16px; }
	}
	@media screen and (min-width: 640px) {
	.BtnCommon div[class] span::before { width:32px; height:32px; }
	}
	.BtnCommon div.submit span::before { background-position:0 0; }
	.BtnCommon div.reset span::before { background-position:0 10%; }
.BtnCommon div.no_icon span::before { display:none; }

/* 按鈕加漸層效果(可以不要) */
/*.BtnCommon div[class] > *::after { 
	display:block; position:absolute; top:0; left:0; width:100%; height:100%; content:''; 
	background: -ms-linear-gradient(top, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
	}*/

/* hover */
.BtnCommon .btn:hover, .BtnCommon .btn:focus { background-color:#fff; color:var(--main_color_yl); }
	.BtnCommon .reset .btn:hover, .BtnCommon .reset .btn:focus { color:#a5a5a5; }
.BtnCommon .submit .btn:hover span::before, .BtnCommon .submit .btn:focus span::before { background-position:right 0; }
.BtnCommon .reset .btn:hover span::before, .BtnCommon .reset .btn:focus span::before { background-position:right 10%; }

/* 表單送出畫面 */
.form_feedback_box { max-width:960px; background-color:#fff; border:2px solid var(--main_color_yl); border-radius:10px; line-height:2em; }
	@media screen and (max-width: 639px) {
	.form_feedback_box { margin:20px auto; padding:1.5em 1em; font-size:0.875rem; }
	}
	@media screen and (min-width: 640px) {
	.form_feedback_box { margin:40px auto; padding:3em; font-size:1.125rem; }
	}


/*----------------------------------------------------------------------*/
/* datepicker共通設定 */
.ui-datepicker { 
	background-color:#fff; padding:15px 8px 7px 8px; position:relative; display:none;
	box-shadow: 0 0 5px #b2b2b2;
	}
.ui-datepicker-prev, .ui-datepicker-next { 
	display:block; position:absolute; top:15px; width:36px; height:36px; cursor:pointer; 
	}
	.ui-datepicker-prev { left:0; }
	.ui-datepicker-next { right:0; }
.ui-datepicker-prev span, .ui-datepicker-next span { 
	display:block; position:absolute; top:50%; left:50%; margin:-6px 0 0 -6px; width:12px; height:12px; background:url("../images/icon_datepicker.png") no-repeat; 
	text-indent:-10000px; 
	}
	.ui-datepicker-prev span { background-position:0 0; }
	.ui-datepicker-next span { background-position:0 -12px; }
	.ui-datepicker-prev:hover span { background-position:-12px 0; }
	.ui-datepicker-next:hover span { background-position:-12px -12px; }
.ui-datepicker-title { text-align:center; font-size:0.9375rem; font-weight:700; line-height:30px; }
.ui-datepicker-title select { height:36px; padding:7px 0 8px; font-size:0.9375rem; }
.ui-datepicker-title select.ui-datepicker-year { margin-right:4px; }
.ui-datepicker-title select.ui-datepicker-month { margin-left:6px; }
.ui-datepicker-title select.ui-datepicker-month:first-child { margin-left:0; }
.ui-datepicker-title select.ui-datepicker-month + select.ui-datepicker-year { margin-left:6px; margin-right:0; }
.ui-datepicker-calendar { margin-top:5px; }
.ui-datepicker-calendar th, .ui-datepicker-calendar td { width:32px; padding:0; font-family:Arial, Helvetica, "微軟正黑體", sans-serif; text-align:center; }
.ui-datepicker-calendar th { font-size:0.875rem; font-weight:700; }
.ui-datepicker-calendar td { font-size:0.875rem; }
	.ui-datepicker-calendar th span, .ui-datepicker-calendar td span, .ui-datepicker-calendar td a { display:block; padding:5px 0 5px; }
	.ui-datepicker-calendar td a { text-decoration:none; color:#333; line-height:22px; }
	.ui-datepicker-unselectable { color:#cfcfcf; }
	.ui-datepicker-today { background-color:#e60012; }
		.ui-datepicker-calendar td.ui-datepicker-today a { color:#fff !important; }
		.ui-datepicker-unselectable.ui-datepicker-today { background-color:#f0f0f0; }
	.ui-datepicker-calendar td a.ui-state-default:hover { color:#e60012 }
	.ui-datepicker-current-day a { border:1px solid #21293c; }


/*----------------------------------------------------------------------*/
/* 編輯器 */
.editable_content { margin-top:10px; margin-bottom:10px; }
.editable_content.content { margin-top:30px; margin-bottom:40px; margin-left:auto; margin-right:auto; max-width:1280px; }
#main_content + .editable_content.content { margin-top:10px; }

/* 為文字上稿區可能出現的元素做設定 */
/*.editable_content, .editable_content p, .editable_content li, .editable_content div, .editable_content blockquote { text-align:justify; text-justify:inter-ideograph; }*/
.editable_content, .editable_content p, .editable_content li, .editable_content dt, .editable_content dd, .editable_content div, .editable_content blockquote { 
	line-height:2em; 
	}
.editable_content .district, .editable_content div, .editable_content table, .editable_content iframe, .editable_content blockquote { 
	margin-top:2.25em; margin-bottom:2.25em; 
	}
.editable_content p, .editable_content ul, .editable_content ol, .editable_content dl { 
	margin-top:1.75em; margin-bottom:1.75em; 
	}
.editable_content p { padding:0; }
.editable_content h4, .editable_content h5, .editable_content h6 { margin-bottom:5px; line-height:1.5em; font-weight:500; }
.editable_content h4 + *:not(h4):not(h5):not(h6),
.editable_content h5 + *:not(h4):not(h5):not(h6),
.editable_content h6 + *:not(h4):not(h5):not(h6) { margin-top:0.625em; }
.editable_content h4 + h4, .editable_content h4 + h5, .editable_content h4 + h6,
.editable_content h5 + h4, .editable_content h5 + h5, .editable_content h5 + h6,
.editable_content h6 + h4, .editable_content h6 + h5, .editable_content h6 + h6 { margin-top:0.625em; }
	.editable_content h4 { overflow:hidden; }
	.editable_content h5 {  }
	.editable_content h6 {  }
.editable_content blockquote { border-top:1px solid #ccc; border-bottom:1px solid #ccc; overflow:hidden; position:relative; }
.editable_content blockquote::before, .editable_content blockquote::after { 
	display:block; position:absolute; font-family:'Roboto', sans-serif; line-height:100%; color:#999; font-size:64px; 
	}
	.editable_content blockquote::before { content:'“'; left:12px; top:10px; }
	.editable_content blockquote::after { content:'”'; right:12px; bottom:-30px; }

.editable_content .district .imgleft ~ blockquote, .editable_content .district .imgright ~ blockquote { 
	margin-left:0; margin-right:0; 
	}
.editable_content ol { list-style-type:decimal; padding-left:2.2em; overflow:hidden; }
.editable_content ul { list-style-type:disc; padding-left:2.2em; overflow:hidden; }
	.editable_content ul[type="disc"] { list-style-type:disc; }
	.editable_content ul[type="circle"] { list-style-type:circle; }
	.editable_content ul[type="square"] { list-style-type:square; }
.editable_content li { margin-bottom:0.625em; }
.editable_content ol ol { list-style-type:lower-alpha; }
.editable_content ul ul { list-style-type:circle; }
.editable_content ul ul, .editable_content ul ol, .editable_content ol ul, .editable_content ol ol { margin-top:5px; margin-bottom:0; }
.editable_content ul li:last-child, .editable_content ol li:last-child { margin-bottom:0; }
.editable_content dl { overflow:hidden; }
.editable_content dl dt { font-weight:700; margin-bottom:0.625em; }
.editable_content dl dd { padding-left:25px; margin-bottom:0.625em; position:relative; }
.editable_content dl dd::before {  
	content:''; display:block; position:absolute; top:1em; left:6px; width:6px; height:6px; margin-top:-3px; background-color:#333; border-radius:50%; }
	
.editable_content dl dl, .editable_content dl ul, .editable_content dl ol, .editable_content ul dl.editable_content ol dl { margin-top:5px; margin-bottom:0; }
.editable_content dl dd:last-child { margin-bottom:0; }
.editable_content hr { margin:1.875em 0; }

/* 影片、相關連結、相關檔案 */
.editable_content .MsgModule_Download, .editable_content .MsgModule_Link { position:relative; }
.MsgModule_Download span, .MsgModule_Link span { white-space:nowrap; font-weight:700; }
.MsgModule_Download + .MsgModule_Download, .MsgModule_Download + .MsgModule_Link, .MsgModule_Link + .MsgModule_Download, .MsgModule_Link + .MsgModule_Link { 
	margin-top:-10px; 
	}
.editable_content .MsgModule_Download span.file_hashes { margin-left:4px; }
	
.editable_content .MsgModule_Media { margin-left:auto; margin-right:auto; width:560px; }
	.editable_content .MsgModule_Media.left { margin-left:0; }
	.editable_content .MsgModule_Media.right { margin-right:0; }
	.editable_content .MsgModule_Media.landscape { width:560px; }
	.editable_content .MsgModule_Media.portrait { width:315px; }
.editable_content .MsgModule_Media .media_wrap { margin-top:0; margin-bottom:0; padding-bottom:56.25%; text-align:left; position:relative; overflow:hidden; }
	.editable_content .MsgModule_Media.landscape.ratio_16by9 .media_wrap { padding-bottom:56.25%; }
	.editable_content .MsgModule_Media.portrait.ratio_16by9 .media_wrap { padding-bottom:177.77%; }
	.editable_content .MsgModule_Media.landscape.ratio_4by3 .media_wrap { padding-bottom:75%; }
	.editable_content .MsgModule_Media.portrait.ratio_4by3 .media_wrap { padding-bottom:133.33%; }
	.editable_content .MsgModule_Media .media_wrap iframe,
	.editable_content .MsgModule_Media .media_wrap object,
	.editable_content .MsgModule_Media .media_wrap embed { position:absolute; top:0; left:0; width:100%; height:100%; border:0; margin:0; }
.editable_content .MsgModule_Media .describe { text-align:left; margin:0; background-color:#ebebeb; line-height:150%; }
	.editable_content .MsgModule_Media .describe span { display:block; }
	.editable_content .MsgModule_Media .describe .title { margin-bottom:10px; }
	.editable_content .MsgModule_Media .describe .desc {  }
	.editable_content noscript div.ytlink { padding:0; margin:0; line-height:1.25em; }/* no script時影片區塊顯示的訊息 */
	
.editable_content .MsgModule_Media video  { display:block; width:100%; }

/* 文繞圖設定 */
.editable_content .district::after { content:''; display:block; clear:both; }
.editable_content .district > *:first-child { margin-top:0; }
.editable_content .district > *:last-child { margin-bottom:0; }
.editable_content .img_bg { margin-bottom:20px; text-align:center; }
.editable_content .img_bg figure { display:inline-block; margin:0; }
.editable_content .imgleft { float:left; }
.editable_content .imgright { float:right; }
.editable_content .imgcenter { clear:both; text-align:center; margin-left:auto; margin-right:auto; }
.editable_content .imgleft, .editable_content .imgright { max-width:48%; }
.editable_content .img_bg figcaption, .editable_content .img_bg span { 
	display:block; margin:0 auto; position:relative;
	color:#666; line-height:1.5em; text-align:left; 
	}

@media screen and (max-width: 767px) {
.editable_content .district .imgleft, .editable_content .district .imgright { 
	float:none; clear:both; max-width:100%; text-align:center; margin-left:auto; margin-right:auto; 
	}
}
@media screen and (min-width: 768px) and (max-width: 1279px) {
.editable_content .imgleft { margin-right:20px; }
.editable_content .imgright { margin-left:20px; }
}
@media screen and (min-width: 1280px) {
.editable_content .imgleft { margin-right:40px; }
.editable_content .imgright { margin-left:40px; }
}
	
/* 單篇延伸區塊 */
.editable_content h4.ext_title { 
	display:flex; align-items:center; margin-bottom:20px; margin-top:1.5em; padding-bottom:15px; border-bottom:1px solid #ccc; position:relative; 
	font-weight:500; line-height:1.5em;
	}
.editable_content h4.ext_title::before { 
	content:''; display:block; width:32px; height:32px; margin-right:10px;
	background:url("../images/icon_module.png") no-repeat; background-size:200%; 
	}
	.editable_content h4.icon_file::before { background-position:0 0; }
	.editable_content h4.icon_link::before { background-position:0 50%; }
	.editable_content h4.icon_photo::before { background-position:0 100%; }

.editable_content ul.ext_list { margin:0 0 2em 0; list-style-type:none; overflow:hidden; }
.editable_content ul.ext_list li { position:relative; margin-bottom:0.5em; line-height:1.8em; }
	.editable_content ul.ext_list li:last-child { margin-bottom:0; }
.editable_content ul.ext_list li::after { 
	content:''; display:block; position:absolute; top:0.9em; left:-1.1em; background-color:#384952; width:6px; height:6px; margin-top:-3px; border-radius:50%;
	}
.editable_content ul.ext_list li > a { display:inline-block; }
.editable_content ul.ext_list li > a:hover, .editable_content ul.ext_list li > a:focus {  }
.editable_content ul.ext_list li span.file_ext { margin-left:6px; width:24px; height:24px; }
.editable_content ul.ext_list li span.file_hashes { width:24px; height:24px; }
.editable_content ul.ext_list li span.file_hashes a { background-position:right 0; }
.editable_content ul.ext_list li span.file_hashes a:hover,
.editable_content ul.ext_list li span.file_hashes a:focus { background-position:right 100%; }
.editable_content #colorbox_thum { position:relative; margin-top:0; }

/* html編輯區的表格預設樣式 */
.editable_content table[align="center"] { margin-left:auto; margin-right:auto; }
.editable_content table caption { margin:5px 0; padding:5px 0; font-weight:700; text-align:left; line-height:1.5em; }
.editable_content .tableWrap { position:relative; overflow-y:auto; _overflow:auto; width:100%; -webkit-overflow-scrolling:touch; }
.editable_content .tableWrap table { margin:0; }
/*添加IOS下卷軸*/
.editable_content .tableWrap::-webkit-scrollbar { -webkit-appearance:none; width:14px; height:14px; }
.editable_content .tableWrap::-webkit-scrollbar-thumb { border-radius:8px; border:3px solid var(--main_color_w); background-color:rgba(0, 0, 0, .3); }
.editable_content .tableWrap::-webkit-scrollbar-thumb:hover { background-color:var(--main_color_yl); }

/* 移除第一個物件的上邊界、上間距避免過大的空白 */
.editable_content > *:first-child, .editable_content .district > *:first-child, .editable_content blockquote > *:first-child, .editable_content td > *:first-child { 
	margin-top:0; 
	}
/* 移除最後一個物件的下邊界、下間距避免過大的空白 */
.editable_content > *:last-child, .editable_content .district > *:last-child, .editable_content blockquote > *:last-child, .editable_content td > *:last-child { 
	margin-bottom:0; 
	}
/* 避免爆版 */
.editable_content iframe, 
.editable_content img, 
.editable_content div, 
.editable_content p, 
.editable_content span, 
.editable_content ul,
.editable_content ol,
.editable_content li,
.editable_content figure, 
.editable_content figcaption { 
	max-width:100%; 
	}
.editable_content * { word-wrap:break-word; }
/* 取消圖片的高度設定避免RWD時不等比例縮放 */
.editable_content img { height:auto; }

/* html編輯區的表格外框樣式 */
.editable_content .table_style1 { width:100%; border-left:1px solid #000; border-top:1px solid #000; }
.editable_content .table_style1 > tbody > tr > th, .editable_content .table_style1 > tbody > tr > td { 
	padding:10px 15px; border-right:1px solid #000; border-bottom:1px solid #000; line-height:1.75em; 
	}
.editable_content .table_style1 > tbody > tr > th { white-space:nowrap; }
.editable_content .table_style1 > tbody > tr > td { background-color:#fff; }

@media screen and (max-width: 639px) {
.editable_content { font-size:0.875rem; letter-spacing:0.05em; }
.editable_content h4 { font-size:1.5rem; }
.editable_content h5 { font-size:1.375rem; }
.editable_content h6 { font-size:1.25rem; }
.editable_content .img_bg figcaption, .editable_content .img_bg span { font-size:0.75rem; }
.editable_content h4.ext_title { font-size:1.5rem; }
.editable_content blockquote { padding:50px 10px; }
.editable_content .MsgModule_Media .describe { padding:10px; }
}
@media screen and (min-width: 640px) {
.editable_content { font-size:1.125rem; }
.editable_content h4 { font-size:2rem; }
.editable_content h5 { font-size:1.75rem; }
.editable_content h6 { font-size:1.5rem; }
.editable_content .img_bg figcaption, .editable_content .img_bg span { font-size:0.875rem; }
.editable_content h4.ext_title { font-size:2rem; }
.editable_content blockquote { padding:40px 45px; }
.editable_content .MsgModule_Media .describe { padding:20px; }
}


/*----------------------------------------------------------------------*/
/* 微編輯器 */
.textarea_editor, .textarea_editor p, .textarea_editor li, .textarea_editor dt, .textarea_editor dd, .textarea_editor div, .textarea_editor blockquote { 
	line-height:1.75em; 
	}
.textarea_editor div, .textarea_editor table, .textarea_editor iframe { 
	margin-top:1.5em; margin-bottom:1.5em; 
	}
.textarea_editor p, .textarea_editor ul, .textarea_editor ol, .textarea_editor dl, .textarea_editor blockquote { 
	margin-top:1.25em; margin-bottom:1.25em; 
	}
.textarea_editor p { padding:0; }
.textarea_editor h4, .textarea_editor h5, .textarea_editor h6 { margin-bottom:5px; line-height:1.5em; }
.textarea_editor h4 + *:not(h4):not(h5):not(h6),
.textarea_editor h5 + *:not(h4):not(h5):not(h6),
.textarea_editor h6 + *:not(h4):not(h5):not(h6) { margin-top:0.625em; }
.textarea_editor h4 + h4, .textarea_editor h4 + h5, .textarea_editor h4 + h6,
.textarea_editor h5 + h4, .textarea_editor h5 + h5, .textarea_editor h5 + h6,
.textarea_editor h6 + h4, .textarea_editor h6 + h5, .textarea_editor h6 + h6 { margin-top:0.625em; }
	.textarea_editor h4 { font-size:1.75rem; overflow:hidden; }
	.textarea_editor h5 { font-size:1.5rem; }
	.textarea_editor h6 { font-size:1.375rem; }
.textarea_editor blockquote { 
	padding:15px 24px; overflow:hidden; position:relative; box-sizing:border-box; 
	}
.textarea_editor blockquote::before, .textarea_editor blockquote::after { 
	display:block; position:absolute; font-family:'Roboto', sans-serif; line-height:100%; color:#999; font-size:48px; 
	}
	.textarea_editor blockquote::before { content:'“'; left:0; top:0; }
	.textarea_editor blockquote::after { content:'”'; right:0; bottom:-20px; }

.textarea_editor ol { list-style-type:decimal; padding-left:2.2em; overflow:hidden; }
.textarea_editor ul { list-style-type:disc; padding-left:2.2em; overflow:hidden; }
	.textarea_editor ul[type="disc"] { list-style-type:disc; }
	.textarea_editor ul[type="circle"] { list-style-type:circle; }
	.textarea_editor ul[type="square"] { list-style-type:square; }
.textarea_editor li { margin-bottom:0.625em; }
.textarea_editor ol ol { list-style-type:lower-alpha; }
.textarea_editor ul ul { list-style-type:circle; }
.textarea_editor ul ul, .textarea_editor ul ol, .textarea_editor ol ul, .textarea_editor ol ol { margin-top:5px; margin-bottom:0; }
.textarea_editor ul li:last-child, .textarea_editor ol li:last-child { margin-bottom:0; }
.textarea_editor dl { overflow:hidden; }
.textarea_editor dl dt { font-weight:700; margin-bottom:0.625em; }
.textarea_editor dl dd { padding-left:25px; margin-bottom:0.625em; position:relative; }
.textarea_editor dl dd::before {  
	content:''; display:block; position:absolute; top:1em; left:6px; width:6px; height:6px; margin-top:-3px; background-color:#333; border-radius:50%; }
	
.textarea_editor dl dl, .textarea_editor dl ul, .textarea_editor dl ol, .textarea_editor ul dl.textarea_editor ol dl { margin-top:5px; margin-bottom:0; }
.textarea_editor dl dd:last-child { margin-bottom:0; }
.textarea_editor hr { margin:1.625em 0; }

/* html編輯區的表格預設樣式 */
.textarea_editor table[align="center"] { margin-left:auto; margin-right:auto; }
.textarea_editor table caption { margin:5px 0; padding:5px 0; font-weight:700; text-align:left; line-height:1.5em; }
.textarea_editor .tableWrap { position:relative; overflow-y:auto; _overflow:auto; width:100%; -webkit-overflow-scrolling:touch; }
.textarea_editor .tableWrap table { margin:0; }
/*添加IOS下卷軸*/
.textarea_editor .tableWrap::-webkit-scrollbar { -webkit-appearance:none; width:14px; height:14px; }
.textarea_editor .tableWrap::-webkit-scrollbar-thumb { border-radius:8px; border:3px solid #fff; background-color:rgba(0, 0, 0, .3); }
.textarea_editor .tableWrap::-webkit-scrollbar-thumb:hover { background-color:#1d60cc; }

/* 移除第一個物件的上邊界、上間距避免過大的空白 */
.textarea_editor > *:first-child, .textarea_editor .district > *:first-child, .textarea_editor blockquote > *:first-child, .textarea_editor td > *:first-child { 
	margin-top:0; 
	}
/* 移除最後一個物件的下邊界、下間距避免過大的空白 */
.textarea_editor > *:last-child, .textarea_editor .district > *:last-child, .textarea_editor blockquote > *:last-child, .textarea_editor td > *:last-child { 
	margin-bottom:0; 
	}
/* 避免爆版 */
.textarea_editor iframe, 
.textarea_editor img, 
.textarea_editor div, 
.textarea_editor p, 
.textarea_editor span, 
.textarea_editor ul,
.textarea_editor ol,
.textarea_editor li,
.textarea_editor figure, 
.textarea_editor figcaption { 
	max-width:100%; 
	}
.textarea_editor * { word-wrap:break-word; }
/* 取消圖片的高度設定避免RWD時不等比例縮放 */
.textarea_editor img { height:auto; }

/* html編輯區的表格外框樣式 */
.textarea_editor .table_style1 { width:100%; border-left:1px solid #000; border-top:1px solid #000; }
.textarea_editor .table_style1 > tbody > tr > th, .textarea_editor .table_style1 > tbody > tr > td { 
	padding:5px 10px; border-right:1px solid #000; border-bottom:1px solid #000; line-height:1.75em; 
	}
.textarea_editor .table_style1 > tbody > tr > th { white-space:nowrap; }
.textarea_editor .table_style1 > tbody > tr > td { background-color:#fff; }


/*----------------------------------------------------------------------*/
/*
    ColorBox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
#colorbox, #cboxOverlay, #cboxWrapper { position:absolute; top:0; left:0; z-index:10001; overflow:hidden; }
#cboxOverlay { position:fixed; width:100%; height:100%; }
#cboxMiddleLeft, #cboxBottomLeft { clear:left; }
#cboxContent { position:relative;font-size:14px; text-align:center; }
#cboxLoadedContent { overflow:auto;padding:30px 5px 60px 5px; }
#cboxTitle { margin:0; }
#cboxLoadingOverlay, #cboxLoadingGraphic { position:absolute; top:0; left:0; width:100%; height:100%; }
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow { cursor:pointer; }
.cboxPhoto { float:left; margin:auto; border:0; display:block; max-width:none; }
.cboxIframe { width:100%; height:100%; display:block; border:0; }
#colorbox, #cboxContent, #cboxLoadedContent { box-sizing:content-box; }

#colorbox_thum { display:flex; align-items:center; flex-wrap:wrap; }
#colorbox_thum a { display:block; text-align:center; vertical-align:middle; }
#colorbox_thum a:hover { 
    transform: scale(1.02);
	}
#colorbox_thum a * { vertical-align:middle; }
#colorbox_thum a span { display:inline-block; height:100%; }
#colorbox_thum a img { max-width:100%; max-height:100%; }

@media screen and (max-width:399px) {
#colorbox_thum { margin-left:-5px; margin-right:-5px; }
#colorbox_thum a { padding:5px; }
}
@media screen and (min-width: 400px) {
#colorbox_thum { margin-left:-10px; margin-right:-10px; }
#colorbox_thum a { padding:10px; }
}

@media screen and (max-width: 639px) {
#colorbox_thum a { width:140px; height:100px; }
}
@media screen and (min-width: 640px) and (max-width: 1199px) {
#colorbox_thum a { width:180px; height:120px; }
}
@media screen and (min-width: 1200px) {
#colorbox_thum a { width:220px; height:145px; }
}

/* 
    User Style:
    Change the following styles to modify the appearance of ColorBox.  They are
    ordered & tabbed in a way that represents the nesting of the generated HTML.
*/
#cboxOverlay { background:#000; }
#colorbox {}
    #cboxContent { margin-top:20px; }
        .cboxIframe { background:#fff; }
        #cboxError { padding:50px; border:1px solid #ccc; }
        #cboxLoadedContent { border:5px solid #000; background:#000; }
        #cboxTitle { position:absolute; bottom:10px; *bottom:20px; left:0; width:100%; padding:0 10px; box-sizing:border-box; color:#fff; line-height:18px; }
        #cboxCurrent { position:absolute; top:-20px; right:0px; color:#ccc; }
        #cboxSlideshow { position:absolute; top:-20px; right:90px; color:#fff; }
        #cboxPrevious { 
			position:absolute; top:50%; left:5px; margin-top:-32px; background:url("../images/colorbox_controls.png") no-repeat top left; 
			width:28px; height:65px; text-indent:-9999px;
			}
        #cboxPrevious:hover { background-position:bottom left; }
        #cboxNext { 
			position:absolute; top:50%; right:5px; margin-top:-32px; background:url("../images/colorbox_controls.png") no-repeat top right; 
			width:28px; height:65px; text-indent:-9999px;
			}
        #cboxNext:hover { background-position:bottom right; }
        #cboxLoadingOverlay { background:#000; }
        #cboxLoadingGraphic { background:url("../images/colorbox_loading.gif") no-repeat center center; }
        #cboxClose { 
			position:absolute; top:5px; right:5px; display:block; background:url("../images/colorbox_controls.png") no-repeat top center; 
			width:50px; height:30px; text-indent:-9999px;
			}
        #cboxClose:hover {background-position:bottom center; }

		
/*----------------------------------------------------------------------*/
/*測試用menu*/
.ifun_text_menu { position:fixed; top:0; left:0; z-index:100000; }
.ifun_text_menu ul { box-sizing: content-box; }
.ifun_text_menu a { display:block; text-decoration:none; }
.ifun_text_menu li:hover > a { color:red; }
.ifun_text_menu > ul > li > a { text-indent:-10000px; width:20px; height:20px; }

.ifun_text_menu > ul ul { display:none; position:absolute; width:150px; border:1px solid #ccc; }
	.ifun_text_menu ul ul ul ul { width:200px; }
.ifun_text_menu > ul ul::before { 
	content:''; display:block; position:absolute; top:12px; left:-12px; width:5px; height:5px;
	border-left:1px solid #999; border-top:1px solid #999;
	transform: rotate(135deg);
	}
	.ifun_text_menu li:hover > ul::before { border-color:red; }
.ifun_text_menu > ul > li > ul { top:20px; left:0; }
.ifun_text_menu > ul > li > ul ul { top:-1px; left:150px; }
.ifun_text_menu > ul li:hover > ul { display:block; } 
.ifun_text_menu > ul ul li { background-color:rgba(255,255,255,0.85); position:relative; }
.ifun_text_menu > ul ul a { padding:6px 10px; line-height:125%; font-size:14px; color:#333; }