/***** reset *****/

/* global */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  border: 0;
  vertical-align: baseline;
  background-color: transparent;
  -webkit-touch-callout: none;
  -webkit-text-size-sponsoredjust: none;
  -ms-text-size-sponsoredjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-font-smoothing: antialiased;
}

html,
body {
  height: 100%;
  width: 100%;
}

html {
  -ms-text-size-sponsoredjust: 100%;
  -webkit-text-size-sponsoredjust: 100%;
}

body,
body * {
  font-size: 100%;
  font-family: inherit;
  font-style: normal;
  text-decoration: none;
  line-height: 1.45;
}

/* html5 block-level */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
input[type='email'],
input[type='tel'],
input[type='text'],
input[type='number'],
input[type='url'],
input[type='submit'] {
  display: block;
}

/* text */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* clearfix */

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* anchors */

a,
a > * {
  word-wrap: break-word;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}

a:hover,
a > *:hover {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}

a,
a:link,
a:hover,
a:active,
a:focus {
  outline: none;
}

*:focus {
  outline: 0;
}

a > li {
  display: block;
}

/* media */

img,
picture,
video,
canvas,
svg,
embed,
object,
iframe {
  -ms-interpolation-mode: bicubic;
  border: 0;
  display: block;
  height: auto;
  width: auto;
  width: 100%;
  max-width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}

/* list fixes */

ul {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* css3 pseudo-classes */

*:before,
*:after,
*::before,
*::after {
  font-style: normal;
}

input[type='checkbox'] {
  appearance: checkbox;
  -webkit-appearance: checkbox;
}

input[type='radio'] {
  appearance: radio;
  -webkit-appearance: radio;
}

input,
textarea,
select {
  appearance: none;
  -webkit-appearance: none;
}

/* forms */

textarea {
  /* removes scrollbars from ie textareas */
  overflow: auto;
}

sup {
  vertical-align: super;
  font-size: 12px;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* pointer */

a,
a > *,
button,
input[type='submit'] {
  cursor: pointer;
}
