@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%;}

.logo {
	width: 28%;
	height: 17.09%;
	background: url(../images/logo_babyfs.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 1%;
	left: 0;
	z-index: 99;
}
/* page0 */
.m-img1 { 
	/*background: url(../images/bg.jpg) top center no-repeat;*/
	background-size: 100% 100%;
	position: relative;
}
.homgPage {
	width: 100%;
	height: 100%;
	background: url(../images/homePage.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: relative;
	z-index: 9;
	/*display: none;*/
}
.homgPage p:nth-child(1) {
	width: 41%;
	height: 9.97%;
	background: url(../images/homePage_start.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 82.53%;
	left: 29.5%;
}
.homgPage a:nth-child(2) {
	display: block;
	width: 18%;
	height: 9.22%;
	background:url(../images/btn_back1.png) top right no-repeat;
	background-size:auto 100%;
	position: absolute;	
	top: 3%;
	right: 6%;
}
/* 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: 21%;
	height: 9.97%;
	background: url(../images/rule_go.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 86.43%;
	left: 39.5%;
}
/* part1 */
.part1 {
	width: 100%;
	height: 100%;
	background: url(../images/partBg.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part1 p:nth-child(1) {
	width: 74%;
	height: 22.03%;
	background: url(../images/mosquito1.png) top left no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 15.51%;
	left: 13.86%;
}
.part1 p:nth-child(2) {
	width: 73%;
	height: 21.88%;
	background: url(../images/mosquito2.png) top left no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 62.96%;
	left: 13.86%;
}
.part1 span:nth-child(3) {
	display: block;
	width: 26%;
	height: 14.46%;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 65.74%;
	left: 7.86%;
	z-index: 2;
}
.part1 span:nth-child(4) {
	display: block;
	width: 52.8%;
	height: 11.09%;
	background: url(../images/wordFrame.png) top center no-repeat;
	background-size: 100% 100%;
	font-size: 2rem;
	line-height: 4.4rem;
	color: #000;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 45.35%;
	left: 23.6%;
	z-index: 1;
}
.rightHint-animate {
	-webkit-animation:flash 1.6s .2s ease both;
}
@-webkit-keyframes flash{
0%,50%,100%{opacity: 1;}
25%,75%{opacity: 0;}
}
.text-animate {
	-webkit-animation:fadeInDown 1s .2s ease both;
}
@-webkit-keyframes fadeInDown{
0%{opacity:0;
-webkit-transform:translateY(-20px)}
100%{opacity:1;
-webkit-transform:translateY(0)}
}
/* part2 */
.part2 {
	width: 100%;
	height: 100%;
	background: url(../images/partBg.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part2 p:nth-child(1) {
	width: 52%;
	height: 32.83%;
	background: url(../images/firefly1.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 6.44%;
	left: 24.26%;
}
.part2 p:nth-child(2) {
	width: 52%;
	height: 32.83%;
	background: url(../images/firefly2.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 58.32%;
	left: 24.26%;
}
.part2 span:nth-child(3) {
	display: block;
	width: 26%;
	height: 14.46%;
	background-position: top left;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 59.89%;
	left: 43.6%;
	z-index: 2;
}
.part2 span:nth-child(4) {
	display: block;
	width: 52.8%;
	height: 11.09%;
	background: url(../images/wordFrame.png) top center no-repeat;
	background-size: 100% 100%;
	font-size: 2rem;
	line-height: 4.4rem;
	color: #000;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 45.35%;
	left: 23.6%;
	z-index: 1;
}
/* part3 */
.part3 {
	width: 100%;
	height: 100%;
	background: url(../images/partBg.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part3 p:nth-child(1) {
	width: 68%;
	height: 28.41%;
	background: url(../images/moth1.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 11.24%;
	left: 16.53%;
}
.part3 p:nth-child(2) {
	width: 68%;
	height: 28.41%;
	background: url(../images/moth2.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 59.97%;
	left: 16.53%;
}
.part3 span:nth-child(3) {
	display: block;
	width: 26%;
	height: 20.68%;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 66.41%;
	left: 36.93%;
	z-index: 2;
}
.part3 span:nth-child(4) {
	display: block;
	width: 52.8%;
	height: 11.09%;
	background: url(../images/wordFrame.png) top center no-repeat;
	background-size: 100% 100%;
	font-size: 2rem;
	line-height: 4.4rem;
	color: #000;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 45.35%;
	left: 23.6%;
	z-index: 1;
}
/* part4 */
.part4 {
	width: 100%;
	height: 100%;
	background: url(../images/partBg.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part4 p:nth-child(1) {
	width: 77%;
	height: 27.81%;
	background: url(../images/mantis1.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 10.34%;
	left: 12.26%;
}
.part4 p:nth-child(2) {
	width: 77%;
	height: 27.81%;
	background: url(../images/mantis2.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 60.26%;
	left: 12.26%;
}
.part4 span:nth-child(3) {
	display: block;
	width: 26%;
	height: 14.46%;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 74.51%;
	left: 22.66%;
	z-index: 2;
}
.part4 span:nth-child(4) {
	display: block;
	width: 52.8%;
	height: 11.09%;
	background: url(../images/wordFrame.png) top center no-repeat;
	background-size: 100% 100%;
	font-size: 2rem;
	line-height: 4.4rem;
	color: #000;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 45.35%;
	left: 23.6%;
	z-index: 1;
}
/* part5 */
.part5 {
	width: 100%;
	height: 100%;
	background: url(../images/partBg.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part5 p:nth-child(1) {
	width: 46%;
	height: 34.48%;
	background: url(../images/cricket1.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 8.09%;
	left: 27.46%;
}
.part5 p:nth-child(2) {
	width: 46%;
	height: 34.48%;
	background: url(../images/cricket2.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 56.44%;
	left: 27.46%;
}
.part5 span:nth-child(3) {
	display: block;
	width: 26%;
	height: 14.46%;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 53.14%;
	left: 44.26%;
	z-index: 2;
}
.part5 span:nth-child(4) {
	display: block;
	width: 52.8%;
	height: 11.09%;
	background: url(../images/wordFrame.png) top center no-repeat;
	background-size: 100% 100%;
	font-size: 2rem;
	line-height: 4.4rem;
	color: #000;
	font-weight: bold;
	text-align: center;
	position: absolute;
	top: 45.35%;
	left: 23.6%;
	z-index: 1;
}
/* right */
.right {
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.6);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
	display: none;
}
.right p:nth-child(1) {
	width: 100%;
	height: 100%;
	background: url(../images/right.png) top center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
}
.right span:nth-child(2) {
	display: block;
	width: 100%;
	height: 7.72%;
	background: url(../images/next.png) top center no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 78.71%;
	left: 0;
	display: none;
}
.right-animate {
	-webkit-animation:pulse 1s .1s ease both;
}
@-webkit-keyframes pulse{
0%{opacity:0;-webkit-transform:scale(0.3)}
40%{-webkit-transform:scale(1.6)}
80%{-webkit-transform:scale(0.8)}
90%{-webkit-transform:scale(1.2)}
100%{opacity:1;-webkit-transform:scale(1)}
}
/* clearance */
.clearance {
	width:100%;
	height: 100%;
	background:url(../images/clearanceBg.png) top center no-repeat;
	background-size:100% 100%;
	position:absolute;
	top:0;
	left:0;
	z-index:9;
	display: none;
}
.clearance span {
	display: block;
	position:absolute;
}
.clearance span:nth-child(1) {
	width:22%;
	height: 11%;
	background:url(../images/share_arrow.png) top center no-repeat;
	background-size:auto 100%;	
	top:1.5%;
	right:2%;
}
.share-arrow-animate { -webkit-animation:fadeInUp01 1.4s .1s ease infinite;}
/* animate */
@-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)}
}
.clearance h4:nth-child(2) {
	width:100%;
	height:10.11%;
	background:url(../images/btn_onceMore.png) top center no-repeat;
	background-size:auto 100%;
	position:absolute;
	top:76.91%;
	left:0;
}
.clearance-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)}
}
.clearance a:nth-child(3) {
	display: block;
	width: 18%;
	height: 9.22%;
	background:url(../images/btn_back1.png) top right no-repeat;
	background-size:auto 100%;
	position: absolute;	
	bottom: 3%;
	right: 5%;
}
/* 5s*/
@media only screen and (min-width: 320px) and (max-width: 359px) {
    .part1 span:nth-child(4) {
	font-size: 1.5rem;
	line-height: 3.6rem;
	}
	.part2 span:nth-child(4) {
	font-size: 1.5rem;
	line-height: 3.6rem;
	}
	.part3 span:nth-child(4) {
	font-size: 1.5rem;
	line-height: 3.6rem;
	}
	.part4 span:nth-child(4) {
	font-size: 1.5rem;
	line-height: 3.6rem;
	}
	.part5 span:nth-child(4) {
	font-size: 1.5rem;
	line-height: 3.6rem;
	}
}