/* Make the filter bar sticky */
.elementor-portfolio__filters.sticky {
  position: sticky;
  top: 94px; /* Adjust this value to set the distance from the top of the viewport */
  z-index: 100; /* Ensure the filter bar stays above other content */
  background-color: #33333680; /* Add a background color to avoid transparency issues */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visibility */
  width: fit-content;
  margin: 0 auto;
  padding: 10px 40px 6px;
}

/* Optional: Add smooth transitions for a polished effect */
.elementor-portfolio__filters.sticky {
  transition: all 0.3s ease;
}

/* Style for the sticky-active state */
.elementor-portfolio__filters.sticky.sticky-active {
  background-color: #33333680; /* Change background color when sticky */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Enhance shadow when sticky */
}
header.elementor-location-header {
  display: block !important;
  visibility: visible !important;
  z-index: 99999 !important;
}
.midnightHeader .elementor-invisible {
  visibility: visible;
}
