.album-box{
    padding-top: 40px;
    padding-bottom: 80px;
}
.album-box .owl-carousel button.owl-prev span,
.album-box .owl-carousel button.owl-next span {
  display: none;
}
.album-box .owl-carousel button.owl-prev:before,
.album-box .owl-carousel button.owl-next:before {
  font-family: "Icofont";
  display: block;
  font-size: 30px;
}
.album-box .owl-carousel button.owl-prev:before {
  content: "\ea87";
}
.album-box .owl-carousel button.owl-next:before {
  content: "\ea88";
}
.album-box .owl-carousel .owl-theme .owl-nav [class*="owl-"]:hover {
  background-color: #ffcb00;
}
.album-box .owl-carousel button.owl-prev:focus,
.album-box .owl-carousel button.owl-next:focus,
.album-box .owl-carousel .owl-theme .owl-dots .owl-dot:focus {
  outline: none;
}
.album-box .owl-carousel .owl-stage-outer {
  max-height: 450px;
}

.album-box .more {
  text-align: center;
  /* padding: 25px 0px; */
}

.album-box .gallery-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1px;
}
.album-box .gallery-items .item {
  position: relative;
}

.album-box .gallery-items .item img {
  width: 100%;
  display:block;
}
.album-box .gallery-items .item:after {
  content: "";
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 8px;
  height: 2px;
  background-color: #0b4d95;
  width: 0%;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}
.album-box .gallery-items .item:hover:after {
  width: 80%;
}
.album-box .actions {
    display: flex;
    justify-content: right;
}
@media screen and (max-width: 940px) {
  .album-box .gallery-items {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .album-box {
    flex-direction: column;
  }
  .album-box .gallery-items .item {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: unset;
  }
}

.album {
  position: relative;
  display: block;
  width: 23%;
  overflow: hidden;
  padding: 0px 0px 0px 0px;
  margin: 0px 1% 20px 1%;
  height: 304px;
  float: left;
}
.album img {
  opacity: 1;
  height: 100%;
  width: auto;
  max-width: none;
  position: relative;
  top: 0%;
}
.album:hover img {
  opacity: 0.8;
  height: 110%;
  position: relative;
  top: -5%;
}
.album:hover span,
.album:hover h3 {
  opacity: 1;
}
.album span,
.album h3 {
  top: 45%;
  left: 0px;
  opacity: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  color: #fff;
  font-size: 20px;
  padding: 10px 0px 10px 0px;
  display: block;
  background: rgba(66, 66, 66, 0.5);
}
@media screen and (max-width: 720px) {
  .album-box .gallery-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 560px) {
  .album-box .gallery-items {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media screen and (max-width: 480px) {
  .album-box {
    box-shadow: none;
    /* padding: 0px; */
  }
  .album-box {
    padding-top: 0px;
  }
  .album {
    width: 100%;
    margin: 0px 5px 0px 0px;
    height: auto;
    float: none;
  }
  .album img {
    height: auto;
    width: 100%;
  }
  .album:hover img {
    height: auto;
    width: 100%;
    top: 0%;
  }
  .album span,
  .album h3 {
    opacity: 1;
    top: unset;
    bottom: 4px;
  }
}
