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

/* *****************************
 * BUTTON ADDITIONAL STYLING
 * *************************** */
.elementor-button {
  background-image: linear-gradient(90deg, #63556F 0%, #3F3845 100%) !important;
  background-size: 100%;
  background-position: center right !important;
  transition: all 1s ease-in-out;
} 
.elementor-button:hover {
  background-size: 300%;
  transition: all 1s ease-in-out !important;
} 

/* Green Button */
.btn-green .elementor-button {
  background-image: linear-gradient(90deg, #7F7B1D 0%, #474407 100%) !important;
} 

/* White Button */
.btn-white .elementor-button {
  background-image: linear-gradient(90deg, #FFF 0%, #FFF 100%) !important;
  color: #3F3845 !important;
} 
.btn-white .elementor-button:hover {
  color: #7F7B1D !important;
} 


/* ******************************
 * 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;	
}


/* *****************************
 * TEXT ELEMENT STYLING
 * *************************** */
/* UL LI STYLING */
.elementor-widget-text-editor ul {
    padding-left: 35px;
}


/* *****************************
 * SHADOW DIVIDER
 * *************************** */
.shadow-divider {
  margin-top:0; 
  margin-left:auto; 
  margin-right: auto !important;
  width: 80% !important; 
  position:relative; 
  
  .divider-inner { 
    overflow:hidden; 
	  height:25px; 
    &:after { 
      content:''; 
      display:block; 
	  margin:-30px auto 0;
      width:100%; 
	  height:30px;  
      border-radius:125px / 12px;  
      box-shadow:0 0 20px #00000050;
    }
  }
}

@media (max-width: 480px) {
	.shadow-divider {
  		width: 95% !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 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;
}


/* *****************************
 * LOGO CAROUSEL
 * *************************** */
.ha-logo-carousel .slick-track {
    display: flex;
    align-items: center;
}
.ha-logo-carousel .ha-logo-carousel-item img {
	max-height: 8rem !important;	
    transition: filter .75s ease;	
}
.ha-logo-carousel .slick-dots .slick-active button:before, .ha-logo-carousel .slick-dots li button:hover:before {
    -webkit-transform: scale(1.0) !important;
    -ms-transform: scale(1.0) !important;
    transform: scale(1.0) !important;
}


/* *****************************
 * IMAGE ACCORDION
 * *************************** */
.ha-ia-gallery-wrap {
    height: auto !important;
    height: 50rem !important;
}
.ha-ia-item:not(.active) .ha-ia-content-wrapper {
    display: block !important; 
}
.ha-ia-item:not(.active) .ha-ia-content-icon-title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.ha-ia-item:not(.active) .ha-ia-content-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    display: inline-block; 
}
.ha-ia-item:not(.active) .ha-ia-content-description {
    display: none !important;
}

/* Active accordion item */
.ha-ia-item.active .ha-ia-content-wrapper {
	height: 100% !important; 
	/* overflow-y: auto !important; */ /* Scroll only if content overflows */
	display: flex;
	align-items: flex-start !important;
	text-align: left !important;
	min-height: 50rem !important;
}
.ha-ia-item.active .ha-ia-content-title {
    writing-mode: horizontal-tb; 
    transform: none; 
	padding: 0 1rem !important;	
}
.ha-ia-item.active .ha-ia-content-description {
    overflow: auto !important; /* Scroll only if description content overflows */
    max-height: 100%;
    height: fit-content !important;
    height: 50% !important;
	padding: 0 1rem !important;
}

@media (max-width: 768px) {
    .ha-image-accordion .ha-ia-gallery-wrap {
        flex-wrap: wrap;
        display: flex;
        flex-direction: column !important;
		border-width: 0 !important;
    }  
    .ha-image-accordion .ha-ia-item {
        margin-bottom: 10px;
    	margin-right: 0 !important;		
    }
	.ha-image-accordion .ha-ia-item.active {
		border-radius: 30px !important;
	}	
	.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-wrapper {
		min-width: 100% !important;
		width: 100% !important;
	}	
	
	.ha-image-accordion .ha-ia-item:not(.active) .ha-ia-content-title {
		padding: 0rem;
		text-align: center;
		width: 100% !important;
	}
	.ha-ia-item:not(.active) .ha-ia-content-title {
	    writing-mode: inherit !important;
	    transform: rotate(0deg);
	    white-space: nowrap;
	    display: inline-block; 
	}	
}


/* *****************************
 * ACCORDION ELEMENT
 * *************************** */
.e-n-accordion-item-title-text {
	text-align: center;
}


/* *****************************
 * HAPPY HOVER BOX
 * *************************** */
.ha-hover-box-wrapper {
	transition: all .65s ease-in-out !important;
    transform: scale(1) !important;	
	will-change: transform;
}
.ha-hover-box-wrapper:hover {
	transition: all 1s ease-in-out !important;
    transform: scale(1.05) !important;
}
.ha-hover-box-wrapper .ha-hover-box-content {
    transition: all .75s ease-out !important;
    transform: scale(1) translate(0, 0px) !important;	
	will-change: transform;
}
.ha-hover-box-wrapper:hover .ha-hover-box-content {
    transform:  scale(1) translate(0, 0px) !important;
    opacity: 1 !important;
    transition: all .85s ease-out !important;
}
.ha-hover-box-wrapper .ha-hover-box-content>div {
    transform:  scale(1) translate(0, 0px) !important;
    opacity: 1 !important;
    transition: all .85s ease-out !important;
	will-change: transform;
}
.ha-hover-box-wrapper:hover .ha-hover-box-content>div {
    transform:  scale(.95) translate(0, -1.35rem) !important;
    opacity: 1 !important;
    transition: all .85s ease-out !important;
}



/* *****************************
 * TEAM WIDGET FOR UTILITIES
 * *************************** */
/* Ensure inner content stretches to fill the utility box */
.utility-box .elementor-widget-container,
.utility-box .elementor-jet-team-member,
.utility-box .jet-team-member,
.utility-box .jet-team-member__inner,
.utility-box .jet-team-member__content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    height: 100%; 
}
.utility-box .jet-team-member__content {
    display: flex;
    justify-content: flex-start;
}
.utility-box .jet-team-member .jet-team-member__position {
	margin-bottom: 0 !important;
}
.utility-box .jet-team-member .jet-team-member__desc {
	margin-top: 2px;
}
.utility-box .jet-team-member__socials {
    flex-direction: column;
    width: 100%;
}
.utility-box .jet-team-member__socials-item,
.utility-box .jet-team-member__socials-item .jet-team-member__socials-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center !important;
}
.utility-box .jet-team-member__socials-item{
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
    display: inline-block;
}


@media (max-width: 767px) {
	.utility-box {
		width: 100% !important;
	}
}