/************* Reset CSS *************/
/* 清除内外边距 */
html { color:#333; }
html,body,h1,h2,h3,h4,h5,h6,hr,p,blockquote, /* structural elements 结构元素 */
dl,dt,dd,ul,ol,li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form,fieldset,iframe,lengend,label,button,input,textarea, /* form elements 表单元素 */
th,td { /* table elements 表格元素 */ margin: 0; padding: 0; }
h1,h2,h3,h4,h5,h6 { font-size: 100%;font-weight:normal; }
address,cite,dfn,var { font-style: normal; } /* 将斜体扶正 */
code,kbd,pre,samp,tt { font-family: "Courier New", Courier, monospace; } /* 统一等宽字体 */
small { font-size: 12px; } /* 小于 12px 的中文很难阅读，让 small 正常化 */
/* 重置列表元素 */
ul,ol { list-style: none; }
/* 重置文本格式元素 */
i,b,em{ font-style:normal;}
a { text-decoration: none;display:inline;}
a:hover { text-decoration: none; }
/* 重置表单元素 */
legend { color: #000; } /* for ie6 */
fieldset,img,button { border: none; }
/* 注：optgroup 无法扶正 */
button,input,select,textarea { font-size: 100%; /* 使得表单元素在 ie 下能继承字体大小 */ }
img,iframe,table,form { vertical-align: top; }
/* 重置表格元素 */
table { border-collapse: collapse; border-spacing: 0; }
/* 重置 hr */
hr { border: none; height: 1px; }
/*页面滑动流畅*/
html,body{ -webkit-overflow-scrolling:touch; -webkit-user-select:none; user-select:none;}
.clear{clear:both;}

.db{display:block;}
.fr{float:right;_display:inline;}
.fl{float:left;_display:inline;}
.pr{position:relative;}
.pa{position:absolute;}
body { font-size: 1.2rem;font-family: "微软雅黑", "宋体", Arial, Helvetica, sans-serif;  min-width:320px; max-width:640px; margin: 0 auto; padding:0; height:auto; }
.viewport{ max-width:640px; min-width:320px; margin:0 auto; overflow:hidden; }



