
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.grid-gallery {
  background: transparent;
}
.grid-gallery:after {
  content: "";
  display: block;
  clear: both;
}
.gallery-warp-main {
  padding-bottom: 40px;
}
.grid-item-media,
.grid-sizer {
  width: 25%;
}
.grid-item-media {
  float: left;
  height: 350px;
  background: transparent;
  border: 5px solid transparent;
}
@media (min-width: 1921px) {
  .grid-item-media {
    height: 450px;
  }
}
@media (min-width: 2300px) {
  .grid-item-media {
    height: 500px;
  }
}
@media (max-width: 1920px) {
  .grid-item-media {
    height: 400px;
  }
}
@media (max-width: 1680px) {
  .grid-item-media {
    height: 375px;
  }
}
@media (max-width: 1500px) {
  .grid-item-media {
    height: 350px;
  }
}
@media (max-width: 1300px) {
  .grid-item-media {
    height: 275px;
  }
}
@media (max-width: 1199px) {
  .grid-item-media {
    height: 225px;
  }
}
@media (max-width: 990px) {
  .grid-item-media {
    height: 200px;
  }
}
@media (max-width: 767px) {
  .grid-item-media {
    height: 230px;
  }
}
@media (max-width: 414px) {
  .grid-item-media {
    height: 180px;
  }
}
@media (max-width: 375px) {
  .grid-item-media {
    height: 160px;
  }
}
.grid-item-media figure {
  width: 100%;
  margin: 0;
  padding: 0;
  height: 100%;
}
.grid-item-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid-item-media.Small {
  width: 25%;
}
@media (max-width: 767px) {
  .grid-item-media.Small {
    width: 50%;
  }
}
.grid-item-media.Medium {
  width: 50%;
}
.grid-item-media.Large {
  width: 75%;
}
@media (max-width: 767px) {
  .grid-item-media.Large {
    width: 50%;
  }
}
.grid-item-media.Extra-Large {
  width: 100%;
}
@media (min-width: 1921px) {
  .grid-item-media.Extra-Large {
    height: 850px;
  }
}
@media (min-width: 2300px) {
  .grid-item-media.Extra-Large {
    height: 1000px;
  }
}
@media (max-width: 1920px) {
  .grid-item-media.Extra-Large {
    height: 800px;
  }
}
@media (max-width: 1680px) {
  .grid-item-media.Extra-Large {
    height: 750px;
  }
}
@media (max-width: 1500px) {
  .grid-item-media.Extra-Large {
    height: 700px;
  }
}
@media (max-width: 1300px) {
  .grid-item-media.Extra-Large {
    height: 500px;
  }
}
@media (max-width: 1199px) {
  .grid-item-media.Extra-Large {
    height: 450px;
  }
}
@media (max-width: 990px) {
  .grid-item-media.Extra-Large {
    height: 400px;
  }
}
@media (max-width: 767px) {
  .grid-item-media.Extra-Large {
    height: 300px;
  }
}
@media (max-width: 414px) {
  .grid-item-media.Extra-Large {
    height: 260px;
  }
}
@media (max-width: 375px) {
  .grid-item-media.Extra-Large {
    height: 280px;
  }
}
.wrapper:after {
    content: "";
    display: table;
    clear: both;
}
/* img{
  width: 100%;
} */
a.gallerygroup {
    display: block;
  width: 100%;
    height: 100%;
}
.grid-item-media figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_gallery_wrap {
    max-width: 100%;
    margin: auto;
    padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 60px;
  padding-right: 60px;
}

@media screen and (min-width: 1921px) {
    .main_gallery_wrap {
        padding-left: 110px;
      padding-right: 110px;
    }
}
@media screen and (max-width: 1500px) {
    .main_gallery_wrap {
        padding-left: 60px;
      padding-right: 60px;
    }
}
@media screen and (max-width: 1200px) {
    .main_gallery_wrap {
        padding-left: 30px;
      padding-right: 30px;
      padding-top: 30px;
  padding-bottom: 30px;
    }
}
@media screen and (max-width: 767px) {
    .main_gallery_wrap {
        padding-left: 10px;
      padding-right: 10px;
      padding-top: 20px;
  padding-bottom: 20px;
    }
}

@media (min-width: 2300px) {
    .main_gallery_wrap {
        max-width: 2500px;
    }
}
