/*basic reset*/
div, dl, dt, dd, ul, ol, li, i, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, header, nav, section, article, footer, aside {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    list-style-type: none;
}

html {
    height: 100%;
}

body {
    height: 100%;
    max-width: 600px;
    margin: auto;
    font-family: "微软雅黑", Helvetica, Arial, sans-serif;
    background-color: #f2f2f2;
    color: #343434;
}
a,a:focus,a:hover,a:active,a:visited{
    text-decoration: none;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
}
a:hover{
    cursor: pointer;
}
li{
    list-style: none;
    display: inline-block;
}
header{
    background-color: #fff;
}
/*清除浮动*/
.clearfix:after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.bookType{
    float: left;
    width: 75%;
}
.bookType>li{
    float: left;
    width: 33%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.open{
    float: left;
    width: 20%;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: .8em;
    text-align: center;
    color: #ff393a;
    background-image: url(/static/images/mall/30.png);
    background-position: right;
    background-repeat: no-repeat;
}
.openUp{
    background-image: url(/static/images/mall/31.png);
}
.moreBookType{
    display: none;
    clear: both;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 10px;
}
.moreBookType>li{
    float: left;
    width: 25%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}
.label_3{
    font-size: .8em;
    padding: 5px;
    border: 1px solid #343434;
    border-radius: 4px;
}
.currentBook{
    padding: 5px;
    background-color: #ff393a;
    color: #fff;
    border-radius: 4px;
    border: 1px solid #ff393a;
}
.goodList{
    margin-top: 10px;
}
.goodItem{
    float: left;
    width: 48%;
    color: #343434;
    margin: 0px 1% 22px;
    background-color: #fff;
}
.goodImgContainer{
    position: relative;
    border:1px solid #eee;
}
.goodImgContainer>img{
    width: 100%;
}
.goodTitle{
    font-size: 12px;
    color: #333;
    text-overflow: ellipsis;
    white-space: pre-line;
    overflow: hidden;
    height: 30px;
    line-height: 15px;
    margin-bottom: 6px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    padding: 8px 5px 0px 5px;
}
.bookPrice{
    width: 90%;
    margin: 5px auto 0;
}
.currentPrice{
    color: #f00;
}
.marketPrice{
    font-size: .8em;
    color: #aaa;
    margin-left: 15px;
    text-decoration: line-through;
}
.productLabel{
    float: right;
    vertical-align: bottom;
}
.tag{
    float: right;
    padding: 0px 7px;
    margin-right: 5px;
    color: #0dc67a;
    font-size: 14px;
    border: 1px solid #0dc67a;
    border-radius: 2px;
    margin-top: 3px;
}
.flyTag{
    position: absolute;
    width: 35px;
    height: 35px;
    top: 0;
    right: -1px;
    background-size: 35px;
    background-image: url(/static/images/mall/27.png);
    background-position-y:0px;
}