/*------------------------------------------------------------------
[Parallax Backgrounds]
-------------------------------------------------------------------*/
.wpex-parallax-bg-wrap {
	position: relative;
	background-image: none !important; // Make sure there is no background image by default, important

	.container,
	.wpb_column {
		position: relative;
		z-index: 2;
	}

}

// Advanced Parallax
.wpex-parallax-bg {
	display: block;
	opacity: 0; // Hide until site is loaded
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	z-index: 0 !important;
	background-attachment: fixed;
	background-position: 50% 0;
	background-size: cover;
}

.compose-mode .wpex-parallax-bg {
	opacity: 1; // Display always on VC Editor to prevent issues
}

.wpex-parallax-bg.fixed-repeat {
	background-repeat: repeat;
	background-size: auto;
}

.wpex-parallax-bg.fixed-no-repeat {
	background-repeat: no-repeat;
	background-size: auto;
}

// Disable Parallax on mobile
body.wpex-is-mobile-device {
	
	.wpex-parallax-bg.not-mobile {
		background-attachment: scroll !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
	}

	.wpex-parallax-bg.not-mobile.fixed-repeat {
		background-repeat: repeat !important;
	}

}
