﻿/* common styles */
body {
	text-align:left;
	margin: 0;
	padding: 0;
	background-color:#8bb7c1;
}
body.tc,
body.sc {
	font-size: 1.15em;
	font-family: "標楷體","DFKai-sb",serif,"微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU";
}
body.en {
	font-size: 1.2em;
	font-family: "Roboto", arial, "微軟正黑體", "Microsoft JhengHei", "新細明體", "PMingLiU", "細明體", "MingLiU", serif;
}

#noscript {
	background-color: #ae0000;
	color: #8bb7c1;
	font-size: 14px;
	font-weight: bold;
	left: 0;
	top: 0;
	padding: 5px 0;
	position: fixed;
	text-align: center;
	width: 100%;
	z-index: 999;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label,
label:hover {
	font-weight: bold;
	cursor: pointer !important;
}

.topbar {
	line-height: 1.75em;
	font-size:0.7em;
	z-index: 10;
	background-color: #f1efe2;
}
.topbar_l {

	display: inline-block;
	float: left;


}
.topbar_r {

	display: inline-block;
	float: right;

}
.topbar a, .bottombar a { color: #2e1d1d; }
.topbar a:hover, .bottombar a:hover { color: #47919F; }
.topbar .lang,
.topbar .text,
.topbar .share {
	display: inline-block;
	padding-right: 5px;
}

.topbar .share {
	font-size: 160%;
}

.topbar .lang a {
	padding: 0 5px;
	font-size: 180%;
}
.topbar .text a {
	display: inline-block;
	vertical-align: text-bottom;
	height: 30px;
	width: 30px;
	padding: 0 1px;
	background-color: #a0a0a0;
	background-image: url(../img/text.png);
	background-repeat: no-repeat;
}
.topbar .text a#font_s {background-position: 0px -30px }
.topbar .text a#font_s.active,
.topbar .text a#font_s:hover { background-position: 0px 0px }
.topbar .text a#font_m { background-position: -30px -30px }
.topbar .text a#font_m.active,
.topbar .text a#font_m:hover { background-position: -30px 0px }
.topbar .text a#font_l { background-position: -60px -30px }
.topbar .text a#font_l.active,
.topbar .text a#font_l:hover { background-position: -60px 0px }

.bottombar {
	background-color: #b7b7b7;
	padding: 30px;
	margin-top: 15px;
}
.bottombar .issue {	text-align: right; }
.bottombar .issue a { padding: 0 5px; }

.content {

	background-color:#8bb7c1;
	clear: both;
	padding-bottom: 20px !important;
}

.learnmore {
	text-align: right !important;
	display: block;
	margin: 5px 0;
	cursor: pointer;
}

.zoom {
	display: inline-block;
	overflow: hidden;
}
.zoom img {
	transition-duration: 0.25s;
	animation-timing-function: ease-in;
}
.zoom:hover img { transform: scale(1.04); }

.ui.attached.menu .item {
	text-align: center;
	font-weight: bold !important;
}
.en .ui.menu .item {
	flex: inherit;
}

.ui.floated.image {
	margin-right: 1em !important;
}

.ui.card.rdbtm_r {
	margin-top: 0;
}
.ui.card.rdbtm_r .content {
	background-color: #F9B354;
}

.float_l {
	float: left;
	margin: 0 20px 10px 0;
}
.float_r {
	float: right;
	margin: 0 0 10px 20px;
}

.caption {
	text-align: center;
	margin: 0 !important;
	font-weight: bold;
	color: rgb(0, 181, 173);
}

.ui.basic.modal .storylink {
	color: #8bb7c1;
}

.modal p,
.modal h2 {
	text-align: justify;
}

.nowrap {
	white-space: nowrap;
}

/* 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 */
}

.textsize {
	font-size: 1em;
	line-height: 1em;
}

@media only screen and (max-width: 300px) {

	.ic-mobilehide,
	.ic-header .ic-title,
	.ic-header .ic-earth {
		display: none !important;
	}
	
	.ic-header {
		margin-top: -43px;
		background-image: none;
	}
	
}

@media only screen and (max-width: 500px) {

	.ribbon_limit {
		max-width: 15rem;
	}

}