body {
  margin: 0 auto;
  background-color: #fff;
  height: 100%;
  line-height: 1.5;
  overflow-y: scroll;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
  transition: left 0.15s 0s ease-in-out, top 0.15s 0.15s ease-in-out;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-size: 12px;
  width: 60px;
  height: 30px;
  line-height: 30px;
  border-radius: 2px;
  background: #f7931e;
  color: #fff;
  box-sizing: border-box;
  outline: none;
  border-style: none;
}
/* 文本框样式 */
.input {
  border: 1px solid #eaeaea;
  height: 28px;
  width: 100%;
  padding-left: 10px;
  border-radius: 5px;
  outline: none;
}

input::placeholder
{
  font-size: 12px;
  opacity: .5;
}

/* 内容区域宽度设置 */
/* .swiper {
  max-width: 1100px;
  margin: 0 auto;
} */
.wrap
{
  max-width: 1100px;
  margin: 0 auto;
}

/* 设置flex布局 */
.container {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  justify-content: space-between;
  padding: 10px 0;
}

.container .container-item {
  display: flex;
  text-align: center;
  justify-content: center;
  margin-bottom: 10px;
}

.container .container-item > div {
  width: 160px;
  margin: 0 auto;
}

.container .container-item > div a,
.container .container-item > div span {
  display: block;
}
.container .container-item > div span {
  padding-top: 8px;
}
.container-item a {
  height: 100px;
}
.container-item img {
  width: 160px;
  /* height: 100px; */
  max-height: 100px;
  display: block;
  left: 0;
  right: 0;
  margin: auto;
}

.container-item img:hover {
  box-shadow: 0px 0px 5px 1px rgba(197, 197, 197, 0.5);
}

/* 头部返回栏布局 */
.header {
  height: 30px;
  line-height: 30px;
  display: flex;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 10px;
}

.header .left,
.header .right {
  width: 30px;
  text-align: center;
  font-size: 20px;
}
.header .left {
  cursor: pointer;
}
.header .left:hover {
  color: #000;
}

.header .center {
  flex: 3;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 分页样式 */
.pager {
  display: inline-block;
  vertical-align: middle;
  box-sizing: content-box;
  padding: 5px;
  overflow: hidden;
  margin: 20px 0;
}

.pager a {
  text-decoration: none;
  *display: inline;
  *zoom: 1;
  vertical-align: middle;
  padding: 0 7px;
  height: 28px;
  line-height: 28px;
  background-color: #fff;
  color: #333;
  font-size: 12px;
  float: left;
  margin: 0 5px 0 0;
}

.pager a:hover,
.pager a.active {
  background-color: #ffb800;
  color: #fff;
  border-radius: 2px;
}

/* 轮播 */
.swiper-wrapper {
  border-top: none;
}
.swiper-container {
  width: 100%;
  margin-top: 0;
  height: 120px;
}

.swiper-product-container {
  height: 300px !important;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-container .swiper-wrapper .swiper-slide img {
  width: 100%;
}

.swiper-product-container .swiper-wrapper .swiper-slide img {
  border-radius: 0;
  max-height: 300px;
  max-width: 100%;
  width: auto !important;
}

.p5 {
  padding: 5px;
}

.border {
  border: 1px solid #eaeaea;
  border-radius: 5px;
}

img {
  border-radius: 5px;
}

.center {
  text-align: center;
}
.noData {
  margin-top: 50px;
  opacity: 0.2;
}
.select {
  outline: none;
  position: relative;
  width: 49%;
  height: 25px;
  border-radius: 5px;
  /* box-shadow:0 0 2px #f7931e; */
  display: inline-block;
  text-decoration: none;
  color: #666666;
  border-color: #eaeaea;
}
.select:hover {
  /*添加hover效果*/
  /* background:#eaeaea; */
}

.select option {
  /* color: yellowgreen; */
  font-size: 12px;
  color: #666;
  border: 1px solid #f00;
}
.select option[selected] {
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .container-item {
    width: 50% !important;
  }
  .swiper-product-container .swiper-wrapper .swiper-slide img {
    max-width: 100%;
  }
  
}
@media screen and (min-width: 768px) {
  .container {
    justify-content: flex-start !important;
  }
  .container-item {
    width: 31% !important;
  }
  .swiper-container {
    height: 350px !important;
  }
  .swiper-product-container .swiper-wrapper .swiper-slide img {
    max-height: 350px;
    max-width: 100%;
  }
}
@media screen and (min-width:768px)
{
  .pager a {
    padding: 0 15px;
  }
}

@media screen and (min-width: 992px) {
  .container {
    justify-content: flex-start !important;
  }
  .container-item {
    width: 20% !important;
  }
  .swiper-container {
    height: 350px !important;
  }
  .swiper-product-container .swiper-wrapper .swiper-slide img {
    max-height: 350px;
    max-width: 100%;
  }
}
