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;
	color: #1a1a1a;
	font-size: 1.125rem;
	width: 100%;
	background-color: #fafafa;
}
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: #074ecb; /* 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.35); /* Light grey */
    border-top: 8px solid #ffd300; /* 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.4em; }
.pb-4 { padding-bottom: 4em; }
.pl-1 { padding-left: 0.8em; }

/* 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-gray1 {
	background-color: #fafafa;
}
.bg-gray2 {
	background-color: #e6e6e6;
}
.bg-gray3 {
	background-color: #e6e6e6;
}
.bg-black {
	background-color: #1a1a1a;
}
.bg-blue {
	background-color: #0b9fb9;
}
.bg-red {
	background: #bf272d;
}
.bg-transblue {
	background: rgba(34, 26, 104, 0.85);
}
.bg-dec {
	background: url('../img/dec-bg.jpg') no-repeat fixed;
	background-size: cover;
	position: relative;
}
.bg-dec::before,
.bg-dec::after {
	content: "";
	position: absolute;
	display: inline-block;
	height: 100%;
	width: 25%;
	background: url('../img/dec-l.png') no-repeat scroll;
	background-size: auto;
	background-position: left bottom;
}
.bg-dec::after {
	right: 15px;
	top: 0;
	background: url('../img/dec-r.png') no-repeat scroll;
	background-position: right bottom;
}

.black {
	color: #1a1a1a;
}
.white {
	color: #fff;
}
.blue {
	color: #0b9fb9;
}
.sub-blue {
	color: #5cc7c4;
}
.whiteblue {
	color: #6ddde5;
}
.yellow {
	color: #ffe522;
}
.red {
	color: #bf272d;
}
.gray {
	color: #808080;
}
.notice {
	background: #bf272d;
	color: #fff;
	padding: 5px 10px;
	display: inline-block;
}
.list {
	text-indent: -1.1em;
	padding-left: 1.1em;
}
/* 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-15 {
	line-height: 1.5;
}
.lh-large {
	line-height: 2;
}
.show-sm, .show-mid {
	display: none;
}

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


/* button */
.main-btn {
	background-color: #f49622;
    color: #fff;
    text-align: center;
    border: 4px solid #fff;
    display: block;
    font-weight: 700;
    font-size: 34px;
}
.main-btn.col {
	display: inline-block;
}
.wide-btn {
	height: 65px;
	width: 250px;
	letter-spacing: 2px;
	line-height: 57px;
	text-indent: 2px;
}
.long-btn {
	height: 180px;
	width: 50px;
	writing-mode: vertical-rl;
    text-orientation: upright;
    padding: 12px;
    font-size: 27px;
    letter-spacing: 4px;
	border: 0;
	background: #f7931e;
}
.main-btn:hover {
	background-color: #f4c022;
}
.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: #666666;
	width: 50px;
	height: 50px;
	display: block;
	margin-top: 0px;
	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: #fff;
	z-index: 99;
    transition: all 0.4s ease;
    max-height: 74px;
}
.navtop.container {
	padding: 0em 3em 0em 2em;
	height: 100%;
}
.navbar {
	padding-top: 15px;
	margin-left: -10px;
}
.navbar li {
	display: inline-block;
}
.navbar li + li {
	margin-left: 1em;
}
.navbar a {
	padding: 5px 10px;
	color: #b1b1b1;
	transition: color 0.12s ease;
	display: block;
}
.navbar a:hover, .navbar a.active {
	color: #0b9fb9;
}
.navbar .en {
    display: block;
    text-align: center;
    font-size: 12px;
    transform: scale(0.9);
    margin-top: 3px;
}
.nav-logo {
	float: left;
	padding: 0.6em 0 0.5em;
}
.socaillinks {
	float: right;
	padding-top: 7px;
}
.socaillinks li {
	display: inline-block;
	transition: opacity 0.2s ease;
}
.socaillinks li:hover {
	opacity: 0.7;
}
.socaillinks li + li {
	margin-left: 8px;
}

header.detachedHide {
	transform: translateY(-100%);
}
header.detached {
}
header.detached.show {
	transform: translateY(0);
}
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: 0px;
	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: #0b9fb9;
	border-radius: 2px;
	position: relative;
}
.icon-hbg::before {
	position: absolute;
	top: -10px;
}
.icon-hbg::after {
	position: absolute;
	bottom: -10px;
}

