/*============================================================================================
	Gallery Area
==============================================================================================*/
.single-gallery {
  position: relative;
}
.gallery-img {
  position: relative;
}
.gallery-img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 51, 51, 0) 0%,
    rgba(44, 51, 51, 0) 48.75%,
    #20262e 100%
  );
  border-radius: 8px;
  z-index: 1;
}
.gallery-content {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 20px 24px;
  text-align: center;
  width: 100%;
}
.gallery-content-title {
  font-size: 20px;
  color: var(--white-color);
  margin: 0;
  font-weight: 600;
  line-height: 150%;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 60px;
}
 
.gallery-content-title a {
  color :white !important;
}


.single-gallery .gallery-img {
  overflow: hidden;
  border-radius: 8px;
}
.single-gallery:hover .gallery-img img {
  transform: scale(1.03);
}
.gallery-img img {
  width: 100% !important;
  height: 400px !important;
  object-fit: cover;
  border-radius: 8px;
}
.image-view-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  background: var(--secondary-color);
  border-radius: 100%;
  text-align: center;
  color: var(--white-color);
  font-size: 18px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  display: flex;align-self: center; justify-content: center;
}
.image-view-btn i{
  line-height: 2;
}
.image-view-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}
.single-gallery:hover .image-view-btn {
  opacity: 1;
  visibility: visible;
}
/* Slider Arrow */
.gallery-area .owl-nav {
  position: absolute;
  right: 0;
  top: -58px;
}
.gallery-area .owl-theme .owl-nav [class*="owl-"] {
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  background: #fbfbfb;
  color: var(--hints-color);
  font-size: 24px;
  transition: all 0.4s ease;
  line-height: 37px;
  border-radius: 4px;
}
.gallery-area .owl-theme .owl-nav [class*="owl-"]:hover {
  background: #f8f8f8;
  color: var(--title-color);
}
.gallery-area .owl-prev {
  margin-right: 12px !important;
}

/* Gallery Page */
.gallery-page-area {
  padding: 24px 0px 40px;
}
.gallery-page-tab-menu {
  margin-bottom: 24px;
}
.gallery-page-tab-menu .list-group {
  display: flex;
  flex-direction: row;
  margin-bottom: 0;
  justify-content: center;
  background: var(--white-color-2);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 0px 44px;
}
.gallery-page-tab-menu .list-group-item {
  background: transparent;
  border: none !important;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 16px;
  border-radius: 6px !important;
  margin: 0 !important;
  position: relative;
}
.gallery-page-tab-menu .list-group-item::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 24px;
  background: var(--border-color);
  right: 0;
  top: 13px;
}
.gallery-page-tab-menu .list-group-item:last-child::before {
  display: none;
}
.gallery-page-tab-menu .list-group-item.active::before {
  display: none;
}
.gallery-page-tab-menu .list-group-item.active {
  background: var(--primary-color);
  color: var(--white-color);
}

.gallery-page-tab-details .single-gallery {
  margin-top: 24px;
}

@media only screen and (max-width: 767px) {
  .gallery-area .owl-nav {
    top: -52px;
  }
  .gallery-img img {
    height: 320px !important;
  }
  .gallery-content-title {
    font-size: 18px;
  }
  .gallery-page-tab-menu .list-group {
    margin: 0;
    white-space: nowrap;
    justify-content: left;
    width: fit-content;
  }
  .gallery-page-tab-menu {
    overflow-x: scroll;
    padding-bottom: 12px;
  }

  .gallery-page-tab-menu::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
    display: block;
  }
  .gallery-page-tab-menu::-moz-scrollbar {
    width: 4px !important;
    height: 4px !important;
    display: block;
  }
  .gallery-page-tab-menu::-ms-scrollbar {
    width: 4px !important;
    height: 4px !important;
  }
  .gallery-page-tab-menu .list-group-item {
    font-size: 15px;
  }
}

/*============================================================================================
	End Gallery Area
==============================================================================================*/
