a { color: #333; text-decoration: none; -webkit-tap-highlight-color: transparent; }

.icons { background: url(/images/icons.png) no-repeat; background-size: 320px auto; }

.btn-green { display: block; height: 30px; line-height: 30px; text-align: center; color: #fff; font-size: 13px; background: #12ca94; vertical-align: top; }
.btn-red { display: block; height: 30px; line-height: 30px; text-align: center; color: #fff; font-size: 13px; background: #e20304; vertical-align: top; }

.header { width:16rem; height: 50px; background: #d91e39; position: relative;z-index:99;}
.header .logo { height: 100%; display: flex; width: 100%; align-items: center; justify-content: center; }
.header .logo img{ height: 24px;}
.header .city {color: #fff; position: absolute; top: 16px; left: 15px; z-index:100;}
.header .city i { display: inline-block; width: 10px; height: 10px; background-position: -40px 0;}
.header .rights { position: absolute; top: 10px; right: 5px; }
.header .rights a { display: inline-block; vertical-align: top; width: 30px; height: 30px; text-align: center; }
.header .rights i { display: inline-block; width: 20px; height: 20px; vertical-align: top; margin: 5px 0; }
.header .rights i.cart { background-position: 0 0; }
.header .rights i.user { background-position: -20px 0; }

.swiper-container .swiper-slide img { width: 100%; }

.md-cate { display: flex; flex-wrap: wrap; padding-bottom: 15px; background: #FFF; }
.md-cate a { width: 25%; text-align: center; }
.md-cate .icons { display: block; width: 42px; height: 42px; margin: 15px auto 0; }
.md-cate .cate1 .icons { background-position: 0 -20px; }
.md-cate .cate2 .icons { background-position: -42px -20px; }
.md-cate .cate3 .icons { background-position: -84px -20px; }
.md-cate .cate4 .icons { background-position: -126px -20px; }
.md-cate .cate5 .icons { background-position: -0px -62px; }
.md-cate .cate6 .icons { background-position: -42px -62px; }
.md-cate .cate7 .icons { background-position: -84px -62px; }
.md-cate .cate8 .icons { background-position: -126px -62px; }

.topnews { display: flex; padding: 10px 24px; background: #FFF; border-top: 1px solid #bfbfbf;}
.topnews .icons { width: 50px; height: 50px; margin-right: 16px;margin-left:-10px; background-position: -170px -20px;}
.topnews ul { height: 50px;overflow: hidden;width:12rem; }
.topnews li { height: 25px; line-height: 25px; overflow: hidden; }

.nearby { background: #FFF; border-top: 1px solid #bfbfbf; }
.nearby h3 { background: #eeeeee; font-size: 13px; font-weight: normal; text-align: center; padding: 10px 0; border-bottom: 1px solid #bfbfbf; }
.nearby .body { padding: 20px 14px; }
.nearby .body .shopname { font-size: 15px; margin: 8px 0; position: relative; }
.nearby .body .gps { font-size: 10px; color: #646464; position: absolute; top: 0; right: 0; }
.nearby .body .gps .icons { display: inline-block; vertical-align: middle; width: 8px; height: 12px; background-position: -50px 0; }
.nearby .body p { font-size: 13px; line-height: 1.8; }
.nearby .body .btns { display: flex; margin: 14px -14px; }
.nearby .body .btns .btn-green { flex: 1; margin: 0 14px; }
.nearby .body .more { color: #afafaf; font-size: 13px; text-align: center;  }
.nearby .body .more b { color: #e30303;  font-weight: normal; }
.nearby .body:last-child{
    padding-top:0px;
}
.banner1 { border-top: 1px solid #bfbfbf; }
.banner1 img { vertical-align: top; max-width: 100%; }

.section1 { background: #FFF; border-top: 1px solid #bfbfbf;}
.section1 .title { height: 28px; line-height: 28px; /*border-bottom: 1px solid #bfbfbf;*/ background: #fff; }
.section1 .title:before { content: ''; float: left; width: 3px; height: 12px; background: #e30405; margin: 8px 6px 0 9px; }
.section1 .img { border-bottom: 1px solid #bfbfbf; }
.section1 .img img { max-width: 100%; }
.section1 .more { background: #fafafa; padding: 15px 0; text-align: center; color: #aaaaaa; }

.goods-list { display: flex; flex-wrap: wrap; }
.goods-list .item { width: 8rem; height: 6.825rem; border-bottom: 1px solid #ddd;box-sizing:border-box;}
.goods-list .item:nth-child(odd) { border-right: 1px solid #ddd; }
.goods-list .item .goods-img { display: flex; align-items: center; justify-content: center; height: 3rem;padding:1rem 0.5rem 0; }
.goods-list .item .goods-img img { max-width: 100%; max-height: 100%; vertical-align: top; width:7rem;height:3rem;}
.goods-list .item p { color: #646464; text-align: center; font-size:16px; height:1.0625rem;height:1.0625rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.goods-list .item .price { color: #e20306; }


.goods-list2 { display: flex; flex-wrap: wrap; height:13.750rem; }
.goods-list2 .left { width: 8rem; }
.goods-list2 .right { width: 8rem; }
.goods-list2 .item { height: 6.855rem; border-bottom: 1px solid #ddd; }
.goods-list2 .item .goods-img { display: flex; align-items: center; justify-content: center; height:3rem; padding:1rem 0.5rem 0; }
.goods-list2 .item .goods-img img { max-width: 100%; max-height: 100%; vertical-align: top;width:7rem;height:3rem;}
.goods-list2 .item p { color: #646464; text-align: center; height:1.0625rem;line-height:1.0625rem;font-size:16px; white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;}
.goods-list2 .item .price { color: #e20306; }
.goods-list2 .left .item { height: 11.950rem;
    padding-top: 1.8rem; border-right: 1px solid #ddd; }
.goods-list2 .left .item h4 { padding: 1.05rem 0 0.25rem; font-weight: normal; text-align: center; color: #636363; font-size:16px;}
.goods-list2 .left .item .goods-img { margin-bottom: 0.75rem; }

.goods-list2.reversal .left .item { border-right: none; border-left: 1px solid #ddd; height:11.950rem; }

.gotop { width: 50px; text-align: center; color: #c1c1c1; text-align: center; font-size: 10px; position: fixed; bottom: 80px; right: 10px; }
.gotop .icons { display: block; width: 29px; height: 29px; margin: 0 auto; background-position: -168px -70px; }

.footer { background: #FFFFFF; margin: 14px 0 0; }
.footer .tel { height: 36px; line-height: 36px; background: #e20304; color: #fff; text-align: center; }
.footer .tel .icons { display: inline-block; width: 20px; height: 20px; vertical-align: middle; margin-right: 5px; background-position: -58px 0 ; }
.footer .copyright { color: #909090; text-align: center; font-size: 10px; padding: 13px 0 60px; line-height: 1.8; }
.footer .tabbar { display: flex; height: 54px; border-top: 1px solid #bababa; position:fixed;bottom:0;width:16rem;background-color:#fff;}
.footer .tabbar .item { display: block; flex: 1; color: #919191; text-align: center; position: relative;}
.footer .tabbar .item:after { content: ''; width: 1px; height: 38px; position: absolute; top: 8px; right: 1px; background: #919191; }
.footer .tabbar .item:last-child:after { display: none; }
.footer .tabbar .item .icons { display: block; width: 22px; height: 22px; margin: 5px auto ; }
.footer .tabbar .tab1 .icons { background-position: 0 -104px; }
.footer .tabbar .tab2 .icons { background-position: -22px -104px; }
.footer .tabbar .tab3 .icons { background-position: -44px -104px; }
.footer .tabbar .tab4 .icons { background-position: -66px -104px; }



.pg-shop {}
.pg-shop .search { text-align: center; background: #fff; }
.pg-shop .search h2 { font-size: 17px; margin: 22px 0 0 ; }
.pg-shop .search h2 b { color: #e20304; }
.pg-shop .search h4 { font-size: 13px; font-weight: normal; padding: 22px 0 0; }
.pg-shop .search .input { display: flex; width: ; margin: 24px 14px 0; background: #f4f5f7; border-radius: 4px; }
.pg-shop .search .input .icons { display: block; width: 14px; height: 14px; margin: 6px 6px 0 6px; background-position: -88px -104px; }
.pg-shop .search .input input { display: block; flex: 1; height: 24px; background: transparent; border: none; }

.pg-shop .local { padding: 20px 14px 0; background: #FFF; }
.pg-shop .local .input { display: flex; margin: 10px 0; border: 1px solid #bfbfbf; }
.pg-shop .local .input input { flex: 1; padding: 0 20px; border: none; }
.pg-shop .local .input a { display: block; width: 100px; line-height: 30px; text-align: center; border-left: 1px solid #bfbfbf; }
.pg-shop .local p { padding: 0px 20px 20px; }

.pg-shop .hotcity { padding: 0 14px; background-color:#e9e9e9; }
.pg-shop .hotcity h4 { padding-bottom: 1px; margin: 8px 0 0;padding-top: .3rem;}
.pg-shop .hotcity .citymore { display: inline-block;margin: 8px 0 0 9rem;}
.pg-shop .hotcity .list { display: flex; flex-wrap: wrap; margin: 8px -6px; }
.pg-shop .hotcity .list > div { display: block; width: 33.33%; height: 30px; line-height: 30px; text-align: center; padding: 0 6px; margin: 8px 0; box-sizing:border-box;}
.pg-shop .hotcity .list > div a { display: block;  background: #FFF; }

.pg-shop .service img { width: 100%; }

.pg-cate .cates { display: flex; flex-wrap: wrap; background: #FFF; }
.pg-cate .cates > a { box-sizing:border-box; display: block; width: 33.33%; height: 33.33vw; text-align: center; padding: 26px 0 0; border-right: 1px solid #d2d2d2; border-bottom: 1px solid #d2d2d2; }
.pg-cate .cates > a img { display: block; width: 60px; height: 34px; margin: 0 auto 5px; }


.pg-products { background: #FFF; }
.pg-products .filter { display: flex; justify-content: space-between; height: 50px; padding: 15px; }
.pg-products .filter > div { display: inline-block; }
.pg-products .filter > div .arrow { display: inline-block; width: 9px; height: 8px; margin-left: 5px; background-position: -78px 0 }
.pg-products .filter > div.active { color: #d81d3a; }
.pg-products .filter > div.up .arrow { transform: rotate(0deg); }
.pg-products .filter > div.down .arrow { transform: rotate(180deg); }

.goods-list3 { margin: 0 10px; }
.goods-list3 ul { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.goods-list3 li { display: block; width: 50%;padding: 0 10px 10px;box-sizing: border-box; }
.goods-list3 li .img { width: 100%; margin: 0 0 5px; border: 1px solid #dadada; }
.goods-list3 li img { width: 100%; }
.goods-list3 li .title { height: 20px; line-height: 20px; font-size: .6rem; padding: 0 10px; overflow: hidden; }
.goods-list3 li .price { height: 20px; line-height: 20px; font-size: 10px; color: #862539; padding: 0 10px; overflow: hidden; }


.header2 { height: 50px; background: #ffffff; border-bottom: 1px solid #a2a2a2; position: relative;}
.header2 .title { height: 100%; display: flex; width: 100%; font-size: 20px; align-items: center; justify-content: center; }
.header2 .back { font-size: 20px; height: 100%; display: flex; align-items: center; justify-content: center; width: 40px; position: absolute; top: 0; left: 0; }
.header2 .rights { position: absolute; top: 10px; right: 5px; }
.header2 .rights a { display: inline-block; vertical-align: top; width: 30px; height: 30px; text-align: center; }
.header2 .rights i { display: inline-block; width: 20px; height: 20px; vertical-align: top; margin: 5px 0; }
.header2 .rights i.cart { background-position: -87px 0; }
.header2 .rights i.user { background-position: -107px 0; }

.md-filter { background: #FFF; margin: 10px 0; border-top: 1px solid #a2a2a2; border-bottom: 1px solid #a2a2a2; }
.md-filter .title { height: 30px; line-height: 30px; padding: 0 24px; border-bottom: 1px solid #a2a2a2; }
.md-filter .list {padding: 5px 18px 10px;} 
.md-filter .list a { display: inline-block; height: 20px; line-height: 20px; padding: 0 6px; vertical-align: top; margin: 5px 5px 0 0; }
.md-filter .list .active { border: 1px solid #d91f37; color: #d91f37; height: 18px; line-height: 18px; padding: 0 5px; }

.pg-filter { padding-bottom: 55px; }
.pg-filter .btnbar { height: 55px; line-height: 55px; display: flex; position: fixed; bottom: 0; left: 0; width: 100%; }
.pg-filter .btnbar a { display: flex; flex: 1; background: #8b8a86; align-items: center; justify-content: center; color: #FFF;  }
.pg-filter .btnbar a.confirm { background: #d91e39; }


.pg-school .tab { height:60px;}
.pg-school .tab a { display: inline-block; height: 30px; font-size: 12px; line-height: 30px; padding: 15px 0px;text-align:center; }
.pg-school .tab .active { font-size: 14px; color: #e52323; }
.pg-school .tab .tabarrow {position: absolute; font-size:11px; font-weight:bold; right: 0;top: 0; height: 30px;font-size: 11px;line-height: 30px;padding: 15px 16px; }
.pg-school .news-list { background: #FFF; border-top: 1px solid #d4d4d4; }
.pg-school .news-list li { display: flex; padding: 20px 8px 20px 24px; border-bottom: 1px solid #d4d4d4; }
.pg-school .news-list li a { display: block; flex: 1; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.pg-school .news-list li .new { display: block; width: 25px; height: 12px; margin: 5px 0 0 10px; background-position: -102px -104px; }
.pg-school .more { height: 55px; line-height: 55px; background: #f1f1f1; text-align: center; position: relative;}
.pg-school .more:before { height: 55px; line-height: 55px; height: 1px; content: ''; background: #dfdfdf; position: absolute; top: 26px; left: 10px; width: calc(100% - 20px);}
.pg-school .more span { display: inline-block; padding: 0 15px; background: #f1f1f1; position: relative; }

.pg-search .search { background: #fff; }
.pg-search .search .box { display: flex; padding: 20px 14px; }
.pg-search .search .input { display: flex; flex: 1; background: #f4f5f7; border-radius: 4px; height:1.2rem; }
.pg-search .search .input .icons { display: block; width: 14px; height: 14px; margin: 8px 6px 0 6px; background-position: -88px -104px; }
.pg-search .search .input input { display: block; flex: 1; height: 1.2rem; background: transparent; border: none; }
.pg-search .search .btn { width: 50px; height:1.2rem; line-height:1.2rem; border-radius: 4px; text-align: center; color: #fff; margin-left: 10px; background: #da1d39; display: block; }
.pg-search .total { padding: 10px 0; text-align: center; font-size: 10px; color: #666; background-color:#e9e9e9; }
.pg-search .total b {  font-weight: normal; color: #d3562a; }
.pg-search .result-list { background: #fff; padding: 10px 0; border-top: 1px solid #d4d4d4; }
.pg-search .empty { padding: 120px 0; text-align: center; font-size: 10px; color: #666; }
