html {
    font-size: 20px;
    background: #f5f7fa;
}

@media screen and (min-width:320px) and (max-width:359px){html{font-size:16px}}
@media screen and (min-width:360px) and (max-width:413px){html{font-size:20px}}
@media screen and (min-width:414px) and (max-width:599px){html{font-size:22px}}
@media screen and (min-width:600px) and (max-width:719px){html{font-size:26px}}
@media screen and (min-width:720px) and (max-width:749px){html{font-size:30px}}
@media screen and (min-width:750px) and (max-width:799px){html{font-size:34px}}
@media screen and (min-width:800px){html{font-size:38px}}

body {
    font-size: 0.75rem;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

video {
    display: block;
    width: 100%;
    height: auto;
}

.check_on {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIH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LRpVpQphtN8NPuDx6gWZawEVDlcLy3M9OeH5KC5EjyxJIAKN6la94gkcbJMI1aaGgTLwVNlrByccvsUIlx8ikZRXanMKY5x7VewAnQqY1Xct241KE+4X+PCXuXng+BKlOu+sFjpVGqUCx6ZFfWL4T6NC++Ahcr22GPJVKLPYAl4oZit5gf0Sn1hy9OLpnEMSwss6bXJ/ORgKU++ptkaJgYv1Rtm+0hHk9j8mKOYlsx1AywGrziewi1T5EPkaRfDHQzuOpoM2sBMJYMVKv+lFLagdvqUgDrCjJf37QRv0AoyLONi9ibY5lNcfyBezThcZ3NyOhNCurJnr+t0blyoTj1xSN+sx+YCGXzS07hnt/hotsdM7xElVElb6p7NhWQvfwig2iujxxGn5kZL3k8WtaoP0lpLSHd7IInMDtJT1EbKe5/ip1OJl3exDJtp+FwSmBUP9dbBaOVlCeuAREl6akdH+0OseriYNWzQKue+HbJrWCaUGsMtzyC+iANsAZQaMd4s6Zw4ZE/P8znkSeiaD27Fu1D3iCTRo4BH9W4PjXZzzXxrNHBr2JQE8Bye1xqM4ZeETqquBq6RYze7RhzccIh5XZBXtNLqWsSGjPQ4rK9uPxnDr25fg2fgOccd6b8AAwBv2bO0OAES2AAAAABJRU5ErkJggg==) no-repeat 0 0;
    background-size: contain;
    vertical-align: middle
}

.check_off {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    border: .01rem solid #bfbfbf;
    border-radius: 50%;
    vertical-align: middle
}

#loading {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    /*background-color: rgba(100, 100, 100, 0.5);*/
    z-index: 1001;
    display: none;
}

#loading .wrap {
    background: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0.5rem;
    transform: translate(-50%, -50%);
    display: flex;
    border-radius: 0.5rem;
}

.loadingImg {
    width: 1.5rem;
    height: 1.5rem;
    display: inline;
}

.loadingImg_anmi {
    -webkit-animation: loadingImg_keyframes 2s ease infinite;
}

@-webkit-keyframes loadingImg_keyframes {
    0% {
        transform: rotate(0deg)
    }
    100% {
        transform: rotate(360deg)
    }
}

.loadingBox {
    position: relative;
    padding: 1rem;
    text-align: center;
    display: none;
}
.loadingOver{
    position: relative;
    padding: 1rem;
    text-align: center;
    display: none;
}

#toastBox {
    background: rgba(0, 0, 0, 0.75);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 0.8rem;
    min-width: 50%;
    padding: 1rem;
    color: white;
    position: fixed;
    text-align: center;
    z-index: 1001;
    display: none;
}

#toastBox #toastIco {
    width: 2rem;
    height: 2rem;
    display: block;
    margin: 0rem auto 0.5rem auto;
}


#confirmBox {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

#confirmBox .wrap {
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 70%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(100, 100, 100, 0.3);
}

#confirmBox .message {
    padding: 1rem;
    text-align: center;
}

#confirmBox .btns {
    display: inline-flex;
    text-align: center;
    border-top: solid 1px #eee;
}

#confirmBox .cancel {
    width: 50%;
    padding: 0.5rem 0rem;
    border-right: solid 1px #eee;
}

#confirmBox .ok {
    width: 50%;
    padding: 0.5rem 0rem;
}

#alertBox {
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

#alertBox .wrap {
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 70%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(100, 100, 100, 0.3);
}

#alertBox .message {
    padding: 1rem;
    text-align: center;
}

#alertBox .btns {
    display: inline-flex;
    text-align: center;
    border-top: solid 1px #eee;
}

#alertBox .ok {
    width: 100%;
    padding: 0.5rem 0rem;
}


#goTop {
    display: none;
    width: 2rem;
    height: 2rem;
    background: url("/static/img/gotop.png");
    background-size: 2rem;
    position: fixed;
    right: 0.5rem;
    bottom: 1.5rem;
}

