@charset"utf-8";

/*CSS reset*/
*{
	margin: 0;
	padding: 0;
	box-sizing:border-box;
	-moz-box-sizing:border-box; /* Firefox */
	-webkit-box-sizing:border-box; /* Safari */
}

body{
	font:16px/1.5 "Microsoft Yahei","Hiragino Sans GB",arial,sans-serif;
	color: #58585a; 
	background:#272822; 
	text-align: center;
	-webkit-font-smoothing:antialiased;/*字體抗鋸齒*/
}

html,body{
	height: 100%;
	width: 100%;
}

#container{
	width: 100%;
	max-width: 414px;
	height: 100%;
	max-height: 736px;
	margin: 0 auto;
	position: relative;
	background-color: #FFFFFF;
}

#up{
	position: absolute;
	height: 60px;
	width: 100%;
	background: url('images/up.png') center center no-repeat;
	background-size: 60px;
	left: 0;
	bottom: 0;
	-webkit-animation: up 2s linear infinite;
}

#top{
	border: 1px solid #154731;
	border-radius: 5px;
	width: 160px;
	height: 50px;
	line-height: 50px;
	color: #154731;
	margin: 30px auto;
}

#beian{
	position: absolute;
	width: 100%;
	font-size: 12px;
	color:#000000;
	left: 0;
	bottom: 0;
	text-shadow: 0 0 3px rgba(255,255,255,.5);
}

#loading{
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 999;
	background-color: #FFF;
	padding-top: 100px;
}
#loading div{
	position: relative;
	width: 50%;
	margin: 0 auto;
}
#loading img{
	width: 100%;
	-webkit-animation:rotate 5s infinite linear;
}
#loading span{
	display: block;
	position: absolute;
	top:50%;
	width: 100%;
	height: 50px;
	line-height: 50px;
	margin-top: -25px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	color: #154731;
}

#sections{
	height: 100%;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.section{
	height: 100%;
	width: 100%;
	background-size: 100%;
	background-position: center center;
	position: absolute;
	top:100%;
	padding: 20px;
	overflow: hidden;
	transition:all 1s ease-out;
	-webkit-transition:all 1s ease-out;
	-moz-transition:all 1s ease-out;
	-ms-transition:all 1s ease-out;
	-o-transition:all 1s ease-out;
}
.section:nth-child(1){background-image: url('images/01.jpg');top:0;}
.section:nth-child(2),.section:nth-child(5),.section:nth-child(7),.section:nth-child(10),.section:nth-child(12){background:#FFFFFF;}
.section:nth-child(3){background-image: url('images/03.jpg');}
.section:nth-child(4),.section:nth-child(6),.section:nth-child(9){
	background:#D0D0D0;
	background:-webkit-gradient(linear, 0 0, 0 100%, from(#D0D0D0), to(#FFFFFF));
	background:-moz-linear-gradient(top, #D0D0D0,#FFFFFF);
}
.section:nth-child(8){background-image: url('images/08.jpg');}
.section:nth-child(11){background-image: url('images/11.jpg');}

.inleft{text-align: left;}
.inright{text-align: right;}
.hide{display: none;}
.text{
	background:rgba(255,255,255,.5);
	padding:10px;
	font-size:16px;
}
.fade{
	opacity: 0;
	transition:all 1s ease-out 1s;
	-webkit-transition:all 1s ease-out 1s;
	-moz-transition:all 1s ease-out 1s;
	-ms-transition:all 1s ease-out 1s;
	-o-transition:all 1s ease-out 1s;
}

.left{
	transform: translateX(-100%);
	transition:all 1s ease-out 1s;
	-webkit-transition:all 1s ease-out 1s;
	-moz-transition:all 1s ease-out 1s;
	-ms-transition:all 1s ease-out 1s;
	-o-transition:all 1s ease-out 1s;
}
.right{
	transform: translateX(100%);
	transition:all 1s ease-out 1s;
	-webkit-transition:all 1s ease-out 1s;
	-moz-transition:all 1s ease-out 1s;
	-ms-transition:all 1s ease-out 1s;
	-o-transition:all 1s ease-out 1s;
}
.scale{
	transform: scale(1.5);
	transition:all 1s ease-out 1s;
	-webkit-transition:all 1s ease-out 1s;
	-moz-transition:all 1s ease-out 1s;
	-ms-transition:all 1s ease-out 1s;
	-o-transition:all 1s ease-out 1s;
}
.scale-in{
	transform: scale(0.7);
	transition:all 1s ease-out 1s;
	-webkit-transition:all 1s ease-out 1s;
	-moz-transition:all 1s ease-out 1s;
	-ms-transition:all 1s ease-out 1s;
	-o-transition:all 1s ease-out 1s;
}

.section.active .fade{opacity: 1;}
.section.active .left,.section.active .right{transform: translateX(0);}
.section.active .scale,.section.active .scale-in{transform:scale(1);}

@-webkit-keyframes up {
	0% {-webkit-transform: translateY(0);}
	50% {-webkit-transform: translateY(-10px);}
	100% {-webkit-transform: translateY(0);}
}

@-webkit-keyframes rotate {
	0% {-webkit-transform: rotate(0);}
	100% {-webkit-transform: rotate(360deg);}
}
