@charset "utf-8";

.clearfix {
  content: "";
  display: block;
  visibility: hidden;
  clear: both;
}
/*样式控制字符长度，需指定宽度*/
.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: keep-all;
}
/*各浏览器css3 transition 兼容*/
.get-loading {
  text-align: center;
  font-size: 1.6em;
  color: #999;
  padding: 60px 0;
}
/*
 * @[description] 清除浏览器的默认样式 
 * @[date] 2017-05-17
 * */
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 {
  margin: 0;
  padding: 0;
}

/** 设置默认字体 **/
body,
button,
input,
select,
textarea {
  font-size: 62.5%;
  /*未调整：1em=16px  0.75em=12px 0.625em=10px  调整后：1.2emX62.5%=0.75em -> 12px;*/
  font-family: 5FAE\8F6F\96C5\9ED1,Microsoft YaHei;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
address,
cite,
dfn,
em,
var {
  font-style: normal;
}
/* 将斜体扶正 */
code,
kbd,
pre,
samp {
  font-family: courier new, courier, monospace;
}
/* 统一等宽字体 */
small {
  font-size: 1.6em;
}
/* 小于 12px 的中文很难阅读, 让 small 正常化 */
/** 重置列表元素 **/
ul,
ol {
  list-style: none;
}
/** 重置文本格式元素 **/
a {
  text-decoration: none;
  color: #333;
}
sup {
  vertical-align: text-top;
}
/* 重置, 减少对行高的影响 */
sub {
  vertical-align: text-bottom;
}
/** 重置表单元素 **/
legend {
  color: #000;
}
/* for ie6 */
fieldset,
img {
  border: 0;
}
/* img 搭车：让链接里的 img 无边框 */
button,
input,
select,
textarea {
  font-size: 100%;
}
/* 使得表单元素在 ie 下能继承字体大小 */
/* 注：optgroup 无法扶正 */
/** 重置表格元素 **/
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* 重置 HTML5 元素 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  display: block;
  margin: 0;
  padding: 0;
}
mark {
  background: #ff0;
}
* {
  word-wrap: break-word;
  outline: none;
  /*去除所有元素点击时周围有浏览器默认线框，是webapp更像原生app*/
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
/*设置文档高度百分百，解决使用position:fixed高度不是百分百*/
html,
body {
  height: 100%;
  max-width: 640px;
}
input {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}
/*去掉webkit内核浏览器表单记住密码后的黄色*/
input:-webkit-autofill {
  background-color: #fff;
  background-image: none;
  color: #333;
}

/*隐藏小程序IOS下拉网址*/
/*html {
  height:100%;
}
html:before {
  content: '';
  display: block;
  width:100%;
  height:100%;
  position:fixed;
  top:0;
  left:0;
  z-index: -1;
  background:#EDEDED;
}
body:before {
  width: 100%;
  height: 100%;
  content: ' ';
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  background: #fff;
}*/
/*公用*/
.main{ max-width:640px;}
