.displayNone {
    display: none;
}
.red-packet-close {
    position: absolute;
    font-size: 32px;
    width: 32px;
    height: 32px;
    bottom: 0;
    left: 50%;
    margin-left: -16px;
    color: #d2a350;
    cursor: pointer;
}
/* 发红包 */
.send-red-packet {
    position: absolute;
    width: 260px;
    height: 420px;
    top: 15%;
    left: 50%;
}
.red-packet-container {
    width: 100%;
    height: 360px;
    border-radius: 6px;
    overflow: hidden;
    background: #f2f2f2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}
.red-packet-type {
    height: 60px;
    line-height: 60px;
    width: 100%;
    text-align: center;
    background: #f45e4d;
}
.red-packet-type-choose {
    font-size: 14px;
    color: #f45e4d;
    display: inline-block;
    padding: 0 16px;
    height: 32px;
    line-height: 32px;
    background: #fff;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
}
.red-packet-type-unchoose {
    font-size: 14px;
    color: #fff;
    display: inline-block;
    padding: 0 16px;
    height: 32px;
    line-height: 32px;
    background: #f45e4d;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
}
.red-packet-main {
    width: 100%;
    height: 170px;
    padding: 0 10px;
}
.red-packet-amount,.red-packet-number {
    width: 100%;
    background: #fff;
    height: 40px;
    line-height: 40px;
    border-radius: 2px;
    margin: 10px 0;
    padding: 0 10px;
    display: flex;
    align-items: center;
}
.red-packet-amount .ping {
    font-size: 12px;
    padding: 0px 2px;
    line-height: 16px;
    border-radius: 2px;
    color: #fff;
    background: #cc9a42;
    margin-right: 3px;
    flex: 0 0 auto;
}
.red-packet-text {
    flex: 0 0 auto;
    line-height: 40px;
}
.red-packet-input {
    height: 100%;
    line-height: 40px;
    width: 140px;
    display: inline-block;
    flex: 1 1 auto;
    color: #b3b3b3;
    text-align: right;
    padding-right: 3px;
    cursor: pointer;
}
.red-packet-member {
    color: #b3b3b3;
    font-size: 12px;
    padding: 0 10px;
    margin: -8px 0 -4px 0;
}
.red-packet-blessing {
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
    margin: 10px 0;
}
.red-packet-blessing input {
    color: #b3b3b3;
    line-height: 56px;
    height: 56px;
    width: 100%;
    padding: 0 10px;
    cursor: pointer;
}
.red-packet-total-amount {
    color: #000000;
    font-weight: 500;
    text-align: center;
    margin: 20px 0;
}
.red-packet-total-amount .rmb {
    font-size: 24px;
}
.red-packet-total-amount .total-amount {
    font-size: 36px; 
    vertical-align: top;
    line-height: 1.0;
}
.red-packet-sure {
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    width: 100px;
    color: #fff;
    border-radius: 4px;
    background: #f45e4d;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
}

/* 開红包 */
.open-red-packet {
    top: 15%;
    left: 50%;
    width: 230px;
    height: 430px;
    position: absolute;
    z-index: 8;
}
.open-red-packet-container {
    width: 230px;
    height: 376px;
    border-radius: 10px;
    background: #f25542;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
    /* text-align: center; */
}
.look-red-packet-detail {
    color: #fee2b2;
    font-size: 14px;
    margin-top: 30px;
    cursor: pointer;
    text-align: center;
}
.open-red-packet-top {
    width: 230px;
    height: 300px;
    background: #f45e4d;
    border-radius: 0 0 115px 115px / 0 0 33px 33px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .4);
}
.open-red-packet-top-animation {
    height: 190px;
    transition: height .6s;
}
.open-red-packet-top-animation1 {
    height: 100px;
    transition: height .6s;
}
.open-red-packet-open{
    height: 72px;
    width: 72px;
    border-radius: 50%;
    background: #ebcd99;
    position: absolute;
    top: 300px;
    left: 50%;
    margin-left: -36px;
    margin-top: -36px;
    text-align: center;
    line-height: 72px;
    font-size: 32px;
    font-family: '宋体';
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .4);
    cursor: pointer;
}
.open-red-packet-open-animation {
    animation: openAnimation 2s;
    animation-iteration-count: infinite;
}
.open-red-packet-lookmore {
    font-size: 14px;
    color: #fee2b2;
    text-align: center;
    margin-top: 40px;
    cursor: pointer;
}
@keyframes openAnimation {
    from {
        transform: rotateY(0);
    }
    to {
        transform: rotateY(360deg);
    }
}
.open-red-packet-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}
.open-red-packet-userInfo {
    text-align: center;
    
}
.open-red-packet-userInfo img {
    width: 24px;
    height: 24px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align:top;
}
.open-red-packet-userInfo span {
    display: inline-block;
    font-size: 14px;
    color: #fee2b2;
    line-height: 24px;
    height: 24px;
}
.open-red-packet-msg {
    font-size: 18px;
    line-height: 40px;
    color: #fee2b2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* 抢红包详情 */
.red-packet-detail {
    top: 15%;
    left: 50%;
    width: 230px;
    height: 430px;
    position: absolute;
}
.red-packet-detail-container {
    width: 230px;
    height: 376px;
    border-radius: 10px;
    background: #ffffff;
    position: relative;
    overflow: scroll;
    box-shadow: 0 0 4px rgba(0, 0, 0, .2);

}
.red-packet-detail-container::-webkit-scrollbar {
    display: none;
}
.red-packet-detail-top {
    padding-top: 20px;
    width: 100%;
    height: 90px;
    background: #f45e4d;
    border-radius: 0 0 115px 115px / 0 0 33px 33px;
    color: #fee2b2;
    line-height: 22px;
    text-align: center;
}
.red-packet-detail-top  span {
    font-size: 15px;
    font-weight: bold;
}
.red-packet-detail-top img {
    width: 22px;
    height: 22px;
    vertical-align: top;
    border-radius: 2px;
    margin-right: 2px;
}
.red-packet-detail-text {
    font-size: 14px;
    color: #fee2b2;
    height: 28px;
    line-height: 28px;
    text-align: center;
    max-width: 85%;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.red-packet-detail-divider {
    height: 4px;
    width: 100%;
    margin-top: 12px;
    background: #efefef;
}
.red-packet-detail-count {
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    padding: 0 8px;
    border-bottom: 1px solid #efefef;
    color: #999;
}
.receive-detail {
    background: #efefef;
}
.receive-detai-person {
    padding: 0 8px;
    height: 40px;
    line-height: 40px;
    background: #fff;
    margin-bottom: 1px;
}
.receive-detai-person img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 4px;
}
.receive-detail-person-amount {
    float: right;
}