/* **********************************************************
 * ELEMENT STYLES
 * ******************************************************** */

/* **********************************************************
 * BUTTON STYLING
 * 1. KEYFRAMES FOR PULSE EFFECT
 * The pulse will be defined by the button-pulse keyframe for the HOVER state.
 * The pulse-out keyframe is for the MOUSEOUT state.
 * ******************************************************** */
@keyframes button-pulse {
  0% {
    /* Start with a small, visible shadow  */
    box-shadow: 0 0 0 0 rgba(158, 168, 147, 0.95); 
  }
  70% {
    /* Expand the shadow and fade it out */
    box-shadow: 0 0 0 15px rgba(158, 168, 147, 0); 
  }
  100% {
    /* Completely reset the shadow */
    box-shadow: 0 0 0 0 rgba(158, 168, 147, 0);
  }
}

@keyframes pulse-out {
  0% {
    /* Start state: Match the final state of the mouseover pulse */
    box-shadow: 0 0 0 5px rgba(158, 168, 147, 0.5); 
  }
  100% {
    /* End state: Shadow expands and fades away on mouseout */
    box-shadow: 0 0 0 15px rgba(158, 168, 147, 0); 
  }
}

/* **********************************************************
 * 2. BASE BUTTON STYLES & BACKGROUND GROW SETUP
 * ******************************************************** */
/* Ensures text is on top of the growing circle */
.elementor-button .elementor-button-content-wrapper,
.elementor-button .elementor-button-text {
    z-index: 2;
    position: relative;
}

.elementor-button {
    position: relative;
    overflow: hidden;
    background-color: #25371C;
    color: #DDBFB2; /* Text Color */
    border-radius: 50px;
    z-index: 1;
    transition: color 2s ease-in-out; 
    
    /* Ensure no residual box-shadow interferes with the keyframes */
    box-shadow: none; 
}

/* Pseudo-Element Growing Circle */
.elementor-button::before {
    content: '';
    position: absolute;
    top: 100%; 
    left: 50%;

    /* Initial state: Hidden and centered at the bottom */
    transform: translate(-50%, 0) scale(0);
    width: 20px;
    height: 20px;
    background-color: #9EA893; /* Sage Green */
    border-radius: 50%;
    /* Transition for mouse-out */
transition: 
        opacity .1s ease-out, 
        transform 1s cubic-bezier(0.2, 1, 0.3, 1), 
        top .2s cubic-bezier(0.2, 1, 0.3, 1);
    z-index: 0;
	opacity: 0.15;
}

/* **********************************************************
 * 3. HOVER STATE: Background Grow & Pulse Activation
 * ******************************************************** */
.elementor-button:hover {
    color: #25371C; /* Text Color Change */
    
    /* HOVER PULSE: Activates the infinite pulsing shadow */
    animation: button-pulse 2s infinite cubic-bezier(0.2, 1, 0.3, 1);
    
    /* CRITICAL: Stop the MOUSEOUT animation while hovering */
    animation-play-state: running; 
}

.elementor-button:hover::before {
    /* Background Circle Grow-In */
    top: 50%; 
    transform: translate(-50%, -50%) scale(25);
    transition: all 4s cubic-bezier(0.2, 1, 0.3, 1);
	opacity: 1;
}

/* **********************************************************
 * 4. MOUSEOUT EFFECT TRIGGER (Pulse Out)
 * ******************************************************** */
.elementor-button:not(:hover) {
    /* MOUSEOUT PULSE: Fires the short pulse-out animation */
    animation: pulse-out 0.6s forwards; 
}


/* **********************************************************
 * 5. DARK BG BUTTON 
 * ******************************************************** */
.dark-bg .elementor-button {
    background-color: #DDBFB2 !important;
    color: #25371C !important; /* Text Color */
}


/* ******************************
 * ELEMENTOR MOTION EFFECTS TRANSITION
 * *************************** */
.elementor-element .elementor-widget-container.elementor-motion-effects-element {
    transition-duration: 2s;
}


/* *****************************
 * ELEMENT PADDING & MARGINS
 * *************************** */
.element-margin-bottom-0.elementor-element {
	margin-bottom: 0 !important;	
}


/* ******************************
 * BANNERS WITH OVERLAYS
 * *************************** */
