* {
	margin: 0;
	padding: 0;
}
body {
	background-color: #fff;
	color: #222;
	font-family: Helvetica, Hiragino Kaku Gothic ProN;
	font-size: 15px;
	position: reative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
#can, #can_sub {
	position: absolute;
	top: 0;
	left: 0;
}
#can {
	z-index: 500;
}
#can_sub {
	z-index: 400;
}
#can_bg {
	z-index: 300;
}
#can_bg, #finish, #main, #about, #popImg, .blkCover, .whtCover {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
}
.vertical_bg {
	background: rgb(153, 255, 102) url(img/bgV.png) no-repeat center;
	background-size: contain;
}
/*iPhone4*/

@media screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
	#can, #can_sub {
		width: 100%;
	}
}
@media screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
	#can, #can_sub {
		width: 100%;
	}
}
.horizon_bg {
	background: rgb(153, 255, 102) url(img/bgH.png) no-repeat center;
	background-size: contain;
}
#popImg {
	z-index: 350;
}
#finish {
	display: none;
	z-index: 600;
}
#main {
	background: #fff url(img/bigStartimg.png) no-repeat center;
	background-size: contain;
	display: block;
	z-index: 700;
}
#about {
	background: #fff;
	display: none;
	z-index: 800;
}
@media screen and (orientation: landscape) {
	.aboutText {
		width: 50%;
	}
}
.blkCover {
	background-color: #000;
	opacity: 0.5;
	z-index: 50;
}
.whtCover {
	background-color: #fff;
	opacity: 0.5;
	z-index: 50;
}
ul {
	width: 70%;
	height: auto;
	margin-left: -35%;
	position: absolute;
	left: 50%;
	z-index: 60;
}
li {
	color: #fff;
	padding: 3%;
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
	list-style-type: none;
}
.aboutText {
	padding: 1%;
	margin: 2% auto;
	background: url(img/aboutBg.png) no-repeat center;
	background-size: cover;
	border: solid 2px #CDCDCD;
	-webkit-border-radius: 10px;
	-webkit-box-shadow: 1px 1px 5px #000;
}
.aboutText p, .aboutText h3 {
	position: relative;
	z-index: 60;
}
/*------------menu panel & button---------------*/
.button_ul {
	bottom: 2%;
	padding-left: 5px;
}
.panel_ul{
	top: 3%;
	
	background: #000 url(img/panelBg.png);
	padding: 5px;
	-webkit-border-radius: 10px;
	-webkit-box-shadow: 0 0 10px #000, inset 0 0 5px rgba(0,0,0,.7);
}
.button {
	width: 90%;
	height: 15%;
	line-height: 120%;
	margin: 2% auto;
	
	border-top: 1px solid #e6e6e6;
	background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#686a6b));
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 1), inset 1px 1px 3px rgba(255, 255 ,255, 1);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
	-webkit-tap-highlight-color: rgba(255,255,255,0.5);
}
.panel {
	color: #000;
	width: 94%;
	background: -webkit-gradient(linear, left top, left bottom, from(#1F1F1F), to(#000000));
	-webkit-box-shadow: inset 0 0 2px rgba(255, 255 ,255, 1);
}
@media (orientation: landscape) {
	.panel {
		width: 44%;
		float: left;
	}
}
.panel_ul li:first-of-type {
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
}
.panel_ul li:last-of-type {
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
}
.radiBtnBox {
	width: 100%;
	position: absolute;
	bottom: 70px;
}
.radiBtn {
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size: 1em;
	float: left;
	width: 29%;
	margin: 1%;
	padding: 5% 1%;
	border-top: 1px solid #e6e6e6;
	background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#686a6b));
	-webkit-border-radius: 5px;
	-webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 1), inset 1px 1px 3px rgba(255, 255 ,255, 1);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}
@media screen and (min-width: 768px) {
	.radiBtnBox {
		bottom: 150px;
	}
	.radiBtn {
		padding: 2% 1%;
	}
}

#resultRank {
	color: #fff;
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
	width: 25%;
	padding: 1%;
	position: absolute;
	top: -30%;/*regular 5% */
	left: 2%;
	z-index: 70;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#151515), to(#000000));
	border: 3px solid #CDCDCD;
	-webkit-border-radius: 10px;
	-webkit-box-shadow: 0 0 10px #000, inset 0 0 2px rgba(255, 255 ,255, 1);
	-webkit-transform: rotate(-35deg);
}
.active {
	background: -webkit-gradient(linear, left top, left bottom, from(#1F1F1F), to(#1F1F1F));
	-webkit-box-shadow: 0 0 0 #000, inset 0 0 0 rgba(255, 255 ,255, 1);
}
/*------------popImg&popCss------------------*/
#ready, #start, #hit {
	position: absolute;
	display: none;
}
#ready, #start {
	top: 50%;
	left: 50%;
	margin: -17.5px 0 0 -37.5px;
}
#ready {
	display: block;
}
/*------------animation-----------------------*/
@-webkit-keyframes slideUp {
	from {
		-webkit-transform: translateY(100%);
	}
	to {
		-webkit-transform: translateY(0);
	}
}
@-webkit-keyframes slideDown {
	from {
		-webkit-transform: translateY(0);
	}
    to {
		-webkit-transform: translateY(100%);
	}
}
@-webkit-keyframes rotateIn {
	from {
		-webkit-transform: rotateX(180deg);
	}
	to {
		-webkit-transform: rotateX(0);
	}
}
@-webkit-keyframes rotateOut {
	from {
		-webkit-transform: rotateX(0);
	}
	to {
		-webkit-transform: rotateX(180deg);
	}
}
@-webkit-keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}
@-webkit-keyframes rotation {
	0% {
		-webkit-transform: rotateX(0);
	}
	50% {
		-webkit-transform: rotateX(180deg);
	}
	100% {
		-webkit-transform: rotateX(0);
	}
}
@-webkit-keyframes dropIn {
	from {
		top: -30%;
	}
    to {
		top: 5%;
	}
}
@-webkit-keyframes popUp {
	from {
		-webkit-transform: scale(0);
	}
    to {
		-webkit-transform: scale(1);
	}
}

.slideDown {
	-webkit-animation-name: slideDown;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 350ms;
}
.slideUp {
	-webkit-animation-name: slideUp;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 350ms;
}
.rotateIn {
	-webkit-animation-name: rotateIn;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 150ms;
}
.rotateOut {
	-webkit-animation-name: rotateOut;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 150ms;
}
.fadeOut {
	-webkit-animation-name: fadeOut;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 350ms;
}
.rotation {
	-webkit-animation-name: rotation;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 350ms;
	-webkit-animation-iteration-count: 2;
}
.dropIn {
	-webkit-animation-name: dropIn;
	-webkit-animation-timing-function: ease-in;
	-webkit-animation-duration: 200ms;
}
.popUp {
	-webkit-animation-name: popUp;
	-webkit-animation-timing-function: ease-in-out;
	-webkit-animation-duration: 350ms;
	-webkit-transform-origin: 0 100%; 
}
