/* CSS Document */

/* for common base */ 
html, body {
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	font-family: "微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb",serif;
}
p, li {
	line-height: 1.5em;
	text-align: justify;
	text-justify: inter-ideograph;
}
img {
	border: 0px;
	height: auto;
}
a {
	text-decoration: none;
	color: #001df8;
}
a:hover {
	color: #b20000;
}
.clear {
	clear: both;
}
/* for general use */ 
.responsive-img {
	width: 100%;
}

.nowrap {
	white-space: nowrap;
}
.highlight {
	font-weight: bold;
}
/* for header menu, body and footer */
#wrapper {
	max-width: 1280px;
	margin: auto;
}
#footer {
	height: 5px;
	background-color: #8D7693;
}
#function_bar {
	min-height: 35px;
}
/* for function head bar */
#function_menu {
	position: fixed;
	top: 0;
	text-align: right;
	z-index: 100;
}
#lang_switch, #size_switch {
	display: inline;
	padding-left: 0.5em;
	padding-right: 0.5em;
	line-height: 1.5em;
}
.lang_line {
	display: inline-block;
	overflow: hidden;
	color:#8b6797;
}
.lang_button {
	margin: 2px 4px 0px 4px;
	padding: 0.1em 0.2em 0.1em 0.2em;
	display: inline-block;
	height: 23px;
	background-color: #ffffff;
	overflow: hidden;
}
#normal, #large, #largest {
	margin: 2px 3px 0px 3px;
	display: inline-block;
	width: 23px;
	height: 26px;
	text-indent: 3em;
	background-color: #ffffff;
	overflow: hidden;
}
#normal {
	border: 1px solid #A896AE;
	background-image: url('../../img/normal.png');
}
#large {
	border: 2px solid #A896AE;
	background-image: url('../../img/large.png');
}
#largest {
	border: 3px solid #A896AE;
	background-image: url('../../img/largest.png');
}
#normal:hover, #large:hover, #largest:hover, .lang_button:hover {
	background-color: #d6e8ee;
}
.current_button {
	background-color: #F1D5FB!Important;
}
/* for web accessibility */ 
.hidden {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
#wcag-para {
	text-align: right;
	font-size: 90%;
	padding-right: 5px;
}

/* for Section Menu */ 
#section_menu {
	padding-top: 50px;
	margin-bottom: 5px;
	float: left;
	width: 18%;
	border-right: 1px solid #8D7693;
}
#section_menu img {
	max-width: 95%;
}
/* for Section Menu mobile */ 
@media only screen and (max-width: 700px) {
#section_menu {
	padding-top: 0px;
	width: 100%;
	min-height: initial;
	border: 0px;
	clear: both;
}
}
/* for inside pages */ 
#content {
	float: left;
	padding-right: 50px;
	padding-left: 50px;
}
#inside-page-photo {
	text-align: center;
}
#inside-page-photo img {
	margin-top: 10px;
	margin-left: 20px;
	margin-right: 20px;
	padding-top: 8px;
	padding-left: 24px;
	background-color: #F44E74;
}
/* for photo resize on mobile */ 
@media only screen and (max-width: 700px) {
#content {
	clear: both;
	max-width: 95%;
	padding-right: 10px;
	padding-left: 10px;	
}
#inside-page-photo img {
	padding-top: 6px;
	padding-left: 18px;
	max-width: 85%;
}
}
.highlight-heading {
	font-weight: bold;
	font-size: 130%;
	padding-bottom: 1px;
	border-bottom: 3px solid #F44E74;
	color: #816c86;
}
.indent {
	padding-left: 3em;
	text-indent: -3em;
}
.captioned-image {
	background-color: #F44E74;
	text-align: center;
	display: table;
	margin: auto;
}
.captioned-image a {
	color: #ffffff;
}
.captioned-image img {
	padding-top: 8px;
	padding-left: 24px;
}
.caption-text {
	display: table-caption;
	caption-side: bottom;
	background-color: #c54764;
	padding-bottom: 3px;
	margin-bottom: 1em;
}

/* fix for Chrome on nowrap problem */
.chrome_fix {
	font-size: 0.1px;	/* make it very small */
	line-height: 0.1px;
	visibility: hidden;	/* make it not visable */
}

/* no use */
.file {
	padding: 0px 5px;
}
.paragraph {
	padding: 0 0 1em 2em;
	clear: both;
}
.para_img {
	width: 90%;
	float: right;
	padding: 0 10px 0 10px;
}
