/*!
 * Pellicarnos Reset
 */

/* Box-sizing reset */
html {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* Global reset: margins, padding, borders, and alignment */
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, figure, figcaption, main {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/* Lists */
ol, ul {
  list-style: none;
}

/* Headings */
h1 {
  font-size: 2em;
}

/* Sections */
article, aside, footer, header, nav, section, main {
  display: block;
}

/* Grouping content */
figure, figcaption {
  display: block;
}
figure {
  margin: 0;
}

/* Horizontal rule */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: none;
}

/* Preformatted & code */
pre, code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Links */
a {
  background-color: transparent;
  text-decoration: none;
  -webkit-text-decoration-skip: objects;
}
a:active, a:hover {
  outline: none;
}

/* Abbreviations */
abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

/* Emphasis */
b, strong {
  font-weight: bolder;
}
dfn {
  font-style: italic;
}

/* Marks */
mark {
  background-color: #ff0;
  color: #000;
}

/* Small text */
small {
  font-size: 80%;
}

/* Subscript & superscript */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}

/* Embedded media */
img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}
svg:not(:root) {
  overflow: hidden;
}

/* Audio & video */
audio, video {
  display: inline-block;
}
audio:not([controls]) {
  display: none;
  height: 0;
}

/* Forms & buttons */
button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  outline:none;
  border: none;
  background: none;
  padding: 0;
}
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* Remove focus outlines for form elements and interactive items */
button:focus,
input:focus,
select:focus,
textarea:focus,
span:focus,
li:focus {
  outline: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/* Fieldset & legend */
fieldset {
  margin: 0;
  padding: 0;
  border: none;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/* Progress & meter */
progress, meter {
  display: inline-block;
  vertical-align: baseline;
}

/* Textarea overflow */
textarea {
  overflow: auto;
}

/* Checkbox & radio */
[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/* Number inputs */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/* Search inputs */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration,
[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* File upload button */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive elements */
details {
  display: block;
}
summary {
  display: list-item;
}

/* Canvas & template */
canvas {
  display: inline-block;
}
template {
  display: none;
}

/* Hidden attribute */
[hidden] {
  display: none;
}
