@charset "utf-8";
*{margin:0;padding:0;list-style-type:none;}
body, h1, h2, h3, h4, h5, h6, p, dl, dt, dd, ul, ol, li, form, button, input, span, i, ul, a, em, img, textarea, select {margin: 0; padding: 0;}

body, button, input, select, textarea {
    font: 12px/180% "Microsoft YaHei", Tahoma, "Simsun", sans-serif;
}

html {
    width: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none; /*禁止iphone字体放大*/
}

body {
    width: 100%;
    min-width: 320px;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
}
a,img{border:none;text-decoration:none;}

ul, ol, li {
    list-style: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

/* 设置HTML5元素为块 */
/* Form */
label, input, select {
    vertical-align: middle;
}

input[type=submit], input[type=button], input[type=reset] {
    cursor: pointer;
}

input[type="button"], input[type="submit"], input[type="reset"], input[type="text"], select, textarea {
    -webkit-appearance: none;
    font-family: "Microsoft Yahei", Helvetica, Arial, sans-serif;
}

*:focus {
    outline: none;
}

textarea, select, input {
    resize: none;
    -webkit-appearance: none;
    border-radius: 0; /* mobile-select设置*/
}

/* Clear float */
.clearfix:before, .clearfix:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0;
    line-height: 0;
    font-size: 0;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

.clear {
    clear: both;
    height: 0;
    overflow: hidden;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

i {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}