@charset "utf-8";
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
div,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
legend,
button,
input,
textarea,
th,
td,
a {
    margin: 0;
    padding: 0;
}


/*外边距，内边距都为0*/

body {
    position: relative;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    font-family: Microsoft YaHei;
    font-size: .16rem;
    background: #fff;
}

button,
input,
optgroup,
select,
textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}


/*表单类标签外边距，字体及颜色继承父元素的字体系列样式*/

img {
    border: 0;
    width: 100%;
    height: auto;
    vertical-align: bottom;
}


/*图片不显示边框兼容IE浏览器*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%
}


/*这些元素本身不会继承父体的字体大小，设置了font-size:100%后就能自动继承。*/

input,
label,
th {
    vertical-align: middle
}


/*把此元素放置在父元素的中部*/

ul,
ol,
li {
    list-style: none
}


/*去点实心圆或数字*/

a {
    text-decoration: none;
    color: inherit;
}


/*去掉a标签的下划线*/

a {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    /*display: block;*/ 
}

a:active {
    star: expression_r(this.onFocus=this.blur());
}

a:focus {
    outline: 0;
}

input:focus {
    outline: 0;
}

textarea:focus {
    outline: 0;
}

filter:alpha(opacity=100);
audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline
}


/*定义为行内块级元素将支持 valign特性的对象的内容与基线对齐*/

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer
}


/*类似按钮的，hover，mousedown,mouseup的效果及鼠标滑过为手指势*/

textarea {
    overflow: auto
}


/*多行文本中如果内容被修剪，则浏览器会显示滚动条以便查看其余的内容。*/

input,
textarea,
select {
    background: none;
}


/*背景为白色*/


/*通用样式*/

.clearfix {
    *zoom: 1;
}


/*兼容IE清除浮动*/

.clearfix:after {
    content: "\200B";
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}


/*清除浮动*/

.hide {
    display: none
}


/*隐藏*/

.show {
    display: block
}


/*显示块级元素*/

.invisible {
    visibility: hidden
}


/*元素是不可见的。*/

.hidden {
    display: none;
    visibility: hidden
}


/*隐藏及元素是不可见的。*/

.clear {
    clear: both;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
}