.image-list-outer,
.image-list {
  width: 100%;
  position: relative;
}
.image-list-outer {
  /* overflow: hidden; */
}
.image-list-wrapper {
  position: relative;
  padding-top: var(--paddingImage, 100%);
  margin: 0px auto;
  text-align: center;
  zoom: 1;
  display: block;
}
.image-list__link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.image-list-wrapper img {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 0;
  vertical-align: middle;
  max-width: 100%;
  max-height: 100%;
  pointer-events: none;
}

/*gallery in list*/
.section-gallery-wrapper {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  right: 0px;
  flex-direction: row;
  z-index: 2;
}
.section-gallery-wrapper__item {
  flex-grow: 1;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  /* background-color: #fff; */
  /* margin-bottom: -4px; */
}
.section-gallery-wrapper__item-nav {
  display: block;
  position: relative;
  margin: 0 1px;
  height: 100%;
}
.section-gallery-wrapper__item_hidden {
  display: none;
}
.section-gallery-wrapper__item img {
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  left: 0px;
  right: 0px;
  border-radius: 4px;
}
.section-gallery-wrapper__item.active img {
  opacity: 1;
}

.section-gallery-nav {
  position: absolute;
  bottom: -16px;
  left: 0px;
  right: 0px;
  text-align: center;
  z-index: 2;
}
.section-gallery-nav__item {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #ddd;
  border-radius: 100%;
}
.section-gallery-nav__item:not(.active) {
  cursor: pointer;
}

.ratio--horizontal {
  --paddingImage:66%;
}
.ratio--vertical {
  --paddingImage:150%;
}