/* Reset box-model and set borders ---------------------*/
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document ---------------------*/

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Sections ---------------------*/

body {
  margin: 0;
}

/* Vertical rhythm ---------------------*/
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings ---------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) ---------------------*/
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) ---------------------*/
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}


/* Text-level semantics ---------------------*/

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/* Forms ---------------------*/
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/* Replaced content ---------------------*/

svg,
img,
embed,
object,
iframe {
  vertical-align: middle;
}