.banner-overlay .jet-banner__overlay {
    mix-blend-mode: multiply;
    transition: all .5s ease-in-out;	
}
.banner-overlay .elementor-jet-banner {
	overflow: hidden;
}
.banner-overlay .elementor-jet-banner .jet-banner__img {
  transition: transform 1s, filter 2s ease-in-out;
  filter: blur(0px);
  transform: scale(1.0);
}
.banner-overlay .elementor-jet-banner:hover .jet-banner__img {
  transition: transform 1s, filter 2s ease-in-out;
  filter: blur(2px);
  transform: scale(1.1);
}
.banner-overlay .elementor-jet-banner:hover i {
	border-bottom: 2px solid #fff;
	padding-bottom: .5rem;
}

@media (max-width: 767px) {
	/* BANNER OVERLAY */
	.banner-overlay .elementor-jet-banner .jet-banner__img {
		transform: scale(1.65);	
	}	
	.banner-overlay .elementor-jet-banner:hover .jet-banner__img {
		transform: scale(1.75);	
	}	
}


/* ******************************
 * BLOG LISTING GRID SLIDER
 * *************************** */
.blog-slider .jet-listing-grid .jet-engine-listing-overlay-wrap .elementor-inner {
    height: 100%;
}
.blog-slider .blog-card .section-col .elementor-widget-wrap.elementor-element-populated {
    flex-direction: column;
}
.blog-slider .blog-card .section-col .inner-section-content {
    margin-bottom: auto;
}
.blog-slider .blog-card .elementor-container.elementor-column-gap-default {
    width: 100%;
}
.blog-slider .blog-card .inner-section-content {
    margin-bottom: 2rem;
}
.blog-slider .blog-card .blog-title {
    height: auto !important;	
	margin-bottom: 0 !important;
}
.blog-slider .blog-card .blog-title .elementor-widget-container {
    height: auto !important;
}


/* SET SAME HEIGHT */
.blog-slider .slick-track  {
	display: flex !important;	
}
.blog-slider .jet-listing-grid__item {
    height: auto !important;
} 
.blog-slider .blog-card {
    display: flex;	
	height: 100%;
}
.blog-slider .jet-listing-grid__item,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap > div,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap > div .elementor-section-wrap,
.blog-slider .jet-listing-grid__item .jet-engine-listing-overlay-wrap > div .elementor-section-wrap .blog-card {
  height: 100%;
}

/* No Padding on Bottom Button */
.page-template-full-width .jupiterx-main .elementor-section.elementor-section-boxed.inner-section-link .elementor-container,
.page-template-full-width .jupiterx-main .elementor-section.elementor-section-boxed.inner-section-link .elementor-container .elementor-widget-wrap {
    padding: 0 !important;
}
.blog-slider .inner-section-link {
    position: absolute !important;
    bottom: 0;
}


/* ******************************
 * PRODUCT LISTING GRID SLIDER
 * *************************** */
.product-slider .product-card {
    display: flex;	
}
.product-slider .product-card .section-col .elementor-widget-wrap.elementor-element-populated {
    flex-direction: column;
}
.product-slider .product-card .section-col .inner-section-content {
    margin-bottom: 3rem;
}
.product-slider .product-card .elementor-container.elementor-column-gap-default {
    width: 100%;
}
.product-slider .product-card .inner-section-content {

}
.product-slider .product-card .product-title {
	margin-bottom: 0 !important;
}
.product-slider .product-card .product-desc {

}
.product-slider .inner-section-link {
    position: absolute !important;
    bottom: 0;
}
.product-slider .product-card .jet-listing.jet-listing-dynamic-link {
    display: flex;
    flex-direction: row;
    align-content: stretch;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    height: 100%;
}
.product-slider .product-card a.jet-listing-dynamic-link__link {
    width: 100%;
    height: 100%;
    display: flex !important;
	font-size: 1.125rem !important;
}


/* ******************************
 * DEFAULT PAGER - SEARCH RESULTS, ETC
   NOTE: You CAN typically style the element directly
 * *************************** */
/* Default Pager - Search Results, etc */
.page-item.active .page-link {
    color: #fff;
    background-color: #555 !important;
    border-color: #111 !important;
}


/* ******************************
 * IMAGE GRID GALLERY LIGHTBOX
 * *************************** */
.mfp-close {
	font-size: 24px !important;
}
/* Kill Close & Arrow Background Hover Color */
.mfp-arrow,
.mfp-close:hover {
	background-color: transparent !important;
	border: none !important;
}

