/* ====== mobile reset css ====== */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body,
p,
h1,
h2,
h3,
ul,
ol,
dl,
dd,
blockquote,
hr,
legend,
fieldset,
figure,
menu,
pre {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0 auto;
    min-width: 320px;
    max-width: 768px;
    min-height: 100%;
    line-height: 1.2;
    font-family: tahoma, arial, helvetica, 'Microsoft Yahei', sans-serif;
    font-size: .24rem;
    color: #333;
    background-color: #fff;
    /* 禁止文字横竖屏缩放 */
    -webkit-text-size-adjust: none;
    /* 更柔和的字体效果 */
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

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

a {
    font-size: inherit;
    color: inherit;
    text-decoration: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

a:focus {
    outline: none;
}

img {
    border: none;
    max-width: 100%;
    /* 去除下部白边 */
    vertical-align: top;
}

input,
textarea,
select,
button {
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    border-radius: 0;
}

button {
    background-color: rgba(0,0,0,0);
}

input[type="text"],
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type=number],
select,
button {
    /*元素的外观 清除默认外观样式*/
    -webkit-appearance: none;
}

input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

textarea {
    resize: vertical;
    overflow: auto;
}

iframe {
    border: none;
}

blockquote,
q {
	quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
	content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

h1,
h2,
h3 {
    font-size: inherit;
}
