/* stylelint-disable length-zero-no-unit */
/* stylelint-enable length-zero-no-unit */
.fusion-flickr-element {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 10px;
}
.fusion-flickr-element .flickr-image {
  position: relative;
  width: 100%;
  padding-top: 100%;
}
.fusion-flickr-element .flickr-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.fusion-flickr-element.hover-zoomin .flickr-image {
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}
.fusion-flickr-element.hover-zoomin .flickr-image img {
  transition: opacity 1s, transform 1s;
}
.fusion-flickr-element.hover-zoomin .flickr-image img:hover {
  opacity: 0.9;
  transform: scale3d(1.1, 1.1, 1);
}
.fusion-flickr-element.hover-zoomout .flickr-image {
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}
.fusion-flickr-element.hover-zoomout .flickr-image img {
  transform: scale(1.12);
  transition: opacity 1s, transform 1s;
}
.fusion-flickr-element.hover-zoomout .flickr-image img:hover {
  opacity: 0.9;
  transform: scale(1);
}
.fusion-flickr-element.hover-liftup .flickr-image {
  position: relative;
}
.fusion-flickr-element.hover-liftup .flickr-image img {
  transform: perspective(1000px) scale(1);
  transition: transform 0.35s;
}
.fusion-flickr-element.hover-liftup .flickr-image::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
  transition: opacity 0.35s, transform 0.35s;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
}
.fusion-flickr-element.hover-liftup .flickr-image:hover img {
  transform: perspective(1000px) scale(1.03);
}
.fusion-flickr-element.hover-liftup .flickr-image:hover::before {
  opacity: 1;
  transform: scale(1.02);
}
.fusion-flickr-element.loading {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fusion-flickr-element.loading .fusion-loading-container {
  margin: 0;
}
