html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
    box-sizing: border-box;
}

/* Reset list styles */
ol, ul {
    list-style: none;
}

/* Reset blockquote and q elements */
blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

/* Reset table borders and spacing */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Reset form elements */
button, input, optgroup, select, textarea {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* Reset button and input styles */
button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

/* Reset the cursor for buttons */
button, [type="button"], [type="reset"], [type="submit"] {
    cursor: pointer;
}

/* Reset the appearance of buttons in some browsers */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/* Reset the focus outline */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/* Reset textarea overflow */
textarea {
    overflow: auto;
}

/* Reset the appearance of fieldset */
fieldset {
    padding: 0;
    border: 0;
    margin: 0;
}

/* Reset the appearance of legend */
legend {
    color: inherit;
    display: block;
    padding: 0;
    white-space: normal;
}

/* Reset the appearance of progress */
progress {
    vertical-align: baseline;
}

/* Reset the appearance of hr */
hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

/* Reset the appearance of pre */
pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Reset the appearance of anchor tags */
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/* Reset the appearance of abbr */
abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

/* Reset the appearance of code, kbd, samp */
code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Reset the appearance of small */
small {
    font-size: 80%;
}

/* Reset the appearance of sub and sup */
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Reset the appearance of img */
img {
    border-style: none;
}

/* Reset the appearance of svg */
svg:not(:root) {
    overflow: hidden;
}

/* Reset the appearance of iframe */
iframe {
    border: 0;
}

/* Reset the appearance of audio and video */
audio, video {
    display: inline-block;
}

/* Reset the appearance of canvas */
canvas {
    display: inline-block;
}

/* Reset the appearance of template */
template {
    display: none;
}

/* Reset the appearance of hidden elements */
[hidden] {
    display: none;
}