@charset "utf-8";
/* CSS Document */

.thumb {
  position: relative;
  display: inline-block;
  flex: 1 0 auto;
  width: auto;
  height: 100px;
  /* cosmetics and zoom: */
  margin: 1px;
  text-decoration: none;
  background-color: rgba(0,0,0, 0.50);
  box-shadow: 0px 0px 0px 0px rgba(0,0,0, 0.0);
  transition: box-shadow 150ms, transform 200ms, z-index 200ms, background-position 200ms;
  z-index: 1;
}
.thumb:hover {
  /* zoom: */
  box-shadow: 0px 0px 5px 0px rgba(0,0,0, 0.7);
  transform: scale(1.2, 1.2);
  z-index: 100;
}

.thumb-img > img,
.thumb-txt > div {
  min-width: 60px;
  max-width: 300px;
  }
  
.thumb-img {
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.thumb-img:hover {
  animation-name: thumb-scroll;
  animation-delay: 200ms;
  animation-duration: 1.2s;
  animation-iteration-count: infinite;
  animation-direction: normal;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.thumb-img > img {
  display: block;
  height: 100%;
  opacity: 1;
  outline: 2px solid rgba(255, 255, 255, .75);
  outline-offset: -2px;
  z-index:999; 
}
@keyframes thumb-scroll {
  15%, 35% { background-position: 0% 0%; }
  65%, 85% { background-position: 100% 100%; }
}  
  
.thumb > div {
  font-family: Arial, "Lucida Grande", Helvetica, sans-serif;
  font-size: 11px;
  color: #ffffff;
  padding: 5px 5px;
  overflow: hidden;
}
.thumb > div > span {
  display: block;
}
.thumb > div > span:first-child {
  font-weight: bold;
}
.thumb > div > span:last-child {
  font-size: 0.8em;
}


.thumb-img > div {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  white-space: nowrap;
  background-color: rgba(0,0,0, 0.30);
  opacity: 0;
  transition: opacity 150ms;
}
.thumb-img > div > span {
  font-size: 0.8em;
}
.thumb-img:hover > div {
  opacity: 1;
}

.thumb-txt > div {
  display: block;
  width: auto;
  height: 100%;
}

.thumbs:after {
  content: "";
  flex: 100 0 auto;
}

