html, body {
	overflow-x: hidden;
}
body {
	font-family: 'Arial', 'Noto Sans CJK TC', 'PingFang TC', 'Heiti TC', 'Noto Sans TC', source-han-sans-traditional, 'Microsoft JhengHei', sans-serif;
	color: #1a1a1a;
	font-size: 1.125rem;
}
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: 'Arial', '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:#0080ae; /* 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: 5em 2em 5em;
	max-width: 1100px;
	width: 100%;
	margin: 0 auto;
}
.container.wide {
	max-width: 1160px;
}
footer .container {
	padding: 2em 2em 2em;
}
.max-w9 {max-width: 920px;}
.max-w8 {max-width: 780px;}
.max-w7 {max-width: 600px;}
.max-w6 {max-width: 500px;}
.max-w3 {max-width: 300px;}

.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; }
.ml-2 { margin-left: 1.4em; }

.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;
	bottom: 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;
}

/* color */
.bg-no {
	background: transparent;
}
.bg-white {
	background-color: rgba(255, 255, 255, 1);
}
.bg-white2 {
	background-color: rgba(255, 255, 255, 0.9);
}
.bg-white3 {
	background-color: rgba(255, 255, 255, 0.7);
}
.bg-gray {
	background-color: #f2f2f2;
}
.bg-black {
	background-color: #1a1a1a;
}
.bg-blue {
	background-color: #0080ae;
}
.bg-gradient {
	background: linear-gradient(#bbe1e8, #a0d7e5 35%, #5dc1cf 100%);
}
.bg-shadow {
	-moz-box-shadow:    inset 0 0 30px rgba(0, 0, 0, 0.14);
   -webkit-box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.14);
   box-shadow:         inset 0 0 30px rgba(0, 0, 0, 0.14);
}
.bg-dec {
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
}
.bg-dec::before,
.bg-dec::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 252px;
	height: 321px;
	background-repeat: no-repeat;
	background-position: center center;
	background-image: url('../img/bg_dec_1.png');
}
.bg-dec::after {
	width: 387px;
	height: 387px;
	left: auto;
	right: 0;
	bottom: 0;
	top: auto;;
	background-image: url('../img/bg_dec_2.png');
}
.bg-dec.dec2::before {
	width: 192px;
	height: 166px;
	left: 70%;
	right: 30%;
	bottom: auto;
	top: 0;;
	background-image: url('../img/bg_dec_3.png');
}
.bg-dec.dec2::after {
	width: 885px;
	height: 901px;
	left: 0;
	right: auto;
	bottom: 0;
	top: auto;;
	background-image: url('../img/bg_dec_4.png');
}

.white {
	color: #fff;
}
.blue {
	color: #0080ae;
}
.blue2 {
	color: #29e5fc;
}
.gray {
	color: #b3b3b3;
}
.blackgray {
	color: #333;
}

/* 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-18 {
	line-height: 1.8;
}
p + p {
	margin-top: 1em;
}

hr {
	border: 0;
	border-top: 1px solid #0080ae;
}
.show-sm {
	display: none;
}

.icon {
	vertical-align: text-bottom;
	margin-bottom: -2px;
	margin-right: 2px;
}
.icon-num {
	font-family: 'Roboto Mono', monospace;
}
/* button */
.main-btn {
	background-color: #ffd731;
	color: #000;
	text-align: center;
	border: 0;
	display: block;
	font-weight: 700;
	font-size: 34px;
}
.wide-btn {
	height: 65px;
	width: 250px;
	letter-spacing: 2px;
	line-height: 69px;
	text-indent: 2px;
}
.link {
	color: #ffd731;
	text-decoration: underline;
}
.trans-btn {
	border: 1px solid #fff;
	color: #fff;
	border-radius: 18px;
	height: 36px;
	width: 120px;
	line-height: 36px;
	display: block;
	text-align: center;
}
.top-btn {
	background-color: #ccc;
	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: absolute;
	left: 0;
	right: 0;
	top: 65vh;
	z-index: 99;
    transition: transform 0.4s ease, max-height 0.6s ease, background 0.4s ease;
    background: rgba(255,255,255,0);
    text-align: center;
}
.navtop.container {
	padding: 0em 2em 0.6em 2em;
}

.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: #0080ae;
	transition: all 0.12s ease;
	display: inline-block;
}
.navbar a::after {
	content: '';
	display: inline-block;
	position: absolute;
	height: 12px;
	width: 0;
	left: 6px;
	bottom: 6px;
	background: #f4f034;
	transition: all 0.4s ease-in-out;
	z-index: -1;
}
.navbar a:hover::after, .navbar a.active::after {
	width: calc(100% - 8px);
}

.logo {
	transition: all 0.2s ease;
	display: inline-block;
}
.logo img {
	height: auto;
	width: auto;
	vertical-align: middle;
	margin-left: 30px;
	max-height: 100%;
	margin-top: -4px;
}

