/* Horizontal ticker dots */

nav.ticker {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

nav.ticker a {
  display: block;
  margin: 0 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #e5e5e5;
  opacity: 0.8;
}

nav.ticker a.active {
  background-color: #9b9b9b;
  opacity: 0.8;
}

/* Ticker items */

.ticker-items {
  margin-top: 80px;
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-flow: row nowrap;
}

.ticker-items .ticker-item {
  width: 100%;
  margin-left: -100%;
  transition: 0.3s all ease-in-out;
  opacity: 1;
  background: white;
}
.ticker-items .ticker-item:first-child {
  margin-left: 0;
}
.ticker-items .ticker-item.left {
  z-index: -10;
  opacity: 0;
  transform: translate(-2%);
}
.ticker-items .ticker-item.right {
  z-index: -10;
  opacity: 0;
  transform: translate(2%);
}

.ticker-items .ticker-content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 88px;
}
.ticker-items .ticker-content img.ticker-quote {
  position: absolute;
  left: 0;
  top: 0;
  margin-right: 32px;
  width: 56px;
  height: 56px;
}
.ticker-items .ticker-content h3 {
  margin-top: 0;
  font-family: Lato, sans-serif;
  font-style: italic;
  font-weight: bold;
  line-height: 1.8;
  font-size: 22px;
}

.ticker-items .ticker-content .from {
  font-family: Lato, sans-serif;
  font-size: 14px;
  line-height: 2.83;
  color: #767676;
}
.ticker-items .ticker-content .from i {
  color: black;
  margin-right: 16px;
}

@media screen and (max-width: 650px) {
  .ticker-items .ticker-content {
    padding: 0 20px;
  }
  .ticker-items .ticker-content img.ticker-quote {
    position: static;
    margin-bottom: 17px;
  }
  nav.ticker {
    margin-top: 28px;
  }
}
