.preview-thumbnail{margin-bottom:5px;margin-left:5px}.gallery-thumbnail,.preview-thumbnail{display:block;position:relative}.all-photos{align-items:center;background:linear-gradient(0deg,rgba(0,0,0,.7),rgba(0,0,0,.7));bottom:0;color:#fff;display:flex;font-size:20px;justify-content:center;left:0;position:absolute;right:0;text-align:center;top:0;z-index:90}.main-gallery{background:#000;display:none;height:100%;left:0;overflow:auto;position:fixed;top:0;width:100%;z-index:1000}.gallery-list{display:grid;gap:5px;grid-template-columns:1fr 1fr 1fr 1fr;list-style-type:none;margin:auto;padding:5px}.gallery-list-item{padding-bottom:0}.preview-div{display:grid;grid-template-columns:1fr 1fr}.gallery{display:flex;margin:5px;overflow-x:auto;overflow-y:hidden}#main-image img,.preview-thumbnail img{height:auto}@media screen and (max-width:479px){.gallery-list{grid-template-columns:1fr 1fr 1fr}.preview-div{grid-template-columns:1fr 1fr 1fr 1fr}.pswp-gallery{min-width:1045px}#main-image img{height:230px;width:auto}.preview-thumbnail img{height:113px;width:auto}}