/* RESET */
html {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  word-spacing: 1px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
div {
  display: block;
}
a:focus,
button:focus,
input:focus,
textarea:focus,
:focus {
  outline: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
.ticker {
  display: block;
  float: left;
  height: 36px;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.rates__ticker {
  background: #1e1e1e;
  display: block;
  float: left;
  height: 36px;
  margin: 0;
  width: 100%;
}

.rates__ticker b {
  font-weight: bold;
}

.rates__ticker ul {
  display: block;
  white-space: nowrap;
  height: 36px;
  transform: translateX(0);
  animation: marquee 20s linear infinite;
}
.rates__ticker:hover ul {
  animation-play-state: paused;
}

.rates__ticker li {
  display: inline-block;
  height: 36px;
}

.rates__ticker li a {
  color: #fff;
  display: block;
  float: left;
  height: 36px;
  line-height: 36px;
  padding: 0 1em;
  text-decoration: none;
  -webkit-transition: all ease 0.6s;
  transition: all ease 0.6s;
}

.rates__ticker li:hover a {
  color: white;
}

.rates__ticker svg {
  display: block;
  float: left;
  height: 6px;
  margin: 0 10px 0 0;
  transform: translateY(15px);
  width: auto;
}

.rates__ticker svg.up path {
  fill: green;
  opacity: 1;
  animation: blinker 1s infinite;
}

.rates__ticker svg.down path {
  fill: #990000;
}

@keyframes blinker {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-99%);
  }
}
