.square {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.half-square {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.ratio-block {
  padding-top: 100%
}

.video-gallery {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

.mobile-video-gallery {
  display: none
}

.video-gallery-col-1,
.video-gallery-col-2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap
}

.video-gallery-col-1 {
  -ms-flex-preferred-size: 12.5%;
  flex-basis: 12.5%
}

.video-gallery-col-2 {
  -ms-flex-preferred-size: 25%;
  flex-basis: 25%
}

video.gallery-video {
  position: absolute;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='30' opacity='.9'%3E%3C/circle%3E%3C/svg%3E") 40 40, pointer;
  width: 100%;
  top: 0;
  left: 0;
  height: 113%;
  background-image: url(/spec/wa-apps/site/themes/2021_06_01_photoproject/img/loader.gif);
  background-size: 40%;
  background-position: center 40%;
  background-repeat: no-repeat;
  border: 1px solid rgb(254, 254, 254);
  background-color: rgb(254, 254, 254) !important
}

@media only screen and (max-width:640px) {
  .video-gallery {
    display: none
  }

  .mobile-video-gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
  }
}