* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

//滚动条
::-webkit-scrollbar{width:6px;height:6px;background-color:transparent}
::-webkit-scrollbar-track{background:0 0}
::-webkit-scrollbar-thumb{background:#dfdfdf;border-radius:8px}

html, body {
  min-height: 100%;
  _height: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  user-select: none;
  text-decoration: none;
  // overflow: auto;
  font-size: 14px;
}
@media screen and (max-width: 1024px) {
  html{
    font-size: 52px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1024px) {
  html{
    font-size: 52px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1280px) {
  html{
    font-size: 65px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1366px) {
  html{
    font-size: 69px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1440px) {
  html{
    font-size: 73px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1600px) {
  html{
    font-size: 81px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1680px) {
  html{
    font-size: 85px;
  }
  body{
    font-size:14px;
  }
}
@media screen and (min-width: 1980px) {
  html{
    font-size: 100px;
  }
  body{
    font-size:14px;
  }
}

body{
  display: flex;
  flex-direction: column;
}

a, button, input, optgroup, select, textarea, label {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  outline: none !important;
}

:focus {
  outline: none !important;
}

/*取消火狐下的蓝框*/
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  border: none;
}

// 去除type=number 时的上下小箭头
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;
}

.mt20{
  margin-bottom: 20px;
}
