﻿body {
	margin: 0;
	padding: 0;
	background-size: 1025px 1500px;
	text-align: left;
	background:#ffffff;
}

body.tc,
body.sc {
	font-family: "微軟正黑體","Microsoft JhengHei","新細明體","PMingLiU","細明體","MingLiU","標楷體","DFKai-sb",serif;
	font-size: 1.14em;
	background:#ffffff;
	
}
h3{font-weight: bold;color:#bc4f0b}

body.en {
	font-family: arial;
	font-size: 1em;
	background:#ffffff;
}

body, p, div {
	text-align: left;
	text-justify: inter-ideograph;
}

#wrapper {
	padding-top:100px;
}

#header{
	position: fixed;
	top: 0;
	width: 100%;
	height: 55px;
	overflow: hidden;	
	background-color: #ffffff;
	z-index: 999;
}

.header_img {
	padding-left: 10px;
	height: 100%;
	max-height: 54px;
}

#reg-button {
	vertical-align: top;
	margin-top: 7px;
}

#head-menu {
	margin-top: 55px;
}

#still_head {
	width: 100%;
}

@media only screen and (min-width: 1024px) {
	#mobile_head {
		display: none;
	}
	#desktop_head {
		display: initial;
	}	
}

@media only screen and (max-width: 1024px) {
	#desktop_head {
		display: none;
	}	
	#mobile_head {
		display: initial;
	}
	.header_img {
		padding-left: 0px;
	}	
}

/*------------------------------------------------------------------start of sliding object*/
#mask {
	padding-left:0px;		/* mask position */
	padding-top:0px;
	width:auto;
	height:auto;
}

/* sliding the background */
#sliding_img {
	height: 340px;  /*Background Height*/ 
	width: 1024px;
	margin:auto;	
    background: white url(../img/bg.jpg) repeat-x;
	background-size: cover; 	
	padding-top:0px;
	margin-bottom: 60px;
	animation: slide 50s linear infinite;			/* for IE animation */
    -webkit-animation: slide 200s linear infinite;	/* for Chrome, Firefox, Edge animation */
}

/* for IE anmiation */
@keyframes slide {	
 from {
	background-position: -1770px 0px;
	}
 to {
	background-position: -663px 0px;		/* Background image full width */
	}
}

/* for Chrome, Firefox, Edge animation */
@-webkit-keyframes slide {
 from {
	background-position: -1770px 0px;
	position: 0 0;
	}
 to {
	background-position: -663px 0px;		/* Background image full width */
	position: -665px 0;
	}
}

/*------------------------------------------------------------------end of sliding object*/

#earth {	
  position: absolute;
  top: 142px;								/* Earch position */
  left: 439px;
  width:68px;

}

#index_harbour {
	width: 100%;	
}

.newspaper {
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
    -moz-column-gap: 40px; /* Firefox */
    column-gap: 40px;
    -webkit-column-rule-style: solid; /* Chrome, Safari, Opera */
    -moz-column-rule-style: solid; /* Firefox */
    column-rule-style: solid;
    -webkit-column-rule-width: 1px; /* Chrome, Safari, Opera */
    -moz-column-rule-width: 1px; /* Firefox */
    column-rule-width: 1px;
    -webkit-column-rule-color: lightblue; /* Chrome, Safari, Opera */
    -moz-column-rule-color: lightblue; /* Firefox */
    column-rule-color: lightblue;
}

.ui.segment {
	font-size: 1em !important;
}

#noscript {
	background-color: #ae0000;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	left: 0;
	top: 0;
	padding: 5px 0;
	position: fixed;
	text-align: center;
	width: 100%;
	z-index: 999;
}

.wcag {
	margin-top: 20px;
}

#nav {
	margin: 0px;
	padding: 0px;
	text-align: right;
}
#nav ul {
	display: inline-block;
	vertical-align: middle;
	padding-left: 20px;
	margin: 5px 0;
}

