* {
  margin: 0;
  padding: 0;
  /* font-family: "Helvetica Neue", "sans-serif"; */
  box-sizing: border-box;
}

button {
  border: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

input {
  -webkit-appearance: none;
  border: none;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}

body {
  font-size: 12px;
  font-family: "Helvetica Neue", "sans-serif", "PingFangSC-Regular",
    "Microsoft YaHei", "Arial", "Helvetica", "宋体";
  background: rgba(247, 247, 247, 1);
}

body,
div,
span,
header,
footer,
nav,
section,
aside,
article,
ul,
dl,
dt,
dd,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
i,
b,
textarea,
button,
input,
select,
em,
s,
ol,
table {
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  text-decoration: none;
  border: none;
  /* color: #313131;*/
  box-sizing: border-box;
  /* font-weight: lighter;*/
  font-weight: normal;
  -webkit-tap-highlight-color: transparent;
}

/*a{ text-decoration:none; color:#666666; }*/
li {
  list-style: none;
}

img {
  border: none 0;
}

input {
  outline: none;
  border: none;
  background: none;
}

input,
textarea,
select {
  margin: 0;
}

input,
textarea {
  padding: 0;
}

input::-ms-clear {
  display: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 浮动公共样式 */
.left {
  float: left;
  _display: inline;
}

.right {
  float: right;
  _display: inline;
}

.clear:after {
  display: block;
  content: "";
  clear: both;
}

.clear {
  zoom: 1;
}

/* // 1px 解决方案 */
.border-1px {
  position: relative;
}

.border-1px:after {
  position: absolute;
  content: "";
  top: -50%;
  bottom: -50%;
  left: -50%;
  right: -50%;
  -webkit-transform: scale(0.5);
  transform: scale(0.5);
  border-top: 1px solid #999;
}

@media (-webkit-min-device-pixel-radio: 1.5),
(min-device-pixel-radio: 1.5) {
  .border-1px::after {
    -webkit-transform: scaleY(0.7);
    transform: scaleY(0.7);
  }
}

@media (-webkit-min-device-pixel-radio: 2),
(min-device-pixel-radio: 2) {
  .border-1px::after {
    -webkit-transform: scaleY(0.5);
    transform: scaleY(0.5);
  }
}