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,
font,
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,
button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}

input {
  margin: 0;
  padding: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}

p,
blockquote {
  font-weight: normal;
}

/* reset html5 elements */
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  background: transparent;
}

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

body {
  line-height: 1;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

blockquote,
q {
  quotes: none;
}

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

a {
  text-decoration: none;
}

/* Remove unordered list styles by default for navigation lists */
nav ul,
nav ol,
nav ul li,
nav ol li {
  font-size: 1.000em;
  margin: 0;
  padding: 0;
  background: none;
  list-style: none;
  list-style-image: none;
}

nav ul li:before,
nav ol li:before {
  font-family: inherit;
  content: normal;
}

/* fix for ies nasty focus outline */
/* remember to highlight inserts somehow! */
ins {
  text-decoration: none;
}

del {
  text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* clear all default img styles */
img {
  border: 0;
  margin: 0;
  display: block;
  -ms-interpolation-mode: bicubic;
  /*older versions of Internet Explorer use a crappy image resampling technique by default - need to set to bicubic*/
}

pre {
  font-family: monospace;
  padding: 15px;
  white-space: pre;
  white-space: pre-wrap;
  white-space: pre-line;
  word-wrap: break-word;
}

/* media */
/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
}
.lte7 audio,
.lte7 canvas,
.lte7 video {
  display: inline;
  zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/* reset forms */
label,
input[type=button],
input[type=submit],
button {
  cursor: pointer;
}

button {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  width: auto;
  overflow: visible;
  font-weight: inherit;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: 100%;
  line-height: normal;
  text-transform: none;
  margin: 0;
  vertical-align: baseline;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

.lte7 button,
.lte7 input,
.lte7 textarea,
.lte7 select {
  vertical-align: middle;
}

/* fix ie7s nasty border bug */
button,
input[type=submit],
input[type=reset],
input[type=button] {
  filter: chroma(color=#000000);
}
.lte7 button,
.lte7 input[type=submit],
.lte7 input[type=reset],
.lte7 input[type=button] {
  overflow: visible;
}

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

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="checkbox"] .lte7,
input[type="radio"] .lte7 {
  height: 13px;
  width: 13px;
}

input[type="search"] {
/* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/* Remove inner padding and search cancel button in Safari 5 and Chrome on OS X. */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/* Remove inner padding and border in Firefox 3+.*/
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/* Not strictly the best place to put this, but there is currently not a better place */
* {
  box-sizing: border-box;
}
