/* Extend thumbnail display to approximately the full height of the big image */
@media(min-width:761px){
  #photo-gallery .gallery-layout{
    align-items:stretch !important;
  }

  #photo-gallery .gallery-thumbs{
    align-self:stretch !important;
    height:100% !important;
    max-height:none !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:repeat(7,minmax(0,1fr)) !important;
    grid-auto-rows:minmax(0,1fr) !important;
    gap:7px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding:2px 6px 2px 2px !important;
    scroll-behavior:auto !important;
  }

  #photo-gallery .gallery-thumb{
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    padding:4px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  #photo-gallery .gallery-thumb img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    object-fit:cover !important;
    object-position:center !important;
  }
}
