@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;
}

button:hover,
a:hover {
  opacity: 0.9;
  cursor: pointer;
}

button:active,
a:active {
  opacity: 0.8;
}

/* 内容宽度 和居中 */
.main,
.main12 {
  width: 1600px;
  margin: 0 auto;
}
.main12 {
  width: 1200px;
}

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: #fff;
  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,
h4 {
  font-size: 120%;
}

/* --------------------------其他基础样式----------------------------------------- */

h2,
h5 {
  font-size: 140%;
}

h3,
h6 {
  font-size: 180%;
}

h4,
h5,
h6 {
  font-weight: normal;
}

/* form 样式 */
textarea {
  resize: none;
  padding: 5px;
  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 5px;
  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%;
}
