/* GLOBAL STYLES */

/* Orange Beaver Builder buttons */

a.uabb-button.ast-button.uabb-creative-button.uabb-creative-default-btn {
  border-radius: 0;
}

/* View all projects button */
.fl-node-qmo56ita9l7z a.fl-button {
  border-radius: 0;
}

/* Contact Us Form button*/
body input[type="submit"].gform_button {
  border-radius: 0;
}

/* DAYNE FM: Fixing UABB Module Update */
.fl-module-adv-testimonials button {
  all: unset;
  cursor: pointer;
  display: inline-block;
  box-sizing: border-box;
}

/* Hero Image */
.hero-img .fl-node-content {
  position: absolute;
  inset: 0;
  width: 50%;
  margin-left: auto;
}

@media (max-width: 768px) {
  .hero-img .fl-node-content {
    position: static;
    width: 100%;
  }
}

/* Gravity Forms */
#gform_1 input {
  margin-bottom: 0 !important;
}

/* Services Image Hover Effect */
#services img.uabb-photo-img:hover {
  filter: sepia(100%) saturate(0%) brightness(200%) hue-rotate(180deg);
}

/* Class selector hover which controls the icon layout, size and position */
#projects .uabb-post-wrapper:hover .uabb-post-thumbnail::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  background-image: url("http://waterproofingmelbourne.kinsta.cloud/wp-content/uploads/2025/05/project-2-hover.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  z-index: 2;
  animation: fadeIn 0.6s forwards;
}

/* Class selector hover which controls the background of the element */
#projects .uabb-post-wrapper:hover .uabb-post-thumbnail::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
  animation: fadeIn 0.6s forwards;
}

/* A simple animation rule to change elements opacity from 0 to 1 */
@keyframes fadeIn {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}

/* Mobile Footer Spacing Fix */
.site-footer-section-3 .widget-title {
  display: none;
}
