﻿/* reset start*/
body {
    line-height: 1.4;
    color: #333;
    font-size: 14px;
}

input, textarea, select {
    font-size: 100%;
    font-family: inherit;
}

html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, form {
    margin: 0;
}

h4, h5, h6 {
    font-size: 1em;
}

ul, ol {
    padding-left: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #333;
    outline: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

img {
    border: 0;
    vertical-align: middle;
}
/* reset end*/

/* 字体大小 start*/
.font12 {
    font-size: 12px;
}

.font13 {
    font-size: 13px;
}

.font15 {
    font-size: 15px;
}

.font16 {
    font-size: 16px;
}

.font18 {
    font-size: 18px;
}

.font-weight700 {
    font-weight: 700;
}
/* 字体大小 end*/

/* 文字样式 start*/
.through-font13 {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.t-through {
    text-decoration: line-through;
}
/* 文字样式 end*/

/* 文本对齐 start*/
.cross-center {
    text-align: center;
}
/* 文本对齐 end*/

/* 字体颜色 start*/
.cld4 {
    color: #D4D3D3;
}

.cl9 {
    color: #999;
}

.cl6 {
    color: #666;
}

.cl2 {
    color: #222;
}

.cl-red-d3 {
    color: #D32D49;
}

.cl-red-ce {
    color: #CE0404;
}

.cl-red-e0 {
    color: #E0001B;
}

.cl-yellow-ee {
    color: #EE9F2F;
}

.cl-white {
    color: #fff;
}
/* 字体颜色 end*/

/* 背景颜色 start*/
.bgc-red-d3 {
    background: #D32D49;
}

.bgc-yellow-ee {
    background: #EE9F2F;
}

.bgc-fa {
    background: #FAFAFA;
}

.bgc-f5 {
    background: #f5f5f5;
}

.bgc-white {
    background: #fff;
}
/* 背景颜色 end*/

/* 高度 start*/
.height44 {
    height: 43px;
    line-height: 44px;
}

.height49 {
    height: 48px;
    line-height: 49px;
}
/* 高度 end*/

/* 宽度 start*/
.width-all {
    width: 100%;
}
/* 宽度 end*/


/* 边框 start*/
.b-bottom {
    border-bottom: 1px solid #EFEFEF;
}

.b-top {
    border-top: 1px solid #EFEFEF;
}

.b-dubble-tb {
    border-top: 1px solid #EFEFEF;
    border-bottom: 1px solid #EFEFEF;
}
/* 边框 end*/

/* 三角 start*/
.arrow-left-w, .arrow-rcenter-gray, .arrow-nomal-right {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-width: 0 0 2px 2px;
    transform: rotateZ(45deg);
    border-style: solid;
    border-color: transparent transparent #fff #fff;
}

.arrow-rcenter-gray {
    position: absolute;
    top: 50%;
    right: 15px;
    border-color: transparent transparent #C7C7CC #C7C7CC;
    transform: translateY(-50%) rotateZ(-135deg) scale(.8);
}

.arrow-nomal-right {
    border-color: transparent transparent #C7C7CC #C7C7CC;
    transform: rotateZ(-135deg) scale(.8);
}
/* 三角 end*/

/* 布局位置 start*/
.floatl {
    float: left;
}

.pb-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.pt-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.pr-center {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.pl-center {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.top44 {
    top: 44px;
}

.top88 {
    top: 88px;
}

.left15 {
    left: 15px;
}

.right15 {
    right: 15px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.display-flex, .display-flex-shink {
    display: flex;
}

    .display-flex-shink > * {
        flex-shrink: 0;
        text-align: center;
    }

.flex-shink {
    flex-shrink: 0;
}

.flex1 {
    flex: 1;
}

.flex-tb-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.margin-right5 {
    margin-right: 5px;
}

.margin-lr5 {
    margin: 0 5px;
}

.margin-right10 {
    margin-right: 10px;
}

.margin-right15 {
    margin-right: 15px;
}

.margin-left15 {
    margin-left: 15px;
}

.margin-top5 {
    margin-top: 5px;
}

.margin-top15 {
    margin-top: 15px;
}

.margin-tb5 {
    margin: 5px 0;
}

.margin-top10 {
    margin-top: 10px;
}

.margin-top16 {
    margin-top: 16px;
}

.margin-top30 {
    margin-top: 30px;
}

.margin-top44 {
    margin-top: 44px;
}

.margin-top87 {
    margin-top: 87px;
}

.margin-top131 {
    margin-top: 131px;
}

.padding15, .padding-lr20, .padding-lr15, .padding-top10, .padding-tb15, .padding-r15 {
    box-sizing: border-box;
}

.padding-r15 {
    padding-right: 15px;
}

.padding-lr20 {
    padding: 0 20px;
}

.padding-lr15 {
    padding: 0 15px;
}

.padding-top10 {
    padding-top: 10px;
}

.padding-tb15 {
    padding: 15px 0;
}

.padding15 {
    padding: 15px;
}
/* 布局位置 end*/

/* 图片 start*/
.news-icon {
    position: relative;
    display: inline-block;
    width: 23px;
    height: 23px;
}

.person-l-img {
    width: 44px;
    height: 44px;
    border-radius: 100%;
}

.img-box > img {
    width: 100%;
    max-width: 100%;
    vertical-align: top;
}

.location-img {
    width: 13px;
    height: 13px;
}

.pay-icon {
    margin-right: 5px;
    margin-top: -3px;
    width: 25px;
    height: 25px;
    vertical-align: middle;
}

.select-icon {
    width: 20px;
    height: 20px;
}

.loading {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}
/* 图片 end*/

/* 按钮 start*/
.red-btn-min {
    padding: 6px 10px;
    min-width: 70px;
    background: #D32D49;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #D32D49;
    outline: none;
}

.white-btn-min, .red-bbtn-min {
    padding: 6px 10px;
    min-width: 70px;
    color: #666;
    background: #fff;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid #666;
    outline: none;
}

.red-bbtn-min {
    border-color: #D32D49;
    color: #D32D49;
}

.btn-big {
    width: 100%;
    height: 40px;
    border-radius: 4px;
    background: #D32D49;
    color: #fff;
    outline: none;
    border: none;
}

.btn-reset {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
}

.count-box {
    flex-shrink: 0;
    font-size: 0;
}

.cb-minus, .cb-plus, .cb-count {
    display: inline-block;
    font-weight: bold;
    font-size: 15px;
    padding: 2px 10px;
    border-right: 1px solid #efefef;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    line-height: 1.5;
}

.cb-minus {
    border-left: 1px solid #efefef;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.cb-plus {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.cb-count {
    background: #F0F2F5;
}

.stop-minus {
    color: #ddd;
}
/* 按钮 end*/


/* header头部 start*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 44px;
    line-height: 44px;
    text-align: center;
    color: #fff;
    background: linear-gradient(#D32D49, #DE3E59);
}

    .header a {
        -webkit-touch-callout: none;
    }
/* header头部 end*/

/* 搜索 start*/
.searchbox {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    box-sizing: border-box;
    background: #fff;
    height: 45px;
}

.input-box {
    position: relative;
    flex: 1;
    height: 100%;
}

.search-input {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    padding-right: 35px;
    border-radius: 27px;
    background: #F2F2F2;
    border: none;
    outline: none;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
}

.new-count {
    position: absolute;
    top: -10px;
    right: -8px;
    color: #fff;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 100%;
    background: #D32D49;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
/* 搜索 start*/

/* 轮播区  start*/
.scrollimg {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 89px;
    background: #ffffff;
}

    .scrollimg .hd {
        position: absolute;
        height: 20px;
        line-height: 20px;
        bottom: 0px;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        z-index: 1;
    }

        .scrollimg .hd li {
            display: inline-block;
            background-color: #cccccc;
            width: 8px;
            height: 8px;
            border-radius: 100%;
            margin-right: 5px;
            text-indent: -9999px;
            overflow: hidden;
        }

            .scrollimg .hd li.on {
                background: #EF584C;
            }

    .scrollimg .bd {
        position: relative;
        z-index: 0;
    }

        .scrollimg .bd li {
            position: relative;
            text-align: center;
        }

            .scrollimg .bd li img {
                vertical-align: top;
                width: 100%;
            }

            .scrollimg .bd li a {
                -webkit-tap-highlight-color: rgba(0,0,0,0);
            }
/* .scrollgroup{position:relative;overflow:hidden;margin:0 auto;background: #ffffff;} */
/* 轮播区  end*/

/* 订单详情顶部提示区 start*/
.tips-top {
    padding: 18px 0;
    text-align: center;
    line-height: 1.8em;
    border-bottom: 1px solid #EFEFEF;
}

    .tips-top img {
        margin-right: 3px;
        width: 18px;
        height: 18px;
        vertical-align: text-bottom;
    }
/* 订单详情顶部提示区 end*/

/* tabs标签 start*/
.tabs {
    display: flex; /* Chrome 29+, Firefox 22+, IE 11+, Opera 12.1/17/18, Android 4.4+ */
    align-items: center;
    width: 100%;
    overflow: hidden;
    background: #fff;
    font-size: 14px;
}

    .tabs > * {
        position: relative;
        flex: 1;
        text-align: center;
    }

.bt-img {
    font-size: 0;
    width: 24px;
    height: 24px;
}

.active-uline, .active-font {
    color: #D32D49;
}

    .active-uline::after {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        content: "";
        display: block;
        width: 40%;
        height: 2px;
        background: #D32D49;
    }
/* tabs end*/

/* list列表 start*/
.list, .pro-lists {
    width: 100%;
    max-width: 100%;
    /* overflow: hidden; */
}

.list-item {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    background: #fff;
}

.list-top {
    position: relative;
    padding: 0 15px;
    box-sizing: border-box;
    width: 100%;
}

.list-middle {
    display: flex;
    align-items: center;
}

.lm-left {
    position: relative;
    flex-shrink: 0;
    margin: 15px 9px 15px 15px;
    width: 73px;
    height: 73px;
}

.lm-right {
    margin-right: 15px;
    flex: 1;
}

.title {
    width: 100%;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-total {
    padding-right: 15px;
    box-sizing: border-box;
    text-align: right;
}

.list-bottom {
    text-align: right;
}
/* list列表 end*/

/* 搜索列表 start*/
.pro-lists {
    display: flex;
    flex-wrap: wrap;
    padding-left: 5px;
    padding-top: 5px;
    box-sizing: border-box;
}

.pro-lists-item {
    width: 50%;
    padding-right: 5px;
    padding-bottom: 5px;
    box-sizing: border-box;
}

.pli-img-box {
    position: relative;
    padding-bottom: 111.111%;
}

.pli-img {
    position: absolute;
    top: 0;
    left: 0;
}

.pli-count {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 2px 5px;
    background: linear-gradient(#D32D49,#DE3E59);
}
/* 搜索列表 end*/

/* 定高纵向滚动列表 start*/
.scroll-y-list {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
/* 定高纵向滚动列表 end*/

/* 定宽横向滚动 start*/
.scroll-x-list {
    width: 100%;
    overflow-x: scroll !important;
    -webkit-overflow-scrolling: touch;
}

    .scroll-x-list > * {
        position: relative;
    }
    /* 定宽横向滚动 end*/

    /* 去除滚动条 start*/
    .scroll-x-list::-webkit-scrollbar, .scroll-y-list::-webkit-scrollbar {
        display: none;
        height: 0;
        opacity: 0;
    }
/* 去除滚动条 end*/

/* 商品详情 start*/
.tab-cc-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-bottom: 1px solid #efefef;
    box-sizing: border-box;
}

.current-img {
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

.pro-pt-tips {
    margin-left: 15px;
    padding: 2px 12px;
    box-sizing: border-box;
    border-radius: 20px;
    font-size: 11px;
    color: #fff;
    background: #FC797E;
}

.pro-groups {
    padding-left: 15px;
    padding-right: 5px;
    box-sizing: border-box;
    width: 100%;
    font-size: 0;
    word-wrap: break-word;
}

.pg-item {
    margin-bottom: 10px;
    padding-right: 10px;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
}

.pg-item-box, .active-group {
    padding: 4px 6px;
    border: 1px solid #D32D49;
    border-radius: 4px;
}

.active-group {
    background: #D32D49;
    color: #fff;
}

.join-group-item {
    padding: 8px 0;
    box-sizing: border-box;
}

    .join-group-item:last-child {
        border-bottom: none;
    }

.btn-join-group {
    margin-left: 10px;
    flex-shrink: 0;
    align-self: center;
    padding: 0 10px;
    box-sizing: content-box;
    color: #D32D49;
    background: #fff;
    font-size: 13px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #D32D49;
    outline: none;
}

.group-rule-box {
    display: flex;
    align-items: center;
    padding: 15px;
}

    .group-rule-box > li {
        text-align: center;
    }

.flex3 {
    flex: 3;
    border: 1px solid #efefef;
    padding: 4px 6px;
    border-radius: 4px;
}

.flex1 {
    flex: 1;
    margin-left: 5px;
    margin-right: 10px;
}

.collect-icon {
    width: 20px;
    height: 18px;
}

.gray-btn {
    background: rgba(0,0,0,.5);
}
/* 商品详情 end*/

/* 返利管理部分 start*/
.rebate-bottom {
    border-top: 1px solid #EFEFEF;
    box-shadow: 0 -10px 0 #FAFAFA;
}

.rb-tips {
    padding-left: 15px;
    padding-top: 15px;
    margin-bottom: 8px;
    box-sizing: border-box;
}

    .rb-tips > img {
        margin-right: 3px;
        width: 16px;
        height: 16px;
        vertical-align: text-top;
    }

.rb-note {
    margin-bottom: 10px;
    padding-left: 34px;
    padding-right: 15px;
    box-sizing: border-box;
    font-size: 12px;
    color: #666;
    line-height: 1.5em;
}

.table {
    margin: 0 auto;
    border-collapse: collapse;
}

    .table td {
        padding: 5px 10px;
        width: 60px;
        vertical-align: middle;
        text-align: center;
        border: 1px solid #EFEFEF;
    }

.bgc-f2 {
    background: #F2F2F2;
}

.btn-box {
    margin-top: 60px;
    padding: 0 15px;
    box-sizing: border-box;
    display: flex;
}

    .btn-box > button {
        flex: 1;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border: none;
        border-radius: 4px;
        outline: none;
    }

        .btn-box > button:first-child {
            margin-right: 30px;
        }
/* 返利管理部分 end*/

/* 模态框 start*/
.width75 {
    width: 75%;
}

.width90 {
    width: 90%;
}

.dialog-center {
    position: absolute;
    top: 50%;
    left: 50%;
    padding-bottom: 15px;
    transform: translate(-50%,-50%);
    border-radius: 4px;
}

.dc-title {
    margin-top: 20px;
    font-size: 17px;
    text-align: center;
}

.dc-content {
    margin-top: 20px;
}

.dialog-under {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* 模态框 end*/

/* 地址信息 start*/
.addr-info {
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    line-height: 1.5em;
    color: #666666;
    border-top: 1px solid #EFEFEF;
    border-bottom: 1px solid #EFEFEF;
}

    .addr-info::after {
        position: absolute;
        bottom: -1px;
        left: 0;
        content: "";
        display: block;
        width: 100%;
        height: 4px;
        background: url(../images/kuaiditiao@2x.png) center repeat;
        background-size: 100% 100%;
    }
/* 地址信息 end*/

/* 其他公用 start*/
.hidden {
    display: none;
    opacity: 0;
}

.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, .5);
}

.closed {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    text-align: center;
    background: rgba(0, 0, 0, .3);
    border-radius: 100%;
}

    .closed::after, .closed::before {
        position: absolute;
        top: 50%;
        left: 50%;
        content: " ";
        display: inline-block;
        width: 1px;
        height: 12px;
        background: #fff;
    }

    .closed::after {
        transform: translate(-50%,-50%) rotateZ(-45deg);
    }

    .closed::before {
        transform: translate(-50%,-50%) rotateZ(45deg);
    }

.empty {
    margin-top: 75px;
}

.empty-good-icon {
    margin: 0 auto;
    transform: translateY(10px);
    width: 100px;
    height: 100px;
}

@media screen and (max-width: 340px) {
    .empty {
        margin-top: 40px;
    }
}

@media screen and (min-width: 350px) {
    .empty {
        margin-top: 60px;
    }
}

.more-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    box-sizing: border-box;
    height: 44px;
    border-bottom: 1px solid #efefef;
}

.head-title {
    font-size: 18px;
}

.clear:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

.clear {
    zoom: 1;
}

.note-wrap {
    padding: 15px 20px;
    background: #f6f6f6;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    word-break: break-all;
}

.add-list {
    position: absolute;
    bottom: -80px;
    left: 0;
    z-index: 1;
    padding: 15px;
    box-sizing: border-box;
    width: 100%;
    background: #4B5A4B;
    color: #fff;
    font-size: 13px;
}

    .add-list > li {
        /* background: #fff; */
    }

.hide {
    display: none !important;
}

.bgc-f5 {
    background: #f5f5f5;
}

.upFile .bgImg {
    width: 100px;
    height: 100px;
    float: left;
    margin-bottom: 20px;
    margin-right: 10px;
}

.clearfix:after {
    display: table;
    content: " ";
}

.clearfix:after {
    clear: both;
}

.modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
    box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
}

.modal-dialog .modal-header .modal-title {
    color: #fff;
    font-size: 14px;
    padding: 5px 10px;
    font-weight: lighter;
}

.modal-title {
    margin: 0;
    line-height: 1.42857143;
}

.modal-dialog .modal-body {
    padding-left: 20px;
    padding-top: 20px;
}

.modal-body {
    padding: 0 15px;
}


.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
    border-top: none;
}

.modal-header {
    border-bottom: none;
}

.modal-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-dialog .modal-header {
    padding: 0;
    background: #ed5565;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.modal-dialog .modal-footer button {
    padding: 3px 6px;
    border-radius: 0;
    box-shadow: none;
    font-size: 12px;
}

.btn-danger {
    background-color: #e0001b;
    border-color: #e0001b;
}

.transition {
    transition: all .3s linear;
}
/* 其他公用 end*/
