/* Remove horizontal line above Photo Gallery */
.photo-gallery-heading-outside,
#photo-gallery,
#photo-gallery.full-section,
#photo-gallery .gallery-shell,
#photo-gallery .gallery-layout{
  border-top:none !important;
}

.photo-gallery-heading-outside::before,
.photo-gallery-heading-outside::after,
#photo-gallery::before,
#photo-gallery::after,
#photo-gallery .gallery-shell::before,
#photo-gallery .gallery-shell::after{
  border:none !important;
  border-top:none !important;
  background:none !important;
  box-shadow:none !important;
}

/* Center the large image inside its section */
#photo-gallery .gallery-main,
#photo-gallery .featured{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

#photo-gallery .featured{
  position:relative !important;
  width:100% !important;
  overflow:hidden !important;
  background:#fff !important;
}

#photo-gallery .featured img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:auto !important;
}
