/* Testimonials slider */
html,
body {

}

.content-slider {
  width: 100%;
  height: auto;
  padding: 10px;
  background: rgba(255, 255, 255, 0.5);
}


.slider {
  margin: 0px auto;
  overflow: visible;
  position: relative;
}

.mask {
  overflow: hidden;
  height: 150px;
  z-index: 50;
}

.slider ul {
  margin: 0;
  padding: 0;
  position: relative;
}

.slider li {
  width: 100%;
  height: auto;
  position: absolute;
  right: -2500px;
  list-style: none;
}

.slider .quote {
  font-size: 1em;
  font-style: italic;
}

#testimonialspage {
  width:80%;
  margin: 0px 10% 20px 10%;
}

#testimonialspage .quote {
  font-size: 1em;
  background-color: #fff;
  margin: 10px 0px;
  padding: 10px;
}

#testimonialspage .source {
  color:#BE1E2D;
  font-weight: bold;
  font-size: 1em;
  text-align: right;
}

#testimonialspage h1 {
  text-align: center;
  color:#BE1E2D;
  font-size: 2em;
  margin: 0px;
  padding: 5px 0px;
}

#testimonialspage .source:before {
  content:"– "
}

.slider .source:before {
  content:"– "
}

.slider .source {
  color:#BE1E2D;
  font-weight: bold;
  font-size: 1em;
  text-align: right;
}

.slider li.anim1 {
  animation: cycle 20s linear infinite;
}

.slider li.anim2 {
  animation: cycle2 20s linear infinite;
}

.slider li.anim3 {
  animation: cycle3 20s linear infinite;
}

.slider li.anim4 {
  animation: cycle4 20s linear infinite;
}

.slider li.anim5 {
  animation: cycle5 20s linear infinite;
}

.slider li.anim6 {
  animation: cycle6 20s linear infinite;
}

.slider li.anim7 {
  animation: cycle7 20s linear infinite;
}

.slider li.anim8 {
  animation: cycle8 20s linear infinite;
}

.slider li.anim9 {
  animation: cycle9 20s linear infinite;
}

.slider li.anim10 {
  animation: cycle10 20s linear infinite;
}

.slider li.anim11 {
  animation: cycle11 20s linear infinite;
}

.slider li.anim12 {
  animation: cycle12 20s linear infinite;
}

.slider li.anim13 {
  animation: cycle13 20s linear infinite;
}

.slider li.anim14 {
  animation: cycle14 20s linear infinite;
}

.slider li.anim15 {
  animation: cycle15 20s linear infinite;
}

.slider li.anim16 {
  animation: cycle16 20s linear infinite;
}

.slider li.anim17 {
  animation: cycle17 20s linear infinite;
}

.slider li.anim18 {
  animation: cycle18 20s linear infinite;
}

.slider li.anim19 {
  animation: cycle19 20s linear infinite;
}

.slider li.anim20 {
  animation: cycle20 20s linear infinite;
}

.slider:hover li {
  animation-play-state: paused;
}

@keyframes cycle {
  0% {
    right: 0px;
  }
  4% {
    right: 0px;
  }
  16% {
    right: 0px;
    opacity: 1;
    z-index: 0;
  }
  20% {
    right: 325px;
    opacity: 0;
    z-index: 0;
  }
  21% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
  50% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
  92% {
    right: -325px;
    opacity: 0;
    z-index: 0;
  }
  96% {
    right: -325px;
    opacity: 0;
  }
  100% {
    right: 0px;
    opacity: 1;
  }
}

@keyframes cycle2 {
  0% {
    right: -325px;
    opacity: 0;
  }
  16% {
    right: -325px;
    opacity: 0;
  }
  20% {
    right: 0px;
    opacity: 1;
  }
  24% {
    right: 0px;
    opacity: 1;
  }
  36% {
    right: 0px;
    opacity: 1;
    z-index: 0;
  }
  40% {
    right: 325px;
    opacity: 0;
    z-index: 0;
  }
  41% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle3 {
  0% {
    right: -325px;
    opacity: 0;
  }
  36% {
    right: -325px;
    opacity: 0;
  }
  40% {
    right: 0px;
    opacity: 1;
  }
  44% {
    right: 0px;
    opacity: 1;
  }
  56% {
    right: 0px;
    opacity: 1;
    z-index: 0;
  }
  60% {
    right: 325px;
    opacity: 0;
    z-index: 0;
  }
  61% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle4 {
  0% {
    right: -325px;
    opacity: 0;
  }
  56% {
    right: -325px;
    opacity: 0;
  }
  60% {
    right: 0px;
    opacity: 1;
  }
  64% {
    right: 0px;
    opacity: 1;
  }
  76% {
    right: 0px;
    opacity: 1;
    z-index: 0;
  }
  80% {
    right: 325px;
    opacity: 0;
    z-index: 0;
  }
  81% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
  100% {
    right: -325px;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes cycle5 {
  0% {
    right: -325px;
    opacity: 0;
  }
  76% {
    right: -325px;
    opacity: 0;
  }
  80% {
    right: 0px;
    opacity: 1;
  }
  84% {
    right: 0px;
    opacity: 1;
  }
  96% {
    right: 0px;
    opacity: 1;
    z-index: 0;
  }
  100% {
    right: 325px;
    opacity: 0;
    z-index: 0;
  }
}
