html, body {
  min-height:100%;
  height:100%;
  width:100%;
}
body {
  background-color:#f0efef;
}
@media screen and (max-width: 320px) {
    body,select,input{font-size: 12px;}
}
@media screen and (min-width: 321px) and (max-width: 413px) {
    body,select,input{font-size: 13px;}
}
@media screen and (min-width: 414px) and (max-width: 639px) {
    body,select,input{font-size: 14px;}
}
@media screen and (min-width: 640px) {
    body,select,input{font-size: 14px;}
}
.clearfix:after {
    display: table;
    content: " ";
    clear: both;
}

.clearfix:after {
    display: table;
    content: " ";
    clear: both;
}
.clearfix{
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: " ";
}
.clearfix:after {
    clear: both;
}
.clearfix{
    *zoom: 1;
}

.header {
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:1rem;
  background: url(../img/header_light.png) 0 0 no-repeat, url(../img/header_bg.png) 0 0 repeat-x;
  background-size: auto 100%;
  text-align: center;
}
.header .logo {
  color:#FFF;
  height:1rem;
  font-size:36px;
  line-height: 36px;
}
.header .back {
  position: absolute;
  top:50%;
  transform: translate(0, -50%); 
  left:0;
  width:40px;
  height:42px;
  color:#FFF;
  font-size:1.5em;
}
.header .back i {
	position: absolute;
	top: 50%;
	transform: translate(0 , -50%);
}
.header .fb-logo {
	position: absolute;
	top:50%;
	transform: translate(0, -50%); 
	right:.2rem;
}
.header .fb-logo img {
	height:.6rem;
	vertical-align: middle;
}
.header .fb-logo span {
	color:white;
	text-decoration:underline;
}
.header .chips {
	position: absolute;
	top:.27rem;
	right:.35rem;
}
.header .chips img {
	height:.4rem;
	vertical-align: middle;
}
.header .chips span {
	color:white;
	font-size:.25rem;
	margin-left:.1rem;
	font-weight:bold;
}
.main {
  position:absolute;
  top:1rem;
  left:0;
  right:0;
  bottom:0;
  overflow: hidden;
  background-color:#FFF;
}
.index{
	top:0;
}
.goods {
	background-color:#e6e6e6;
	margin-top:.3rem;
	padding-top:.2rem;
}
.banners {
  padding:3px 0 0;
  position:relative;
}
.banners .buttons {
	position:absolute;
	bottom:0;
	height:20%;
	width:100%;
	background-color: rgba(255,255,255,0.5);
	padding-left:.15rem;
}
.banners .buttons img {
	margin:.12rem 0 .1rem .1rem;
	height: 70%;
}
.payment {
	background-color:#e6e6e6;
	padding:.1rem 0 .15rem .1rem;
	margin-bottom:.2rem;
}
.payment .title {
	padding-left:.1rem;
	font-weight:bold;
	font-size:.2rem;
}

.payment .title .bankchips {
	font-weight:bold;
	color:#d29628;
	font-size:.22rem;
}

.fb_login {
	text-align:center;
	padding:.3rem 0 .5rem 0;
	color:#a3a3a3;
}
.fb_login p {
	font-size:.25rem;
}
.fb_logo {
	height:1.3rem;
}
.tabbar {
	text-align:center;
}
.tabbar .tabs {
	margin: 0 .1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  
}
.tabbar .tab {
	background-color:white;
	margin:.1rem 0 .1rem .05rem;
	padding:.15rem 0;
	border: 1px solid #d7d7d7;
	text-align:center;
	/* width:1.75rem; */
	width:25%;
	text-align:center;
	position:relative;
}

.tabbar .banktab {
	background-color:white;
	margin:.1rem 0 .1rem .05rem;
	padding:.15rem 0;
	text-align:center;
	/* width:1.75rem; */
	width:50%;
	text-align:center;
	position:relative;
}

.tabbar .tab .image {
	height:1.3rem;
}
.tabbar .tab .chips {
	font-weight:bold;
	font-size:.22rem;
}
.tabbar .tab .content {
	color:#d29628;
	font-size:.22rem;
}
.tabbar .tab .free {
	position:absolute;
	right:.1rem;
	top:0;
	height:.4rem;
}
.tabbar .tab a {
	display:block;
}
a:link { 
color: #000000; 
text-decoration: none; 
} 
a:visited { 
color: #000000; 
text-decoration: none; 
} 
a:hover { 
color: #000000; 
text-decoration: none; 
} 
a:active {
color: #000000; 
text-decoration: none; 
} 

