@media only screen and (max-width: 900px) {
    /* For mobile phones: */
    .subject{
        width: 95vw !important;
        margin-top: 20px;
    }
}
.subject {
    width: 60vw;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-wrap: wrap;
    color: white;
    margin-top: 10px;
    border: 3px solid gray;
    overflow: auto;
    height: 82vh;
}
.giftbag{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.giftbagbox{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.giftbagbox>div{
    width: 100%;
    display: flex;

    border-top: 3px solid gray;
    border-bottom: 3px solid gray;
}
.giftbagbox>div>div{
    width: 25%;
    flex: 1 1 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    margin-left: 5px;
    margin-bottom: 10px;
    justify-content: center;
}
.giftbagbox>div>div>div{
    width: 100%;
    text-align: center;
}
.giftbagbox>div>div>div{
    width: 100%;
}
.giftbagbox>div>div>span{
    flex:0 0 80%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;
    white-space: nowrap;/*强制不换行*/
    display: inline-block;  /*将span当做块级元素对待*/
    overflow: hidden;  /*超出宽度部分隐藏*/
    text-overflow: ellipsis;
}
.spanhidden:hover{
    overflow: visible;
    z-index:999;
    color: #ffe17e;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.65);
}
.giftbagbox h1{
    margin-top: 20px;
    width: 100%;
    margin-bottom: 20px;

    text-align: center;
}
.giftbagbutton{
    margin: 5px auto;
    border: none;
    outline: none;
    width: 80px;
    height: 28px;
    color: white;
    cursor: pointer;
    background: url(http://pic.56uxi.com/img/luckybutton.png);
    background-size: 80px 28px;
    background-repeat: no-repeat;
}
.boxnull{
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
.subject::-webkit-scrollbar {/*滚动条整体样式*/
    width: 15px;     /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}
.subject::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: #b7b7b7;
}
.shopbody::-webkit-scrollbar-track {/*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    opacity: 0.75;
}