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: 400;
}
img {
	max-width: 100%;
	width: auto;
	height: auto;
}


/* Preloader */
#preloader {
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color: #042e84; /* change if the mask should have another color then white */
	z-index:100; /* makes sure it stays on top */
}
#status {
	border: 8px solid rgba(255, 255, 255, 0.2); /* Light grey */
    border-top: 8px solid #fff; /* yellow */
    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: 4em 2em 2em;
	max-width: 1025px;
	width: 100%;
	margin: 0 auto;
}
.container.wide {
	max-width: 1280px;
}
footer .container {
	padding: 2em 2em;
}

.max-w7 {max-width: 620px;}
.max-w6 {max-width: 500px;}

.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-s { margin-bottom: 10px; }
.ml-1 { margin-left: 1em; }

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

.pt-1 { padding-top: 0.8em; }
.pt-2 { padding-top: 1.6em; }
.pb-2 { padding-bottom: 1.6em; }
.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;
}
/* color */
.bg-no {
	background: transparent;
}
.bg-white {
	background-color: rgba(255, 255, 255, 1);
}
.bg-whitegray {
	background-color: #f2f2f2;
}
.bg-black {
	background-color: #1a1a1a;
}
.bg-blue {
	background-color: #03296e;
}
.bg-gray {
	background-color: #cbcbcb;
}
.bg-subimg {
	background: url('../img/sub-bg.jpg') no-repeat;
	background-size: 100% auto;
	background-position: top center;
	background-color: #03070b;
}
.black {
	color: #1a1a1a;
}
.white {
	color: #fff;
}
.main-blue {
	color: #042e84;
}
.main-yellow {
	color: #ffdc4a;
}
.gray {
	color: #999;
}

/* 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;
}
.bold {
	font-weight: 700;
}
.font-w4 {
	font-weight: 400;
}
.lh-mid {
	line-height: 1.3;
}
.lh-large {
	line-height: 2;
}
.show-sm, .show-mid {
	display: none;
}

hr {
	border: 0;
	border-bottom: 1px solid #ccc;
}

/* button */
.main-btn {
	background-color: #f9b515;
	color: #123a5f;
	text-align: center;
	border: 0;
	display: block;
	font-weight: 700;
	font-size: 34px;
}
.main-btn.col {
	display: inline-block;
}
.wide-btn {
	height: 65px;
	width: 100%;
	letter-spacing: 2px;
	line-height: 65px;
	text-indent: 2px;
	box-shadow: 3px 3px 8px rgba(0, 0, 0, .4);
}
.long-btn {
	height: 180px;
	width: 50px;
	writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 12px;
    font-size: 27px;
    letter-spacing: 4px;
	border: 0;
	background: #fff;
	color: #042e84;
}
.main-btn:hover {
	opacity: 0.8;
}
.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: #1a1a1a;
	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;
	background: #042e84;
	z-index: 99;
    transition: all 0.4s ease;
    max-height: 72px;
}

.mainlogo {
	position: absolute;
	top: 0;
	left: 0;
	transition: max-height 0.3s ease;
	max-height: 400px;
}
.min .mainlogo {
	display: inline-block;
    height: 70px;
    overflow: hidden;
    background: #fff;
}
.mainlogo img {
	height: 329px;
	width: auto;
	transition: all 0.3s ease;
}
.min .mainlogo img {
	height: 150px;
    width: auto;
    transform: translateY(-7px);
    margin-left: 43px;
}
.navtop.container {
	padding: 0em 3em 0.5em 2em;
	height: 100%;
}
.navbar {
	padding-top: 22px;
	margin-left: -10px;
	padding-left: 200px;
}
.navbar li {
	display: inline-block;
}
.navbar li + li {
	margin-left: 1.5em;
}
.navbar a {
	padding: 5px 10px;
	color: #fff;
	transition: color 0.12s ease;
}
.navbar a:hover, .navbar a.active {
	opacity: 0.7;
}

.socaillinks {
	float: right;
	padding-top: 20px;
}
.socaillinks li {
	display: inline-block;
	transition: opacity 0.2s ease;
}
.socaillinks li:hover {
	opacity: 0.7;
}


header.detachedHide {
}
header.detached {
}
header.detached.show {
}
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: 3px;
	display: none;
	transition: margin 0.2s ease;
	margin-right: -15px;
	position: absolute;
	top: 0px;
	right: 2em;
}

.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 */
.topsec {
	padding-top: 100px;
	min-height: 100vh;
	background: url('../img/main-bg.jpg') no-repeat, url('../img/main-bg2.jpg') repeat-y;
	background-size: cover, cover;
	background-position: bottom center, center center;
}
.topsec h1 {
	position: absolute;
	right: 0;
}
.aboutsec {
	background: url('../img/main-bg2.jpg') repeat-y;
	background-size: cover;
	background-position: center center;
	margin-top: -1px;
	padding-bottom: 80px;
}
.section-title {
	font-size: 50px;
	text-align: center;
}
.en-title {
	text-align: center;
	color: #ff9d12;
	font-size: 22px;
	margin: 10px auto;
	letter-spacing: 4px;
	text-indent: -4px;
}

