/**************************************************
重置
**************************************************/

body,
dd,
dl,
dt,
h1,
h2,
h3,
h4,
input,
li,
ol,
p,
ul {
    padding: 0;
    margin: 0
}

body,
input {
    font-family: "Microsoft YaHei", Arial;
    color: #666;
    font-size: 13px;
}

a {
    text-decoration: none;
    color: #333
}

ol,
ul,
li {
    list-style: none
}

img {
    border: none;
    vertical-align: middle;
}

dfn,
em,
i {
    font-style: normal
}

input {
    outline: 0
}

input[type=button],
input[type=submit] {
    -webkit-appearance: none
}

input[type=text] {
    border-radius: 0
}

.ftl {
    float: left
}

.ftr {
    float: right
}

.clearfix:after {
    clear: both;
    content: '.';
    display: block;
    height: 0;
    line-height: 0;
    overflow: hidden;
    visibility: hidden
}

.clearfix {
    *zoom: 1
}

input[type=number]:-moz-placeholder,
input[type=phone]:-moz-placeholder,
input[type=text]:-moz-placeholder {
    color: #ccc
}

input[type=number]::-moz-placeholder,
input[type=phone]::-moz-placeholder,
input[type=text]::-moz-placeholder {
    color: #ccc
}

input[type=number]:-ms-input-placeholder,
input[type=phone]:-ms-input-placeholder,
input[type=text]:-ms-input-placeholder {
    color: #ccc
}

input[type=number]::-webkit-input-placeholder,
input[type=phone]::-webkit-input-placeholder,
input[type=text]::-webkit-input-placeholder {
    color: #ccc
}

.dn,
.hide {
    display: none
}


/**************************************************
重置 结束
**************************************************/


/**************************************************
模版
**************************************************/


/*动画*/

.t-item {
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    animation: imgLoad .8s;
    -webkit-animation: imgLoad .8s;
}

.t-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-2px);
}

@keyframes imgLoad {
    from {
        transform: scale(.5);
        opacity: 0
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

@-webkit-keyframes imgLoad {
    from {
        transform: scale(.5);
        opacity: 0
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

@-o-keyframes imgLoad {
    from {
        transform: scale(.5);
        opacity: 0
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}

@-moz-keyframes imgLoad {
    from {
        transform: scale(.5);
        opacity: 0
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}


/*模版*/

.tab-box,
.js-product {
    width: 960px;
    padding: 10px 10px 10px 20px;
    margin: 0 auto;
    overflow: hidden
}

.t-item {
    position: relative;
    float: left;
    width: 218px;
    margin: 0 10px 10px 0;
    padding: 5px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
}

.template-one .t-large {
    width: 450px;
    padding: 9px;
}

.template-one .t-large .t-hd {
    height: 315px;
}


/*图片*/

.t-item .t-hd {
    height: 154px;
    overflow: hidden;
    position: relative;
}

.t-item .t-hd .t-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    border-radius: 20px;
    padding: 0 10px;
    background-color: rgba(0, 0, 0, .7);
    background: #000 \9;
    filter: alpha(opacity=80) \9;
    color: #fff;
}

.t-item .t-hd img {
    width: 100%;
    height: 100%;
    background: url('../images/img-404.png') no-repeat center center;
    background-size: 40%;
}


/*内容*/

.t-item .t-bd {
    overflow: hidden;
    margin: 5px;
}

.t-item .t-h2 {
    height: 40px;
    line-height: 20px;
    margin: 5px 0 10px 0;
    overflow: hidden;
    font-size: 15px;
    color: #555;
    font-weight: normal;
}

.t-item .t-ft {
    position: relative;
}

.t-item .t-money {
    color: #f63459;
}

.t-item .t-money em {
    font-size: 25px;
    font-family: arial;
}

.t-item .t-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    width: 80px;
    height: 30px;
    line-height: 29px;
    text-align: center;
    background-color: #f63459;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.t-item .on {
    /* background-color: #ddd;
    color: #333; */
    background-color: #00be88;
    color: #fff;
}


/**************************************************
会员折扣，积分抵扣标红
**************************************************/


/* .t-item .t-jifen,
.t-item .t-vip {
    color: red;
} */

.t-item .t-jifen,
.t-item .t-vip {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 10px 0 25px;
    height: 20px;
    line-height: 20px;
    border-radius: 10px 1px 10px 1px;
    font-size: 13px;
}

.t-item .t-vip {
    background: #313131 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAANCAMAAABBwMRzAAAAaVBMVEUAAAD/2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I//2I+MZBNRAAAAInRSTlMA++vzjxzCej+ecMi9p5mIa05F3NvOtrCGZ2NYV0w2MyUJMJ/9iwAAAHhJREFUCNdNzTcWwzAMBFEAzMqSc7b3/of0Uk+FpuAnChKydf/JvgS/H78K/VA2Bh4RwImGUaJluaGWJFuUAXpW7X0PdIpBGrCm4OHXiyyV52THCLZIqNgU5gMYP3fEO72+qeOOls4XdC/aci7Ukk9GC+fMB1suyx/qJQwxPVKJgwAAAABJRU5ErkJggg==') no-repeat 5px 3px;
    color: #ffd88f;
}

.t-item .t-jifen {
    background: #f76e69 url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAAbFBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8+T+BWAAAAI3RSTlMA1Y3512EdwJURoZeHerWtqaVAMAXk3pmPdPTlxIB9UDwnGp5IIXcAAACKSURBVAjXXY9JEoMwDARtWXg3OwSyJ/P/P0bgW/qgqj5MaUYJlrRAVp00nLe29Rs3pzlvcDDcxS17xAi0Hj1bRdlgmG/m64ELKU0AphI/koha6R4wXZgGUVc1hXkOqWoGFvee3CJZrehp0I0hjB1AJI8eAF6jHM/2qFGuWFeY7Got3veUSmGxvwk/a4cKzDj5U5cAAAAASUVORK5CYII=') no-repeat 5px 3px;
    color: #fff;
}

.t-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}


/**************************************************
模版 结束
**************************************************/