﻿/*自定义页面的固定样式*/

/*底部导航*/
.footer-empty { height: 47px; }

footer { position: fixed; bottom: 0; left: 0; background-color: #f4f6f8; width: 100%; font-size: 12px; z-index: 100; }
footer div { position: relative; width: 25%; float: left; border-top: 1px solid #ddd; }
footer div a { display: block; width: 100%; text-align: center; color: #47474a; }
footer div i { display: inline-block; width: 23px; height: 20px; margin: 6px 0 3px; background-size: 25px auto; background-image: url(/Content/images/footer-icon01.png); }
footer div p { margin-bottom: 3px; line-height: 14px; font-size: 9px; }

footer div.current a { color: #8637a6; }
footer div.current i,
footer div:hover i { background-image: url(/Content/footer-icon-hover01.png); }
footer div.current p { font-size: 12px; }

footer div i.vshop, .wx_aside_item a.vshop:before { background-position: 1px -24px; }
footer div i.classify, .wx_aside_item a.classify:before { background-position: 2px -49px; }
footer div i.user, .wx_aside_item a.user:before { background-position: 0 -74.9px; }
footer div i.f-cart, .wx_aside_item a.f-cart:before { background-position: 0 -225px; }
footer div i.attention, .wx_aside_item a.attention:before { background-position: 0 -99px; }
footer div i.collect, .wx_aside_item a.collect:before { background-position: 0 -124px; }

footer span { width: 50%; display: block; float: left; text-align: center; line-height: 40px; border-top: 2px solid #ddd; }
footer span + span { border-left: 1px solid #ddd; }
footer .ft-buy, footer .ft-fav { float: left; }
footer .ft-buy { width: 60%; }
footer .ft-fav { width: 40%; }
footer .cartnum { position: absolute; top: 0; width: 16px; height: 16px; background-color: #f00; border-radius: 50%; line-height: 16px; text-align: center; color: #fff; margin-left: 5px; margin-top: 2px; }

.plus-one { font-size: 12px; background-color: #e73641; color: #fff; display: block; position: absolute; top: 0; left: 50%; opacity: 0; border-radius: 100%; width: 20px; height: 20px; margin-left: -10px; line-height: 20px; text-align: center; border: 0 none; }

/*返回顶部*/
.backtop { display: none; height: 44px; width: 44px; border-radius: 22px; background-image: url("/Content/images/arrow-top_03.png"); background-repeat: no-repeat; background-size: 16px; background-position: center; background-color: rgba(1,21,25,.24); position: fixed; bottom: 67px; right: 17px; }


/*头部*/
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 33; }
.header-empty { height: 88px; }

.topToolBar { position: relative; margin: 0; width: 100%; height: 44px; background: #fff; z-index: 510; }
.topToolBar .keysearchbar { height: 44px; left: 0; right: 15%; box-sizing: border-box; padding: 0 8px; overflow: hidden; position: relative; display: -webkit-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; }
.topToolBar .keysearchbar input[type="search"] { box-sizing: border-box; width: 100%; line-height: 30px; display: block; border: 1px solid #e3e3e3; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; appearance: none; border-radius: 5px; font-family: inherit; color: #000; font-size: 14px; font-weight: normal; padding: 0 18px 0 10px; background: #f2f2f2; background-repeat: no-repeat; background-position: 95% center; background-image: url(/Content/shopdiy/css/img/icon-search.png); background-size: 24px 24px; }
.topToolBar .topToolBar-border { border-bottom: 1px solid #e3e3e3; }
.subtoolView { position: relative; margin: 0; width: 100%; height: 44px; background: #fff; border-bottom: 1px solid #e3e3e3; z-index: 500; }

.goods-type-swiper { width: auto; height: 44px; color: #949494 !important; font-weight: normal; line-height: 44px; font-size: 14px; }

.swiper-container { margin: 0 auto; position: relative; overflow: hidden; z-index: 1; }
.swiper-wrapper { position: relative; width: 100%; height: 100%; z-index: 1; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-transition-property: -webkit-transform; -moz-transition-property: -moz-transform; -o-transition-property: -o-transform; -ms-transition-property: -ms-transform; transition-property: transform; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; }
.swiper-slide { -webkit-flex-shrink: 0; -ms-flex: 0 0 auto; flex-shrink: 0; width: 100%; height: 100%; position: relative; text-align: center; }
.swiper-slide a { color: #949494 !important; width: 100%; height: 100%; display: inline-block; }
.swiper-slide a:hover { color: #949494 !important; }
.index-swiper-bottom { position: absolute; width: 100%; height: 25px; margin-top: -20px; background-image: url(/img/DefaultImage/index-img-swper.png); background-size: 100% 30px; z-index: 10; }
.swiper-slide a.active { color: #8637a6 !important; }

.tabbar a.active { color: #8637a6; }

/*下拉分类*/
.topToolBar .topToolBar-category { width: 44px; position: relative; top: -44px; left: 0px; }
.topToolBar .topToolBar-category-icon { background: url('/Content/shopdiy/css/img/icon-bars2.png') no-repeat center; background-size: 27px; display: block; width: 44px; height: 44px; }
.topToolBar .topToolBar-category-container { height: 300px; min-height: 100%; overflow-y: auto; width: 100px; }
.topToolBar .topToolBar-category-ul { width: 100%; }
.topToolBar .topToolBar-category-ul a { width: 100px; padding: 0px 10px 0px 10px; height: 49px; line-height: 49px; display: block; font-size: 13px; color: #252525; background: #fff; overflow: hidden; border-bottom: 1px #E3E3E3 solid; }
/*遮罩*/
.topToolBar-category-mask { margin-top: 44px; position: absolute; left: 0; top: 0; z-index: 501; background-color: #000; height: 999999px; width: 100%; filter: alpha(Opacity=30); -moz-opacity: 0.3; opacity: 0.3; }

/*心跳秒杀*/
.diy-type18-phone { }
.diy-type18-phone .con { margin: 10px 0px; }
.diy-type18-phone .swiper-slide { padding: 0px 5px; }
.diy-type18-phone .status { height: 28px; font-size: 16px; }
.diy-type18-phone .soldnow .status { color: #f66174; }

.diy-type18-phone .time { text-align: center; }
.diy-type18-phone .time .bg-left,
.diy-type18-phone .time.bg-left { background: url(/Content/shopdiy/css/img/index_miao_letf_gray.gif) no-repeat left center; padding-left: 6px; }
.diy-type18-phone .time .bg-right { background: url(/Content/shopdiy/css/img/index_miao_rigth_gray.jpg) no-repeat right center; padding-right: 6px; }
.diy-type18-phone .soldnow .time .bg-left,
.diy-type18-phone .soldnow .time.bg-left { background-image: url(/Content/shopdiy/css/img/index_miao_letf.gif); }
.diy-type18-phone .soldnow .time .bg-right { background-image: url(/Content/shopdiy/css/img/index_miao_rigth.jpg); }
.diy-type18-phone .time p { margin-bottom: 3px; }
.diy-type18-phone .time .date { }
.diy-type18-phone .time .countdown { }
.diy-type18-phone .time .countdown span { width: 20px; height: 20px; display: inline-block; background-color: #bababa; line-height: 20px; margin: 0px 2px 3px; border-radius: 2px; color: #ffffff; }
.diy-type18-phone .soldnow .time .countdown span { background-color: #f6ce0c; /*color:#f66174;*/ }

.diy-type18-phone .pic { height: 150px; overflow: hidden; margin: 5px 0px 7px; }
.diy-type18-phone .pic img { height: 100%; }

.diy-type18-phone .name { height: 36px; overflow: hidden; text-align: left; font-size: 12px; line-height: 18px; margin: 0px 5px; }

.diy-type18-phone .price { font-size: 12px; text-align: left; color: #eb0000; margin: 5px 5px 0px 5px; line-height: 20px; }
.diy-type18-phone .soldnow.price { color: #f66174; }

.diy-type18-phone .price .text-miao { margin-right: 12px; width: 20px; height: 20px; border-radius: 50%; background-color: #222; color: #fff; float: right; text-align: center; }
.diy-type18-phone .soldnow .price .text-miao { background-color: #e73641; }

.diy-type18-phone .soldout,
.diy-type18-phone .notsold { opacity: 0.5; }


/*商品列表滑条*/
.diy-type19-phone { overflow: hidden; background-color: #fff; }
.diy-type19-phone .diy-type19-item { display: inline-block; overflow: hidden; margin: 0; padding: 5px 2px; text-align: left; width: 100%; height: 100%; box-sizing: border-box; }
.diy-type19-phone .item-pic { text-align: center; overflow: hidden; height: 120px; /*border: 1px solid #e3e3e3;*/ }
.diy-type19-phone .item-pic a { overflow: hidden; border: 3px solid #fff; }
.diy-type19-phone .item-pic img { width: auto; height: 100%; }
.diy-type19-phone .item-title { height: 36px; line-height: 18px; overflow: hidden; color: #777; margin: 5px 0px 5px 5px; }
.diy-type19-phone .item-price { max-height: 18px; line-height: 18px; font-size: 12px; overflow: hidden; color: #eb0000; padding: 0px 5px; }
.diy-type19-phone .item-price span:first-child { margin-left: 0px; }
.diy-type19-phone .item-price-flag { color: #929292; float: right; margin-top: 4px; margin-right: 5px; }

.diy-type19-phone .item-progress { margin: 8px 5px 0px 5px; line-height: 18px; height: 18px; overflow: hidden; font-size: 12px; color: #949494; }
.diy-type19-phone .item-progress-bar { height: 8px; border-radius: 5px; background-color: #ccc; margin: 5px 50px 5px 0px; }
.diy-type19-phone .item-progress-bar-pre { background-color: #e01222; height: 100%; border-radius: 5px; display: block; }
.diy-type19-phone .item-progress-text { display: inline-block; float: right; margin-top: -18px; font-size:10px !important; }
/*.diy-type19-phone .item-progress-link { display: inline-block; float: right; width: auto; padding: 0px 4px; background-color: #E96765; color: #fff !important; font-size: 10px; border-radius: 7px; }*/

/*商品推荐*/
.diy-type20-phone { margin: 20px 0px; position: relative; height: 78px; overflow: hidden; }
.diy-type20-phone .item-left { width: 60px; overflow: hidden; position: absolute; top: 0; left: 0; }
.diy-type20-phone .item-left img { width: 40px; display: block; margin: 0 auto; }

.diy-type20-phone .item-rigth { width: 100px; height: 144px; overflow: hidden; position: absolute; top: 0; right: 0; }
.diy-type20-phone .item-rigth img { width: 80px; display: block; margin: 0 auto; }

.diy-type20-phone .item-center { margin: 0px 100px 0px 60px; }
.diy-type20-phone .text-describe { height: 70px; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px; line-height: 18px; }
.diy-type20-phone .text-comment { background-color: #f2f2f2; border: 1px solid #f2f2f2; border-radius: 2px; height: 26px; line-height: 25px; overflow: hidden; margin-bottom: 10px; }
.diy-type20-phone .text-operate table { width: 100%; }
.diy-type20-phone .text-operate .left { }
.diy-type20-phone .text-operate .left a { border: 1px solid #dedede; border-radius: 3px; color: #a8a8a8; padding-left: 30px; height: 30px; line-height: 30px; display: block; background: url(/Content/shopdiy/css/img/index-tuijian-bi.jpg) no-repeat left center; background-size: 25px; }
.diy-type20-phone .text-operate .rigth { width: 100px; color: #a8a8a8; }
.diy-type20-phone .text-operate .rigth .commentnum { float: left; background: url(/Content/shopdiy/css/img/index-tuijian-pinglungshu.jpg) no-repeat center; background-size: 30px; display: inline-block; width: 31px; height: 30px; line-height: 25px; text-align: center; margin: 0px 5px; }
.diy-type20-phone .text-operate .rigth .collect { float: left; background: url(/Content/shopdiy/css/img/index-tuijian-shouchang.jpg) no-repeat center top; background-size: 23px; display: inline-block; width: 23px; height: 28px; margin: 2px 5px 0px 0px; }
.diy-type20-phone .text-operate .rigth .share { float: left; background: url(/Content/shopdiy/css/img/index-tuijian-fengxiang.jpg) no-repeat center top; background-size: 23px; display: inline-block; width: 23px; height: 28px; margin: 2px 5px 0px 0px; }

/*商品列表滑条*/
.diy-type21-phone { overflow: hidden; background-color: #fff; }
/*.diy-type21-phone .gallery-top .swiper-slide { height: 150px; }*/
.diy-type21-phone .gallery-top a { height: 100%; width: 100%; display: block; background-color: #fff; }
.diy-type21-phone .gallery-top a img { width: 100%; }
.diy-type21-phone .gallery-top .tip { position: absolute; top: 70%; left: 65%; font-size: 14px; padding: 3px 10px; border: 1px solid #eee; background-color: rgba(255,255,255,0.7); color: #999; border-radius: 10px 5px 5px 15px; }

.diy-type21-phone .gallery-thumbs .swiper-slide { width: 25%; height: 100%; opacity: 0.5; background-color: #fff; }
.diy-type21-phone .gallery-thumbs .swiper-slide-active { opacity: 1; }

.diy-type21-phone .diy-type21-item { display: inline-block; overflow: hidden; margin: 0; padding: 0; text-align: left; width: 100%; height: 100%; box-sizing: border-box; }
.diy-type21-phone .item-pic { text-align: center; overflow: hidden; height: 100px; /*border: 1px solid #e3e3e3; border-right: none;*/ }
.diy-type21-phone .item-pic a { overflow: hidden; border: 7px solid #fff; }
.diy-type21-phone .item-pic img { width: auto; height: 100%; }
.diy-type21-phone .item-title { height: 40px; line-height: 18px; overflow: hidden; color: #777; padding: 2px 5px; }
.diy-type21-phone .item-price { max-height: 18px; font-size: 12px; overflow: hidden; color: #eb0000; padding: 0px 5px; }
.diy-type21-phone .item-price-original { color: #929292; text-decoration: line-through; margin-left: 5px; }
.diy-type21-phone .item-price span:first-child { margin-left: 0px; }
.diy-type21-phone .swiper-slide a { color: #222 !important; }

.diy-type21-phone-more-l,
.diy-type21-phone-more-r { display: none; width: 25%; position: absolute; top: 0; height: 100px; background-color: #fff; margin: 5px; text-align: center; vertical-align: middle; color: #666; font-size: 14px; border: 1px solid #999; border-radius: 3px; /*background: url('/Content/shopdiy/css/img/icon_more.jpg') no-repeat center; background-size: 65%;*/ }
.diy-type21-phone-more-l span,
.diy-type21-phone-more-r span {  display: block; /*margin-top: -17px;padding-top: 50%;*/ }
.diy-type21-phone-more-l { left: 0; margin-left: 35px; }
.diy-type21-phone-more-r { right: 0; margin-right: 35px; }

/*头条*/

.diy-type26-phone { height:34px; overflow: hidden;margin-left:8px; padding-left:90px; padding-right: 10px; background: url(/Content/shopdiy/css/img/index-toutiao-logo.png) no-repeat; background-position-y: center; background-size: 80px; }
.diy-type26-phone .swiper-container { height: 20px; overflow: hidden; margin-top: 7px; }
.diy-type26-phone .swiper-slide a { color: #666 !important; line-height: 20px; height: 20px; display: block; text-align: left; overflow: hidden; font-size: 14px; }

.hot-search-view { position: absolute; top: 44px; left: 0px; overflow: hidden; display: none; font-size: .75rem; text-align: center; height: auto; background: #FFF; width: 100%; height: 204px; z-index: 9999; }
.hot-search-view-show { display: block; }
.hot-search-view h1 { font-size: 1.5rem; text-align: left; padding: 10px; margin: 0; padding-bottom: 0px; }
.hot-search-view .hot-keywords { position: relative; width: 100%; height: auto; overflow: hidden; list-style: none; margin: 0 auto; padding: 10px; }
.hot-search-view .hot-keywords li { display: block; width: 33%; overflow: hidden; padding-right: 10px; padding-bottom: 10px; float: left; }
.hot-search-view .hot-keywords li a { height: 2.4625rem; line-height: 2.4rem; border-radius: 1.5625rem; display: block; width: 100%; color: #848689; border: 1px solid #e0e0e0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background-color: #fff; }
.hot-category { position: absolute; width: auto; right: 60px; top: 6px; border: 1px solid #d3d3d3; border-radius: 2px; text-align: center; height: 32px; z-index: 99999; width: 60px; line-height: 28px; background: url(img/arrow-down.png) no-repeat bottom; background-size: 20px 20px; background-position-x: 100%; background-position-y: 98%; }
.hot-category .hot-category-keys { background: #fff; list-style: none; border: 1px solid #d3d3d3; margin-top: 3px; border-top: none; display: none; }
.hot-category .hot-category-keys li { padding: 0px; text-align: center; }
.hot-category-keys-show { display: block; }
.search-button { position: absolute; width: auto; right: 10px; top: 6px; border-radius: 2px; text-align: center; height: 32px; z-index: 99999; width: 49px; line-height: 28px; display: block; }

/*swiper插件样式*/
.swiper-button-prev,
.swiper-container-rtl .swiper-button-prev { opacity: 0.2; width: 19px; background-position-x: left; background-size: 25px; }

.swiper-button-next,
.swiper-container-rtl .swiper-button-next { opacity: 0.2; width: 19px; background-position-x: right; background-size: 25px; }

.diy-type19-phone .item-price-flag { color: #929292; float: none; margin-top: 0px; margin-right: 15px; position: absolute; right: 0; }


/*猜你喜欢*/
/*loading*/
.loading { width: 100%; height: 50px; text-align: center; padding-top: 10px; background-color: #fff; }
.loading { text-align: center; line-height: 30px; color: #999; font-size: 14px; }
.loading span { padding: 15px 50px; background: url(/Content/images/loading2.gif) center no-repeat; background-size: 64px; }

.youlike-goto { opacity: 0.9; display: none; height: 50px; line-height: 50px; width: 100%; font-size: 20px; color: #fff; background-color: #aaa; text-align: center; position: fixed; bottom: 0; width: 100%; z-index: 9999; margin-bottom: 47px; letter-spacing: 2px; }
.youlike-goto span { padding-left: 2px; width: 25px; height: 25px; margin: 12px 12px 12px 0px; border-radius: 50%; text-align: center; display: inline-block; float: right; border: #fff 1px solid; line-height: 18px; }
