html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { font-size:100%; margin:0; padding:0; border:0; outline:0; vertical-align:baseline; background:transparent; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; overflow-y: scroll; }
html, body { width:100%; height:100%; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; outline:none; border:none; vertical-align:baseline; background:transparent; }
a:focus, a:active, button:focus, button:active, input[type="submit"]:focus, input[type="submit"]:active { outline:none; border:none; }
ins { background-color:#ffff00; color:#666; font-style:normal; font-weight:normal; text-decoration:none; }
mark { background-color:#ffff00; color:#666; font-style:normal; font-weight:normal; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; font-size:inherit; font:100%; }
hr { display:block; height:1px; border:0; border-top:1px solid #000000; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }
input[type=button], input[type=submit], button { cursor: pointer; }
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
select, input, textarea, button { font:99%; }
pre, code, kbd, samp, tt { font-family:monospace; *font-size:108%; line-height:100%; }

/* border box everything */
*, input[type="checkbox"], input[type="radio"], input[type="text"], input[type="search"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
*:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

/* ios input reset */
input[type="submit"], input[type="button"], input[type="text"], input[type="email"], input[type="search"], input[type="number"], textarea, button { -webkit-appearance: none !important; }