.btn-red {
    display: inline-block;
    padding: 0.2rem;
    border-radius: 4px;
    background-color: #e75f44;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}

.navBar_fix {
    position: fixed !important;
    top: 0px;
}

.table {
    border: solid 1px lightgray;
}

.titleBar {
    width: 100%;
    height: 2.8rem;
    border-bottom: 1px solid #ddd;
    background: #fff;
    position: relative;
    z-index: 11;
}

.titleBar .leftBtn {
    position: absolute;
    font-size: 0.8rem;
    line-height: 22px;
    display: block;
    min-width: 4rem;
    height: 2.8rem;
    left: 0px;
}

.titleBar .leftBtn_inner {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0.7rem;
    line-height: 22px;
    color: #999999 !important;
}

.titleBar .leftBtn_inner *{
    display: inline-block;
    vertical-align: middle;
}

.titleBar .ico_back {
    width: 0.55rem;
    margin-right: 0.25rem;
}

.titleBar .txt_back{
    font-size: 0.9rem;
}

.titleBar .ico_location {
    margin-right: 0.25rem;
    width: 1rem;
}

.titleBar .rightBtn {
    position: absolute;
    font-size: 0.8rem;
    line-height: 22px;
    display: block;
    min-width: 4rem;
    height: 2.8rem;
    right: 0px;
}

.titleBar .rightBtn_inner {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.7rem;
    color: #999999 !important;
}

.titleBar .rightBtn_inner *{
    display: inline-block;
    vertical-align: middle;
}

.titleBar .rightBtn_map{
    min-width: 5rem;
}

.titleBar .fujin_txt{
    font-size: 0.6rem;
}

.titleBar .ico_map {
    width: 1rem;
    height: 1rem;
}

.titleBar .searchIco {
    display: block;
    width: 2rem;
    height: 2.8rem;
    background: url('/static/img/i-search.png') no-repeat center;
    background-size: 50%;
    text-indent: 9999px;
    text-align: right;
    overflow: hidden;
}

#titleSearchBtn{
    display: block;
    position: absolute;
    left: 5rem;
    top: 50%;
    right: 1rem;
    transform: translate(0%, -50%);
    height: 1.8rem;
    line-height: 1.8rem;
    border: solid 1px #dddddd;
    border-radius: 0.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: gray;
    background-color: #e8ecef;
    background-image: url("/static/img/icon-search.png");
    background-size: 1rem;
    background-repeat: no-repeat;
    background-position: .3rem;
}

#navBar {
    width: 100%;
    height: 3rem;
    background: #f8f8f8;
    position: relative;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(100, 100, 100, 0.3);
}

#navBar li {
    height: 3rem;
    overflow: hidden;
    background: url(/static/img/line-v.png) right center no-repeat;
    background-size: .06rem;
    width: 33.33%;
    float: left;
}
#navBar li:last-child{
    background: none;
}

#navBar li a {
    display: block;
    width: 100%;
    height: 3rem;
    line-height: 1.5rem;
    text-align: center;
    padding-top: 1.5rem;
    font-size: 0.7rem;
    color: #999999;
    position: relative;
}

#navBar li i {
    display: block;
    width: 1rem;
    height: 1rem;
    position: absolute;
    top: 0.5rem;
    left: 50%;
    margin-left: -0.5rem;
}

#navBar li i.nav-0 {
    background: url('/static/img/main_1.png') 0 0;
    -webkit-background-size: contain;
}

#navBar li i.nav-1 {
    background: url('/static/img/class_1.png') 0 0;
    -webkit-background-size: contain;
}

#navBar li i.nav-2 {
    background: url('/static/img/meishi_1.png') 0 0;
    -webkit-background-size: contain;
}

#navBar li i.nav-3 {
    background: url('/static/img/cart_1.png') 0 0;
    -webkit-background-size: contain;
}

#navBar li i.nav-4 {
    background: url('/static/img/mine_1.png') 0 0;
    -webkit-background-size: contain;
}

#navBar li.active {
    background: #E8E8E8;
    margin-left: -1px;
}

#navBar li i#cartCount {
    width: 0.8rem;
    height: 0.8rem;
    line-height: 0.8rem;
    background: #e75f44;
    color: #fff;
    text-align: center;
    font-size: 0.5rem;
    font-style: inherit;
    border-radius: 50%;
    top: 0;
    margin: 7px 0 0 12px;
}

.goodsList a {
    display: block;
    position: relative;
}

.goodsImg {
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.goods_block {
    padding: 10px;
}

.goods_price {
    color: #2bbc69;
    font-size: 0.7rem;
    font-weight: bold;
}

.goods_priceOriginal {
    color: #999999;
    text-decoration: line-through;
    font-size: 0.65rem;
    margin-left: 5px;
}

.goodsSigns {
    position: absolute;
    top: 0px;
}

.goodsSigns img {
    width: 2rem;
}

.cart_big {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    background-image: url("/static/img/cart_big.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.module_title {
    display: block;
    text-align: center;
    padding: 10px 0px;
    font-size: 0.85rem;
    color: gray;
}

.goods_title {
    text-align: center;
    margin-top: 0.2rem;
    margin-bottom: 0.1rem;
    height: 1rem;
}

.goods_introduce {
    text-align: center;
    margin-bottom: 0.6rem;
    font-size: 0.6rem;
    color: #999999;
    height: 0.8rem;
}

#module_Ma {
    padding-bottom: 0.5rem;
}

#module_Mb {
    padding-bottom: 0.5rem;
}

