@charset "utf-8";

/* ### Layout ### */
body {
	margin: 24px 10px;
	font-family: Helvetica, Arial, sans-serif;
	letter-spacing: 0.06em;
	font-size: 18px;
}
#container {
	position: relative;
}
header {
	margin: 0 0 15px;
}
article {
	margin: 0 0 50px;
}
aside {
	margin: 0 0 50px;
}

/* ### image ### */
img	{
	max-width: 100%;
	height: auto;
}
img.alignleft {
	float: left;
	margin-bottom: 5px;
	border:solid 1px;
	margin-right: 10px;
}
img.alignright {
	float: right;
	margin-bottom: 5px;
	margin-left: 10px;
	border:solid 1px;
}

/* ### header ### */

/* Header image */
#headerimg img {
	vertical-align: bottom;
}

/* Navigation menu */
.pulldown {
	font-family: Helvetica, Arial, sans-serif;;
	font-size: 18px;
	overflow: hidden;
	border-top: solid 1px #ffffff;
	background-color: #000000;
}
.pulldown ul {
	margin: 0;
	padding: 0;
}
.pulldown li {
	list-style-type: none;
	float: left;
}
.pulldown li a {
	display: block;
	width: auto;
	padding: 5px 6px;
	border-right: solid 1px #ffffff;
	color: #ffffff;
	text-decoration: none;
}
.pulldown li:last-child a {
	border-right: none;
}
.pulldown li a:hover	{
	background-color: #0097d8;
}
.pulldown li ul {
	display: none;
	background-color: #000;
	z-index: 99;
	border: 1px solid #FFFFFF;
}
.pulldown li:hover ul {
	display: block;
	position: absolute;
	margin: 0px;
	padding: 4px;
}
.pulldown li:last-child:hover ul {
	margin-left: -2.5em;
}
.pulldown li:hover li {
	float: none;
}
.pulldown li:hover li a {
	background-color: #000;
	padding-top: 2px;
	padding-bottom: 2px;
}
.pulldown li li {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
}
.pulldown li li a {
	border-right: none;
}
.pulldown li li a:hover {
	background-color: #FFFFFF;
	color: #000;
}


/* ### content ### */

/* Headline */
article h1, h2, h3, h4 {
	font-family: "標楷體", Arial, Helvetica, sans-serif;
	font-weight: bold;
}
article h2 {
	font-size: 150%;
	border-bottom: solid 1px #aaaaaa;
	margin: 0 0 6px;
	padding: 0 0 3px;
	color: #004669;
}
article h3 {
	font-size: 125%;
	color: #004669;
}
article h4 {
	font-size: 115%;
}

/* Main content */
article p {
	line-height: 1.4;
}
article a:hover, article a:active {
	background-color: #BBEEFF;
}
article table {
	width: auto;
}
div.td_list ul {	/* added on 2018-3-14 */
	margin-top: 0;
}
div.tn {
	margin-top: 1em;
	margin-bottom: 1em;
}
table.summary_tbl th, td {	/* added on 2018-3-14 */
	vertical-align: top;
	background-color: #F8F8F8;
}

/* Sub-index links */

.idxdiv_container, .subidx_container {
	display: table;
	padding-top: 1.5em;
	width: 100%;
}
.idxdiv_box, .subidx {
	float: left;
	padding: 10px;
	margin-bottom: 10px;
	width:100%;
}
.idxdiv_box {
	text-align: center;
}

.subidx_subject {
	font-weight: bold;
	color: #006699;
	margin-top: 0.2em;
}
.subidx_thumbnail {
	text-align: center;
}
.subidx_thumbnail img {
	border: 1px solid #000000;
	text-align: center;
}

/* ### Travel Tips ### */

