#header {
	height: 48em;
}

#slides {
	position: absolute;
	top: 0em;
	left: 0em;
	height: 61em;
}

#slides > .kyslider-slide {
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
}

.loaded #slides > .kyslider-slide {
	background-blend-mode: multiply, normal;
	background-position: 0em 0em, 0em 0em;
}

#slides > .kyslider-slide > div {
	top: 10em;
	margin-left: auto;
	margin-right: auto;
	max-width: 86em;
	padding-left: 1.5em;
	z-index: 50;
}

#slides > .kyslider-slide > div > div {
	max-width: 50em;
}

#slides > .kyslider-slide * {
	overflow: visible;
}

#slides h1 {
	font-size: 400%;
	line-height: 1.142;
	color: #e26c3e;
	font-family: Geogrotesque-Light;
	text-transform: uppercase;
	letter-spacing: 1px;
	top: 120pt;
	
}

#slides p {
	font-size: 140%;
	line-height: 1.5;
	color: #2481a8;
	margin-top: 1em;
	padding-bottom: 0.5em;
}

#slides p:last-child {
	color: #ffffff;
}

#slides div > span {
	display: inline-block;
	left: -0.2em;
	margin-top: 2em;
	border-top: 1px solid #ffffff;
}

#slides div > span > span {
	display: inline-block;
	font-size: 120%;
	color: #ffffff;
	font-family: Geogrotesque-Medium;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 0.5em 0.5em 0.8em 0.2em;
}

#slides .kyslider-slide a:hover {
	border-bottom-color: #ffffff;
}

#slide1:before {
	background-image: url('slider4.jpg');
}
/* 調整首頁遮色片大小
#slides > span {
	position: absolute;
	left: 0;
	top: 30%;
	width: 70%;
	height: 20%;
	display: block;
	 
	
	background-image: linear-gradient(0deg, #dabdaa, #dabdaa 30em, #ffffff 30em, #ffffff);
	content: '';
	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-name: fakebg;
	animation-iteration-count: 1;
	bottom: 50%;
	
}
   */
.loaded #slides > span {
	display: block;
}

#slides > div:before {
	z-index: 25;
	mix-blend-mode: multiply;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.no-touch #slides > div:before {
	background-attachment: fixed;
}

#slides:after {
	position: absolute;
	content: '';
	z-index: 30;
	bottom: 13em;
	left: 0em;
	right: 0em;
	height: 4.21em;
	background-size: 100% 4.21em;
	/* image could be replaced with linear-gradient, but would be heavily aliased 
	background-image: url(../lib/img/clip1.png);*/
}

#figures > div > div:last-child {
	display: table;
	width: 100%;
	margin-top: 1em;
	margin-bottom: 2em;
}

#figures > div > div:last-child > div {
	display: table-row;
}

#figures > div > div:last-child > div > div {
	display: table-cell;
	width: 25%;
	text-align: center;
	padding-left: 1.5em;
	padding-right: 1.5em;
}

#figures img {
	max-width: 80%;
	max-height: 10em;
}

#figures > div > div:last-child > div > div > div {
	font-size: 200%;
	color: #2481a8;
	font-family: Geogrotesque-Light;
	text-align: center;
	margin-top: 1em;
}

#figures > div > div:last-child > div > div > span {
	font-size: 140%;
	font-family: Geogrotesque-Light;
}

#timeline {
	background-size: 100% 4.29em;
	/* image could be replaced with linear-gradient, but would be heavily aliased */
	background-image: url(../lib/img/clip2.png);
}

#timeline h1 {
	margin-top: 4em;
	font-size: 120%;
	border-top: 1px solid #2e3337;
	padding: 0.3em 0.5em 0.1em 0.2em;
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: Geogrotesque-SemiBold;
}

#timeline h2 {
	font-size: 390%;
	font-family: Geogrotesque-Light;
	color: #ffffff;
	margin-bottom: 1em;
}

#timeline h3 {
	width: 6.2em;
	height: 6.2em;
	background-color: #2a94c3;
	color: #ffffff;
	border-radius: 6.2em;
	overflow: visible;
	margin: 0em auto 1em auto;
}

#timeline h3 span {
	position: absolute;
	display: block;
	top: 1.15em;
	left: 0.6em;
	font-size: 180%;
	text-align: center;
	color: #ffffff;
	clip: rect(0em 3.4em 3.4em 0em);
}

#timeline h3:after {
	content: '';
	box-sizing: content-box;
	height: 1.8em;
	width: 1px;
	border-left: 3.1em solid #2481a8;
	border-right: 3.1em solid #2481a8;
	background-color: #2a94c3;
	display: block;
	position: absolute;
	top: 6.2em;
}

#timeline > div > div:last-child h3:after {
	display: none;
}

#timeline p {
	position: absolute;
	font-size: 180%;
	color: #ffffff;
	width: 44%;
	top: 0em;
	display: table;
	height: 3.4em;
}

#timeline span {
	font-size: 77.777%;
	display: table-cell;
	vertical-align: middle;
}

#timeline > div > div:nth-child(even) p {
	left: 56%;
}

#timeline > div > div:nth-child(even) spam {
	text-align: left;
}

#timeline > div > div:nth-child(odd) span {
	text-align: right;
}

#timeline > div > div:last-child {
	margin-bottom: 2em;
}

#quote {
	background-image: url(quote.jpg);
	min-height: 63em;
	padding-top: 13em;
	color: #ffffff;
}

