.my-gallery img {
  width: auto;
  height: auto;

}

.my-gallery figure {
  display: block;
  float: left;
  margin: 0 0 0 0;
  width: 100%;
  padding-bottom: 12px;
}

.my-gallery figcaption {
  display: none;
}

.my-gallery {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;

}
.my-gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


figure .text-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  opacity: 0;


}

figure .text-wrapper {
  transition: all 0.8s ease;
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}

figure .name {
  font-size: 1.5em;
}


/* Because there is no hover on a touch devide, we need to move the text to the bottom of the image and display it by default */

@media only screen and (max-width: 1024px) {
  figure .text-wrapper {
    opacity: 1;
    justify-content: flex-end;
    text-shadow: 1px 1px 1px #000;
  }
  figure .title {
    margin-bottom: 1em;
  }
}





.photoSwipeOpen .slick-track {
  transition: none !important;

}

.slider-nav img {
  max-width: 100%;
  display: contents;
  max-height: 100%;
}

.slider-nav .slick-track {
  transform: none !important;
}

.slider-nav .slick-active {
  border-bottom: 2px solid red;
}

.slider-main figure a {
  display: block;
  height: 0;
  overflow: hidden;
  padding-bottom: 100%;
  position: relative;
  text-align: center;
}
.slider-main figure img {
  display: inline-block;
  height: auto;
  width: 100%;
  height: 100%;
  left: 50%;
  max-height: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}

.pswp__bg {
  opacity: 0.8 !important;
}

.wrapper-img {
  position:relative;
  width:100%;
  max-width:1200px;
  height:100%;
  min-height:320px
}

.divtext {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  padding-top:13.5%;  
  text-align:center;
  font-weight:bold;
  font-size:18px;
  color:white;
}
@media (min-width: 1200px) {
  .divtext{
    font-size:60px;
  }
}