.gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: stretch;
  width: 100%;
  justify-content: space-around;
  padding: 10px;
}
.gallery-item {
  flex: 25%;
  max-width: 24%;
  position: relative;
  height: 180px;
}
.gallery-item img {
  vertical-align: middle;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-des p{
  font-size: 2rem;
}
.galleryview .img-title {
  position: absolute;
  bottom: 0;
  background: rgb(0, 0, 0);
  background: rgba(0, 0, 0, 0.5); /* Black see-through */
  color: #f1f1f1;
  width: 100%;
  /* transition: .5s ease; */
  opacity: 1;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}
.overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  /* Removes blue highlight */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: none;
}
.slide-show {
  display: none;
}

.slide-show .slider {
  position: absolute;
  width: 100%;
  height: 100%;
  content: " ";
}
.slide-show .slider .slider-container {
  position: relative;
  margin: 0 auto;
  margin-top: 30%;
  transform: translateY(-80%);
  width: 600px;
  height: 400px;
 /* border: 3px solid white;*/
  display: none;
}
.slide-show .slider .slider-container img {
  display: block;
  width: 100%;
  height: 100%;
 object-fit: scale-down;
}
.slider .view-all-btn {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.slider-controls .prev-item,
.slider-controls .next-item {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: rgba(255,255,255,0.8) !important;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.slider-controls .close {
  cursor: pointer;
  position: absolute;
  color: white !important;
  font-size: 3rem;
  font-weight: 800;
  top: 10%;
  right: 10%;
}
.slider .active {
  display: block !important;
}
.slider .non-active {
  display: none;
}
/* Position the "next button" to the right */
.next-item {
  right: 20px;
  border-radius: 3px 0 0 3px;
}
.prev-item {
  left: 20px;
}

/* On hover, add a black background color with a little bit see-through */
.prev-item:hover,
.next-item:hover {
  background-color: white;
  color:rgba(0, 0, 0, 0.705) !important;

}
/* .slide-show-overlay .slide-show .slide-show-containe {
  margin: 0 auto;
  margin-top: 30%;
  width: 50%;
  height: 70%;

  border: 3px solid white;
}

.slide-show-overlay .slide-show .slide-show-containe img {
  display: block;

  object-fit: cover;
} */
@media (max-width: 575px) {
  .gallery-item {
    flex: 50%;
    max-width: 49%;
  }
  .slide-show .slider .slider-container {
    margin-top: 50%;
    transform: translateY(-10%);
    width: 100%;
  }
}
.owl-carousel .owl-dots {
  text-align: center; }

.owl-carousel button.owl-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 100%;
  background: #e3e2e2;
  padding: 0;
  margin: 1rem 0.4rem 0 0.4rem;
  border: none; }

.owl-carousel .owl-dot.active {
  background: #00a959; }
.carousel,.owl-carousel {
    position: relative
}

.carousel .owl-nav,.owl-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 9
}

.carousel .owl-nav button,.owl-carousel .owl-nav button {
    background: 0;
    border: 0;
    font-size: 0
}

.carousel .owl-nav button .icon,.owl-carousel .owl-nav button .icon {
    width: 6rem;
    height: 6rem
}

.carousel .owl-nav button.owl-prev,.owl-carousel .owl-nav button.owl-prev {
    float: left;
    margin-left: -7rem
}

.carousel .owl-nav button.owl-prev:focus,.owl-carousel .owl-nav button.owl-prev:focus {
    outline: 0
}

.carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-next {
    float: right;
    margin-right: -7rem
}

.carousel .owl-nav button.owl-next:focus,.owl-carousel .owl-nav button.owl-next:focus {
    outline: 0
}

@media(max-width: 1280px) {
    .blog {
        padding:0 7rem
    }
}

@media(max-width: 992px) {
    .blog {
        padding:0 30px
    }

    .carousel .owl-nav button .icon,.owl-carousel .owl-nav button .icon {
        width: 3rem;
        height: 3rem
    }

    .carousel .owl-nav button.owl-prev,.owl-carousel .owl-nav button.owl-prev {
        margin-left: -4rem
    }

    .carousel .owl-nav button.owl-prev .icon,.owl-carousel .owl-nav button.owl-prev .icon {
        margin-left: -0.5rem
    }

    .carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-next {
        margin-right: -4rem
    }

    .carousel .owl-nav button.owl-next .icon,.owl-carousel .owl-nav button.owl-next .icon {
        margin-right: -0.5rem
    }
}

@media(max-width: 767px) {
    .border-xs-0 {
        border:0 !important
    }

    .blog {
        padding: 0 15px
    }

    .carousel .owl-nav button.owl-prev,.owl-carousel .owl-nav button.owl-prev {
        margin-left: -3rem
    }

    .carousel .owl-nav button.owl-prev .icon,.owl-carousel .owl-nav button.owl-prev .icon {
        margin-left: -0.6rem
    }

    .carousel .owl-nav button.owl-next,.owl-carousel .owl-nav button.owl-next {
        margin-right: -3rem
    }

    .carousel .owl-nav button.owl-next .icon,.owl-carousel .owl-nav button.owl-next .icon {
        margin-right: -0.6rem
    }
}
