/* Our Projects page gallery fix.
   This file must load after css/style.css and css/skin/skin-3.css. */

#masonry.lightgallery .dz-box.style-1 {
  animation: none !important;
  background: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  overflow: hidden !important;
  position: relative !important;
  transform: none !important;
}

#masonry.lightgallery .dz-box.style-1:hover {
  box-shadow: none !important;
  transform: none !important;
}

#masonry.lightgallery .dz-box.style-1 .dz-media {
  background: #fff !important;
  position: relative !important;
  width: 100% !important;
}

#masonry.lightgallery .dz-box.style-1 .dz-media img {
  display: block !important;
  filter: none !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  -webkit-user-drag: none;
  user-select: none;
  width: 100% !important;
}

#masonry.lightgallery .dz-box.style-1:hover .dz-media img {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

#masonry.lightgallery .dz-box.style-1 .dz-info {
  background: transparent !important;
  bottom: auto !important;
  display: block !important;
  height: 100% !important;
  inset: 0 !important;
  left: 0 !important;
  padding: 0 !important;
  position: absolute !important;
  right: 0 !important;
  text-align: initial !important;
  text-shadow: none !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 2 !important;
}

#masonry.lightgallery .dz-box.style-1 .dz-info::before {
  content: "";
  background: #fff;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.25s ease;
  z-index: 1;
}

#masonry.lightgallery .dz-box.style-1:hover .dz-info::before {
  opacity: 0.62;
}

#masonry.lightgallery .dz-box.style-1::before,
#masonry.lightgallery .dz-box.style-1::after {
  background: transparent !important;
  content: none !important;
  display: none !important;
  opacity: 0 !important;
}

#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg {
  background: transparent !important;
  border-radius: 0 !important;
  color: transparent !important;
  cursor: zoom-in;
  display: block !important;
  font-size: 0 !important;
  height: 100% !important;
  inset: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  opacity: 1 !important;
  padding: 0 !important;
  position: absolute !important;
  transform: none !important;
  width: 100% !important;
  z-index: 3 !important;
}

#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg::before,
#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg::after {
  background: transparent !important;
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  transform: none !important;
}

#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg .gallery-zoom-icon {
  display: none;
}

#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg {
  --gallery-icon-size: 46px;
}

#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 3px;
}

#masonry.lightgallery,
#masonry.lightgallery img,
.lg-outer,
.lg-outer img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

.lg-download,
#lg-download {
  display: none !important;
}

#lg-zoom-in,
#lg-zoom-out,
#lg-actual-size {
  display: block !important;
  visibility: visible !important;
}

.lg-toolbar .moa-zoom-btn {
  background: transparent !important;
  border: 0 !important;
  color: #fff !important;
  cursor: pointer;
  display: block !important;
  float: right;
  font-family: Arial, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  height: 47px !important;
  line-height: 27px !important;
  padding: 10px 0 !important;
  text-align: center;
  visibility: visible !important;
  width: 50px !important;
}

.lg-toolbar .moa-zoom-reset {
  font-size: 13px !important;
  font-weight: 700 !important;
}

.lg-toolbar .moa-zoom-btn:hover,
.lg-toolbar .moa-zoom-btn:focus {
  color: #c9a96e !important;
  outline: none;
}

#masonry.lightgallery .dz-box.style-1 .view-btn.lightimg + .gallery-zoom-icon,
#masonry.lightgallery .dz-box.style-1 .dz-info .gallery-zoom-icon {
  display: none;
}

#masonry.lightgallery .dz-box.style-1 .dz-info::after {
  content: "\f00e";
  align-items: center;
  background: #c9a96e;
  border-radius: 50%;
  color: #000;
  display: inline-flex;
  font-family: "Font Awesome 5 Free";
  font-size: 16px;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  left: 50%;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -42%);
  transition: opacity 0.25s ease, transform 0.25s ease;
  width: 46px;
  z-index: 2;
}

#masonry.lightgallery .dz-box.style-1:hover .dz-info::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (max-width: 576px) {
  #masonry.lightgallery .card-container {
    margin-bottom: 18px;
  }
}
