.maincontent {
padding:0;
position:relative;
max-width:100%;
width:100%;
background-color:#EFF1ED;
}


#gallery-button-row {
  max-width: 1450px;
  width: 100%;
  margin: 25px auto 35px;
}
#gallery-button-row ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: grid;
grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;
justify-items:center;
align-items:center;
}
#gallery-button-row ul li {
  width: 90%;
  margin: 1%;
  flex: 1 1 200px;
}

.gallery-button {
  display: block;
  padding: 8px;
min-height:100px;
  width: 100%;
  background: transparent;
  border: 3px solid var(--accent-color);
  color: var(--accent-color);
  font-weight: 600;
  transition: all .3s;
font-size:18px;
}
.gallery-button:hover,
.gallery-button.selected-gallery {
  background: var(--accent-color);
  color: #fff;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0 3%;
  margin-bottom: 70px;
}
.gallery-column {
  margin: 0 auto;
  max-width: 24.5%;
}
.gallery-item {
  max-width: 24.5%;
  height: 340px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px .25% 0;
}
.gallery-item img {
  width: 100%;
}
.gallery-item .img-horizontal {
  width: auto;
  height: 100%;
}
.gallery-item i {
  position: absolute;
  top: 45%;
  left: 50%;
  font-size: 3.5em !important;
  border-radius: 50%;
  margin: -41px 0 0 -41px;
  padding: 10px;
  color: #000;
  opacity: 0;
  transition: all .25s;
}
.gallery-item:hover i {
  top: 50%;
  opacity: 1;
}
.gallery-item:hover img {
  opacity: .6;
}
@media screen and (max-width: 1200px) {
  .gallery-item {
      flex: 33%;
      max-width: 32.5%;
  }
}
@media screen and (max-width: 992px) {
  .gallery-item {
      flex: 50%;
      max-width: 49.5%;
  }
}
@media screen and (max-width: 600px) {
  .gallery-item {
      flex: 100%;
      max-width: 100%;
  }
  .gallery-item {
      height: auto;
      display: block;
  }
  .gallery-item img {
      width: 100%;
  }
  .gallery-item .img-horizontal {
      width: 100%;
      height: auto;
  }
}

.box-gallery {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  width: 100%;
  position: relative;
}
.box-gallery h3 {
  position: absolute;
  top: -55px;
}
.box-gallery .box-gallery-item {
  position: relative;
  height: 250px;
  margin: 0.5%;
  overflow: hidden;
  flex: 1 1 15em;
  transition: all 0.2s ease-in-out;

  border-radius: 5px;
}
.box-gallery .box-gallery-item i {
  position: absolute;
  bottom: 40%;
  left: 50%;
  margin: 0 0 -28px -28px;
  font-size: 2em !important;
  border-radius: 50%;
  padding: 10px;
  background: var(--accent-color);
  color: #fff;
  opacity: 0;
  transition: all 0.25s;
}
.box-gallery .box-gallery-item:hover {
  filter: drop-shadow(4px 4px 6px gray);
  transform: scale(1.05);
}
.box-gallery .box-gallery-item:hover i {
  bottom: 50%;
  opacity: 1;
}
.box-gallery .box-gallery-item:hover figure {
  opacity: 0.6;
}
.box-gallery .box-gallery-item figure {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  background-size: cover;
}
.box-gallery .box-gallery-item figure:hover {
  filter: drop-shadow(4px 4px 6px gray);
  transform: scale(1.05);
}/*# sourceMappingURL=Untitled-1.css.map */

.imag_gallery_link_wrap{
border: 1px ;
border-radius:5px;
height:220px;
width:100%;
max-width:220px !important;
}
.imag_gallery_item{
  height:220px;
}