.slider {
    padding: 0;
    margin: 0;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    max-width: 1150px;
    -box-shadow: 0px 4px 10px #9d9d9d;
    -border-radius: 4px;
}

.slider ul { 
  width: 1000%;
  height: auto;
  position: relative;
  list-style: none;
  left: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  animation:slide-animation 30s infinite;
  -moz-animation:slide-animation 30s infinite;
  -webkit-animation:slide-animation 30s infinite;
}

.slider ul:hover {
  animation-play-state:paused;
  -moz-animation-play-state:paused;
  -webkit-animation-play-state:paused;
}

.slider li {
    width: 250px;
    list-style: none;
    float: left;
    margin: 0 20px 0 20px;
    padding: 0;
}

.slider img {
  max-width: 100%;
  -border-radius: 4px;
  margin: 0;
  padding: 0;
}

.slider p {
  font-weight: normal; 
  text-align: center; 
  font-size:10pt; 
  line-height: 1.5;
}

.slider span {
  position: relative;
  height: 20px;
  display: block;
  bottom: 0;
  padding: 0.5px 20px 0px 20px;
  margin-top: -20px;
  overflow: hidden;
  background-color:rgba(54,44,48,0.6);
  color: #fcfcfc;
  -text-shadow: 0px 1px 1px #9d9d9d;
  -border-radius: 4px;
}

/* @keyframes slide-animation { */
  /* 1% {left: 0%; opacity: 1;} */
  /* 18% {left: -10%; opacity: 1} */
  /* 19% {opacity: 0.2;} */
  /* 20% {left: -20%; opacity: 1;} */
  /* 58% {left: 0%; opacity: 1;} */
  /* 59% {opacity: 0.2;} */
  /* 60% {left: 0%; opacity: 1;} */
  /* 98% {left: 0%; opacity: 1;} */
  /* 99% {opacity: 0.5;} */
  /* 100% {left: 0%;} */
/* } */

 /* @-webkit-keyframes slide-animation { */
  /* 1% {left: 0%} */
  /* 10 {left: 10%} */
  /* 25% {left: 25%} */
  /* 50% {left: 50%} */
  /* 75% {left: 25%}  */
  /* 100%{left: -25%} */
/* } */

/* @-moz-keyframes slide-animation { */
  /* 1% {left: 0%; opacity: 1;} */
  /* 18% {left: 0%; opacity: 1} */
  /* 19% {opacity: 0.2;} */
  /* 20% {left: 0%; opacity: 1;} */
  /* 58% {left: 0%; opacity: 1;} */
  /* 59% {opacity: 0.2;} */
  /* 60% {left: 0%; opacity: 1;} */
  /* 98% {left: 0%; opacity: 1;} */
  /* 99% {opacity: 0.5;} */
  /* 100% {left: 0%;} */
/* } */


/* hide description on mobile devices */
@media
only screen and (max-width: 480px),
only screen and (-webkit-max-device-pixel-ratio: 2)      and (max-width: 480px),
only screen and (   max--moz-device-pixel-ratio: 2)      and (max-width: 480px),
only screen and (     -o-max-device-pixel-ratio: 2/1)    and (max-width: 480px),
only screen and (        max-device-pixel-ratio: 2)      and (max-width: 480px),
only screen and (                max-resolution: 192dpi) and (max-width: 480px),
only screen and (                max-resolution: 2dppx)  and (max-width: 480px) { 
.slider span  { 
 display: none;
  }
}