/* a wrapper element that tracks the mouse vertically */
.video-js .vjs-thumbnail-holder {
  position: absolute;
  display: none;
  overflow: hidden;
  outline: 2px solid #2a2a2b;
}

/* the thumbnail image itself */
.video-js .vjs-thumbnail-holder .vjs-thumbnail {
  position: relative;
  left: 0;
  /*bottom: 1.3em; that makes the picture move up*/
  opacity: 0;
  padding: 0 !important;
  border: 0 !important;
  max-width: none !important;
  max-height: none !important;
  transition: opacity .2s ease;
  -webkit-transition: opacity .2s ease;
  -moz-transition: opacity .2s ease;
  -mz-transition: opacity .2s ease;
}

/* fade in the thumbnail when hovering over the progress bar */
/* .fake-active is needed for Android only. It's removed on touchend/touchecancel */
.vjs-progress-control:hover .vjs-thumbnail,
.vjs-progress-control.fake-active .vjs-thumbnail,
.vjs-progress-control:active .vjs-thumbnail {
  opacity: 1;
}

/* ... but hide the thumbnail when hovering directly over it */
.vjs-progress-control:hover .vjs-thumbnail:hover,
.vjs-progress-control:active .vjs-thumbnail:active {
  opacity: 0;
}
