/* **********************************************************
 * JUPITER X LAYOUT SPECIFIC TWEAKS
 * ******************************************************** */
 
/* *****************************
 * JUPITER INJECTED INLINE TOP FIX - May 2026 Jupiter Support Ticket #9378 - Fixed 06/07/26 in Jupiter v4.50.0 
 * *************************** 
body.page-template-default .jupiterx-site.jupiterx-global-style,
body.page-template-default .jupiterx-site.jupiterx-global-style header,
body.post-template-default .jupiterx-site.jupiterx-global-style,
body.post-type-archive .jupiterx-site.jupiterx-global-style header,
body.archive .jupiterx-site.jupiterx-global-style header,
body.woocommerce .jupiterx-site,
body.woocommerce .jupiterx-site header {
	top: 0 !important;
}
body.page-template .jupiterx-site.jupiterx-global-style,
body.page-template .jupiterx-site.jupiterx-global-style header,
body.post-template-default .jupiterx-site.jupiterx-global-style header {
	padding-top: 0 !important;    
	top: 0 !important;
}
*/

/* Ticket #9378 - min bar fix 
body.admin-bar.page-template .jupiterx-site.jupiterx-global-style header,
body.admin-bar.page-template-default .jupiterx-site.jupiterx-global-style header,
body.admin-bar.post-template-default .jupiterx-site.jupiterx-global-style header,
body.admin-bar.post-type-archive .jupiterx-site.jupiterx-global-style header,
body.admin-bar.archive .jupiterx-site.jupiterx-global-style header,
body.admin-bar.woocommerce .jupiterx-site header {
    top: 32px !important;
}
*/

/* *****************************
 * ADMIN AREA
 * *************************** */
.elementor-editor-active .jupiterx-main-content .container,
.elementor-editor-active .jupiterx-main-content > .container > .row > [class*=col-] {
    max-width: 100% !important;
    padding: 0 !important;
}
.elementor-editor-active .elementor-location-footer {
	padding-top: 20rem;
}


/* *****************************
 * GENERAL SIZING
 * *************************** */
.jupiterx-site {
    font-size: inherit !important;
}


/* *****************************
 * SITE SETTINGS > LAYOUT SPECIFIC TWEAKS
 * If you update the Content Width in Site Settings > Layout Settings - update the max-width below
 * *************************** */
.jupiterx-main-header .container,
.elementor-section.elementor-section-boxed>.elementor-container,
.page-template-default .container,
.post-template-default .container,
.product-template-default .container,
.single-portfolio .container,
.error404 .container {
	max-width: 106rem !important;
	padding-left: 2rem;	
	padding-right: 2rem;
}
.jupiterx-main-content > .container > .row {
	margin-right: 0 !important;
	margin-left: 0 !important;
}


/* *****************************
 * ELEMENTOR FLEXBOX CONTAINER > LAYOUT SPECIFIC TWEAKS
* *************************** */
.e-con>.e-con-inner  {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
} 
.e-con-full.e-con .e-con-boxed.elementor-element>.e-con-inner {
  max-width: var(--content-width) !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;	
  margin: 0 auto !important;
  width: 100% !important;	
}
.e-con .elementor-element>.e-con-inner  {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
} 

@media (max-width: 1024px) {
    .e-con {
        --container-max-width: min(100%, var(--width)) !important;
    }
}

@media (max-width: 767px) {
	.e-con-full.e-con .e-con-boxed.elementor-element>.e-con-inner {
	  padding-left: 1.5rem !important;
	  padding-right: 1.5rem !important;		
	}
}


/* *****************************
 * FADE IN DEFAULT STYLE PAGES
 * *************************** */
.page-template-default .jupiterx-main,
.post-template-default .jupiterx-main,
.product-template-default .jupiterx-main,
.single-portfolio .jupiterx-main {
	animation-name: fadeIn;	
	-webkit-animation-duration: 1.25s;
    animation-duration: 1.25s;	
}


/* *****************************
 * PAGE TEMPLATE FULL WIDTH PADDING - FOR ELEMENTOR STYLED PAGES
 * *************************** */
@media (max-width: 991px) {
	/* LAYOUT SPECIFIC TWEAKS */
	/* Site Settings > Layout */
	.page-template-default .jupiterx-sidebar,
	.post-template-default .jupiterx-sidebar,
	.single-product .jupiterx-sidebar,
	.error404 .jupiterx-sidebar {
		margin-top: 1rem;	
	}
}

@media (max-width: 767px) {
	/* LAYOUT SPECIFIC TWEAKS */
	/* Site Settings > Layout */
	.jupiterx-sidebar {
		margin-top: 3rem !important;	
	}
	.woocommerce .jupiterx-sidebar {
		margin-top: 0 !important;
	}
}

.page-template-default .jupiterx-main-content,
.post-template-default .jupiterx-main-content,
.single-product .jupiterx-main-content {
	padding: 5rem 0;
}
.archive.woocommerce-shop #jupiterx-primary,
.archive.tax-product_cat #jupiterx-primary {
    padding-left: 0rem !important;
    padding-right: 0rem !important;	
}


/* *****************************
 * SINGLE DEFAULT PAGES - Like Privacy Policy
 * *************************** */
.page-template-default .jupiterx-main-content > .container > .row > [class*=col-] {
    padding-left: 0rem !important;
    padding-right: 0rem !important;		
}


/* *****************************
 * SINGLE POST
 * *************************** */
.single-post .jupiterx-main-content .container {
    padding: 0;
}
.single-post .jupiterx-main-content .jupiterx-primary {
    padding: 0 2rem !important;
}


/* *****************************
 * ARCHIVE & GRID
 * *************************** */
.archive .raven-grid,
.news-landing .raven-grid {
	margin: auto !important;
}
.archive .raven-grid-item,
.news-landing .raven-grid-item {
	padding-left: 0;
	padding-right: 0;
}


/* *****************************
 * DEFAULT PAGES HEADER
 * *************************** */
/* FOR STICKY HEADER - Header */
.jupiterx-header-sticky .jupiterx-site {
  padding-top: 0 !important;
}


/* *****************************
 * JUPITER X SITE MEDIA QUERY
 * *************************** */
@media (min-width: 768px) and (max-width: 768px) {
	.page-template-full-width .jupiterx-site {
		padding-top: 0 !important;
	}
}

@media (min-width: 576px) and (max-width: 576px) {
	.page-template-full-width .jupiterx-site {
		padding-top: 0 !important;
	}
}


/* *****************************
 * JUPITER X ADMIN BAR FOR STICKY HEADER
 * *************************** */
@media (max-width: 600px) {
	/* ADMIN BAR */
	.admin-bar.jupiterx-header-sticked .jupiterx-site:not(.jupiterx-site-body-border) .jupiterx-header.jupiterx-header-sticky-custom.jupiterx-header-custom > .elementor:last-of-type:not(:first-of-type) {
		top: 0px !important;
	}
}