@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url(../fonts/Alibaba-PuHuiTi-Regular.ttf);
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
div {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color: #333;
  overflow-y: scroll;
  overflow: -moz-scrollbars;
}
body {
  margin: 0 auto;
}
body,
button,
input,
select,
textarea {
  font-family: "Alibaba PuHuiTi";
  font-size: 12px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
}

em {
  font-style: normal;
}

small {
  font-size: 12px;
}

ul,
ol {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

/* a:hover {
  text-decoration: underline;
} */
a {
  position: relative;
  text-decoration: none; /* 首先去掉下划线 */
}
a:hover {
  color: #008eff;
}
a:hover::after {
  content: " ";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* 设置字符之间的间距 */
  height: 1px; /* 设置下划线的高度 */
  background-color: #008eff; /* 设置下划线的颜色 */
}

legend {
  color: #000;
}

fieldset,
img {
  border: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  -ms-interpolation-mode: bicubic;
}

textarea {
  resize: vertical;
}

.overflow {
  overflow: hidden;
}

.hide {
  display: none;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.error {
  color: #f00;
  font-size: 12px;
}

label,
button {
  cursor: pointer;
}

.clearfix:after {
  content: "\20";
  display: block;
  height: 0;
  clear: both;
}

.clearfix {
  zoom: 1;
}

.clear {
  clear: both;
  height: 0;
  line-height: 0;
  font-size: 0;
  visibility: hidden;
  overflow: hidden;
}