.loaded #quote {
	background-blend-mode: multiply, normal;
	background-image: url(quote.jpg) , linear-gradient(-6deg, #2481a8, #2481a8 35em, #ffffff 35em, #ffffff);
}

#quote > div > div {
	position: absolute;
	clip: rect(0em 60em 60em 0em);
}

#quote > div {
	overflow: visible;
}

#quote p:first-child {
	line-height: 1.2;
	font-size: 320%;
	font-family: Geogrotesque-LightItalic;
	color: #2481a8;
	margin-bottom: 0.5em;
	letter-spacing: 0.02em;
}

#quote span {
	font-family: Geogrotesque-Medium;
	font-size: 128%;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

#quote p:last-child {
	font-size: 128%;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

#quote:before {
	/* keep as separate element to avoid weird mistakes with older browsers */
	position: absolute;
	content: '';
	bottom: 0em;
	left: 0em;
	right: 0em;
	height: 5.5em;
	background-size: 100% 5.5em;
	/* image could be replaced with linear-gradient, but would be heavily aliased */
	background-image: url(../lib/img/clip3.png);
	z-index: 24;
}

#references .text {
	width: 75%;
}

#references .text h3,
#references .text p {
	font-size: 150%;
}

#references > div > div:last-child {
	display: table;
	width: 100%;
	margin-top: 1em;
	margin-bottom: 2em;
}

#references > div > div:last-child > div {
	display: table-row;
}

#references > div > div:last-child > div > a {
	display: table-cell;
	border: 0.5em solid #ffffff;
	width: 33.333%;
	padding: 2em;
}

#references > div > div:last-child * {
	text-align: center;
}

#references > div > div:last-child p {
	font-size: 160%;
	font-family: Geogrotesque-LightItalic;
	color: #ffffff;
	margin-bottom: 0.8em;
}

#references > div > div:last-child img {
	width: 50%;
	opacity: 0.6;
	margin-bottom: 1.3em;
	margin-top: 0.3em;
}

#references > div > div:last-child span {
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-family: Geogrotesque-SemiBold;
	font-size: 120%;
}

#references > div > div:last-child span:last-child {
	font-family: Geogrotesque-Medium;
}

#references .shift {
	top: -0.5em;
}

#references .biggerlogo {
	width: auto !important;
	max-width: 50%;
	max-height: 4em;
}

#timeline .visibleEffectRun span {
	animation-duration: 1.5s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-name: govisibletl;
}

@keyframes govisibletl {
	0% {
		clip: rect(0em 0em 3.4em 0em);
	}
	100% {
		clip: rect(0em 3.4em 3.4em 0em);
	}
}

#quote .visibleEffectRun {
	animation-duration: 1s;
	animation-timing-function: ease;
	animation-fill-mode: forwards;
	animation-iteration-count: 1;
	animation-name: govisiblequ;
}

@keyframes govisiblequ {
	0% {
		clip: rect(0em 0em 60em 0em);
	}
	100% {
		clip: rect(0em 60em 60em 0em);
	}
}

#responsibilityvideo {
	padding-top: 6em;
}

#references span.bullets {
	display: none;
}

@media screen and (max-width: 767px) {

	#slides > span {
		display: none !important;
	}

	#slides p {
		font-size: 160%;
	}

	#header {
		height: 60em;
	}

	#slides:after {
		bottom: 1em;
	}

	#slides > span {
		background-image: linear-gradient(8deg, #2481a8, #2481a8 21em, #ffffff 21em, #ffffff);
	}

	#responsibilityvideo {
		padding-top: 2em;
	}

	#responsibilityvideo iframe {
		font-size: 7.2px;
	}

	#figures > div div {
		display: block !important;
		width: 100% !important;
	}

	#figures > div > div:last-child {
		font-size: 150%;
		margin-top: 2em !important;
		top: -2em;
	}

	#figures > div > div:last-child > div > div {
		padding-bottom: 3em;
	}

	#figures > div > div:last-child > div > div:last-child {
		padding-bottom: 0em;
	}

	#timeline h3:after {
		display: none;
	}

	#timeline p {
		font-size: 200%;
		width: 100%;
		position: relative;
		left: 0em !important;
		padding-bottom: 2em;
	}

	#timeline p * {
		text-align: center !important;
	}

	#timeline h1,
	#timeline h2 {
		margin-left: 20px;
	}

	#quote > div {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}

	#references .text {
		width: 100%;
	}

	#references > div > div:last-child {
		height: 32em;
	}

	#references a {
		font-size: 140%;
	}

	#references .bullets {
		margin: 1em auto 0.5em auto;
		overflow: visible;
	}

	#references .bullets,
	#references .bullets:before,
	#references .bullets:after {
		display: block;
		border: 3px solid #ffffff;
		border-radius: 3px;
		width: 3px;
		height: 3px;
		content: '';
	}

	#references .bullets:before,
	#references .bullets:after {
		position: absolute;
		top: -3px;
	}

	#references .bullets:before {
		left: -23px;
	}

	#references .bullets:after {
		left: 17px;
	}

	#references a:nth-child(0n + 1) .bullets:before,
	#references a:nth-child(0n + 2) .bullets,
	#references a:nth-child(0n + 3) .bullets:after  {
		border-color: #353b3f;
	}

	#references .kyslider-inactive {
		display: none !important;
	}

}
