/***********通用基本类1************/

/*格式化样式*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
hr,
img {
  margin: 0;
  padding: 0;
}

address,
cite,
dfn,
em,
var,
i {
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
th {
  font-size: 100%;
  font-weight: normal;
}

button,
input,
select,
textarea {
  font-size: 100%;
}

fieldset,
img {
  border: 0;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #333;
  background: none
}

a:hover {
  color: #b80000;
}

ul,
ol {
  list-style: none;
}

i,
strong,
em,
b {
  font-style: normal;
}



/***********通用基本类2************/


.main {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 单行文字超出隐藏 */

.ellipsis {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 清理浮动 */

.fn-clear:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.fn-clear {
  zoom: 1;
  /* for IE6 IE7 */
}



/* 响应式图片盒子 */

.imgBox {
  position: relative;
}

.imgBox img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.imgBox img.full {
  width: 100%;
  height: 100%;
}

.imgBox img.auto {
  max-width: 100%;
  max-height: 100%;
}

/* 图片放大 */

.hoverScale {
  overflow: hidden;
}

.hoverScale img {
  -webkit-transition: .4s;
  transition: .4s;
}

.hoverScale:hover img {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}


.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  left: 3%;
  top: 50%;
  margin-top: -25px;
  display: block;
  width: 32px;
  height: 40px;
  background: url(slider-arrow.png) -110px 5px no-repeat;
  filter: alpha(opacity=50);
  opacity: 0.5;
}

.swiper-button-next {
  left: auto;
  right: 3%;
  background-position: 8px 5px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  filter: alpha(opacity=100);
  opacity: 1;
}




  
  
  


