/**
 * A thin layer on top of normalize.css that provides a starting point more
 * suitable for web applications.
 */

/**
 * 1. Prevent padding and border from affecting element width
 * https://goo.gl/pYtbK7
 * 2. Change the default font family in all browsers
 */

 html {
  box-sizing: border-box; /* 1 */
  font-family: sans-serif; /* 2 */
}

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

/**
 * Removes the default spacing and border for appropriate elements.
 */

 body,
 blockquote,
 dl,
 dd,
 h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 figure,
 p,
 pre {
  margin: 0;
}

button {
  background: transparent;
  border: 0;
  padding: 0;
}

/**
 * Work around a Firefox/IE bug where the transparent `button` background
 * results in a loss of the default `button` focus styles.
 */

 button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

iframe {
  border: 0;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
 * Suppress the focus outline on elements that cannot be accessed via keyboard.
 * This prevents an unwanted focus outline from appearing around elements that
 * might still respond to pointer events.
 */

 [tabindex="-1"]:focus {
  outline: none !important;
}

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers.
 */

 a:active,
 a:hover {
  outline-width: 0;
}

/**
 * Change the font styles in all browsers.
 */

 button,
 input,
 optgroup,
 select,
 textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
}

/**
 * Change the border, margin, and padding in all browsers.
 */

 fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

i{
  display: inline-block;
  height: 1.2em;
  vertical-align: middle;
}

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}

section, footer, main, header{
  display: block;
}

p{
  display: block;
  width: 100%;
}

a, a:hover, button, button:hover{
  text-decoration: none;
  -webkit-transition: all .3s ease;
  -moz-transition: all .3s ease;
  -o-transition: all .3s ease;
  -ms-transition: all .3s ease;
  transition: all .3s ease;
}

.lazy-img img{
  opacity: 0;
}

.lazy-img .loaded{
  opacity: 1;
  transition: opacity 1s;
}

.relative{
  position: relative;
}

figure{
  margin: 0;
}

a:hover{
  text-decoration: none !important;
}