.size_font {
	position: absolute;
	top: -300px;
}

#size_switch li  {
	width: 25px;
	height: 25px;
	display: inline-block;
	border: 1px solid #808080;
	border-radius: 13px;
}
#size_switch li:hover {
	background-color: #dbdbdb;
}
#size_switch li a {
	width: 23px;
	height: 23px;
	display: block;
	font-size: 0.1%;
}
#size_switch #normal  { background-image: url('../img/normal.png'); }
#size_switch #large   { background-image: url('../img/large.png'); }
#size_switch #largest { background-image: url('../img/largest.png'); }

#lang_switch li {
	font-weight: bold;
	display: inline-block;
	font-size: 1.15rem !important;
	font-family: sans-serif !important;
}

.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 */
}

body.pushable {
    background: #fff !important;
}

input[type="radio"]:checked + label,
input[type="checkbox"]:checked + label,
label:hover {
	color: #3A4DA5 !important;
	cursor: pointer !important;
}

.ui.inverted.menu {
	background-color:#07385c!important; 
	border-bottom: 1px solid #333333;
	box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.1);

}

.ui.inverted.menu .ic-home,
.ui.inverted.menu .ic-home:hover {
	background-color:#105990!important;
	padding:5px

}

.ui.inverted.menu .ui.dropdown .menu {
	background-color: #105990!important;

}

.ui.inverted.menu .ui.dropdown .menu .item {
	color: rgba(255,255,255,.9) !important;

}

.ui.inverted.menu .ui.dropdown .menu .item:hover {
	background: rgba(255,255,255,.08) !important;
	color: #fff !important;
}

.ui.icon.buttons .button .icon {
	vertical-align: bottom !important;
}

.pusher {
	margin: 70px 0 50px 0;
	background-image: url('../img/bg.png');
	background-repeat: no-repeat;
	max-width: 1024px;
}

.ic-header {
	margin-top: 70px;
	background-image: url('../img/header-bg.png');
	background-repeat: no-repeat;
	max-width: 1024px;
	height: 281px;
	overflow: hidden;
}

.ic-header img {
	margin: 0 !important;
	padding: 0 !important;
	clear: both;
}

.ic-header .ic-title {
	top: -270px;
	left: 55px;
}

.ic-header .ic-earth {
	top: -306px;
	left: 85px;
}

.ic-sidebar {
	padding: 0 12px !important;
}

.ic-content {
	padding: 13px 0;
	text-align: left;
}

.ic-content .ui.cards .card {
	 box-shadow: none;
}

.ic-content .ui.cards .card .image {
	text-align: center;
	padding: 20px 0;
	background-color: #fff;
}

.ic-content .ui.cards .card .content {
	text-align: center;
	font-weight: bold;
}

h2.header {
	text-transform: uppercase !important;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

@media only screen and (min-width: 1121px) {
	.ic-mobileshow {
		display: none !important;
	}
}

@media only screen and (max-width: 1120px) {
	.ic-mobilehide,
	.ic-header .ic-title,
	.ic-header .ic-earth {
		display: none !important;
	}
	
	.ic-header {
		margin-top: -20px;
	}
}

/* CSS for main content jump */
#accessible {
	position: absolute;
	z-index: 1000;
	top: -1000px;
	background: #FFFFFF;
}

#main_content {
	color: #000000;	
}

.contenttext p {
	color: #000000;	
	line-height:1.5em;
	text-justify: inter-ideograph;
}

.contenttext a {
	color: #0b79c1;	

}
.contenttext a:hover {
	color: #ce560c;	

}

/* CSS for English Menu line break */
@media only screen and (max-width: 1250px) {
	.menu_brk::before {
	    content: ' ';
		display: block;
	}
}

.youtube {
    width: 100%;
    border: none;
}

.linkbutton {
	margin: 10px!important;
}

/* CSS for printing */
@media print {
}

.noshow {
	display: none;
}