@viewport, @-webkit-viewport, @-moz-viewport, @-ms-viewport, @-o-viewport { width:device-width; }

* { margin:0; padding:0; border:0 solid #999; outline:0; vertical-align:baseline; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; background-repeat:no-repeat; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display:block; }
audio, canvas, video { display:block; *display:inline; *zoom:1; }
audio:not([controls]) { display:none; }
[hidden] { display:none; }

html { -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; }
html, body { min-height:100%; height:auto!important; height:100%; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

q { quotes:none; }
q:before, q:after { content:""; content:none; }

sub, sup { line-height:0; position:relative; vertical-align:baseline; }
sup { top:-0.5em; }
sub { bottom:-0.25em; }

img { -ms-interpolation-mode:bicubic; vertical-align:middle; max-width:100%; }

table { border-collapse:collapse; border-spacing:0; }
td { vertical-align:top; }

/* Forms */
label { cursor:pointer; }
input, select, textarea { margin:0; vertical-align:baseline; *vertical-align:middle; border-width:1px; }
button, input { line-height:normal; *overflow:visible; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor:pointer; -webkit-appearance:button; }

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

textarea { overflow:auto; vertical-align:top; resize:vertical; }
