/* Gallery slideshow height */
#photo-gallery .featured{
  height:520px !important;
  min-height:520px !important;
  max-height:520px !important;
}

#photo-gallery .featured img{
  height:100% !important;
  min-height:0 !important;
  max-height:100% !important;
  object-fit:cover !important;
}

/* Match five-thumbnail rail to the 520px image height */
@media(min-width:761px){
  #photo-gallery .gallery-thumbs{
    height:520px !important;
    max-height:520px !important;
    grid-auto-rows:96px !important;
    gap:10px !important;
  }

  #photo-gallery .gallery-thumb{
    height:96px !important;
    min-height:96px !important;
  }

  #photo-gallery .gallery-thumb img{
    height:82px !important;
  }
}

@media(max-width:760px){
  #photo-gallery .featured,
  #photo-gallery .featured img{
    height:340px !important;
    min-height:340px !important;
    max-height:340px !important;
  }
}
