* {
	margin: 0;
	padding: 0;
}

body {
	background: #D55645;
	width: 100%;
}

.beforshake {
	display: block;
	/* opacity: 1; */
}

.beforshake-hide {
	display: none;
}

.shoplogo {
	text-align: center;
	margin-top: 2em;
}

.shoplogo img {
	border-radius: 50%;
	width: 6em;
	height: 6em;
}

.shopname {
	text-align: center;
	margin-top: 1em;
}

.shopname span {
	font-size: 1.6em;
	color: #FFFFFF;
}

.hand {
	text-align: center;
	margin-top: 2em;
	position: relative;
}

.hand-animate {
	width: 20em;
	-webkit-animation: hand_move infinite 2s;
}

.hand-hide {
	display: none;
	/* opacity: 0; */
}

.shake {
	text-align: center;
	margin-top: 1em;
}

.shake img {
	width: 20em;
}

.maxmoney {
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
}

.maxmoney span {
	font-size: 1.6em;
	color: #FFFFFF;
}

.renend {
	text-align: center;
	margin-top: 2em;
}

.renend span {
	font-size: 1.6em;
	color: #FFFFFF;
}

.timediv {
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
}

.nored {
	text-align: center;
	margin-top: 1em;
	margin-bottom: 2em;
}

.nored span {
	font-size: 1.2em;
	color: #FFFFFF;
}

.timewindow {
	margin: 0em 1em;
	background-color: #be402f;
	border: none;
}

.timewindow .next {
	padding-top: 2em;
}

.timetips {
	padding: 2em;
	display: table;
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
}

.timetips>div {
	display: table-cell;
	vertical-align: bottom;
}

.timetips .tt {
	height: 3em;
	width: 3em;
	background-color: #FFF;
	margin-right: 0.3em;
	display: table-cell;
	vertical-align: middle;
}

.timetips .tt span {
	color: #BE402F;
	display: block;
}

.timetips .t {
	margin-right: 0.3em;
}

.timewindow span {
	font-size: 1.6em;
	color: #FFFFFF;
}

.happy {
	position: absolute;
	top: 2em;
	width: 100%;
	/*display: none;*/
	opacity: 0;
}

.happy-show {
	/* display: block; */
	opacity: 1;
}

.sad {
	position: absolute;
	top: 2em;
	width: 100%;
	display: none;
	/* opacity: 0; */
}

.sad-show {
	display: block;
	/* opacity: 1; */
}

.checkbtn {
	text-align: center;
	margin: 2em 0.8em;
}

.checkbtn input {
	width: 100%;
	height: 3em;
	color: #FFF;
	background-color: #FFB22E;
	font-size: 1.4em;
	/* font-size: 12pt; */
}

.redenvelope {
	margin-top: 2em;
	text-align: center;
}

.redenvelope img {
	width: 18em;
}

.sadphoto {
	margin-top: 2em;
	text-align: center;
}

.sadphoto img {
	width: 14em;
}

.redimg {
	display: inline-block;
	position: relative;
	/* background: url(../../image/shakehand.png) no-repeat; */
	width: 20em;
	height: 21.5em;
}

.redimg img {
	width: 20em;
}

.redimg .quota {
	position: absolute;
	color: #FFF;
	top: 3em;
	left: 5em;
}

.redimg .quota span:First-CHILD {
	font-size: 4em;
}

.redimg .quota span:Last-CHILD {
	font-size: 3em;
}

.redimg .quotastr {
	position: absolute;
	color: #FFB22E;
	bottom: 3em;
	left: 5em;
}

.redimg .quotastr>div:First-CHILD {
	font-size: 2em;
}

.redimg .quotastr>div:Last-CHILD {
	margin-top: 1em;
	font-size: 1.5em;
}

@-webkit-keyframes hand_move { 
	0% {
		-webkit-transform: rotate(0);
		-moz-transform: rotate(0);
		-ms-transform: rotate(0);
		-o-transform: rotate(0);
		transform: rotate(0);
	}
	50% {
		-webkit-transform: rotate(15deg);
		-moz-transform: rotate(15deg);
		-ms-transform: rotate(15deg);
		-o-transform: rotate(15deg);
		transform: rotate(15deg);

	}
	100% {
		-webkit-transform: rotate(0);
		-moz-transform: rotate(0);
		-ms-transform: rotate(0);
		-o-transform: rotate(0);
		transform: rotate(0);
	}
}
.result {
	background: #393B3C;
	border: #2C2C2C 1px solid;
	box-shadow: inset #4D4F50 0 0 0 1px;
	border-radius: 10px;
	color: #fff;
	padding: 10px;
	width: 300px;
	position: absolute;
	top: 300px;
	left: 50%;
	margin-left: -161px;
	display: none;
	/* opacity: 0; */
	-webkit-transition: all 1s;
	-moz-transition: all 1s;
	-ms-transition: all 1s;
	-o-transition: all 1s;
	transition: all 1s;
}

.result .pic {
	width: 50px;
	height: 50px;
	float: left;
	background: url(../../image/sales_vip.png) no-repeat;
	background-size: 50px 50px;
}

.result .con {
	overflow: hidden;
	zoom: 1;
	padding-left: 10px;
	line-height: 24px;
}

.result-show {
	display: block;
	/* opacity: 1; */
	margin-top: 50px;
}

.loaded {
	position: absolute;
	/* top: 240px;
	left: 50%;
	margin-left: -50px; */
	width: 100px;
	height: 100px;
	background: url(../../image/spinner.png) no-repeat;
	background-size: 100px 100px;
	display: none;
	/* opacity: 0; */
	-webkit-animation: loaded infinite linear .5s;
	-moz-animation: loaded infinite linear .5s;
	-ms-animation: loaded infinite linear .5s;
	-o-animation: loaded infinite linear .5s;
	animation: loaded infinite linear .5s;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-ms-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

.loaded-show {
	display: block;
	/* opacity: 1; */
}

@-webkit-keyframes loaded { 
	0% {
		-webkit-transform: rotate(0);
		-moz-transform: rotate(0);
		-ms-transform: rotate(0);
		-o-transform: rotate(0);
		transform: rotate(0);
	}
	100%
	{
		-webkit-transform: rotate(360deg);
		-moz-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}