ul.tips_list {
	padding-top: 1em;
	line-height: 1.4;
}
ul.tips_list li {
	list-style: none;
	margin-top: 0.8em;
	padding-left: 30px;
	margin-left: -20px;
	max-width: 100%;
}
ul.tips_list li br {  /* added on 2017-07-26, updated 2018-05-09 */
	margin-bottom: 1em;
	line-height: 2em;
}
ul.tips_list li.tips_ico_bike { background: url('/loadfile.php?ico=bike') left top no-repeat; }
ul.tips_list li.tips_ico_bus { background: url('/loadfile.php?ico=bus') left top no-repeat; }
ul.tips_list li.tips_ico_cablecar { background: url('/loadfile.php?ico=cablecar') left top no-repeat; }
ul.tips_list li.tips_ico_camera { background: url('/loadfile.php?ico=camera') left top no-repeat; }
ul.tips_list li.tips_ico_clock { background: url('/loadfile.php?ico=clock') left top no-repeat; }
ul.tips_list li.tips_ico_comm { background: url('/loadfile.php?ico=comm') left top no-repeat; }
ul.tips_list li.tips_ico_drive { background: url('/loadfile.php?ico=drive') left top no-repeat; }
ul.tips_list li.tips_ico_elect { background: url('/loadfile.php?ico=elect') left top no-repeat; }
ul.tips_list li.tips_ico_fly { background: url('/loadfile.php?ico=fly') left top no-repeat; }
ul.tips_list li.tips_ico_footstep { background: url('/loadfile.php?ico=footstep') left top no-repeat; }
ul.tips_list li.tips_ico_gps { background: url('/loadfile.php?ico=gps') left top no-repeat; }
ul.tips_list li.tips_ico_health { background: url('/loadfile.php?ico=health') left top no-repeat; }
ul.tips_list li.tips_ico_hike { background: url('/loadfile.php?ico=hike') left top no-repeat; }
ul.tips_list li.tips_ico_inet { background: url('/loadfile.php?ico=inet') left top no-repeat; }
ul.tips_list li.tips_ico_info { background: url('/loadfile.php?ico=info') left top no-repeat; }
ul.tips_list li.tips_ico_meal { background: url('/loadfile.php?ico=meal') left top no-repeat; }
ul.tips_list li.tips_ico_metro { background: url('/loadfile.php?ico=metro') left top no-repeat; }
ul.tips_list li.tips_ico_money { background: url('/loadfile.php?ico=money') left top no-repeat; }
ul.tips_list li.tips_ico_passport { background: url('/loadfile.php?ico=passport') left top no-repeat; }
ul.tips_list li.tips_ico_question { background: url('/loadfile.php?ico=question') left top no-repeat; }
ul.tips_list li.tips_ico_ship { background: url('/loadfile.php?ico=ship') left top no-repeat; }
ul.tips_list li.tips_ico_shop { background: url('/loadfile.php?ico=shop') left top no-repeat; }
ul.tips_list li.tips_ico_sleep { background: url('/loadfile.php?ico=sleep') left top no-repeat; }
ul.tips_list li.tips_ico_taxi { background: url('/loadfile.php?ico=taxi') left top no-repeat; }
ul.tips_list li.tips_ico_train { background: url('/loadfile.php?ico=train') left top no-repeat; }
ul.tips_list li.tips_ico_walk { background: url('/loadfile.php?ico=walk') left top no-repeat; }
ul.tips_list li.tips_ico_warn { background: url('/loadfile.php?ico=warn') left top no-repeat; }
ul.tips_list li.tips_ico_weather { background: url('/loadfile.php?ico=weather') left top no-repeat; }
ul.tips_list li.tips_ico_wifi { background: url('/loadfile.php?ico=wifi') left top no-repeat; }

/* ### User & wm msgs ### */

