/*2016.9.24 css重置样式表*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
}

*:focus {
    outline: none;
}

html {
    font-size: 62.5%;
}

html,
body {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    /*overflow-x: hidden;*/
    height: 100%;
}

body {
    font-size: 12px;
    font-size: 1.2rem;
    font-family: "Microsoft Yahei";
    background: #f2f2f2;
    color: #333;
    min-width: 320px;
    max-width: 720px;
    margin: 0 auto;
}

div,
p,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4 {
    display: block;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

textarea {
    resize: none;
}

table {
    empty-cells: show;
    border-collapse: collapse;
    border-spacing: 0px;
    border: 0;
}

input,
button,
select,
textarea {
    outline: none;
    border: none;
    background-color: transparent;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button {
    overflow: visible;
    border: none;
    background: transparent;
}

button,
select {
    text-transform: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

img {
    border: none;
}

ul,
ol,
li {
    list-style: none;
}

a {
    background-color: transparent;
    color: #666;
    text-decoration: none;
    outline: none;
    blr: expression(this.onFocus=this.blur());
}

a:active,
a:hover {
    outline: none;
    text-decoration: none;
}

i,
em {
    font-style: normal;
}

b,
strong {
    font-weight: bold;
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
    font-weight: normal;
}

mark {
    background-color: transparent;
    color: #ed7020;
}


/*清除浮动*/

.clearfix {
    zoom: 1;
}

.clearfix:after {
    content: '';
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}


/* 去除iphone ipad 设备默认按钮样式 */

input[type="button"],
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #ccc;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #ccc;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #ccc;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}
