html, body {
	overflow-x: hidden;
	width: 100vw;
}
body {
	font-family: 'Noto Sans CJK TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
	font-size: 1.125rem;
	width: 100%;
}
body.loaded {
}
p {
	line-height: 1.5;
}
a {
	text-decoration: none;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}
a, button, input[type="submit"] {
	cursor: pointer;
}
input, select, textarea {
	font-family: 'Noto Sans CJK TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
	font-size: 1.125rem;
	font-weight: 300;
}
img {
	max-width: 100%;
	width: auto;
	height: auto;
}

/* Preloader */
#preloader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:#005292; /* change if the mask should have another color then white */
	z-index:100; /* makes sure it stays on top */
}
#status {
	border: 8px solid #49c0bd; /* Light grey */
    border-top: 8px solid #1a1a1a; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* layout */
.container {
	padding: 6em 2em 4em;
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
}
.container.wide {
	max-width: 1160px;
}
footer .container {
	padding: 3em 2em;
}
.max-w9 {max-width: 860px;}
.max-w8 {max-width: 680px;}
.max-w7 {max-width: 600px;}
.max-w6 {max-width: 500px;}

.row {
	display: block;
}
.col {
	display: inline-block;
}
.flex {
	display: flex;
}

.mx-auto {
	margin-left: auto!important;
	margin-right: auto!important;
}
.w100 {
	width: 100%;
}
.d-table {
	display: table;
}
.d-row {
	display: table-row;
}
.d-cell {
	display: table-cell;
}
.mt-1 {	margin-top: 0.8em; }
.mt-2 {	margin-top: 1.4em; }
.mb-1 {	margin-bottom: 0.8em; }
.mb-2 {	margin-bottom: 1.4em; }
.mb-3 {	margin-bottom: 2em; }
.mb-4 {	margin-bottom: 3em; }
.mb-s { margin-bottom: 10px; }
.mt-s { margin-top: 10px; }

.my-1 { margin-top: 0.5em; margin-bottom: 0.5em;}

.pt-1 { padding-top: 0.8em; }
.pt-2 { padding-top: 1.4em; }
.pb-4 { padding-bottom: 4em; }