/* main */
main {
	
}

/* section */
#top-sec {
	padding-top: 0px;
	min-height: 100vh;
	position: relative;
}
.topsec {
	padding-right: calc(33% - 50px);
}
.topsec h1 {
	margin-top: 50px;
	transform: translateY(-10px);
	opacity: 0;
	transition: all 0.7s ease-in-out 1.2s;
}
.topsec p {
	margin-top: -30px;
	transform: translateY(-10px);
	opacity: 0;
	transition: all 0.6s ease-in-out 1.3s;
}
#top-sec.active .topsec p,
#top-sec.active .topsec h1 {
	transform: translateY(0px);
	opacity: 1;
}
.topsec .container {
	padding-bottom: 1em;
}
#intro-sec {
	margin-top: 150px;
	padding-bottom: 80px;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
#intro-sec p {
	line-height: 1.8;
}

.section-title {
	color: #0b9fb9;
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 50px;
	letter-spacing: 1px;
	display: inline-block;
}
.section-title.white {
	color: #fff;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.section-title .en {
	display: block;
    font-weight: 300;
    font-size: 14px;
    margin-top: 6px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
}
.section-title .en span {
	display: inline-block;
	margin: 0 4px;
}
.section-title .en::before,
.section-title .en::after {
	content: "";
	display: inline-block;
	width: calc(100% - 8px);
	margin: 0 2px;
	height: 1px;
	background: #0b9fb9;
}
.section-title.white .en::before,
.section-title.white .en::after {
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.bg-white .section-title,
.bg-whitegray .section-title {
	color: #221a68;
}

.section-title.white {
	color: #fff;
}
.main-title {
	width: 100%;
	max-width: 413px;
}

/* main animation */
.mainbg {
	position: absolute;
	z-index: -1;
	top: 0;
	width: 100%;
	height: 100%;
	margin: auto;
	transition: filter 0.7s ease-in-out 0s;
	opacity: 1;
	max-width: 100vw;
	min-height: 100vh;
	overflow: hidden;
}
.mainbg::before, .mainbg::after ,.bgs {
	content: "";
	z-index: -4;
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	max-width: 100vw;
	position: absolute;
	background: url('../img/main-bg.jpg') no-repeat center center;
	background-size: cover;
	background-position: center center;
	top: 0;
	transition: filter 0.7s ease-in-out 0s;
}
.mainbg::before {
	z-index: -5;
	background-image: url('../img/main-bg-0.jpg');
}
.mainbg .bgs {
	opacity: 0;
	filter: blur(8px);
	transform: translateY(10px);
	transition: opacity 1.5s ease-in-out 0s, filter 1.5s ease-in-out 0s, transform 1.5s ease-in-out 0s;
}
.mainbg.show .bgs {
	opacity: 1;
	filter: blur(0px);
	transform: translateY(0px);
}
.bgs, .mainbg::after {
	opacity: 0;
	z-index: -1;
	animation: shinng 4s linear infinite 2s;
}
#bg1 {
	background-image: url('../img/main-bg-1.jpg');
	animation-delay: 1s;
}
#bg2 {
	background-image: url('../img/main-bg-2.jpg');
	animation-delay: 2s;
}
#bg3 {
	background-image: url('../img/main-bg-3.jpg');
	animation-delay: 3s;
}
.mainbg::after {
	animation: shinng2 8s linear infinite 2s;
	background-image: url('../img/main-bg.jpg');
	animation-delay: 4s;
}
.bgs.small {
	opacity: 0;
	display: none;
	transition: opacity 0.7s ease-in-out 2s;
}
#bg-s {
	animation: shinng 8s ease-in-out infinite;
    background-image: url('../img/main-bg-s.png?v=2');
    animation-delay: 4s;
    background-position: 107% 11%;
    background-size: 180%;
    z-index: 2;
    filter: blur(0px);
}
@keyframes shinng {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes shinng2 {
    0% { opacity: 0; }
    30% { opacity: 0; }
    50% { opacity: 1; }
    70% { opacity: 0; }
    100% { opacity: 0; }
}
/* bg dec */
.bgdec::after {
	content: "";
	position: absolute;
	background: url('../img/bgdec_b.png') no-repeat center;
	height: 116px;
    width: 100%;
    z-index: 0;
    margin-top: -1px;
}
.bgdec.bg-white::after {
	background: url('../img/bgdec_w.png') no-repeat center;
}
.bgdec + section {
}

/* speaker */
.speaker-cate {
	font-size: 28px;
	font-weight: 700;
	text-align: center;
	border-bottom: 2px solid #005292;
	padding-bottom: 8px;
}
.speaker-cate ~ .speaker-cate {
	margin-top: 50px;
}
.news-slick , .speaker-slick {
	padding-top: 3em;
	position: relative;
}
.speakers-group {
	display: flex;
	justify-content:space-between;
}
.speakers-group .speaker-main img {
	max-width: 180px;
}
.speakers-group .speaker {
	width: 200px;
	margin-bottom: 20px;
}
.speaker-slick .speaker {
	margin: 0 2em;
}
.slider {
	max-width: 960px;
	overflow: hidden;
	margin: auto;
}

.speaker {
	display: inline-block;
	position: relative;
	vertical-align: top;
}
.speaker:hover,
.speaker:focus,
.speaker:active {
	outline: none;
}
.speaker-main {
	position: relative;
	text-align: left;
	padding-bottom: 10px;
	max-width: 200px;
}
.speaker-main.longname {
	padding-bottom: 50px;
}

.speaker-img {
	width: 100%;
	padding-top: 100%;
	background: #b3b3b3;
	margin-bottom: 10px;
	overflow: hidden;
}
.speaker-img.circle-img {
	width: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    background: #fff;
    position: relative;
    border: 4px solid #fff;
    box-shadow: 0 0 1px rgba(0, 0, 0, .75);
    box-sizing: content-box;
    margin-top: 1px;
}
.speaker-img img {
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
	position: absolute;
}
.speaker-main h5 {
	white-space: nowrap;
	margin: auto;
	margin-bottom: 10px;
}
.speaker-main h6 {
	white-space: nowrap;
	margin: auto;
	line-height: 1.3;
	border-bottom: 1px solid #808080;
    padding-bottom: 11px;
}
.speaker-main h6.t-small {
	font-size: 13px;
}
.speaker-en h5 {
	white-space: nowrap;
	margin: auto;
	margin-bottom: 5px;
}
.speaker-en h6 {
	margin: auto;
	line-height: 1.4;
    color: #808080;
    font-size: 12px;
}
.speaker-info {
	text-align: justify;
	width: 120%;
	margin-left: -10%;
	margin-top: 0px;
	transition: opacity 0.6s ease-in-out 0s, max-height 1.2s ease-in-out 0s;
	color: #fff;
	border-top: 1px solid #fff;
	padding-top: 6px;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
}
.speakers-group .speaker-info {
	width: 110%;
	margin-left: -5%;
}
.speaker.hover .speaker-info {
	opacity: 1;
	max-height: 500px;
}

.slick-arrow {
	position: absolute;
	width: 33px;
	height: 18px;
	display: inline-block;
	border: 0;
	background: transparent;
    overflow: hidden;
    text-indent: -200px;
    z-index: 2;
    margin: 0;
    background: url('../img/icon-arrow.svg') no-repeat;
    top: 0;
}
.slick-arrow.slick-prev {
	left: 40%;
}
.slick-arrow.slick-next {
	transform: rotate(180deg);
	right: 40%;
}

.slick-dots {
    position: absolute;
    top: -7px;
    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: 5px;
    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: #b1b1b1;
    right: 0;
    margin: auto;
    bottom: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before {
    background-color: #0b9fb9;
}

/* 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;
	max-width: 660px;
	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 #e5e5e5;
	padding: 0.7em 0 0.4em 0.3em;
    line-height: 1.4;
	display: flex;
	justify-content: start;
	margin: 0 auto;
}

.time-col p {
	color: #6ddde5;
	line-height: 31px;
	font-size: 16px;
}
.time-col {
	display: inline-block;
	width: 120px;
    padding-right: 13px;
    text-align: right;
}
.event-col {
	display: inline-block;
	width: 100%;
	padding-top: 3px;
}
.event-col h6 {
}
.event-col h5 {
	color: #ffd300;
	font-weight: 700;
}
.event-col p {
}
.event-col p span {
	font-weight: 300;
	font-size: 16px;
	margin-left: 8px;
}
.info-date {
	position: relative;
	margin-right: 1em;
}
.info-date img {
	width: 70px;
	height: auto;
}
.info-date .week {
	position: absolute;
	bottom: -1.4em;
	right: 0;
	white-space: nowrap;
	font-size: 12px;
}

/* 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 #333;
	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=radio] {
	display: inline;
	width: auto;
	position: absolute;
    opacity: 0;
}
.form-item .radio-label ~ .radio-label {
	margin-left: 1.2em;
}
.radio-label span {
	display: inline-block;
	position: relative;	
	border: 1px solid #AAAAAA;
	border-radius: 100%;
	height: 23px;
	width: 23px;
	transition: border .25s linear;
	-webkit-transition: border .25s linear;
	margin-bottom: -4px;
    margin-right: 7px;
}

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

.radio-label span::before {
	display: block;
	position: absolute;
	content: '';
	border-radius: 100%;
	height: 15px;
	width: 15px;
	top: 3px;
	left: 3px;
	margin: auto;
	transition: background 0.25s linear;
	-webkit-transition: background 0.25s linear;
}

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

input[type=radio]:checked + .radio-label span::before{
  background: #aaa;
}

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

/* news card */
.news-card {
	width: 280px;
	height: 280px;
	display: inline-block;
	background: #221a68;
	color: #fff;
	position: relative;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
}
.news-card img {
	height: 100%;
	width: auto;
	position: absolute;
	z-index: 0;
	top: 0;
	max-width: none;
	left: -9999px;
	right: -9999px;
	margin: auto;
}
.news-card h5,
.news-card p {
	position: absolute;
	right: 0;
	left: 0;
	text-align: center;
	bottom: 20px;
	margin: auto;
	line-height: 1.5;
	z-index: 2;
	transition: all 0.6s ease;
	padding: 0 10px;
}
.news-card p {
	opacity: 0;
	bottom: -30px;
	padding: 0 10px;
}
.news-card::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: #221a68;
	opacity: 0.5;
	z-index: 1;
	transition: opacity 0.6s ease;
}
.news-card::after {
	content: "";
	width: 94%;
	height: 94%;
	position: absolute;
	top: 3%;
	left: 3%;
	z-index: 2;
	border: 1px solid #fff;
	transition: transform 0.6s ease;
}
.news-card:hover::before {
	opacity: 0.7;
}
.news-card:hover::after {
	transform: scale(1.1)
}
.news-card:hover h5 {
	bottom: 100px;
}
.news-card:hover p {
	opacity: 1;
	bottom: 20px;
}


/* footer */
.logolinks li {
	display: inline-block;
	margin: 0.5em 0.8em 0em;
    vertical-align: middle;
}
.textlogo {
	display: inline-block;
	padding: 5px 10px;
	font-size: 18px;
	color: #323a4c;
	font-weight: 600;
	line-height: 1.2;
}

/* 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;
}


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


/* 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: 85%;
    max-width: 530px;
	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;
	display: none;
	background: #eee;
	border-radius: 15px;
}
.popup-container.active {
	opacity: 1;
	pointer-events: auto;
}
.popup-block.active {
	display: block;
	transform: translateY(0px);
	opacity: 1;
	padding: 20px;
}
.popup-img {
	min-width: 200px;
	margin-right: 10px;
}

.popup-close {
	width: 40px;
	height: 40px;
	border: 3px solid #fff;
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #ccc;
    color: #666;
    line-height: 30px;
	font-size: 24px;
	border-radius: 50%;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.16);
}

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

.popup-block .textblock {
	max-height: 80vh;
    overflow-y: auto;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
}
.textblock {
	font-size: 12px;
	max-height: 200px;
	overflow-y: auto;
	padding: 5px 12px;
	background: #fff;
	border: 1px solid #ccc;
	margin-top: 10px;
}
.textblock h4 {
	margin: 10px 0 2px;
}
.textblock h3 {
	margin: 10px 0 2px;
}
.textblock p {
	margin-left: 2em;
	margin-bottom: 5px;
}
.textblock ol {
	margin-left: 2.8em;
	text-indent: -0.8em;
}
.textblock ol li {
	margin: 2px 0;
}
.textblock ol ol {
	margin-left: 1.9em;
    text-indent: -1.7em;
}