
.idx-top{
  position: relative;
  background-color:#4860ff;
}
.idx-category{
  width: 35px;
  height: 32px;
  padding-top: 18px;
  display: block;
  color: #fff;
  font-size: 12px;
  text-align: center;
  background: url('../images/idx-category.png') no-repeat top center;
  -webkit-background-size: auto 18px;
  background-size: auto 18px;
}
.idx-header{
  font-size: 14px;
  padding: 8px;
  display: flex;
  margin-bottom:-18px;
  
  /* box-sizing: border-box;
  display: -webkit-flex;
  position: absolute;
  top: 10px;
  width: 100%;
  z-index: 22; */
}
#get_search_box{
  flex: 1;
  margin-right: 10px;
  border-radius: 10px;
  background-color: #fff;
  height: 32px;
  line-height: 32px;
  color: #888;
  padding:0 38px 0 8px;
  position: relative;
}
#get_search_box:before{
  display: block;
  content: '';
  position: absolute;
  left: 10px;
  top: 6px;
  width: 20px;
  height: 19px;
  background: url('../images/idx-search-ico.jpg') no-repeat;
  -webkit-background-size: 20px auto;
  background-size: 20px auto;
}
.hbSelect{
  position: relative;
  width: 68px;
  padding: 0 8px;
  border-radius: 10px;
  background-color: #fff;
  height: 32px;
}
.hbSelectbg{width: 68px; height: 32px; border:0 none; background: transparent; text-align:center; line-height:32px;}
.hbSelectbg option{line-height:24px; padding:3px ;}\
.idx-banner{
  margin:0;
}


/*banner*/
.swiper-container {
  width: 100%;
  -webkit-perspective: 1200px;
  -moz-perspective: 1200px;
  -ms-perspective: 1200px;
  perspective: 1200px
}


.swiper-slide {
  width: 100%;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d
}

.swiper-slide .main-img {
  width: 100%;
  margin: 0 auto;
  display: block
}

#pagination {
  width: 100%;
  text-align: center;
  bottom: 3px;
}

#pagination .swiper-pagination-bullet {
  width: 12px;
  display: inline-block;
  margin: 0 3px;
  background: 0;
  opacity: 1
}

.swiper-pagination-bullet i {
  background: #41203f;
  width: 10px;
  height: 10px;
  line-height: 10px;
  border-radius: 50%;
  display: block;
  font-style: normal;
  text-align: center;
  margin: 0 auto;
  background: #fff;
  opacity: .6;
  filter: alpha(opacity=60);
}
#pagination .swiper-pagination-bullet-active{
  width: 24px;
}
.swiper-pagination-bullet-active i {
  width: 24px;
  border-radius: 5px;
  opacity:1;
  filter: alpha(opacity=100);
}
@media screen and (min-width: 320px) and (max-width: 375px) {
  #pagination .swiper-pagination-bullet {
    width: 6px;
  }

  .swiper-pagination-bullet i {
    width: 6px;
    height: 6px;
    line-height: 6px;
  }
  #pagination .swiper-pagination-bullet-active{
    width: 14px;
  }
  .swiper-pagination-bullet-active i {
    width: 14px;
    border-radius: 4px;
  }
}
@media screen and (min-width: 375px) and (max-width: 600px) {
  #pagination .swiper-pagination-bullet {
    width: 8px;
  }

  .swiper-pagination-bullet i {
    width: 8px;
    height: 8px;
    line-height: 8px;
  }
  #pagination .swiper-pagination-bullet-active{
    width: 18px;
  }
  .swiper-pagination-bullet-active i {
    width: 18px;
    border-radius: 4px;
  }
}


.idx-category-list{
  background-color: #fff;
  padding:5px 0;
}
.idx-category-list ul{
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap
}
.idx-category-list ul li{
  width: 20%;
  text-align: center;
  padding: 8px 0;
  font-size: 13px;
}
.idx-category-list ul li a{
  color: #444;
}
.idx-category-list ul li img{
  width: 48px;
  height: 48px;
}
.idx-category-list ul li span{
  display: block;
}

/* 热销商品 */
.idx-hot-list{
  margin: 8px 0;
}
.idx-hot-list-hd{
  padding: 0 10px 0 16px;
  height: 48px;
  background-color: #fff;
  position: relative;
}
.idx-hot-list-hd p{
  font-weight: bold;
  font-size: 15px;
  color: #444;
  padding-top: 4px;
}
.idx-hot-list-hd span{
  color: #aaa;
}

.idx-hot-list-hd:before{
  position: absolute;
  display: block;
  content: "";
  width: 6px;
  height: 24px;
  left:0px;
  top: 0px;
  background: url('../images/hot-list-tit.png') no-repeat;
  -webkit-background-size: auto 24px;
  background-size: auto 24px;
}
.idx-hot-list-hd:after{
  position: absolute;
  display: block;
  content: "";
  width: 12px;
  height: 20px;
  right: 8px;
  top: 15px;
  background: url('../images/icon-arrow.png') no-repeat;
  -webkit-background-size: auto 20px;
  background-size: auto 20px;
}

.idx-hot-list-bd ul{
  box-sizing: border-box;
  width: 100%;
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  padding: 4px;
}
.idx-hot-list-bd ul li{
  box-sizing: border-box;
  width: 33.333%;
  font-size: 12px;
}
.idx-hot-list-bd ul li .pro-inner{
  background-color: #fff;
  margin: 4px;
  padding: 6px;
  border-radius: 6px;
}
.idx-hot-list-bd ul li .imgarea{
  width: 100%;
}
.idx-hot-list-bd ul li .imgarea img{
  width: 100%;
  height: 100%;
}
.idx-hot-list-bd ul li p{
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  padding: 3px 0 6px;
  line-height: 1.6;
  height: 32px;
}
.idx-hot-list-bd ul li span{
  color: #ec5151;
  font-size: 16px;
}
@media screen and (max-width: 320px){
  .idx-hot-list-bd ul li{
    width: 50%;
  }
}

/*首页广告*/
.idx-ad{position: relative;}
.idx-ad a img{width: 100%; display: block;}
.idx-ad .idx-ad-close{
	width: 6%;
	position:absolute;
	top:50%;
	left:10px;
	-webkit-transform: translate(0,-50%);
	transform:translate(0,-50%);
	z-index: 2;
}