/* Lightbox con le miniature in una riga in basso, su desktop e su mobile, invece che nella colonna
   a destra prevista da fancybox. Vale per le gallery aperte con baseClass "fb-thumbs-bottom" e
   thumbs.axis "x": addon slidergallery e plugin jw_sig e jw_sig_slide. Le altre lightbox non cambiano. */
.fb-thumbs-bottom .fancybox-thumbs.fancybox-thumbs-x {
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 98px;
  padding: 2px;
  scrollbar-width: thin;
}
.fb-thumbs-bottom .fancybox-thumbs-x .fancybox-thumbs__list a {
  width: 100px;
  height: 75px;
  max-width: none;
  max-height: none;
}
.fb-thumbs-bottom.fancybox-show-thumbs .fancybox-inner {
  right: 0;
  bottom: 98px;
}
@media (max-width: 767px), (max-height: 500px) {
  .fb-thumbs-bottom .fancybox-thumbs.fancybox-thumbs-x {
    height: 74px;
  }
  .fb-thumbs-bottom .fancybox-thumbs-x .fancybox-thumbs__list a {
    width: 88px;
    height: 66px;
  }
  .fb-thumbs-bottom.fancybox-show-thumbs .fancybox-inner {
    bottom: 74px;
  }
}
