@charset"utf-8";
*,::before,::after {
  box-sizing: border-box;
}
html,body {
  min-height: 100vh
}
html {
  scroll-behavior: smooth;
}

html,body,p,h1,h2,h3,h4,h5,h6,ul,ol,li,dl,dt,dd,th,td,form,fieldset,legend,input,textarea,select,figure,i {
  margin:0;
  padding: 0;
}

body {
  font-family: 'Microsoft Yahei', 'Helvetica Neue', Helvetica, 'Lucida Grande', Arial, 'Hiragino Sans GB', 'WenQuanYi Micro Hei', STHeiti, SimSun, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  line-height: 1.5em;
  color: #3c3c3c;
  min-width: 1226px;
  background: #fafafa;
  overflow-x: auto;
}

/* 为交互元素(如按钮、复选框) 设置统一的主题颜色*/
body {
  accent-color: #1B9C85;
}


/* 打开modal后 body class 添加no-scroll使视口不在滚动 */
body.no-scroll{
  overflow: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: normal;
}

button,
input {
  font:inherit;
}
li {
  list-style: none;
}
img {
  display: block;
  max-width:100%;
  height:auto;
}
a {
  text-decoration: none;
  color:#000000;
}
.clear-fix::after {
  content: "";
  display: block;
  clear:both;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
.container {
  max-width:1220px;
  margin: 0 auto;
}

/*单行文本溢出省略号*/
.ellipsis {
  white-space: nowrap; /*文本不换行*/
  overflow: hidden;
  text-overflow: ellipsis;
}

/*多行文本溢出省略号*/
.multi-line-ellipsis {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.stack > * + *{
  margin-block-start: 1.5em; /*.stack容器内除第一个子元素外的其他子元素添加上外边距*/
}