/* position */
.ab-center {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.fixed-right {
	position: fixed;
	right: 20px;
	top: 150px;
	z-index: 90;
}
.flex-middle {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.flex-space {
	display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}
.float-right {
	float: right;
}
/* color */
.bg-no {
	background: transparent;
}
.bg-white {
	background-color: rgba(255, 255, 255, 1);
}
.bg-gray {
	background-color: #f2f2f2;
}
.bg-black {
	background-color: #332f2d;
}
.bg-yellow {
	background-color: #f7ca4d;
}

.bg-blue-texture {
	background: url('../img/main-blue-bg.jpg?v=2') repeat-y #67cecc;
	background-size: 100% auto;
}
.bg-flower-dec::before {
	content: "";
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 0;	
	background-image: url('../img/sub-bg-1.png'), url('../img/sub-bg-2.png');
	background-repeat: no-repeat, no-repeat;
	background-position: left bottom, right top;
}

.white {
	color: #fff;
}
.main-blue {
	color: #005292;
}
.sub-blue {
	color: #005292;
}
.sub-whiteblue {
	color: #97ffff;
}
.sub-yellow {
	color: #fffaa9;
}
.sub-black {
	color: #1a1a1a;
}
.gray {
	color: #b3b3b3;
}
.orange {
	color: #de5a3d;
}


/* text */
.t-xlarge {
	font-size: 1.67em; /* 30px */
}
.t-large {
	font-size: 1.45em; /* 26px */
}
.t-midlarge {
	font-size: 1.225em; /* 22px */
}
.t-mid {
	font-size: 1em; /* 18px */
}
.t-small {
	font-size: 0.89em; /* 16px */
}
.t-xsmall {
	font-size: 0.72em; /* 14px */
}
.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}
.text-justify {
	text-align: justify;
}
.bold {
	font-weight: 700;
}
.font-w4 {
	font-weight: 400;
}
.font-light {
	font-weight: 300;
}
.lh-mid {
	line-height: 1.8;
}
p {
	font-weight: 300;
}
p + p {
	margin-top: 1em;
}

.show-sm {
	display: none;
}

/* button */
.main-btn {
	background-color: #fff;
	color: #00a2c2;
	text-align: center;
	border: 0;
	display: block;
	font-weight: 700;
	font-size: 34px;
	box-shadow: 3px 4px 0px rgba(0, 0, 0, 0.25);
}
.wide-btn {
	height: 90px;
	width: 360px;
	letter-spacing: 2px;
	line-height: 90px;
	text-indent: 2px;
}
.long-btn {
	height: 180px;
	width: 50px;
	writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 12px;
    font-size: 26px;
    letter-spacing: 4px;
	border: 0;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, .1);
	background: #cc8d42;
	color: #fff;
}
.main-btn:hover {
	background-color: #00a2c2;
	color: #fff;
}
.top-btn {
	background-color: #4d4d4d;
	width: 50px;
	height: 50px;
	display: block;
	padding: 27px 16px 10px;
	position: relative;
}
.top-btn::before {
	content: "";
	width: 26px;
	height: 0;
	display: block;
	border-top: 2.7px solid #fff;
	position: absolute;
	top: 13px;
	left: 0;
	right: 0;
	margin: auto;
}
.top-btn::after {
	content: "";
	width: 13px;
	height: 13px;
	border: 4.5px solid #fff;
	border-right: 0;
	border-bottom: 0;
	transform: rotate(45deg);
	display: block;
}
/* header */
header {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 99;
    transition: transform 0.4s ease, max-height 0.4s ease, background-color 0.4s ease;
    height: 70px;
    max-width: 100vw;
}
.navtop.container {
	padding: 1em 2em 0.4em 2em;
}
header .logo {
	float: left;
	margin-top: -10px;
}
.navbar {
	padding-top: 12px;
	margin-right: -10px;
}
.navbar li {
	display: inline-block;
	position: relative;
}
.navbar li + li {
	margin-left: 1em;
}
.navbar a {
	padding: 5px 10px;
	color: #fff;
	transition: opacity 0.12s ease;
	display: inline-block;
}
.navbar a:hover, .navbar a.active {
	opacity: 0.8;
}


header.detachedHide {
	transform: translateY(-100%);
}
header.show {
	background-color: #00a2c2;
}
header.detached {
	background-color: #00a2c2;
}
header.detached.show {
	transform: translateY(0);
	background-color: #00a2c2;
}


/* navbar toggle */
.hbg-btn {
	border: 1px solid rgba(255, 255, 255, 0.6);
	border: 0;
	height: 50px;
	width: 50px;
	border-radius: 5px;
	vertical-align: top;
	margin-top: 7px;
	display: none;
	transition: margin 0.2s ease;
	margin-right: -15px;
	position: absolute;
	top: 8px;
	right: 2em;
}
header.detached .hbg-btn {
	margin-top: 0;
}
.icon-hbg,
.icon-hbg::before,
.icon-hbg::after {
	content: "";
	display: block;
	margin: 0 auto;
	width: 30px;
	height: 4px;
	background-color: #fff;
	border-radius: 2px;
	position: relative;
}
.icon-hbg::before {
	position: absolute;
	top: -10px;
}
.icon-hbg::after {
	position: absolute;
	bottom: -10px;
}


/* section */
section {
	position: relative;
}
.topsec {
	padding-top: 0px;
	min-height: calc(100vh + 200px);
}

.section-title {
	font-size: 34px;
    font-weight: 700;
    text-align: center;
    max-width: 280px;
    padding: 10px 0;
    margin: 0 auto 2em;
    border-bottom: 2px solid #1a1a1a;
}

