.image_gallery_module {
  padding: 0;

}

.image_gallery_module.window-width {
  background: transparent;
}

.image_gallery_module .column {
  position: relative;
}

.image_gallery_module .row.caption {
  padding-bottom: 58px;
}

.image_gallery_module .column .image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 100%;
  overflow: hidden;
}

.image_gallery_module .column .caption {
  position: absolute;
  color: #413737;
  font-family: "FolioStd";
  font-size: 12px;
  font-weight: 300;
  line-height: 24px;
  bottom: -30px;
}

.image_gallery_module .column .image-wrap img {
  position: absolute;
  top: -9999px;
  right: -9999px;
  bottom: -9999px;
  left: -9999px;
  margin: auto;
  min-width: 100%;
  min-height: 100%;
  z-index: 1;
  width: auto;
  height: auto;
  /* max-width: 100%; */
  max-height: 100%;
  /* object-fit: cover;*/
}

.image_gallery_module .column .image-wrap.turned img {
  max-height: none;
  max-width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 12px;
  padding-bottom: 48px;
}

.row:last-of-type {
  margin-bottom: 0;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.image_gallery_module .inner .background {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.flex-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.image_gallery_module .col {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
}

.image_gallery_module .col-3 {
  width: 33%;
  margin: 0;
}

.image_gallery_module .col-2 {
  width: 50%;
  max-width: 588px;

}

.image_gallery_module .col-1 {
  width: 100%;
}

.image_gallery_module .column.col-1 .image-wrap {
  padding-top: 0;
}

.image_gallery_module .column.col-1 .image-wrap img {
  position: relative;
  width: 100%;
  height: auto;
  top: unset;
  left: unset;
  right: unset;
  bottom: unset;
  min-height: auto;
}


.image_gallery_module .col-2:nth-child(even) {
  margin: 0 0px 0px 0;
}

.image_gallery_module .col-2:nth-child(odd) {
  margin: 0 60px 0px 0;
}

.image_gallery_module .col-3:nth-child(2n+2) {
  margin: 0 60px 0px 60px;
}

.image_gallery_module .col-3:nth-child(2n+3) {
  margin: 0;
}

.image_gallery_module .read-more {
  display: block;
  margin-top: -32px;
}

@media screen and (min-width: 800px) {
  .image_gallery_module .column {
    flex: 1
  }

  .image_gallery_module .double-column {
    flex: 2
  }


}