.footer {
	text-align:center;
	margin-top:.1rem;
	top: 50%;
	padding-bottom:.2rem;
	width:100%;
}
.footer img {
	vertical-align: middle;
	width:1px;
	height:.5rem;
}
.footer a {
	padding:.03rem .1rem .05rem .1rem;
	font-size:.28rem;
	color:#0078be;
}
.footer .active {
	background-color:#e6e6e6;
	border-radius:.08rem;
}
.about {
	padding:.1rem .4rem;
}
.about .title{
	font-weight:bold;
	font-size:.2rem;
}
.about .content{
	word-break: keep-all;
	word-wrap: break-word;
	white-space: pre-wrap;
	font-family:Arial;
	font-size:.18rem;
}
.about .swiper {
	position:relative;
	width:100%;
	height:100%;
	border:1px solid #dcdcdc;
	border-radius:.2rem;
	margin:.1rem 0 .5rem 0;
}
.about .swiper-container {
	margin: .1rem .13rem;
	width:96%;
}

.swiper-button-prev {
	background-image:url("../img/prev.png");
	background-size: 50% 50%;
	position:absolute;
	left:-.45rem;
}
.swiper-button-next {
	background-image:url("../img/next.png");
	background-size: 50% 50%;
	position:absolute;
	right:-.45rem;
}
.swiper-pagination {
	width:100%;
	text-align:center;
	margin-top:.15rem;
}
.swiper-pagination-bullet {
	background:#8c8c8c;
	margin-left:.1rem;
	opacity:1;
}
.swiper-pagination-bullet-active {
	background:#dcdcdc;
}
.contact {
	padding:.2rem .4rem;
}
.contact .title{
	width:100%;
	text-align:center;
	font-size:.3rem;
	font-weight:bold;
	margin-bottom:.3rem;
}
.contact .content{
	word-break: keep-all;
	word-wrap: break-word;
	white-space: pre-wrap;
	font-family:Arial;
}
.contact .buttons {
	text-align:center;
	margin-top:.5rem;
}
.contact .buttons img{
	height:1rem;
	margin-left: .4rem;
}
.privacy {
	padding:.2rem .4rem;
}
.privacy .title{
	font-weight:bold;
	font-size:.2rem;
}
.privacy .content{
	word-break: keep-all;
	word-wrap: break-word;
	white-space: pre-wrap;
	font-family:Arial;
	font-size:.18rem;
}

.payment-flow .title{
	width:100%;
	text-align:center;
	font-size:.32rem;
	font-weight:bold;
	margin:.12rem 0;
}
.payment-flow .payment-method {
	width: 100%;
	background-color:#e6e6e6;
	padding-bottom:.2rem;
}

.payment-flow .payment-method .step{
	padding:.1rem 0 0 .12rem;
	font-family:Arial;
}
.payment-flow .payment-method .step-more{
	font-size:.32rem;
}
.payment-flow .payment-method p span{
	font-weight:bold;
}
.center {
	text-align:center;
}
.payment-flow .payment-method .tabs{
	margin-left:.8rem;
}
.payment-flow .payment-method .tab{
	width:1.8rem;
	margin-left:.1rem;
}
.payment-flow .step-next {
	width:100%;
	text-align:center;
}
.payment-flow .step-next img{
	height:.7rem;
}
.goods-list li img {
	height: 2.4rem;
}
.payment-flow .payment-method .pf-success{
	margin-top:.3rem;
	width:100%;
	text-align:center;
}
.payment-flow .payment-method .pf-success img {
	height:3.3rem;
}
.my {
	width:100%;
	padding:.25rem;
}
.my .my-info {
	margin-left:.3rem;
	padding-left:.3rem;
}
.my .my-img {
	float:left;
	width:30%;
}
.my img {
	height:1.8rem;
	border-radius: 1.8rem;
}
.my .username {
	font-size:.35rem;
	font-weight:bold;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width:2.5rem;
}
.my .chips {
	margin-top:.1rem;
}
.my .chips img{
	height:.5rem;
	line-height:.5rem;
	vertical-align: middle;
	margin-right:.1rem;
}
.my .level {
	margin-top:.1rem;
}
.my .level img{
	height:.5rem;
	line-height:.5rem;
	vertical-align: middle;
	margin-right:.1rem;
}

.goods-tabs {
	padding: 0 0 0.1em;
	text-align: center;
	color: #000000;
	background: #FFF;
	height: 2em;
	line-height: 2em;
	width: 100%;
}

.goods-tabs .current {
	width: 49%;
	color: #FFF;
	background: #00a0e9;
	border: 1px solid #00479d;
}

.goods-tabs .noncurrent {
	width: 49%;
	color: #000000;
	background: #FFF;
	border: 1px solid #a0a0a0;
}

.goods-list {
	margin-top:.1rem;
  padding:.1rem .1rem .1rem .1rem;
  background-color:#e6e6e6;
}

.goods-list .title {
	text-align: center;
	font-size: .3rem;
	font-weight: bold;
	margin-bottom: .1rem;
}

.goods-list  .user-chips {
	position: absolute;
	right: .3rem;
	background-color: #dcdcdc;
	border-radius: 50px;
	font-size:.2rem;
	padding: .05rem .1rem;
}

