﻿*{
    margin: 0;
    padding: 0;
    list-style: none;
}
.activity-period{
    height: 100px;
    display: flex;
    width: max-content;
    width: -moz-max-content;
    width: -webkit-max-content;
    position: relative;
    align-self: stretch
}
.activity-period > .item-period{
    width: 162px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.activity-period > .item-period > .date{
    font-size: 16px;
    color: #CCCCCC;
}
.activity-period > .item-period > .time{
    font-size: 24px;
    font-weight: bold;
    color: #CCCCCC;
    line-height: 38px;
}
.activity-period > .item-period > .state{
    font-size: 14px;
    display: block;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 4px 10px;
    color: #CCCCCC;
}
.activity-period > .item-period.active{
    background: linear-gradient(0deg,rgb(208, 90, 34),rgb(244, 103, 49));
    position: relative;
}
.activity-period > .item-period.active > span{
    color: #fff;
}
.activity-period > .item-period.active > div{
    width:0;
    height:0;
    border-width:15px 15px 0;
    border-style:solid;
    border-color:rgba(208,34,34,1) transparent transparent;
    position:absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    margin: 0 auto;
}
.lastPage,.nextPage{
    width: 24px;
    height: 36px;
    background: blue;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    z-index: 999;
}
.lastPage{
    left: 0;
    background: url("../../Images/EShop/leftBtn.png");
}
.nextPage{
    right: 0;
    background: url("../../Images/EShop/rightBtn.png");
}
.activity-description{
    width: 926px;
    margin: 0 auto;
    text-align: center;
}
.activity-description > h5{
    font-size:16px;
    font-weight: normal;
    color: #333333;
    line-height: 30px;
}
.activity-description > p{
    text-align: left;
    background: #fff;
    height: 75px;
    font-size: 14px;
    color: #999999;
    line-height: 18px;
    text-indent:2em;
}
.count-down{
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.count-down > .timer{
    display: inline-block;
    width:20px;
    height:20px;
    background: #313131;
    color: #fff;
    border-radius:2px;
    font-size:14px;
    text-align: center;
    line-height: 20px;
}
.commodityList{
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
.commodityItem{
    display: flex;
    flex-direction: column;
    align-items: center;
    width:277px;
    height:301px;
    border:1px solid #e5e5e5;
    margin-top: 20px;
    position: relative;
    margin-right: 28px;
    justify-content: space-between;
}
.commodityItem:nth-child(4){
    margin-right: 0;
}
.commodityItem>img{
    width:129px;
    height:148px;
    margin-top: 12px;
}
.commodityItem>h6{
    margin-top: 16px;
    font-size:14px;
    font-weight:500;
}
.commodityItem > .stateStrip{
    width:203px;
    height:16px;
    border-radius:8px;
    border:1px solid rgba(255,210,0,1);
    background:linear-gradient(0deg,rgba(208,34,34,1),rgba(244,49,51,1));
    text-align:center;
    font-size:12px;
    line-height:16px;
    color:#fff;
}
.commodityItem > .DownPrice{
    width:48px;
    height:50px;
    background: url("../../Images/EShop/DownPriceBg.png");
    text-align: center;
    color: #fff;
    position: absolute;
    top: 0; 
    right: 17px;
    font-size:14px;
    vertical-align: middle;
}
.commodityItem > .bottomInfo{
    width: 100%;
    height: 50px;
    background: url("../../Images/EShop/bottomBg.png") no-repeat;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}
.commodityItem > .bottomInfo > .price{
    font-size:18px;
}
.commodityItem > .bottomInfo > .price:before{
    content: '￥';
    font-size: 14px;
    margin-left: 17px;
}
.commodityItem > .bottomInfo > div{
    font-size:12px;
}
.commodityItem > .bottomInfo > div > div{
    width:35px;
    height:16px;
    background:rgba(255,230,223,1);
    border-radius:8px;
    text-align: center;
    color: #EB4D1D;
}
.commodityItem > .bottomInfo > input[value='马上抢']{
    width:74px;
    height:29px;
    background:linear-gradient(180deg,rgba(255,226,156,1),rgba(255,206,38,1));
    border-radius:6px;
    outline: none;
    border: none;
    box-shadow: 2px 5px 5px #A52600;
    cursor: pointer;
    margin-right:20px;
    color: #333333;
}
.commodityItem > .bottomInfo > input[value='已结束'],.commodityItem > .bottomInfo > input[value='已抢光']{
    width:74px;
    height:29px;
    background:#E5E5E5;
    border-radius:6px;
    outline: none;
    border: none;
    box-shadow: 2px 5px 5px #A52600;
    cursor: pointer;
    margin-right:20px;
    color: #333333;
}
.commodityItem > .stateStrip.end
{
    color: #333333;
    border: 1px solid #D2D2D2;
    background:none;
    color:#000;
}
.page
{
    display:flex;
    justify-content: center;
 }
