@keyframes slidemotion {
  0% {
    left: 0%;
  }
  99% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@-webkit-keyframes slidemotion {
  0% {
    left: 0%;
  }
  99% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
body {
  text-align: center;
}

#slider {
  position: relative;
  width: 410px;/*800px;*/
  height: 230px;/*500px;*/
  margin: 40px auto 10px auto;
  /*box-shadow: 0 0px 100px 0 #D70;*/
  border: 0px solid #10509e;
  overflow: hidden;
}

.hide {
  display: none !important;
}

.slide {
  opacity: 1;
  position: absolute;
  top: 0%;
  left: 100%;
  height: 100%;
  width: 100%;
  transition: left .5s;
  /* background: rgba(0,255,0,0.5); */
  z-index: 5;
  overflow: hidden;
}

.img-wrap {
  display: inline-block;
  width: auto;
  height: auto;
  position: relative;
  text-align: center;
  /* background: red; */
  left: 50%;
  top: 50%;
  position: absolute;
}
.img-wrap img {
  /* height: 100%; */
  width: auto;
  left: -50%;
  top: -50%;
  position: absolute;
}

.slide.active {
  left: 0;
  opacity: 1;
  z-index: 5;
}

.slide.left {
  left: -100%;
  animation: slidemotion .5s;
}

#thumbs {
  width: auto;
  display: inline-block;
  margin: 10px auto 0 auto;
  position: relative;
}
#thumbs .thumb {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin: 10px;
  overflow: hidden;
  box-sizing: border-box;
  opacity: 1;
  position: relative;
  /* background: rgba(0,255,0,0.5); */
  z-index: 5;
  overflow: hidden;
}
#thumbs .thumb img {
  /* max-width: 100%; */
}
#thumbs .thumb.active {
  border: 3px solid #10509e;
}
