@keyframes flash {
    0% {
       box-shadow:0 0 25px rgba(255,0,0,.36);
    }


    50% {
       box-shadow:0 0 50px rgba(255,0,0,.96);
    }

    100% {
       box-shadow:0 0 25px rgba(255,0,0,.36);
    }
}

.alipay {
-webkit-animation: flash 3s  2s both infinite;
-moz-animation: flash 3s 2s both infinite;
-ms-animation: flash 3s 2s both infinite;
animation: flash 3s 2s both infinite;
}
.alipay:hover,.red-package:hover{
    transform: scale(1.1);
}
.alipay-tip{background:#D4003A;color:#fff;font-weight:bold;border:1px solid #D4003A;padding:5px 0;border-radius:15px; box-shadow:0 0 20px rgba(200,0,0,.66);}

.red-package{
  position:relative;
}
.red-package h2{
    position:absolute;
    top:143px;
    color:#fff;
    font-size:16px;
    width:100%;
    text-align:center;
    font-family:'helvetica neue',tahoma,'hiragino sans gb',stheiti,'wenquanyi micro hei',sans-serif;
}
.red-package .red-btn{
  position:absolute;
  top:186px;
  left:35px;
  width:60%;
}

.immediately{
    position: absolute;
    top: 179px;
    left: 59px;
    color: #fff;
    text-align: center;
    font-weight: bold;
}
.reward{position:relative;}
.reward a{
     display:block;
     width:25px;
     height:25px;
     margin:0 auto;
     font-size:15px;
     border:1px solid #f78585;
     border-radius:50%;
     background:#fff;
     text-decoration:none;
     -webkit-animation: flash 3s  2s both infinite;
-moz-animation: flash 3s 2s both infinite;
-ms-animation: flash 3s 2s both infinite;
animation: flash 3s 2s both infinite;
}
#popover{
        position: absolute; top:40px;left: 50%; width: 174px; margin-left: -87px; border: 1px solid #999;border-radius:10px;box-shadow:0 0 15px 0 rgba(0,0,0,.36);background:#fff;display:none;
    }
#popover img{width:150px;}
    .arrow,.arrow::after{
        position: absolute; display: block; width: 0; height: 0; border: 11px solid transparent;border-top: 0; 
    }
    .arrow {
        left: 50%; top: -11px; margin-left: -11px;  border-bottom-color: #999;
    }

    .arrow::after{
        content: "";top:1px;margin-left:-10px;border-width:10px; border-bottom-color: #fff;
    }