﻿/* RESET */
html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input,abbr,article,aside,command,details,figcaption,figure,footer,header,hgroup,mark,meter,nav,output,progress,section,summary,time { margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em,strong,th,figcaption { font-size: 1em; font-weight: normal; font-style: normal; }
* { font-family: 'Microsoft JhengHei','微軟正黑體', 'Arial', 'sans-serif'; }
fieldset,iframe { border: none; }
caption,th { text-align: left; }
h1 { font-size: 26px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
div, span, ul, ol, li ,a { box-sizing: border-box; }

/* IMPORT 
@import url('nav.css');*/

/* TYPE */
html { /* overflow-y: scroll; */ }
body { font-family: Arial, Verdana, sans-serif; font-size: 1em; color: #666666; letter-spacing: 0.05em; line-height: 1.6em;background-color: #eeeeee; }
a { color: #6f9bab; text-decoration: none; }
p { margin-top: 1em; margin-bottom: 1em; }
a:hover { text-decoration: underline; border-bottom-color: #6f9bab; }
a#top { position: absolute; }
strong, b { font-weight: bold; }
em, i { font-style: italic; }
sup { padding-left: 1px; font-size: 10px !important; font-weight: normal !important; vertical-align: baseline; position: relative; bottom: 0.33em; color: #76797c; _position: static !important; }
abbr { border: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; }
fieldset { margin: 15px 0px; }
label { display: inline-block; width: 220px; line-height: 28px; white-space: nowrap; text-align: left; }
input[type="text"] { display: inline-block; font-family: Arial, Verdana, sans-serif; width: 200px; border: solid 1px #999999; padding: 4px 6px; background-color: white; margin: 2px 0px; }
input[type="text"]:hover { background-color: #fffac8; }
textarea { font-family: Arial, Verdana, sans-serif; border: solid 1px #999999; padding: 4px 6px; background-color: white; margin: 2px 0px;  }
textarea:hover { background-color: #fffac8; }

/* LAYOUT */
#bg { /* background: #FFF url('../images/bg_top_repeat.jpg') center top repeat-x; */ position: absolute; height: 100%; width: 100%;  }
#wrapper { position: relative; max-width: 1150px; width: 100%; margin: 0 auto; }
#rthklogo { position: absolute; left: 15px; top: 10px; z-index: 99; }

/* #logo { position: absolute; left: -25px; top: 50px; z-index: 10; height: 240px; width: 240px; }*/ 
#logo { padding: 15px; text-align: center; }
#logo a { display: block; padding: 5px; }
#logo2 { background: url('../images/bg_logo.jpg'); display: none; position: absolute; top: 0; right: 172px; width: 356px; height: 82px; }
#footer { clear: both; width: inherit; ; background-color: #bdb9ae; /* margin-top: 5px; */ box-shadow: 1px 1px 3px #c9c4b7; }
#footer span { font-size: 13px; color: #5b5b5b; padding: 0 15px; line-height: 40px; text-align: left; color: #333; }
#header { position: relative; /* width: 1150px; height: 220px; */ background: #b29d54 url('../images/bg_menu2.jpg?2024') top center no-repeat; background-size: 100% auto; margin-bottom: 8px; box-shadow: 1px 1px 3px #c9c4b7; }
#sideCol { position: relative; float: left; width: 180px; /* overflow-y: hidden; */ }
#sideCol ul.cleanListStyle li { width: 100%; flex: 0 0 100%; }
#subMenuCol { position: relative; float: left; width: 150px; }
#main { position: relative; z-index: 0; float: left; width: calc(100% - 270px); /* [disabled]overflow: hidden; */ }
#main.home { width: 100%; height: auto; float: none; }
#sideCol { position: relative; float: right; width: 260px; margin-bottom: 8px; }
#topic-list { background-color: white; padding: 20px; box-shadow: 1px 1px 3px #c9c4b7; margin-bottom: 8px; }
#topic-list h4 { color: #7f6c32; font-weight: bold; }
#topic-list li { width: 23%; flex: 0 0 25%; }
#topic-list.home { width: auto; float: none; }
#topic-list.home li { margin: 3px 0px; width: 23%; }
#box-banner { position: relative; height: 112px; text-align: center; text-align: center; background-color: rgba(178,157,84,0.6);  }

/* GLOBAL CLASS */
a.play-btn { display: inline-block; color: white; border-bottom: solid 1px #cbc5b2; text-decoration: none; padding: 8px 10px 8px 32px; margin-bottom: 10px; float: left; margin-right: 10px; line-height: 20px; background: #867744 url("../images/btnplay_bg.gif") left center no-repeat; }
a.play-btn:hover { background: #867744 url("../images/btnplay_bg_hover.gif") left center no-repeat; }
.clear { clear: both; }
.content { color: #6e6a5e; margin-top: 8px; padding: 20px; }
.remarks { font-size: 11px; }
.subtitle { font-weight: bold; color: #e42234; font-size: 15px; }
.imgborder { border: solid 1px #cccccc; padding: 0px; background: white; margin: 0px; }
ul.cleanListStyle { font-size: .9em; width: 100%; display: flex; flex-wrap: wrap; list-style: none; padding: 10px; box-sizing: border-box; }
ul.cleanListStyle li  { flex: 0 0 33.3%; background: url('../images/square2.gif') 0px 10px no-repeat; color: #666666; margin: .3em 0px; }
ul.cleanListStyle li a { display: block; white-space: nowrap; text-overflow: ellipsis; color: #666666; text-decoration: none; padding-left: 15px; font-size: 16px; }
ul.cleanListStyle li a:hover { color: #6f9bab; text-decoration: underline; }

/* box-alltopic */
#box-alltopic .title { background: url('../images/title_bg.png?2024') no-repeat; font-size: 20px; font-weight: bold; line-height: 45px; color: white; padding-left: 30px; box-shadow: 1px 1px 3px #c9c4b7; }
#box-alltopic .content { background-color: #e7e1d3; box-shadow: 1px 1px 3px #c9c4b7; }
#box-alltopic .content ul li { /* float: left; width: 23%; font-size: 15px; margin: 5px 0px; */ flex: 0 0 25%; }
/* #box-alltopic .content ul li a:hover { background-color: #cfc7ad; color: white; }*/
#box-alltopic h2 { color: #755f3c; font-weight: bold; }

/* SHARING */
#sharing { position: absolute; right: 10px; top: 10px; z-index: 98; }
#sharing .gh-share-options { position: absolute; top: 0; right: 0; background: url('../images/btn_share.png') left top no-repeat; width: 57px; height: 30px; background-size: 57px 30px; z-index: 10; }
#sharing .gh-share-options a#icon-facebook { display: block; height: 18px; width: 20px; position: absolute; left: 8px; top: 7px; }
#sharing .gh-share-options a#icon-twitter { display: block; height: 18px; width: 20px; position: absolute; left: 33px; top: 7px; }
#sharing .gh-share-options a#icon-weibo { display: block; height: 18px; width: 20px; position: absolute; left: 56px; top: 7px; }
#sharing .btn-share { position: absolute; top: 0; right: 0; visibility: hidden; width: 38px; height: 38px; z-index: 9; cursor: pointer; }
#sharing .btn-share img  { height: inherit; width: inherit; }
.btn-menu { visibility: hidden; position: absolute; top: 8px; left: 8px; width: 38px; height: 38px; z-index: 85; border-radius: 4px; overflow: hidden; }
.btn-menu img { height: inherit; width: inherit; }

/* HEADER */
#nav { /* width: inherit; position: absolute; top: 110px; right: 0; */ } 
#nav ul { list-style: none; padding: 0; margin: 0; text-align: center; overflow: hidden; } 
#nav ul li { display: inline-block; padding: 0; margin: 0; background-color: #7c6d39; margin-right: 5px; }
#nav ul li.selected { background-color: #4f4522; } 
#nav ul li a { text-decoration: none; font-weight: bold; text-align: center; display: inline-block; min-width: 125px; padding: 10px 12px; color: white; box-shadow: 1px 1px 3px #7c6d39; } 
#nav ul li a:hover { background-color: #bda75d; }
#box-highlights {}
#box-alltopic { margin-bottom: 8px; } 

/* PODCAST */
#box-podcasts { width: inherit; /* overflow: hidden; */ }
#box-podcasts .title { background: url('../images/title_bg.png?2024') no-repeat; font-size: 20px; font-weight: bold; line-height: 45px; color: white; padding-left: 30px; box-shadow: 1px 1px 3px #c9c4b7; }
#box-podcasts .container { width: 100%; padding-bottom: 8px; display: flex; flex-wrap: wrap; justify-content: space-between; }
div.item-podcastBox { position: relative; width: calc(50% - 4px); flex: 0 0 calc(50% - 4px); background-color: #e6e1d2; /*float: left;  width: 482px; margin-right: 8px; */ margin-top: 8px; overflow: hidden; box-shadow: 1px 1px 3px #c9c4b7; }
div.item-podcastBox .pod-pic { display: block; background-color: #6b5825; height: 220px; /* width: 220px; */}
div.item-podcastBox .pod-pic img { display: block; opacity: 0.5; height: inherit; width: inhert; }
div.item-podcastBox .info {/* position: absolute; left: 205px; top: 0px; */ }
div.item-podcastBox .pod-title { display: block; padding: 15px 15px 10px 15px; font-size: 24px; font-weight: bold; color: #544731; }
div.item-podcastBox .pod-detail { display: block; padding: 0px 10px 15px 15px; overflow-y: auto; height: 170px; /* color: #544731;*/ }
div.item-podcastBox  a { color: #666; display: flex; /* width: 480px; height: 170px;  overflow: hidden; */ }
div.item-podcastBox  a:hover img { opacity: 1; background-color: #cfc7ad; }
div.item-podcastBox  a:hover  { background-color: #cfc7ad; color: #544731; }
div.item-podcastBox  a:hover  .pod-title  { text-decoration: underline; }

/* LATEST ARTICLE */
.box-topic { position: relative; background-color: #e6e1d2; width: calc(33.3% - 5px); flex: 0 0 calc(33.3% - 5px); /* height: 271px; width: 316px;  float: left; */ overflow: hidden; /*margin-right: 10px; */  margin-bottom: 10px;box-shadow: 1px 1px 3px #c9c4b7; }
.box-topic .topic-head { background: #e6e1d2 url('../images/left_block.gif') no-repeat; padding: 10px 10px 0px 10px; }
.box-topic .title { padding: 0px;  font-weight: bold; font-size: 22px; height: 60px; line-height: 1.4em; text-overflow: ellipsis; overflow: hidden; }
.box-topic .title  a { display: block; padding-left: 8px; color: #5e5434; }
.box-topic .date { display: inline-block; background: url('../images/line.gif') left center no-repeat; color: #909090; font-size: 13px; line-height: 1.8em; text-align: right; padding-left: 10px; }
.box-topic a { display: block; /* width: inherit; */ color: #7b6c38; }
.box-topic .category { display: inline-block; margin-left: 10px; }
.box-topic .category a { color: #96895f; text-decoration: none; display: inline-block; margin-right: 8px; line-height: 2.2em; }
.box-topic .category a:hover { text-decoration: underline; }
.box-topic .coverimage { width: auto; padding: 6px; }
.box-topic .coverimage img { width: 100%; height: auto; background-color: white; }

#feature.box-topic  { width: 100%; height: auto; overflow: hidden; margin-bottom: 8px; }
#feature.box-topic .title { clear: both; font-size: 2em; padding: 0px; height: auto; max-height: 90px; line-height: 1.4em; margin-top: 10px; margin-bottom: 10px; overflow: hidden; }
#feature.box-topic .desc { float: right;  width: calc(100% - 480px); color: #6e6a5e; padding: 0px 20px 15px 20px; line-height: 1.8em; overflow: hidden; max-height: 170px; text-overflow: ellipsis; }
#feature.box-topic .desc p { margin: 0px; }
#feature.box-topic .coverimage { float: left; width: 480px; padding-right: 0px; }
#feature.box-topic .topic-head { float: right; width: calc(100% - 480px); padding: 10px 10px 10px 15px; margin: 0px; }
#feature.box-topic .more a { text-align: right; margin-right: 15px; margin-bottom: 10px; color: #b49e55; font-weight: bold; line-height: 2.2em; }
#sidefeature { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; }

/* BOX-ARTICLE */
#box-article { margin-bottom: 8px; box-shadow: 1px 1px 3px #c9c4b7; }
.head-title { background: #647e87 url('../images/title_bg.png?2024') no-repeat; font-size: 1.3em; font-weight: bold; line-height: 1.5em; padding: 10px; color: white; padding-left: 25px; }
.head-date { display: inline-block; color: white; font-weight: bold; font-size: 15px; padding-right: 15px; opacity: 0.6; }
.box-social { padding: 10px 0px 10px 19px; border-left: solid 10px #b6ac8b; background-color: #e6e1d2; height: 35px; /* overflow: hidden; */ }
.box-social div.facebook, .box-social div.twitter, .box-social div.google { width: 90px; float: left; }
.box-category a { display: inline-block; padding: 5px 10px; color: #6d6445; background-color: #cec6ae; }
.box-category a:hover { background-color:#9b8950; color: white; text-decoration: none; }
.box-title { border-left: solid 10px #b6ac8b; background-color: #e6e1d2; color: #6d6445; font-weight: bold; font-size: 20px; line-height: 45px; padding-left: 15px; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 1px; }
.box-content { background-color: #e7e1d3; color: #464237; /* font-size: 14px; */ line-height: 1.8em; padding: 10px 20px 10px 20px; }
.box-content p { margin-top: 0px; }

/* BOX-TOPIC */
#box-topic { position: absolute; left:0; top: 230px; z-index: 0; float: left; margin-bottom: 8px; margin-top: -170px; width: inherit; background: url('../images/bg_topic.gif') no-repeat; height: 195px; overflow: hidden; box-shadow: 1px 1px 3px #c9c4b7; }
#box-topic .title { position: absolute; width: 180px; left: 70px; top: 30px; color: white; font-size: 22px; line-height: 30px; font-weight: bold; }
#box-topic .picture { position: absolute; right: 5px; top: 5px; width: 465px; height: 179px; }

/* BOX-COMMENT */
#box-comment  { margin-bottom: 8px; box-shadow: 1px 1px 3px #c9c4b7; }
#box-fb-comment { box-shadow: 1px 1px 3px #c9c4b7; margin-bottom: 8px; }

/* BOX-RELATED */
#box-related  { margin-bottom: 8px; box-shadow: 1px 1px 3px #c9c4b7; }
#box-related  ul.cleanListStyle { display: flex; flex-wrap: wrap; justify-content: space-between; }
#box-related  ul.cleanListStyle li { width: 49%; flex: 0 0 49%; }
#box-related  ul.cleanListStyle li a { display: block; color: #464237; /* font-size: 1.2em; */ overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* PROG-LIST */
#prog-list { display: flex; height: 180px; width: 1150px; overflow: hidden; }
#prog-list a { text-decoration: underline; background-color: #759391; overflow: hidden; border-right: solid 1px #cccccc; }
#prog-list a div { text-decoration: none; }
#prog-list a:hover { text-decoration: none; background-color: #4f6562; }
#prog-list a.prog-item { width: 128px; flex: 0 0 128px; display: block; /* width: 119px; float: left; height: 170px;*/ }
#prog-list a#prog9.prog-item { width: 126px; border: none; }
#prog-list a.prog-item .prog-id { margin: 0 auto; background: white url('../images/prog_menu_202406.png'); height: 0px; padding-top: 100px; overflow:hidden; }
#prog-list a.prog-item .epi-detail { color: white; font-size: .9em; padding: 5px 8px 0px 8px; line-height: 20px; max-height: 3em; overflow: hidden; }
#prog-list a.prog-item .epi-date { color: #adcdca; font-size: 13px; padding: 0px 8px 3px 8px; margin-top: 5px; line-height: 1.4em; }
#prog-list a#prog1 .prog-id { background-position: 0px 0px; }
#prog-list a#prog2 .prog-id { background-position: -128px 0px; }
#prog-list a#prog3 .prog-id { background-position: -256px 0px; }
#prog-list a#prog4 .prog-id { background-position: -384px 0px; }
#prog-list a#prog5 .prog-id { background-position: -512px 0px; }
#prog-list a#prog6 .prog-id { background-position: -640px 0px; }
#prog-list a#prog7 .prog-id { background-position: -768px 0px; }
#prog-list a#prog8 .prog-id { background-position: -896px 0px; }
#prog-list a#prog9 .prog-id { background-position: -1022px 0px; }
#prog-list a:hover#prog1 .prog-id { background-position: 0px    -100px; }
#prog-list a:hover#prog2 .prog-id { background-position: -128px -100px; }
#prog-list a:hover#prog3 .prog-id { background-position: -256px -100px; }
#prog-list a:hover#prog4 .prog-id { background-position: -384px -100px; }
#prog-list a:hover#prog5 .prog-id { background-position: -512px -100px; }
#prog-list a:hover#prog6 .prog-id { background-position: -640px -100px; }
#prog-list a:hover#prog7 .prog-id { background-position: -768px -100px; }
#prog-list a:hover#prog8 .prog-id { background-position: -896px -100px; }
#prog-list a:hover#prog9 .prog-id { background-position: -1022px -100px; }

/* PHOTO LIST */
ul.photoListStyle { list-style: none; padding: 0px; margin: 10px 0px; }
ul.photoListStyle li { float: left; background-color: white; padding: 4px; margin: 5px; color: #68708a; }
ul.photoListStyle li a { width: 100%; display: block; }
ul.photoListStyle li:hover { background-color: #8db2c0; }
ul.photoListStyle.single li { width: 97%; }
ul.photoListStyle.double li { width: 46%; }
ul.photoListStyle.triple li { width: 30%; }
ul.photoListStyle li img { width: inherit; height: auto; }

/* Blog - Photo List
.photoList {}
.photoList ul { list-style: none; margin:0; }
.photoList ul li { padding: 0px; margin: 0px; width: 25%; height: auto; float: left; }
.photoList ul li { text-align: center; }
.photoList.single ul li { width: 100%; height:100%; }
.photoList.single ul li img { max-width: inherit; max-height: inherit; }
.photoList.double ul li { width: 50%; height: 50%; }
.photoList.single ul li img { width: 100%; height: auto; }
.photoList.triple ul li { width: 33%; height: 33%; }
.photoList.single ul li img { width: 100%; height: auto; }
.photoList ul li img { width: 100%; height: auto; }
.photoList ul li a { display: inline-block; padding: 4px; margin: 2px; }
.photoList ul li a:hover { background-color: #26a55a; }
 */
 
/* Feedback Form */
#fm_feedback { position: relative; width: inherit; }
#fm_feedback label { width: 20%; max-width: 60px; color: #8f8978; vertical-align: top; }
#fm_feedback input[type="text"], textarea {width: 75%; max-width: 200px; margin-bottom: 5px; /* margin-right: 200px; */ border: solid 1px #c0c0c0; }
#fm_feedback textarea { width: 70%; max-width:400px; margin-right: 0px; border: solid 1px #c0c0c0; }
#fm_feedback input[type="submit"], input[type="button"], input[type="reset"] 
 { color: white; border: solid 1px #beb79e; font-size: 16px; font-weight: bold; background: url('../images/btn_bg.gif'); padding: 0 35px; line-height: 35px; margin-top: 2px; margin-right: 4px; }
#fm_feedback input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover { background: url('../images/btn_bg_hover.gif'); } 
#fm_feedback .captchapic { margin-left: 6px; /* position: absolute; left: 285px; top: 140px;*/ }
#fm_feedback .fieldGroup { width: 100%; float: left; }

/* PRINT */
@media print {
    body, #main, #content { color: #000 !important; }
    a, a:link, a:visited { color: #000 !important; text-decoration:none !important; }
    /* #tabs, #globalheader, #globalfooter, #directorynav, .noprint, .hide { display: none !important; } */
}
/* iPhone */
@media screen and (max-device-width: 480px) { html { -webkit-text-size-adjust: none; } }

/* The Magnificent Clearfix: nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; /* IE < 8 */ }
