/*main*/
.main {
	position: relative;
	width: 400px;
	height: 610px;
}

/*扫码支付*/
.main .alipay,
.main .wechatpay {
	position: absolute;
	top: 0;
	left: 0;
}

.main .alipay {
	display: none;
}

.main .main-pay {
	width: 400px;
	height: 100%;
	background: #00aaee;
}

.main .wechatpay {
	background: #1aad19;
}

/*微信支付*/
.main .main-pay .content {
	width: 320px;
	height: 500px;
	margin: 40px 40px 26px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	background: #ffffff;
}

.main .main-pay .content .title {
	height: 80px;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
	color: #ffffff;
	background: #1672d1;
}

.main .wechatpay .content .title {
	background: #018600;
}

/*微信支付*/

.main .main-pay .content .title .title-text {
	float: left;
	margin-top: 15px;
}

.main .main-pay .content .title2 {
	background: none;
	color: #333;
}

.main .main-pay .content .title2 .title-text {
	width: 100%;
	margin-top: 30px;
	text-align: center;
}

.main .main-pay .content .title2 .title-text p {
	font-size: 48px;
}

.main .main-pay .content .title2 .title-text sup {
	margin-right: 5px;
}

.main .main-pay .content .qr {
	width: 200px;
	height: 200px;
	margin: 40px 0 30px 60px;
	background-image: url("../images/qrcode.bg.png");
	position: relative;
}

.qr-refresh {
	position: absolute;
	width: 100%;
	height: 100%;
	line-height: 200px;
	top: 0;
	left: 0;
	background: rgba(256, 256, 256, .9);
	text-decoration: underline;
	text-align: center;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	display: none;
}

.main .main-pay .content .content-bottom {
	position: relative;
	padding: 0 20px;
}

.main .main-pay .content .content-bottom .line {
	height: 1px;
	margin: 10px 0 18px;
	font-size: 0;
	line-height: 0;
	background: #edecec;
}

.main .main-pay .content .content-bottom .alipay-logo {
	display: inline-block;
	width: 109px;
	height: 28px;
	background: url("../images/alipay.png");
	background-image: -webkit-image-set(url("../images/alipay.png") 1x, url("../images/alipay@2x.png") 2x);
}

.main .main-pay .content .content-bottom .wechatpay-logo {
	/*微信支付*/
	display: inline-block;
	width: 109px;
	height: 25px;
	background: url("../images/wechat-pay.png");
	background-image: -webkit-image-set(url("../images/wechat-pay.png") 1x, url("../images/wechat-pay@2x.png") 2x);
}

#alipaySwitch,
#wechatpaySwitch {
	position: absolute;
	right: 20px;
	top: 24px;
}

.queryPaymentResult {
	margin-top: 5px;
	text-align: center;
	color: #1672d1;
	font-size: 14px;
	cursor: pointer;
}

/*loading*/
.loader-container {
	display: inline-block;
	height: 80%;
	width: 80%;
}

.four {
	margin-top: 90px;
	width: 10px;
	height: 10px;
	background-color: #fff;
	border-radius: 50%;
	animation: loader4Animation 1s linear infinite;
	margin-left: 80px;
}

@keyframes loader4Animation {
	0% {
		background-color: rgba(80, 80, 80, 1);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 0.67),
			30px 0px 0px 0px rgba(80, 80, 80, 0.33);
	}

	17% {
		background-color: rgba(80, 80, 80, 0.67);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 1),
			30px 0px 0px 0px rgba(80, 80, 80, 0.67);
	}

	33% {
		background-color: rgba(80, 80, 80, 0.33);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 0.67),
			30px 0px 0px 0px rgba(80, 80, 80, 1);
	}

	50% {
		background-color: rgba(80, 80, 80, 0);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 0.33),
			30px 0px 0px 0px rgba(80, 80, 80, 0.67);
	}

	67% {
		background-color: rgba(80, 80, 80, 0.33);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 0),
			30px 0px 0px 0px rgba(80, 80, 80, 0.33);
	}

	83% {
		background-color: rgba(80, 80, 80, 0.67);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 0.33),
			30px 0px 0px 0px rgba(80, 80, 80, 0);
	}

	100% {
		background-color: rgba(80, 80, 80, 1);
		box-shadow: 15px 0px 0px 0px rgba(80, 80, 80, 0.67),
			30px 0px 0px 0px rgba(80, 80, 80, 0.33);
	}
}

/*loading-end*/