@import "reset.css";
/*  */
#loading {
	display:block;
	background:#1a1a1a url(../images/loading.gif) center no-repeat;
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:999999;
}
#loading p {
	width:100%;
	height:50px;
	text-align:center;
	position:absolute;
	top:50%;
	margin-top:-15px;
	left:0;
	font-family: Arial, Helvetica, sans-serif;
	font-size:1.5em;
	color:#999;
	z-index:999999999;
}
/* index */
.p-index { 
	position:relative;
	height: 100%;
	width: 100%;
	min-width:320px;
	max-width:640px;
	margin:0 auto;
	overflow: hidden;
	display: none;
	transform-style: preserve-3d;
	-webkit-transform-origin: 0px 0px 0px;
	-webkit-perspective: 200px;
	-webkit-backface-visibility: hidden;
}
.portrait .p-index {
	-webkit-transform: scale(0.4);
	margin-top: -44%;
}
/* m- */
.m-page {
	position:absolute;
	left:0;
	top:0%;
	height:100%;
	width:100%;
	min-width:320px;
	max-width:640px;
	-webkit-transform-origin: 50px 0px 0px;
	display:none;
}
.m-page.cur {
	display:block;
	z-index:3;
}
.m-img {
	width:100%;
	height:100%;
}
/* page0 */
.m-img1 { 
	background: url(../images/bg.jpg) top center no-repeat;
	background-size: 100% 100%;
	position: relative;
}
/* logo */
.logo {
	width: 28%;
	height: 17.09%;
	background: url(../images/logo_babyfs.png) top right no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 1%;
	left: 0;
	z-index: 999999999;
}
/* homgPage */
.homgPage {
	width: 100%;
	height: 100%;
	background: url(../images/homePage.jpg) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	/*display: none;*/
}
.homgPage p:nth-child(1) {
	width: 41%;
	height: 9.97%;
	background: url(../images/btn_start.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 80.35%;
	left: 29.5%;
}
/* rule */
.rule {
	width: 100%;
	height: 100%;
	background: url(../images/rule.jpg) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.rule p:nth-child(1) {
	width: 19.73%;
	height: 9.97%;
	background: url(../images/btn_go.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 87.1%;
	left: 40.5%;
}
.rule em:nth-child(2) {
	display: block;
	width: 14%;
	height: 8.77%;
	background: url(../images/hint_hand.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 89%;
	left: 32%;
	-webkit-animation: moveUpDown 1s infinite;
}
@-webkit-keyframes moveUpDown {
	0% { -webkit-transform: translateY(20px);}
	100% { -webkit-transform: translateY(0);}
}
/* nav */
.nav {
	width: 100%;
	height: 100%;
	background: url(../images/navBg.jpg) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.nav p:nth-child(1) {
	width: 94.93%;
	height: 36.05%;
	background: url(../images/nav1.png) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 10.11%;
	left: 2.535%;
	z-index: 1;
}
.nav p:nth-child(2) {
	width: 94.93%;
	height: 36.05%;
	background: url(../images/nav2.png) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 53.14%;
	left: 2.535%;
	z-index: 1;
}
.nav p:nth-child(3)  {
	width: 91%;
	height: 34%;
	border-radius: 20px;
	background-color: #000;
	opacity: 0.4;
	position: absolute;
	top: 54.1%;
	left: 4.5%;
	z-index: 2;
}
.nav em:nth-child(4) {
	display: block;
	width: 14%;
	height: 8.77%;
	background: url(../images/hint_hand.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 38.3%;
	left: 11%;
	z-index: 2;
	/*-webkit-transform: rotate(30deg);*/
	-webkit-animation: moveUpDown 1s infinite;
}
.nav em:nth-child(5) {
	display: block;
	width: 14%;
	height: 8.77%;
	background: url(../images/hint_hand.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 81.93%;
	left: 70.4%;
	z-index: 2;
	-webkit-animation: moveUpDown2 1s infinite;
	display: none;
}
@-webkit-keyframes moveUpDown2 {
	0% { -webkit-transform: rotateY(180deg) translateY(20px);}
	100% { -webkit-transform: rotateY(180deg) translateY(0);}
}
/* part1 */
.part1 {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part1 h2 {
	width: 100%;
	height: 46.47%;
	background: url(../images/part1Bg.jpg) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 26.53%;
	left: 0;
}
/* vehicleImg */
.part1 .vehicleImg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.part1 .vehicleImg p {
	position: absolute;
	opacity: 0;
}
.part1 .vehicleImg p:nth-child(1) {
	width: 16%;
	height: 11.54%;
	background-image: url(../images/part1_hotAirBalloon1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 29.61%;
	left: 53.86%;
}
.vehicleImg1-animate {
	-webkit-animation: fadeInPulse 1.2s both;
}
.part1 .vehicleImg p:nth-child(2) {
	width: 17%;
	height: 10.19%;
	background-image: url(../images/part1_boat1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 51.79%;
	left: 4.53%;
}
.vehicleImg2-animate {
	-webkit-animation: fadeInPulse 1.2s 3s both;
}
.part1 .vehicleImg p:nth-child(3) {
	width: 65%;
	height: 11.24%;
	background-image: url(../images/part1_cruiseship1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 49.92%;
	left: 27.06%;
}
.vehicleImg3-animate {
	-webkit-animation: fadeInPulse 1.2s 6s both;
}
.part1 .vehicleImg p:nth-child(4) {
	width: 27%;
	height: 9.29%;
	background-image: url(../images/part1_submarine1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 62.06%;
	left: 70%;
}
.vehicleImg4-animate {
	-webkit-animation: fadeInPulse 1.2s 9s both;
}
.img-pulse {
	-webkit-animation:pulse .8s .2s ease both;
}
@-webkit-keyframes pulse{
0%{-webkit-transform:scale(1)}
50%{-webkit-transform:scale(1.5)}
100%{-webkit-transform:scale(1)}
}
/* vehicleWords */
.part1 .vehicleWords {
	width: 100%;
	height: 26.76%;
	position: absolute;
	bottom: 0;
	left: 0;
}
.part1 .vehicleWords p {
	width: 100%;
	position: absolute;
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 3.4rem;
	text-align: center;
	color: transparent;
	-webkit-text-stroke: 2px #ea5413;
	text-shadow: 2px 0px 3px rgb(255,255,255);
	position: absolute;
	top: 12%;
	left: 0;
	/*display: none;*/
	opacity: 0;
}
.part1 .vehicleWords p:nth-child(2) {
	top: 22%;
}
@-webkit-keyframes fadeInPulse{
0%{opacity:0;-webkit-transform:scale(1);}
50%{opacity:1;-webkit-transform:scale(1.2)}
100%{opacity:1;-webkit-transform:scale(1);}
}
/* question */
.part1 .question {
	width: 84%;
	height: 10.71%;
	background-color: rgba(255,255,255,0.8);
	border-radius: 8px;
	position: absolute;
	top: 78.78%;
	left: 8%;
	display: none;
}
.part1 .question h3 {
	margin-top: 4%;
	font-size: 1.4rem;
	font-weight: bold;
	color: rgb(0,0,0);
	text-align: center;
}
.part1 .question em {
	width: 16%;
	height: 50%;
	background: url(../images/horn.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: -30%;
	left: -6%;
}
/* part2 */
.part2 {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part2 h2 {
	width: 100%;
	height: 43.32%;
	background: url(../images/part2Bg.jpg) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 27.81%;
	left: 0;
}
/* vehicleImg */
.part2 .vehicleImg {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.part2 .vehicleImg p {
	position: absolute;
	opacity: 0;
}
.part2 .vehicleImg p:nth-child(1) {
	width: 25%;
	height: 4.27%;
	background-image: url(../images/part2_airplane1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 32.3%;
	left: 70.4%;
}
.part2 .vehicleImg p:nth-child(2) {
	width: 14%;
	height: 4.64%;
	background-image: url(../images/part2_helicopter1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 37.7%;
	left: 18.13%;
}
.part2 .vehicleImg p:nth-child(3) {
	width: 17%;
	height: 5.02%;
	background-image: url(../images/part2_train1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 44.22%;
	left: 82%;
}
.part2 .vehicleImg p:nth-child(4) {
	width: 14%;
	height: 4.87%;
	background-image: url(../images/part2_moto1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 56.74%;
	left: 8.26%;
}
.part2 .vehicleImg p:nth-child(5) {
	width: 32%;
	height: 9.14%;
	background-image: url(../images/part2_bus1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 55.24%;
	left: 32.66%;
}
.vehicleImg5-animate {
	-webkit-animation: fadeInPulse 1.2s 12s both;
}
.part2 .vehicleImg p:nth-child(6) {
	width: 20%;
	height: 10.34%;
	background-image: url(../images/part2_digger1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 49.62%;
	left: 77.73%;
}
.vehicleImg6-animate {
	-webkit-animation: fadeInPulse 1.2s 15s both;
}
.part2 .vehicleImg p:nth-child(7) {
	width: 27%;
	height: 7.42%;
	background-image: url(../images/part2_taxi1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 62.29%;
	left: 7.73%;
}
.vehicleImg7-animate {
	-webkit-animation: fadeInPulse 1.2s 18s both;
}
.part2 .vehicleImg p:nth-child(8) {
	width: 21%;
	height: 6.07%;
	background-image: url(../images/part2_car1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 63.64%;
	left: 43.33%;
}
.vehicleImg8-animate {
	-webkit-animation: fadeInPulse 1.2s 21s both;
}
.part2 .vehicleImg p:nth-child(9) {
	width: 22%;
	height: 9.29%;
	background-image: url(../images/part2_tractor1.png);
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 60.56%;
	left: 72%;
}
.vehicleImg9-animate {
	-webkit-animation: fadeInPulse 1.2s 24s both;
}
/* vehicleWords */
.part2 .vehicleWords {
	width: 100%;
	height: 26.76%;
	position: absolute;
	bottom: 0;
	left: 0;
}
.part2 .vehicleWords p {
	width: 100%;
	position: absolute;
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 3.4rem;
	text-align: center;
	color: transparent;
	-webkit-text-stroke: 2px #ea5413;
	text-shadow: 2px 0px 3px rgb(255,255,255);
	position: absolute;
	top: 12%;
	left: 0;
	/*display: none;*/
	opacity: 0;
}
/* question */
.part2 .question {
	width: 84%;
	height: 10.71%;
	background-color: rgba(255,255,255,0.8);
	border-radius: 8px;
	position: absolute;
	top: 78.78%;
	left: 8%;
	display: none;
}
.part2 .question h3 {
	margin-top: 4%;
	font-size: 1.4rem;
	font-weight: bold;
	color: rgb(0,0,0);
	text-align: center;
}
.part2 .question em {
	width: 16%;
	height: 50%;
	background: url(../images/horn.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: -30%;
	left: -6%;
}
/* smileFace */
.smileFace {
	width: 15%;
	height: 7.72%;
	background: url(../images/smileFace.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	bottom: 5%;
	right: 5%;
	z-index: 9;
	opacity: 0;
	display: none;
}
.smileFace-animate {
	-webkit-animation:bounce 3s ease both;
}
@-webkit-keyframes bounce{
0%{opacity: 0;}
0%,10%,30%,40%,60%{opacity: 1;-webkit-transform:translateY(0)}
20%{opacity: 1;-webkit-transform:translateY(-30px)}
50%{opacity: 1;-webkit-transform:translateY(-15px)}
100%{opacity: 0;}
}
/* sharePage */
.sharePage {
	width:100%;
	height: 100%;
	background:url(../images/share_bg.jpg) top center no-repeat;
	background-size:100% 100%;
	position:absolute;
	top:0;
	left:0;
	z-index:999999;
	display: none;
}
.sharePage span:nth-child(1) {
	display: block;
	width:26%;
	height: 13%;
	background:url(../images/share_arrow.png) top center no-repeat;
	background-size:auto 100%;	
	position:absolute;
	top:1.5%;
	right:0%;
}
.share-arrow-animate {
	-webkit-animation:fadeInUp01 1.4s .1s ease infinite;
}
@-webkit-keyframes fadeInUp01{
0%{opacity:0.5;
-webkit-transform:translateY(-10px)}
50%{opacity:1;
-webkit-transform:translateY(0px)}
100%{opacity:0.5;
-webkit-transform:translateY(-10px)}
}
.sharePage p:nth-child(2) {
	width: 53%;
	height: 28.93%;
	position: absolute;
	top: 45%;
	left: 28%;
}
.sharePage p:nth-child(2) img {
	width: auto;
	height: 100%;
}
.onceMore {
	width:56%;
	height:10.11%;
	background:url(../images/btn_onceMore.png) top center no-repeat;
	background-size:auto 100%;
	position:absolute;
	top:88%;
	left:20.5%;
}
.sharePage-animate {
	-webkit-animation:bounceInDown 1s 2s ease both;
}
@-webkit-keyframes bounceInDown{
0%{opacity:0;
-webkit-transform:translateY(-2000px)}
60%{opacity:1;
-webkit-transform:translateY(30px)}
80%{opacity:1;-webkit-transform:translateY(-10px)}
100%{opacity:1;-webkit-transform:translateY(0)}
}