header.detachedHide {
	/*transform: translateY(-100%);*/
}
header.show {
}
header.detached {
	position: fixed;
	top: 0;
	background: #fff;
}
header.detached.show {
}
header.show .navbar2 {
}
header.detached .navtop.container {
}
header.detached .logo {
}
header.detached .navbar {
}
/* 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: #0080ae;
	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: 6%;
	min-height: calc(100vh + 120px);
}
.topsec h1 {
	text-align: center;
	position: relative;
}
.topsec h1 span {
	position: absolute;
	bottom: -50px;
}
.logo-wrap {
	margin-bottom: 5%;
	padding: 20px 40px;
	position: absolute;
	right: 0;
	top: 0;
}
#description-sec {
	margin-top: 40vh;
}
.mainbg {
	position: absolute;
	background: url('../img/main_bg.jpg?v=2') no-repeat;
	background-size: cover;
	background-position: center 20%; 
	width: 100%;
	min-height: 100vh;
	height: 100%;
	z-index: -1;
	top: 0;
}
.section-title {
	font-size: 54px;
    font-weight: 700;
    transform: skewX(-5deg);
    position: relative;
    text-align: center;
}
.section-title span {
	font-size: 54px;
	position: absolute;
	color: transparent;
    -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: white;
    left: -2px;
    bottom: -3px;
    opacity: 0.5;
    pointer-events: none;
    text-align: center;
    width: 100%;
}
.section-title.blue span {
	-webkit-text-stroke-color: #0080ae;
}
.title-dec {
	transform: skewX(-5deg);
	font-size: 54px;
	position: relative;
	color: transparent;
    -webkit-text-fill-color: transparent; /* Will override color (regardless of order) */
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #0080ae;
    text-align: center;
}
.title-dec::after {
	content: '';
	display: inline-block;
	width: calc(50%);
	position: absolute;
	left: 0;
	right: 0;
	bottom: -20px;
	border-bottom: 1px solid #fff;
	margin: 0 auto;
}
/* video */
.video {
	width: 100%;
	padding-bottom: 56.25%; 
	position: relative;
}
.video iframe,
.video video {
	position: absolute;
	width: 100%;
	height: 100%;
}
/* card */
.cards-wrap,
.video-card-wrap {
	flex-wrap: wrap;
	justify-content: space-between;
	position: relative;
}
.card:nth-of-type(1) {
	flex-basis: 100%;
}
.card:nth-of-type(1) .card-img {
	padding-bottom: 60%;
}
.video-card {
	flex-basis: 49%;
}
.video-card p, .video-card h4 {
	text-align: center;
}
.card {
	flex-basis: 32%;
	position: relative;
	margin-bottom: 2em;
	display: inline-block;
}
.card-img {
	position: relative;
	padding-bottom: 90%;
	overflow: hidden;
}
.card-img img {
	position: absolute;
	top: 0;
	object-fit: cover;
	width: 100%;
	height: 100%;
	top: -9999px;
	left: -9999px;
	bottom: -9999px;
	right: -9999px;
	margin: auto;
	transition: all 0.4s ease;
}
.card-text {
	position: absolute;
	width: 100%;
	bottom: 0;
	background: rgba(0, 128, 174, 0.9);
	color: #fff;
	line-height: 1.8;
	padding: 8px 15px 10px;
	transition: all 0.4s ease;
}
.card:nth-of-type(n + 2) .card-text .t-large {
	font-size: 18px;
}
.card:hover img {
	transform: scale(1.1);
}
.card:hover .card-text {
	background: #f4f034;
	color: #0080ae;
}
.comingsson {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	bottom: 0;
	display: flex;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
	justify-content: center;
	align-items: center;
	padding-bottom: 40px;
	font-size: 24px;
}

/* slick */
.slick-arrow {
	position: absolute;
	width: 26px;
	height: 26px;
	display: inline-block;
	border: 4px solid #0080ae;
	border-right: 0;
	border-bottom: 0; 
	top: 0px;
	bottom: 0;
	margin: auto;
	background: transparent;
    overflow: hidden;
    text-indent: -200px;
    z-index: 2;
}
.slick-arrow.slick-prev {
	transform: rotate(-45deg);
	left: 0;
}
.slick-arrow.slick-next {
	transform: rotate(135deg);
	right: 0;
}
.slick-dots {
    position: absolute;
    top: -35px;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
}
.slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    padding: 0;
    cursor: pointer;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 2px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:before {
    font-family: 'slick';
    font-size: 6px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    content: '';
    text-align: center;
    background-color: #0080ae;
    right: 0;
    margin: auto;
    bottom: 0;
    opacity: 0.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    background-color: #ffd731;
    opacity: 1;
}

/* 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*/
footer {
	z-index: 1;
    position: relative;
}
footer hr {
	border-color: #ccc;
}
.logo {
	vertical-align: middle;
	margin-left: 10px;
}

