@charset "utf-8";

/* 清除标签自带样式 */
* {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  box-sizing: border-box;
  outline: none;
}

/*浮动和清除浮动*/
.fl {
  float: left;
}

.fr {
  float: right;
}

.clear::after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button:hover,
a:hover {
  opacity: 0.85;
  cursor: pointer;
}

button:active,
a:active {
  opacity: 0.7;
}

/* 内容宽度 和居中 */
.main {
  width: 1400px;
  margin: 0 auto;
}

html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  position: relative;
}

body {
  font-family: Arial, "Microsoft YaHei", "Helvetica Neue", Helvetica, Roboto, sans-serif;
  font-size: 14px;
  /* font-size: 3vw; */
  min-height: 100%;
  line-height: 1.6;
  background: rgb(245,245,245);
  color: #333;
  overflow-x: hidden;
}

main,
footer,
header,
section,
article {
  display: block;
}

/* 图片样式 */
img {
  border: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.width100,
.width100 img,
.swiper-container img {
  width: 100%;
  display: block;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}





/* --------------------------其他基础样式----------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

/* form 样式 */
textarea {
  resize: none;
  padding: 5px 6px;
  height: 180px;
  width: 50px;
}

button {
  border: none;
}

input,
textarea,
select,
button,
option {
  font-size: 100%;
  color: inherit;
  line-height: inherit;
  font-family: inherit;
  background: rgba(255, 255, 255, 0);
}

input {
  padding: 0 6px;
  width: 50px;
}

/* 字体*/
@font-face {
  font-family: iconfont;
  src: url(../fonts/iconfont.eot);
  src: url(../fonts/iconfont.eot#iefix) format("embedded-opentype"), url(../fonts/iconfont.woff) format("woff"),
    url(../fonts/iconfont.ttf) format("truetype"), url(../fonts/iconfont.svg#iconfont) format("svg");
}

.iconfont {
  font-family: iconfont !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
  font-size: 120%;
}