
.scroller {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  padding: 30px 0
}

.scroller::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-image: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0));
  z-index:  100;
}

.scroller::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
  z-index:  100;
}

.scroller__item {
  background-color: #fff;
  background-image: url('/resources/images/bg-card.png');
  background-position: left center;
  border-radius: 5px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .1);
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  height: 117px;
  padding: 0 15px;
  position: absolute;
  top: 30px;
  left: 10px;
  right: 10px;
  /* width: 100%; */
  opacity: 0;
  transform: translateY(-130px) scale(.5);
}

.scroller__image {
  margin-right: 10px;
  flex: 0 0 80px;
}

.scroller__image image {
  width: 100%;
}

@media(max-width: 500px) {
  .scroller__image {
    display: none;
  }
}

.scroller__title {
  color: #187520;
  font-family: var(--brand);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.scroller__body {
  color: #465242;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 15px;
  line-height: 22px;
}

.scroller__body p {
  margin: 0;
}

.scroller__item--out {
  transition: transform 0.4s linear, opacity 0.4s;
  transform: translateY(260px)
}

.scroller__item--last {
  opacity: .5;
  transition: transform 0.4s linear, opacity 0.4s;
  transform: translateY(130px)
}

.scroller__item--active {
  opacity: 1;
  transition: transform 0.4s linear, opacity 0.4s;
  transform: none;
}