a.pagelist_link_currpg {
	font-weight: bold;
	text-decoration: underline;
	font-size: 1.1em;
	background-color: #BBEEFF;
}        
.pagelist_bar {
	font-size: 12pt;
	margin-top: 2em;
	margin-bottom: 1em;
	padding: 2px;
	display: block;
}
.pagelist_link {
	padding: 5px;
	font-size: 1.1em;
}
#ajaxstatus {
	display: none;
	background-color: #CCFFCC;
	font-weight: bold;
	color: #0000FF;
	padding: 5px;
	text-align: center;
}
.art_comments .artidx {
	margin-bottom: 10px;
	margin-top: 1em;
	background-repeat: no-repeat;
}
.usermsg_0, .usermsg_1 {
	padding: 10px;
	display: block;
	border: 1px solid #000000;
	background-color: #FFFFFF;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 18px;
	overflow: auto;
}
.usermsg_0 {
	margin-right: 15%;
}
.usermsg_1 {
	margin-left: 15%;
}
.newmsgbox_0, .newmsgbox_1 {
	margin-bottom: 1em;
	text-align: right;
}
.usermsg_footer {
	padding-top: 10px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000000;
	line-height: 130%;
	font-size: 0.9em;
}
.usermsg_header, .usermsg_header_wm {
	line-height: 120%;
	padding-bottom: 10px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
}
.usermsg_header_wm, .default_currency {
	font-weight: bold;
}
.usermsg_header_wm .keytext {
	color: #FF0000;
}
.usermsg_header_wm .hideif_wm {
	display: none;
}
.usermsg_tophdr {
	line-height: 130%;
	font-size: 0.9em;
}
.usermsg_0 p, .usermsg_1 p {
	line-height: 1.3em;
}
.usermsg_tophdr img {
	margin-left: 2px;
	margin-right: 2px;
	float: left;
}
.wm_announce {
	font-weight: bold;
	color: #0000FF;
}

/* ### input form ### */

#formUserMsg {
	background-color: #FFFFCC;
	border: 1px dashed #000000;
	font-size: 1em;
	padding: 5px;
	margin-top: 1em;
}
#formUserMsg .formlabel {
	padding-top: 5px;
	padding-bottom: 5px;
}
div.formlabel {
	margin-top: 1em;
}
input {width: 100%;
	max-width: 440px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
input[type="radio"]	{
	width: auto;
}
input[type="button"] {
	width: 46%;
	font-family: "標楷體", "新細明體", Helvetica, Arial, sans-serif;
	font-size: 110%;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}
textarea {
	width: 100%;
	max-width: 500px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}

/* ### itinerary tables ### */

table.itinerary {
	border-style: none;
	line-height: 1.1em;
	float: none;
	margin-bottom: 1em;
}
table.itinerary td, th  {
	padding: 3px;
	border: 1px solid #CCCCCC;
}
table.itinerary td {
	background-color: #BBEEFF;
	line-height: 1.3em;
}
table.itinerary th {
	background-color: #006699;
	font-weight: bold;
	color: #FFFFFF;
}
table.itinerary tr td.leftcol {
	font-weight: bold;
	text-align: left;
}

/* URL lists */
nav, #randfto_box, #other_ref, #currency_calc, #WeatherBox, #ArticleCommentHdr {
	margin-bottom: 2em;
}
nav h3, #randfto_box h3, #other_ref h3, #currency_calc h3, #SharePage h3, #WeatherBox h3, #ArticleCommentHdr h3 {
	font-family: "標楷體", "新細明體", Helvetica, Arial, sans-serif;
	font-size: 125%;
	color: #004669;
	padding: 0.3em;
	margin: 0 0 5px;
	border-bottom: solid 1px #aaaaaa;
	clear: both;
}
nav ul, nav p a	{
	margin: 0;
	padding: 0;
}
nav li {
	margin-bottom: 0;
	list-style-type: none;
	border-bottom: solid 1px #aaaaaa;
}
nav li a {display: block;
	font-size: 90%;
	text-decoration: none;
	color: #666666;
	padding: 10px 0 10px 20px;
    background: url('/loadfile.php?png=clickable') left 50% no-repeat;
}
nav li a:hover, nav p a:hover {
	background-color: #BBEEFF;
}
#share_box img {
	margin: 10px;
}

/* ### Side bar ### */

#ftobox, #other_ref a {
	text-align: center;
	padding-top: 0.5em;
	display: block;
}
#ftobox:hover, #ftobox:active {
	background-color: #BBEEFF;
}
input#amt, select#currency {
	width: inherit;
	font-size: 0.9em;
}
.monospace {
	display:block;
	font-family: "Courier New", Courier, monospace;
	font-size: 0.9em;
	text-align: left;
	padding-left: 10px;
}
.hidden {
	display: none;
}

/* ### footer ### */