#module_Mc {
    padding-bottom: 0.5rem;
}


.module_M1 {
    padding: 0rem 0.5rem 0.5rem 0.5rem;
}

.module_M1 > li {
    width: 33.33%;
    position: relative;
    text-align: center;
    padding-left: 5px;
    display: inline-block;
}

.module_M1 > li:first-child {
    padding-left: 0px;
}

.module_M1 .goodsImg {
    height: 100px;
}

.module_M1 > li > a {
    display: block;
    background: white;
    border: solid 1px #eee;
    overflow: hidden;
}

.module_M1 > li > a > img {
    width: 100%;
}

.module_M1 > li > a > span {
    width: 100%;
    display: block;
    margin: 0 auto;
    padding: 5px;
}

.module_M2 > ul > li {
    margin-bottom: 10px;
    position: relative;
}

.module_M2 > ul > li > a {
    display: block;
}

.module_M2 .module_M2_block {
    position: absolute;
    display: block;
    width: 100%;
    bottom: 0rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    color: white;
}

.module_M2 .module_M2_title {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
}

.module_M2 .module_M2_introduce {
    display: block;
    width: 100%;
    font-size: 0.7rem;
}

.module_M2 .goods_price {
    color: #fff;
}

.module_M2 .goods_priceOriginal {
    color: #fff;
}

.module_M2 .cart {
    position: absolute;
    display: block;
    bottom: 5px;
    right: 15px;
}

.module_M3 > .goodsList {
    padding: 0.5rem;
}

.module_M3 > .goodsList > li {
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    width: 49%;
    /*border: 1px solid #ddd;*/
    background: #fff;
    margin: 0 0 .5rem 2%;
}

.module_M3 > .goodsList > li:nth-of-type(2n-1) {
    margin-left: 0;
}

.module_M3 .cart {
    position: absolute;
    display: block;
    bottom: 2px;
    right: 5px;
}

.module_M4 > .goodsList > li {
    margin-bottom: 10px;
    position: relative;
}

.module_M4 > .goodsList > li > a {
    background-color: white;
}

.module_M4 .cart {
    position: absolute;
    display: block;
    bottom: 2px;
    right: 15px;
}

.module_M4 .swiperBox {
    margin-bottom: 10px;
}

.buycountBox {
    display: inline-block;
    border: 1px solid #cccccc;
    position: relative;
    height: 1.7rem;
    width: 5.6rem;
    vertical-align: middle;
    text-align: center;
    line-height: 1.7rem;
    font-size: 1.2rem;
    margin-right: .1rem;
    overflow: hidden;
    box-sizing: content-box;
}

.buycountBox .down_count {
    border-right: 1px solid #cccccc;
    width: 1.7rem;
    float: left;
}

.buycountBox .up_count {
    border-left: 1px solid #cccccc;
    width: 1.7rem;
    float: left;
}

.buycountBox .buycount {
    width: 2.2rem;
    height: 1.7rem;
    float: left;
    border: 0px;
    text-align: center;
    padding: 0px;
    font-size: 0.8rem;
}

.ico_delete{
    width: 0.8rem;
    height: 0.8rem;
    background-size: 0.8rem;
    display: inline-block;
    background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaBAMAAABbZFH9AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAPUExURUdwTGZmZmZmZmVlZWZmZn//H60AAAAEdFJOUwDE5k0lfDFBAAAARklEQVQY02NgAAIRFxcXRwYYcAEBBA+K0XkiLgjgiMbDCwRRWIQtQuIxCoAQjMfiAELU5aHaQLzLkHgq8IBwAvKM4DxlBgCdoxsZSYaBywAAAABJRU5ErkJggg==");
    vertical-align: bottom;
}

/* foot */
#foot_Box {
    padding: 24px 0;
    text-align: center;
    font-size: 0.6rem;
    margin-top: 1rem;
}

#foot_Box ul {
    padding: 0;
    margin: 0px;
}

#foot_Box li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 1em;
    line-height: 1em;
    border-left: 1px solid #d9dadc;
}

#foot_Box li:first-child {
    border-left: none;
}

#foot_Box a {
    color: gray;
}

#share_inwx {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, .8);
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 1010;
}

#service {
    /*display: none;*/
    position: fixed;
    left: 0.5rem;
    bottom: 1.5rem;
    z-index: 1000;
    display: inline-flex;
    background-color: rgba(0, 0, 0, 0.5);
    color: #d0d0d0;
    font-size: 0.65rem;
    padding: 0.2rem 0.3rem;
    border-radius: 0.6rem;
}

#service .icoMessage{
    width: 0.8rem;
    height: 0.8rem;
    background-image: url("/static/img/message_2.png");
    background-size: 0.8rem;
    display: flex;
    margin-right: 0.1rem;
}

#wxTip {
    text-align: center;
    font-size: 0.8rem;
    color: #FF5555;
    font-weight: bold;
    display: none;
    background: #333333;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}