@charset "utf-8";

/* 清除标签自带样式 */
* {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  box-sizing: border-box;
  outline: none;
}
/* 内容宽度 和居中 */
.main {
  width: 1200px;
  margin: 0 auto;
}

/*浮动和清除浮动*/
.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;
}



html,
body {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  position: relative;
}

body {
  font-family: "微软雅黑",Arial, "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,
video {
  border: 0;
  -o-object-fit: cover;
  object-fit: cover;
}

.width100,
.width100 img,
.homeTopSwiper img {
  width: 100%;
  display: block;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
}

/* --------------------------其他基础样式----------------------------------------- */



h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

/* h1,
h4 {
  font-size: 120%;
}

h2,
h5 {
  font-size: 140%;
}

h3,
h6 {
  font-size: 160%;
} 
h4,
h5,
h6 {
  font-weight: normal;
} */

/* form 样式 */
textarea {
  resize: none;
  padding: 5px 6px;
  height: 180px;
  width: 100px;
}

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[placeholder] {
  padding: 0 6px;
  width: 50px;
}

/* 字体*/
@font-face {
  font-family: 'iconfont';
  src: url('../fonts/iconfont.woff2') format('woff2'),
    url('../fonts/iconfont.woff') format('woff'),
    url('../fonts/iconfont.ttf') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 120%;
}

.flex {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content:space-between;
    align-items: center;
    align-content: stretch;
  }
  .clear{clear: both;}