footer {
	font-family: Helvetica, Arial, sans-serif;
    text-align: center;
    font-size: 0.9em;
	color: #666;
	padding: 1.5em 1em 0;
}
footer p {
	margin: 0;
}
footer small {
	margin-top: 1em;
	display: block;
}
footer p.menu_button {
	margin-bottom: 1em;
}
footer a.menu_button {
	padding: 5px;
	margin-left: 8px;
	margin-right: 8px;
}
footer a:hover, footer a:active {
    height: 2.4em;
}
footer img.menu_button {
    height: 2.4em;
	width: 2.4em;
    border-radius: 5px;
	padding: 3px;
	background-color: #000;
}
footer img.calibration_bar {
	border:1px solid #000;
}
footer img:hover, footer img:active {
	background-color: #BBEEFF;
}

/* ### other styles ### */

acronym {
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #0000FF;
	font-style: italic;
}
dd {
	line-height: 1.4;
}
dt {
	padding-top: 1em;
	padding-bottom: 1em;
	font-weight: bold;
    color: #004669;
}
.alertbox, .infobox {
	background-color: #CCFFCC;
	border: 1px dashed #000000;
	padding: 10px;
	font-size: 0.9em;
	margin: 1em;
	clear: both;
}
.alertbox {
	background-color: #FF9999;
}
.aligncenter {
    text-align: center;
}
.black_border {
	border: dotted 1px #000;
}
.bold {
	font-weight: bold;
}
.clickable:hover, .clickable:active {
	background-color: #BBEEFF;
}
.extra_margin_top {
	margin-top: 2em;
}
.extra_margin_top h3 {
	padding-top: 1em;
}
.float_left {
	float: left;
}
.float_right {
	float: right;
}
.float_off {
	clear: both;
}
.footnote {
    font-size: 0.8em;
}
.full_width {
	clear: both;
}
.grey_box {
	background-color: #F0F0F0;
	border: dotted 1px #000;
	padding-left: 5%;
	padding-right: 5%;
}
.indented {
	font-size: 0.95em;
	margin-right: 1.5em;
	margin-left: 1.5em;
}
.keytext {
	font-weight: bold;
	color: #006699;
	padding-right: 5px;
	padding-left: 5px;
}
.lastupdate {
	font-style: italic;
	font-size: 85%;
}
.narrow_tbl {
	font-size: 75%;
}
.pg_list_box {
	text-align: left;
	line-height: 150%;
}
.popup_box {
	position:absolute;
	top:1.1em;
	left:0px;
	width:200px;
	height:auto;
	z-index:1;
	color: #000000;
	background-color: #EEEEEE;
	text-align: left;
	padding: 10px;
	border: thin dashed #004669;
	display: block;
	visibility: hidden;
}
.popup_ptr {
	position: relative;
	margin-top: -0.3em;
	font-size: 0.85em;
	color: #0000CC;
}
.popup_fullscrn {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 10px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(16,16,16); /* Fallback color */
    background-color: rgba(16,16,16,0.9);
	text-align: center;
}
.popup_fullscrn a {
	color: #FFF;
	font-weight: bold;
}
.popup_fullscrn img {
    max-width: 100%;
    max-height: 95%;
}
.right_aligned {
	text-align: right;
}
.rss_link	{
	text-align: right;
	width: 100%
}
.rss_icon {
	background: #004669;
	padding-left: 0.6em;
	padding-right: 0.6em;
	font-size: .7em;
	color: #FFFFFF;
	padding-top: .2px;
	padding-bottom: .2px;
	margin-left: 0.5em;
	border: thin outset #004669;
}
.text_button, #RecommendRight {
/*	padding: 5px 15px 5px 15px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;*/
	padding: 5px 10px 5px 10px;
	border:1px solid #000000;
	-webkit-box-shadow: #B3B3B3 3px 3px 3px;
	-moz-box-shadow: #B3B3B3 3px 3px 3px;
	box-shadow: #B3B3B3 3px 3px 3px;
	margin-right: 8px;
	font-family: "標楷體", "新細明體", Helvetica, Arial, sans-serif;
	font-size: 1.1em;
}
.withborder {
	border: 1px solid #000;
}

/* default collapsed content */
#addmsg, #bigmap, #currency_calc, #my_sites, #new_articles, #new_usermsgs, #pg_list_1, #pg_list_2, #recommend_articles, #share_box, #top_articles, #weather_box, #WeatherBox, #WeatherDiv {
    display: none;
}
