.eb-gallery-img-wrapper.eb-image-gallery-e50s6uw{ gap:10px; background 0.5s } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw:hover { } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.grid{ grid-template-columns: repeat(3, auto); } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.masonry{ columns: 3; } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.masonry .eb-gallery-img-content{ margin-bottom: 10px; } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw .eb-gallery-img-content img{ } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw .eb-gallery-img-content:hover img{ border 0.5s, border-radius 0.5s, box-shadow 0.5s } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw .eb-gallery-img-content .eb-gallery-img-caption { color: #ffffff; background-color: rgba(195 195 195 / 0.7); text-align: center; bottom: 0; margin-top: 5px; margin-right: 10px; margin-left: 10px; margin-bottom: 5px; padding-top: 5px; padding-right: 10px; padding-left: 10px; padding-bottom: 5px; font-size: 13px; } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.caption-style-2 .eb-gallery-img-content:after { color: #ffffff; background-color: rgba(195 195 195 / 0.7); }  @media(max-width: 1024px){ .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw{ } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw:hover { } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.grid{ grid-template-columns: repeat(, auto); } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.masonry{ columns: ; } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.masonry .eb-gallery-img-content{ margin-bottom: calc(px - px); } } @media(max-width: 767px){ .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw{ } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw:hover { } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.grid{ grid-template-columns: repeat(, auto); } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.masonry{ columns: ; } .eb-gallery-img-wrapper.eb-image-gallery-e50s6uw.masonry .eb-gallery-img-content{ margin-bottom: calc(px - px); } }