@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/homePage.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;
}
/* homePage */
.homePage {
	width: 100%;
	height: 100%;
	background: url(../images/homePage.jpg) center center no-repeat;
	background-size: 100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	/*display: none;*/
}
.homePage em {
	display: block;
	position: absolute;
}
.homePage em:nth-child(1) {
	width:18%;
	height: 13%;
	background:url(../images/icon_strawberry.png) top right no-repeat;
	background-size:auto 100%;
	top: 3.3%;
	right: 5%;
}
.homePage em:nth-child(2) {
	width: 20%;
	height: 11%;
	background:url(../images/btn_flip.png) top right no-repeat;
	background-size:auto 100%;
	bottom: 20px;
	right: 5%;
	-webkit-animation:pulse 1.2s .2s ease infinite;
}
@-webkit-keyframes pulse{
0%{-webkit-transform:scale(1)}
50%{-webkit-transform:scale(1.1)}
100%{-webkit-transform:scale(1)}
}
/* part */
.part {
	width: 100%;
	height: 100%;
	background:url(../images/bg.jpg) top center no-repeat;
	background-size:100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.part h2 {
	width: 96%;
	margin:10% auto 0 auto;
	font-size: 1.3rem;
	line-height: 1.6rem;
	text-align: center;
	font-weight: bold;
}
.part h2 img {
	height: 2rem;
	line-height: 1rem;
}
.part p {
	width: 100%;
	margin: 3% 0;
	font-size: 1.2rem;
	text-align: center; 
}

.part p img {
	height: 8.5rem;
	width: auto;
}
.part h5.prev {
	width: 22%;
	height: 9.2%;
	background: url(../images/btn_prev.png) top left no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 52%;
	left: 1%;
	/*display: none;*/
}
.part h5.next {
	width: 22%;
	height: 9.2%;
	background: url(../images/btn_next.png) top right no-repeat;
	background-size: auto 100%;
	position: absolute;
	top: 52%;
	right: 1%;
	/*display: none;*/
}
/* video */
.videoBg {
	width: 100%;
	height: 100%;
	background:url(../images/videoBg.jpg) top center no-repeat;
	background-size:100% 100%;
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.vjs-tech {
    width: 100%;
    height: 40%;
    padding:0;
    margin: 0;
    border-radius: 10px;
    position: absolute;
    top: 30%;
    left: 0;
}
.videoBg h6 {
	width: 20%;
	height: 13.04%;
	background:url(../images/btn_back.png) top right no-repeat;
	background-size:auto 100%;
	position: absolute;
	top: 80.13%;
	left: 40%;
}
/* 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)}
}

/* 5s*/
@media only screen and (min-width: 320px) and (max-width: 359px) {
	.part p {
		margin: 1% 0;
	}
    .part p img {
		height: 7rem;
		width: auto;
	}
}
/* sony+mi+honor */
@media only screen and (min-width: 360px) and (max-width: 383px){
	.part p {
		margin: 1% 0;
	}
    .part p img {
		height: 7rem;
		width: auto;
	}
}