/* speaker */
#speaker-sec {
	position: relative;
}
#speaker-sec::after {
	content: "";
	display: block;
	width: 100%;
	position: absolute;
	background-color: #03070b;
	height: 378px;
	bottom: 0;
	z-index: -1;
}
.speakers {
	align-items: start;
}
.speaker {
	vertical-align: top;
	max-width: 436px;
}
.speaker-info {
	background-color: #042e84;
	color: #fff;
	width: 379px;
	margin: -1px auto 0;
	position: relative;
}
.speaker-info > div {
	padding: 0 30px 30px 30px;
}
.speaker-info::before {
	content: "";
	background: url('../img/speaker-info-dec.png') no-repeat #fff;
	width: 100%;
	background-position: 100%;
	padding-top: 8%;
	display: block;
	position: absolute;
	top: -30px;
	z-index: 0;
}
.speaker-info h5 {
	font-size: 46px;
}
.speaker-info h6 {
	color: #ff9d12;
	font-size: 20px;
	margin: 12px 0 15px;
	text-indent: 2px;
}
.speaker-info p {
	text-align: justify;
	font-size: 14px;
	letter-spacing: -0.5px;
}
/* info */
.info-box {
	padding: 0 1em 2em; 
}
.info-box h4 {
	line-height: 1.5;
}
.time-block {
	width: 100%;
	padding: .3em 0 1.8em;
}
.time-group {
	width: 100%;
	display: block;
	background-color: transparent;
	border: 15px solid transparent;
	/* transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, box-shadow 0.6s ease-in-out; */
	z-index: 1;
	box-shadow: 0 0 0px rgba(0, 0, 0, 0);
}
/*
.time-block:hover .time-group {
	opacity: 0.5;
}
.time-block:hover .time-group:hover {
	opacity: 1;
	transform: scale(1.08);
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.38);
}
*/
.time-row {
	border-bottom: 1px solid #11396e;
	padding: 0.7em 0 0.4em 0.5em;
    line-height: 1.4;
	display: flex;
	justify-content: start;
	margin: 0 auto;
}
.time-row:first-of-type {
	color: #a8ebff;
}
.time-col p {
	color: #a8ebff;
	line-height: 31px;
}
.time-col {
	display: inline-block;
	width: 136px;
}
.event-col {
	display: inline-block;
	width: calc(50% - 68px);
	padding-bottom: 3px;
}
.event-col h6 {
	font-size: 20px;
	font-weight: 500;
}
.indent {
	display: inline-block;
	padding-left: 3.2em;
}


/* form */
.form-item + .form-item label {
	padding-top: 1.4em;
}
.form-item .d-cell {
	min-width: 120px;
}
.form-item input,
.form-item .select,
.form-item textarea {
	width: 100%;
	padding: 10px 15px 8px;
	border-radius: 5px;
	border: 1px solid #001d42;
	box-sizing: border-box;
	opacity: 1;
}
.form-item input:focus,
.form-item .select:focus,
.form-item textarea:focus,
.form-item input:hover,
.form-item .select:hover,
.form-item textarea:hover {
	opacity: 1;
}
.form-item .select {
	padding: 0 15px;
	position: relative;
    background: #fff;
}
.select select {
    background: none;
    width: 100%;
    border: none;
    height: 47px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-indent: 0.01px;
    text-overflow: ”;
    outline: none;
    box-sizing: border-box;
}
.select::after {
	content: "";
	border: 8px solid transparent;
	border-top: 10px solid #666;
	border-bottom: 0;
	position: absolute;
	right: 15px;
	top: 20px;
}

label.required::after {
	content: "*";
	color: #d7261d;
	padding-left: 3px;
}

.form-item input[type=checkbox] {
	display: inline;
	width: auto;
	position: absolute;
    opacity: 0;
}
.form-item .checkbox-label ~ .checkbox-label {
	margin-left: 1.2em;
}
.checkbox-label span {
	display: inline-block;
	position: relative;	
	border: 1px solid #001d42;
	border-radius: 5px;
	height: 25px;
	width: 25px;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
	margin-bottom: -4px;
    margin-right: 7px;
    background-color: #fff;
    margin-top: -3px;
}

input[type=checkbox]:hover + .checkbox-label span {
  border: 1px solid #fff;
}

.checkbox-label span::before {
	display: block;
	position: absolute;
	content: '';
	height: 8px;
	width: 4px;
	border-width: 0;
	border-right-width: 3px;
	border-bottom-width: 3px;
	border-color: transparent;
	border-style: solid;
	transform: rotate(45deg);
	top: 5px;
	left: 8px;
	margin: auto;
	transition: border-color 0.25s linear;
	-webkit-transition: border-color 0.25s linear;
}

input[type=checkbox]:checked + .checkbox-label span {
  border: 1px solid #fff;
}

input[type=checkbox]:checked + .checkbox-label span::before{
  border-color: #03296e;
}

.linkafter + .form-item {
	display: none;
}
.linkafter.showafter + .form-item {
	display: table-row;
}

/* footer */
.logo {
	vertical-align: middle;
	display: inline-block;
}

/* right btns */
.hideontop {
	opacity: 0;
	pointer-events: none;
	transition: all 0.6s ease;
	box-shadow: 0 0 2px rgba(0,0,0,0.4);
}
.hideontop.show {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(50px);
}
.hideontop.show:hover {
	opacity: 1;
}


/* fadein */
.fadein {
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.fadein.show {
	opacity: 1;
	transform: translateY(0);
}
