.wrapper{
  width:100%;
  min-height: 100vh;
  position: relative;
}
.page{
  display: none;
  box-sizing: border-box;
}
.page.flex{
  display: flex;
  flex-direction: column;
}
.loadding{
  display: none;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  color:#09ff07;
  font-size: .26rem;
}
.icon,.btn{
  position: relative;
  display: flex;
  vertical-align: middle;
}

a:active{
  opacity: .85;
}
.spinner {
  width: 60px;
  height: 60px;
  position: relative;
  margin: 20px auto;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
}
.double-bounce1{
  -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
  animation: sk-bounce 2.0s infinite ease-in-out;
}
.double-bounce2 {
  -webkit-animation: sk-bounce2 2.0s infinite ease-in-out;
  animation: sk-bounce2 2.0s infinite ease-in-out;
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}
@-webkit-keyframes sk-bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}
@-webkit-keyframes sk-bounce2 {
  0%, 100% { -webkit-transform: scale(0.0);opacity: 0.6; }
  50% { -webkit-transform: scale(1.0);opacity: 0.6; }
}
@keyframes sk-bounce2 {
  0%, 100% { 
    transform: scale(0.0);opacity: 0.6;
    -webkit-transform: scale(0.0);opacity: 0.6;
  } 50% { 
    transform: scale(1.0);opacity: 0.6;
    -webkit-transform: scale(1.0);opacity: 0.6;
  }
}

/**/
.page-pop{
  display: none;
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color:rgba(0,0,0,.8);
  z-index:399;
}

.page-pop.active{
  display: block;
}
.page-pop.flex{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-pop > .con{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width:6.05rem;
  height:auto;
  padding:.96rem .4rem .4rem;
  box-sizing: border-box;
  background-color: transparent;
  opacity: 1;
  /*transform: translateY(200px);*/
  padding:6px;
  box-sizing: border-box;
}
.page-pop > .con >.con-content{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width:100%;
  height:100%;
  
  padding: .6rem 0;
}
.page-pop .con.animated{
  opacity: 1;
  transform: translateY(-30px);
}
.page-pop .con > .btn-close{
  position: absolute;
  bottom:0;
  left:50%;
  transform: translate3d(-50%,120%,0);
}
.page-pop .con .action{
  width:100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: .5rem;
}

.page-pop > .con > .btn-close{
  position: absolute;
  left:50%;
  bottom:0;
  transform: translate3d(-50%,1rem,0);
}

/**************/
.page-sub{
  position: fixed;
  top:0;
  left:0;
  transform: translate3d(100%,0,0);
  transition: all .1s ease-in;
  z-index: 299;
  background-color: #fff;
}

.page-sub.active{
  transform: translate3d(0,0,0);
}
.page-sub.out{
  transform: translate3d(100%,0,0);
}

/**************/


/*
.num-module{
  position: relative;
  width:4.56rem;
  height:.84rem;
  background-color: transparent;
  border:1px solid #000000;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
}
.num-module > input{
  flex:1;
  text-align: center;
  background-color: transparent;
  border:0;
  padding: 0;
  margin:0;
}
.num-module > .btn-num-minus{
  position: absolute;
  top:0;
  left:0;
  transform: translate3d(-2px, -3px, 0);
}
.num-module > .btn-num-plus{
  position: absolute;
  top:0;
  right:0;
  transform: translate3d(-2px, -3px, 0);
}*/

/****/
.bg {
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.iScrollIndicator{
  box-sizing: border-box;
  position: absolute;
  background: rgba(255,255,255,.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 3px;
  width: 100%;
  transition-duration: 0ms;
  display: block;
  height: 130px;
  transform: translate(0px, 0px) translateZ(0px);
  transition-timing-function: cubic-bezier(0.1, 0.57, 0.1, 1);
}
.iScrollVerticalScrollbar{
  position: absolute;
    z-index: 9999;
    width: 7px;
    bottom: 2px;
    top: 2px;
    right: 1px;
    overflow: hidden;
    pointer-events: none;
}

.page-pop.pop-lottery-play{
  background-color: rgba(0,0,0,.5);
}
.spinner-3{
  display: block;
  width: .8rem;
  height: .8rem;
  border-top: 3px solid rgba(255, 255, 255, .5);
  border-right: 3px solid transparent;
  border-radius: 50%;
  -webkit-animation: rotation 0.8s linear infinite;
  animation: rotation 0.8s linear infinite;
}
@keyframes rotation{
  from{
    transform: rotate(0deg);
  }
  to{
    transform: rotate(360deg);
  }
}




/***/
#square1 {
  height: 40px;
  width: 40px;

}

#square1 span {
  width: 16px;
  height: 16px;
  background-color: #82754f;
  display: inline-block;
  -webkit-animation: square1 1.7s infinite ease-in-out both;
          animation: square1 1.7s infinite ease-in-out both;
}

#square1 span:nth-child(1) {
  left: 0px;
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}

#square1 span:nth-child(2) {
  left: 15px;
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

#square1 span:nth-child(3) {
  left: 30px;
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}

#square1 span:nth-child(4) {
  left: 45px;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

@keyframes square1 {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
  }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}
@-webkit-keyframes square1 {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
  }
  40% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
  }
}

.page-loading{
  display: none;
  flex-direction: column;
  -webkit-flex-direction: column;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
  position: absolute;
  width: 100vw;
  height: 100vh;
  
  text-align: center;
  color:#e31c93;
  font-size: .26rem;
  background-color: #ffffff;
  padding-bottom: 1.5rem;
}



@keyframes heartbeat {
  0% {
    transform: scale(1.05,1.05);
    opacity:1;
  }
  50% {
    transform: scale(1,1);
    opacity:0.8;
  }
  100% {
    transform: scale(1.05,1.05);
    opacity:1;
  }
}


.btn-box{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:19;
}

/**/
@-webkit-keyframes slideInUp{
  0%{
  -webkit-transform:translate3d(0,.8rem,0);
  transform:translate3d(0,.8rem,0);
  visibility:visible;
  opacity: 0;
  }
  to{
    -webkit-transform:translateZ(0);
    transform:translateZ(0)
    opacity:1;
  };
    
  }
@keyframes slideInUp{
  0%{
  -webkit-transform:translate3d(0,.8rem,0);
  transform:translate3d(0,.8rem,0);
  visibility:visible;
  opacity: 0;
  }
  to{
    -webkit-transform:translateZ(0);
    transform:translateZ(0)
    opacity:1;
  };
}

@-webkit-keyframes slideOutDown{
  0%{
    -webkit-transform:translateZ(0);
    transform:translateZ(0);
    opacity:1;
    }
    to{
      -webkit-transform:translate3d(0,.8rem,0);
      transform:translate3d(0,.8rem,0);
      visibility:hidden;
      opacity: 0;
      }
    }
@keyframes slideOutDown{
  0%{
    -webkit-transform:translateZ(0);
    transform:translateZ(0);
    opacity:1;
    }
    to{
      -webkit-transform:translate3d(0,.8rem,0);
      transform:translate3d(0,.8rem,0);
      visibility:hidden;
      opacity: 0;
      }
}

.animate__animated.animate__slideInUp {
  --animate-duration: .3s;
}
.animate__animated.animate__slideOutDown {
  --animate-duration: .3s;
}