@charset "utf-8";

html, body, div, span, applet, object, iframe, h1,
h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr,
acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong,
sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol,
ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas,
details, embed, figure, figcaption, footer, header,
hgroup, menu, nav, output, section,
summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  list-style: none !important;

}

html, body {
  min-width: 300px;
  max-width: 480px;
  font-size: 62.5%;
  margin: 0 auto;
  background: #fff;
  color: #222;
  font-family: 'Microsoft Yahei';
}

body {
  font-size: 1.2rem;
}

a, img, button, input, textarea, div {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

a {
  text-decoration: none;
  color: #555
}

a, input {
  -webkit-tap-highlight-color: rgba(255, 0, 0, 0);
}

/*input输入框在移动端点击有阴影解决方法:背景设置成透明*/
img {
  max-width: 100%;
}

/*ios input type为button时，背景色设置正常*/
input[type=button], input[type=submit], input[type=file], button {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.clearfix:after {
  clear: both;
  display: block;
  visibility: hidden;
  height: 0;
  line-height: 0;
  content: "";
  font-size: 0;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.disFlex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex1 {
  flex: 1;
}