/* slider */
.amslider {
  position: relative;
  left: 50%;
  width: calc(100% - 1px);
  transform: translateX(-50%);
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.amslider * {
  margin: 0;
  padding: 0;
}
.amslider .swiper-container {
  margin: 20px auto;
}
.amslider .swiper-wrapper {
  display: -moz-grid-line;
}
.amslider .swiper-pagination-bullets {
  bottom: 5px;
  left: 0;
  width: 100%;
}
.amslider .swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 5px;
}
.amslider-container .amslider-header-container {
  background: #f58c12;
  height: 35px;
  padding: 5px 0 5px 35px;
}
.amslider-container .amslider-header-container .amslider-header {
  margin-left: auto;
  margin-right: auto;
  max-width: 1280px;
}
.amslider-container .amslider-header-container span {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 35px;
  text-transform: none;
}
.amslider .swiper-slide {
  text-align: center;
  padding: 1px 0;
  font-size: 18px;
  /* 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;
}
.amslider .swiper-slide .swiper-brand {
  margin: 10px 0;
  padding: 0 10px;
  border: 1px solid gray;
  position: relative;
  display: flex;
  width: 100%;
  height: calc(100% - 5px);
  -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;
}
/* safari*/
.amslider .swiper-slide .swiper-brand:not(:root:root) {
  padding: 10px;
}
.amslider .swiper-slide .swiper-brand img {
  height: auto;
}
.amslider .swiper-slide .swiper-brand.brand-label img {
  margin-bottom: 35px;
}
.amslider .swiper-slide .brand-title {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  padding: 0 5px;
  font-size: 15px;
  line-height: 1.2;
}
.amslider .swiper-slide a:hover {
  text-decoration: none;
}

/*filter*/
.brands-filters {
  min-height: 50px;
  width: 100%;
  display: inline-block;
}
.brands-filters .letters {
  margin-top: 4px;
}
.brands-filters .letters a {
  min-width: 17px;
  float: left;
  color: #333;
  cursor: pointer;
  min-height: 20px;
  border: 1px solid #ccc;
  display: block;
  padding: 2px 5px;
  font-size: 14px;
  text-align: center;
  line-height: 20px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
  border-right: none;
  text-decoration: none;
  background-color: #e2e2e2;
}
@media only screen and (max-width: 1140px) {
  .brands-filters .letters a {
    min-width: 18px;
    margin: 0 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
}
.brands-filters .letters a.letter-all {
  min-width: 90px;
}
.brands-filters .letters-box a {
  margin-bottom: 10px;
}
.brands-filters .letters-box a:first-child {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  clear: left;
}
.brands-filters .letters-box a:last-child {
  border-right: 1px solid #ccc;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.brands-filters .letters-box a.disabled {
  opacity: 0.6;
  pointer-events: none;
  background-color: #f1f1f1;
}
.brands-filters .letters a.hide {
  display: none;
}
.brands-filters .letters a:hover,
.brands-filters .letters a.active {
  background: #fbf8e9;
}

@media only screen and (min-width: 600px) {
  .brands-filters .input-box {
    float: right;
  }
}

.ambrands-search-wrapper {
  margin: 0 auto;
  display: block;
}
.ambrands-search-wrapper .ambrands-search-input {
  width: 365px;
  margin-bottom: 5px;
  display: block;
  max-width: 100%;
}
.ambrands-search-wrapper #livesearch a {
  width: 100%;
  padding: 5px 10px;
  display: block;
  float: left;
}
.ambrands-search-wrapper #livesearch {
  display: none;
  width: 365px;
  max-width: 100%;
  position: absolute;
  background-color: #fff;
  max-height: 250px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #a5acb2;
  z-index: 99;
}
.icon .brand-label {
  float: left;
}
.brand-images .brands-letter dt {
  border-bottom: 1px solid #b2b2b2;
  width: 90%;
}
.brand-images li.brand-item {
  list-style-type: none;
  text-align: center;
}
ul.bare-list img {
  display: block;
  margin: 0 auto;
}
/*filter end*/
.amshopbybrand-link img {
  max-width: 30px;
  max-height: 30px;
}