.goods-list .user-chips  span {
	line-height: .2rem;
}

.goods-list .user-chips  img {
	height: .3rem;
	vertical-align: middle;
	line-height: .3rem;
}

.goods-list li {
  float:left;
  width:50%;
	text-align:center;
}
.goods-list .goods-item .item-main {
	width: 100%;
	height: 100%;
	background-size: 100% 100%;	
	position: relative;
	padding-bottom:.01rem;
	margin:.1rem;
}
.goods-list .goods-item .item-main .chips{
	position:absolute;
	right:.18rem;
	top:.1rem;
	color:#ffdc00;
	font-weight:bold;
	font-size:.35rem;
}
.goods-list .goods-item .item-main .price{
	background:0 0 no-repeat;
	background-size:100% 100%;
	margin: 0 .2rem .2rem .2rem;
	padding: 2rem .1rem .1rem;
	color:white;
	font-size:.35rem;
	font-weight:bold;

}

.goods-list .goods-item .item-main .best-value {
	position:absolute;
	left:0;
	top:-.05rem;
}
.goods-list .goods-item .item-main .best-value img {
	height:1.5rem;
}

.bankalerts {
	position: absolute;
	top: 200px;
	left: 0;
	right: 0;
	bottom: 0;
}

.bankalerts .alerts-content {
	position: absolute;
	z-index: 999;
	top: 30%;
	transform: translate(0, -50%);
	left: 10%;
	width: 80%;
	height: 400px;
}

.bankalerts .login-item {
	background-color:#FFF;
	border-radius: 0.1rem;
	text-align:center;
	padding:0 .1rem .2rem .1rem;
}

.bankalerts .login-item .title {
	font-size:.3rem;
	font-weight:bold;
	padding-top:.2rem;
	position:relative;
}

.bankalerts .login-item .title img {
	position:absolute;
	right:0;
	top:0.1rem;
	height:.4rem;
}

.bankalerts .login-item .line {
	background-color: #e6e6e6;
	border: none;
	height: 1px;
}

.bankalerts .login-item .content {
	font-size: .2rem;
	padding: 0 10px;
	word-break: keep-all;
	word-wrap: break-word;
	white-space: pre-wrap;
}

.bankalerts .login-item .smallcontent {
	font-size: .1rem;
	padding: 0 10px;
	word-break: keep-all;
	word-wrap: break-word;
	white-space: pre-wrap;
}

.bankalerts .login-item .input {
	border: 1px solid black;
	border-radius: 3px;
	font-size: .2rem;
	background-color: #dcdcdc;
}

.bankalerts .login-item .input .inputinit {
	color: #7d7d7d;
	background-color: #dcdcdc;
}

.bankalerts .login-item .btn-ok {
	text-align: center;
	margin-top:.3rem;
	height:.7rem;
}

.alerts {
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
}
.alerts .shade {
  position: absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background:#000000;
  opacity: 0.3;
}
.alerts .alerts-content {
  position: absolute;
  z-index: 999;
  top:0;
  left:0;
  right:0;
  bottom:0;
}
.connect-to-facebook {
  margin:0 0.85rem;
  margin-top: 67%;
}
.alerts .login-item {
	background-color:#FFF;
	border-radius: 0.1rem;
	text-align:center;
	padding:0 .1rem .2rem .1rem;
}
.alerts .login-item .title {
	font-size:.3rem;
	font-weight:bold;
	padding-top:.2rem;
	position:relative;
}
.alerts .login-item .title img {
	position:absolute;
	right:0;
	top:0.1rem;
	height:.4rem;
}
.alerts .login-item .fb-buuton {
	margin:.1rem 0;
}
.alerts .login-item .btn-ok {
	margin-top:.3rem;
	height:.7rem;
}
.absolution {
	position:absolute;
	bottom:0;
	margin:0;
	margin-bottom:.2rem;
	padding:0;
	margin-left: auto;
	margin-right: auto;
	width:100%;
}
.payment-flow .payment-method .payment-goods {
	width:100%;
	text-align:center;
}
.payment-flow .payment-method .payment-goods img {
	height:3rem;
}


#addressBookWidgetDiv {
	min-width: 300px;
	max-width: 600px;
	min-height: 228px;
	max-height: 400px;
}
#walletWidgetDiv {
	min-width: 300px;
	max-width:600px;
	min-height: 228px;
	max-height: 800px;
}
/* Mobile optimized and small window */
#addressBookWidgetDiv {
	width: 100%;
	height: 228px;
}

#walletWidgetDiv {
	width: 100%;
	height: 500px;
}
/* Desktop and tablet */

@media only screen and (min-width: 768px) {

	#addressBookWidgetDiv {
		width: 400px;
		height: 500px;
	}

	#walletWidgetDiv {
		width: 400px;
		height: 500px;
	}
}