.references {
  display: flex;
  flex-wrap: wrap;
}
.references > div {
  width: 100%;
  padding: 5px;
}
@media (min-width: 992px) {
  .references > div {
    width: 33.3333333333%;
  }
}
.references > div img {
  width: 100%;
  height: auto;
  border: 1px solid #000;
  box-shadow: 0px 3px 15px rgba(0, 0, 0, 0.1607843137);
}

.bama-pagination ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bama-pagination ul li {
  margin-left: 8px;
}
.bama-pagination ul li:first-of-type {
  margin-left: 0;
}
.bama-pagination ul li:not(.noborder) {
  border: 2px solid #3b703c;
}
.bama-pagination ul li.active {
  background: #3b703c;
}
.bama-pagination ul li.active a, .bama-pagination ul li.active span {
  color: #fff;
}
.bama-pagination ul li a, .bama-pagination ul li span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-gallery-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}
.single-gallery-link .go-to-single-gallery {
  background: #3b703c;
  color: #fff;
  padding: 6px 10px;
}

.gallery-desc {
  margin: 20px 0 !important;
}
.gallery-desc video {
  max-width: 500px;
  height: auto;
}