.main-title {
	min-height: 60vh;
	flex-direction: column;
}
.top-banner {
	width: 100vw;
	display: flex;
}
.top-banner::before, .top-banner::after {
	content: "";
	display: inline;
	width: 50%;
	background-color: #eff0be;
}
/* world */
.world {
	position: relative;
}
.world-btns {
	position: absolute;
	width: 100%;
	top: 0;
	bottom: 0;
}
.world-btns a {
	position: absolute;
	top: 0;
	left: 0;
	width: 13.5%;
	padding-top: 13.5%;
}
#world-btn-1 { top: 5%; left: 20%; }
#world-btn-2 { top: 62%; left: 12%; }
#world-btn-3 { top: 46%; left: 47%; }
#world-btn-4 { top: 66%; left: 80%; }
#world-btn-5 { top: 14%; left: 67%; }

.world-btns a img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
}
.world-btns a img.left {
	transform: scale(-1, -1);
}
.world-btn-name {
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction:column;
}
.world-btn-name h5 {
	margin-top: 10px;
}
.world-btn-name h6 {
	color: #8e3d35;
	font-size: 0.8em;
	margin-top: 5px;
}
/* news sec */
.news-img {
	max-width: 251px;
	position: relative;
}

.news-img::after {
	content: "";
	width: 251px;
	height: 251px;
	position: absolute;
	top: 0;
	left: 0;
	background: url('../img/circle-w.png') no-repeat;
	background-size: 100% auto;
	z-index: 1;
}
.news-right .news-img::after {
	transform: scaleX(-1);
}
.circle-img {
	width: 226px;
	height: 226px;
	border-radius: 50%;
	overflow: hidden;
	margin: 12px;
	position: relative;
}
.circle-img::after {
	content: "";
	background: #000;
	opacity: 0.4;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.circle-img img {
	height: 100%;
	width: auto;
	max-width: none;
}
.news {
	min-height: 251px;
}
.news .col {
	vertical-align: top;
}
.news-right .news-img {
	float: right;
}
.news-right {
	text-align: right;
}
.news-desc {
	max-width: 580px;
	padding: 30px 20px;
	display: inline-flex;
	flex-direction:column;
	justify-content: center;
	min-height: 251px;
}
/* right btns */
.hideontop {
	opacity: 0;
	pointer-events: none;
	transition: all 0.6s ease;
}
.hideontop.show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(50px);
}
.hideontop.show:hover {
	opacity: 1;
}


/*footer*/
.logo {
	transition: all 0.2s ease;
	display: inline-block;
	vertical-align: middle;
	margin-left: 10px;
	margin-right: 20px;
}
.icons {
	padding-top: 13px;
}
.logo img {
	height: auto;
	width: auto;
	vertical-align: middle;
	margin-left: 30px;
	max-height: 100%;
	margin-top: -4px;
}


/* popup */
.popup-container {
	display: flex;
	width: 100%;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.75);
	z-index: 999;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	padding: 30px 0;
}
.popup-block {
	width: 90%;
	max-width: 800px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.16);
	position: relative;
	opacity: 0;
	transform: translateY(30px);
	transition: transform 0.5s ease, opacity 0.2s ease;
	transition-delay: 0.3s. 0.3s;
	display: none;
	background: #eee;
	border-radius: 15px;
}
.popup-container.active {
	opacity: 1;
	pointer-events: auto;
}
.popup-block.active {
	display: flex;
	transform: translateY(0px);
	opacity: 1;
	padding: 20px;
}
.popup-img {
	min-width: 200px;
	margin-right: 10px;
}

.popup-close {
	width: 40px;
	height: 40px;
	border: 0;
	position: absolute;
	top: -15px;
	right: -15px;
	background-color: #ccc;
	color: #1a1a1a;
	padding: 4px;
	font-size: 24px;
	border-radius: 50%;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.16);
}

.popup-block p {
	padding-right: 15px;
}