﻿ul {
    list-style: none;
}

.pro-lista {
    text-decoration: none;
    color: #333;
}

.pro-list a:visited {
    color: #333;
}

.pro-list a:hover {
    color: #333;
}

.pro-list a:active {
    color: #333;
}

.loading {
    text-align: center;
    height: 20px;
    line-height: 20px;
    margin-bottom: 5px;
}
    .loading span {
        display: inline-block;
        text-indent: 25px;
        height: 20px;
        line-height: 20px;
        background: url(/templates/common/images/iconfont-jiazaizhong.gif) no-repeat;
        background-size: 20px;
    }
.loadingEnd {
    text-align: center;
    height: 20px;
    line-height: 20px;
    margin-bottom: 5px;
}

    .loadingEnd span {
        display: inline-block;
        text-indent: 25px;
        height: 20px;
        line-height: 20px;
        background-size: 20px;
    }
.pro-list img {
    width: 100%;
    max-width: 100%;
    vertical-align: middle;
}

.search-box {
    padding: 10px 15px;
    box-sizing: border-box;
    font-size: 0;
    border-bottom: 1px solid #dcdcdc;
}

.news-box {
    margin-right: 10px;
    display: inline-block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

.search-wrap {
    display: inline-block;
    font-size: 14px;
    line-height: 30px;
    vertical-align: middle;
}

    .search-wrap > input {
        padding: 10px 15px 10px 35px;
        width: 80vw;
        line-height: 20xp;
        box-sizing: border-box;
        border-radius: 20px;
        border: 1px solid #E5ED74;
        outline: none;
        opacity: 1;
        background: url(./static/images/icon_shousuo@2x.png) no-repeat 5px center;
        background-size: 25px 25px;
        -webkit-appearance: none; /*去除input默认样式*/
    }

/* nav-menu */
.nav-menu {
    display: -webkit-flex;
    display: flex;
    overflow-x: scroll;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #dcdcdc;
}

    .nav-menu::-webkit-scrollbar {
        display: none;
        opacity: 0;
        height: 0;
    }

    .nav-menu::-webkit-scrollbar-corner {
        opacity: 0;
        height: 0;
    }

    .nav-menu::-webkit-scrollbar-button {
        opacity: 0;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        opacity: 0;
    }

    .nav-menu > li {
        position: relative;
        padding: 10px;
        flex-shrink: 0;
        width: 20%;
        text-align: center;
        box-sizing:border-box;
    }

        .nav-menu > li.current-active {
            font-weight: bold;
        }

.current-active::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #E5ED74;
}

/* 列表区 start */
.pro-list > li {
    border-bottom: 1px solid #dcdcdc;
}

.pro-list-item {
    padding: 10px;
    box-sizing: border-box;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.pro-img {
    margin-right: 10px;
    width: 100px;
    height: 100px;
}

.pro-info {
    flex: 1;
    position: relative;
}

.pi-title {
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 32px;
    line-height: 16px;
}

.btn-tobuy {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-60%);
    padding: 0 8px;
    line-height: 23px;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 20px;
    background: #E20D0F;
}

.count-box, .count-box > section {
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.count-box {
    justify-content: space-between;
    font-size: 12px;
}

.market-price {
    color: #666;
    text-decoration: line-through;
}

.pi-showtips {
    margin-top: 8px;
    margin-bottom: 5px;
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 10px;
    border: 1px solid #E20D0F;
    color: #E20D0F;
}

.pi-price {
    margin: 10px 0;
    color: #E20D0F;
    font-weight: bold;
}

.progress {
    position: relative;
    margin-left: 5px;
    width: 25vw;
    height: 16px;
    text-align: center;
    line-height: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
}

.line {
    position: absolute;
    top: 0;
    left: 0;
    height: 16px;
    background: #FFEF55;
    z-index: -1;
}

.null {
    font-size: 16px;
    line-height: 200px;
    text-align: center;
    color: #666;
}
/* 列表区 end */
