body {
	margin: 0;
	padding: 0;
}

p {
	font-size: 1.1em;
	text-align: justify;
	text-justify: inter-ideograph;
}
:lang(en) p { font-size: 1em; }

body,
p,
.ui.header,
h1,h2,h3,h4,h5,h6 {
	font-family: "微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb",serif !important;
}
:lang(en) body,
:lang(en) p, 
:lang(en) .ui.header {
	font-family: "Roboto",arial,serif !important;
}

video {
	width: 100%;
	height: auto;
	margin: 0 0 20px 0;
}

table {
	line-height: 1.4285em;
}

.ui.menu,
.ui.vertical.menu {
	background-color: #6f6f6f;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
}
.ui.menu .item,
.ui.menu .item.active {
	color: #fff !important;
	font-weight: bold;
}
.ui.menu .item::before {
    background: rgb(178, 178, 178) !important;
}
.ui.menu .item:hover,
.ui.menu .item.active {
    background-color: rgba(178, 178, 178, .5) !important;
}

@media only screen and (min-width: 901px) {
	.ic-mobileshow {
		display: none !important;
	}
	:lang(en).ic-content {
		padding-top: 55px;
	}
}

@media only screen and (max-width: 900px) {
	.ic-mobilehide {
		display: none !important;
	}
}

@media only screen and (max-width: 767px) {
	.ui.floated.image {
		clear: both !important;
		float: none !important;
		margin: 0 auto !important;
	}
}

.ui.icon.buttons .button .icon {
	vertical-align: bottom !important;
}

.ui.popup {
	text-align: left;
}

.ic-sidebar {
	padding: 0 12px !important;
}

.ic-content {
	padding-top: 41px;
	text-align: left;
}
.ic-content > .ui.grid {
	margin-top: 0px;
}

#navbg {
	background-image: url('../img/bg_color.jpg');
	background-size: 100% 100%;
}
#navblocks {
	text-align: center;
	margin-bottom: 30px;
}
#navblocks img {
	max-height: 140px;
	margin: 15px 10px;
}
#navblocks img:hover {
}

#related {
	background-image: url('../img/related_bg.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	margin: -8px 0;
}
#related img {
	padding: 8px;
}
#related a:hover,
a.image:hover, .vcard .image:hover {
	opacity: 0.7;
	transition: opacity .2s ease-out;
}

.ui.table td {
	font-weight: normal !important;
}

.title {
	background-image: url('../img/bg_color.jpg');
	background-size: 100% 100%;
	padding-bottom: 0 !important;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1), 0 2px 2px 0 rgba(0, 0, 0, 0.1);
}
.title h2 {
	border-radius: 5px 5px 0 0;
	border-left: 12px solid;
	color: #fff;
	margin: 0;
	padding: 5px 30px;
	display: inline-block;
	background-color: #fff;
}

.ic-content > .ui.grid > .title.row > .column {
	padding-bottom: 0 !important;
}

.ic-blue { color: #2e4697 !important;
	border-color: #2e4697 !important; }
.ic-green { color: #0a6435 !important;
	border-color: #0a6435 !important; }
.ic-lime { color: #40ac3e !important;
	border-color: #40ac3e !important; }
.ic-orange { color: #e65028 !important;
	border-color: #e65028 !important; }
.ic-skyblue { color: #3ea7e2 !important;
	border-color: #3ea7e2 !important; }
.ic-red { color: #be1a27 !important;
	border-color: #be1a27 !important; }
.ic-purple { color: #942280 !important;
	border-color: #942280 !important; }

.channel {
	color: #fff;
	font-weight: bold;
	font-size: 1.1em;
	display: block;
	padding: 3px 15px;
	height: 28px;
	background-image: url('../img/green_channel_tc.png');
	background-size: 103px 28px;
	background-repeat: no-repeat;
}
:lang(en).channel {
	background-image: url('../img/green_channel_en.png');
	background-size: 143px 28px;
}

.footer {
	clear: both;
	margin-top: 40px;
	font-size: 0.9em;
}

.spacer {
	height: 3rem;
	clear: both;
}

.sl { white-space: nowrap; }

.notification {
	background-image: url('../img/popup_bg.png') !important;
	background-size: 100% 100% !important;
	background-repeat: no-repeat !important;
	padding: 120px 100px 80px 100px !important;
	font-size: 1.1em !important;
	font-weight: bold;
}

/* fix start for the Semantic UI right menu buttons cannot show on mobile	*/
@media only screen and (max-width: 900px) {
    .item.ic-setting {
        right: 8px;
    }
}
/* fix end	*/

.ui.vertical.menu {
    max-height: 100vh!important;    
}

#wcag {
    max-width: 120px;
}

.title + .column {
  padding-left: 2rem!important;
  padding-right: 2rem!important;
}