/* Hide Lightbox Alt Text Caption
 .mfp-bottom-bar .mfp-title { 
	display: none; 
} */


/* ******************************
 * FLIP BOX
 * *************************** */
@media (max-width: 1024px) {		
	/* Fix for iOS z-index like bug - Flip Boxes cover Header, Mobile Menu, etc */
	.ios .ha-flip-box-container.ha-flip-effect-3d .ha-flip-box-back-inner, 
	.ios .ha-flip-box-container.ha-flip-effect-3d .ha-flip-box-front-inner {
		-webkit-transform: translateZ(0px) scale(.9) !important;
		transform: translateZ(0px) scale(.9) !important;
	}
}

@media (max-width: 767px) {
	/* FLIP BOX IOS FIX - not all but Design 9 caused Flip Box to appear on top of Header  */
	.ios .flip-boxes-icon-title-txt .ha-flip-box-container.ha-flip-effect-3d .ha-flip-box-inner-wrapper {
	  -webkit-transform-style: flat;
	  transform-style: preserve-3d;
	}	
}


/* ******************************
 * GOOGLE MAPS
 * *************************** */
.gm-style iframe + div {
    border: 0 !important;
}


/* ******************************
 * BACKGROUND OVERLAY for iPHONE - Add Class if Needed
 * *************************** */
@media (max-width: 767px) {
	/* Overlay */
	.responsive-phone-overlay-opacity .elementor-background-overlay {
		opacity: .7 !important;
	}
}


/* ******************************
 * JET HEADLINE
 * *************************** */
span.jet-headline__space {
    line-height: 1px;
}


/* ******************************
 * ICON LIST
 * *************************** */
/* ICON LIST - ensure default bullets don't appear */
ul.elementor-icon-list-items {
  padding: 0;
}
ul.elementor-icon-list-items li.elementor-icon-list-item {
  list-style: none !important;
}

/* ICON LIST CENTERED ON MOBILE - add class mobile-center */
@media (max-width: 767px) {
	.mobile-center .elementor-icon-list-item,
	.mobile-center .elementor-icon-list-item a {
		text-align: center !important;
	}
}


/* *****************************
 * JUPITER RAVEN ADVANCED VIDEO ELEMENT
 * *************************** */
.raven-video-mejs-player {
    z-index: 9000 !important;
    display: block;
    background: rgba(0,0,0,.9) !important;
}
.raven-video-mejs-player .raven-video-mejs-player {
	z-index: 9000 !important;
}

/* Keep Header, Scroll Buttons, Hero Overlay Behind Popup*/
.mejs-fullscreen header.jupiterx-header,
.safari.mejs-fullscreen header.jupiterx-header,
.mejs-fullscreen .ha-has-bg-overlay>.elementor-widget-container,
.safari.mejs-fullscreen .ha-has-bg-overlay>.elementor-widget-container,
.mejs-fullscreen .jupiterx-corner-buttons {
	z-index: 0;
}


/* *****************************
 * ADVANCED ACCORDION - some helpers if needed
 * *************************** */
 /* Space Between Toggles */
.jupiterx-single-advanced-accordion-wrapper {
	margin-bottom: 5px;	
}

/* Force the Border Color on Toggle Header */
.jx-single-accordion-header {
    border-color: #EEE !important;
}
.jx-ac-inactive .jx-single-accordion-header {
    border-color: transparent !important;
}


/* *****************************
 * JUPITER TESTIMONIAL CAROUSEL TWEAKS
 * *************************** */
.elementor-widget-raven-testimonial-carousel .swiper-wrapper {
  margin-bottom: 3rem !important;
   min-height: fit-content !important;    
}
.elementor-widget-raven-testimonial-carousel .raven-main-swiper {
   min-height: fit-content !important;
}
.elementor-widget-raven-testimonial-carousel .raven-main-swiper .swiper-slide {
    overflow-y: visible;
    min-height: fit-content !important;
    display: flex;
	justify-content: center;
}
.elementor-widget-raven-testimonial-carousel .raven-main-swiper .swiper-slide .raven-testimonial {
    justify-content: center;
}


/* *****************************
 * ACCORDIONS
 * *************************** */
.e-n-accordion > .e-n-accordion-item > .e-n-accordion-item-title {
	transition: all .5s ease-in-out;
}

.bronze-text {
	color: #B99381;
}