/* resset.dev • v5.0.2 | Final Optimized Version */

/* # =================================================================
   # Global selectors
   # ================================================================= */

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%; /* Prevent font size adjustments in iOS */
  word-break: normal;
  -moz-tab-size: 4;
  tab-size: 4;
}

*,
::before,
::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
  background-repeat: no-repeat;
}

::before,
::after {
  text-decoration: inherit;
  vertical-align: inherit;
}

/* # =================================================================
   # General elements & Typography
   # ================================================================= */

hr {
  overflow: visible; /* Show the overflow in Edge and IE */
  height: 0; /* Add the correct box sizing in Firefox */
  color: inherit; /* Correct border color in Firefox */
}

main,
details {
  display: block; /* Render the `main` element consistently in IE */
}

summary {
  display: list-item; /* Add the correct display in all browsers */
}

li {
  list-style: none;
}

a {
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}

abbr[title] {
  border-bottom: none; /* Remove the bottom border in Chrome 57 */
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em; /* Correct the odd `em` font sizing in all browsers */
}

table {
  text-indent: 0; /* Remove text indentation in Chrome, Edge, and Safari */
  border-color: inherit; /* Correct border color in all Chrome, Edge, and Safari */
}

iframe,
img {
  border-style: none;
}

[hidden] {
  display: none; /* Add the correct display in IE */
}

/* # =================================================================
   # Forms
   # ================================================================= */

button,
input,
select,
textarea {
  font: inherit;
  background-color: transparent;
  border-style: none;
  border-radius: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
  appearance: button;
}

button,
[type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  cursor: pointer;
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

optgroup {
  font-weight: bold;
}

select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
  appearance: none;
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type="search"] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  appearance: textfield;
  outline-offset: -2px; /* Correct the outline style in Safari */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; /* Remove the inner padding in Chrome and Safari on macOS */
}

legend {
  color: inherit; /* Correct `color` not being inherited in IE 8/9/10/11 */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%;
  white-space: normal; /* Correct the text wrapping in Edge and IE */
  border: 0;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS and Safari */
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
  color: inherit;
}

/* # =================================================================
   # Accessibility
   # ================================================================= */

/* Remove focus outline (be careful with accessibility) */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Specify the progress cursor of updating elements */
[aria-busy="true"] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[disabled],
[aria-disabled="true"] {
  cursor: default;
}

progress {
  vertical-align: baseline; /* Add the correct vertical alignment in Chrome, Firefox, and Opera */
}