/* STYLE 6 */

.module-welcome.style-6 .background-section, 
.module-welcome.style-6 .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.module-welcome.style-6 .background-section {
    opacity: .1;
    filter: grayscale(1);
	overflow:hidden;
}

.module-welcome.style-6:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: ;
    z-index: -1;
    opacity: .9;
}

.module-welcome.style-6 {
	padding-bottom: 150px; 
}


.module-welcome.style-6 .ry-each h2 {
	font-size: 58px;
	font-family: Overpass;
	font-weight: 500;
}

.module-welcome.style-6 .text-wrapper {
	max-width: 580px;
}

.module-welcome.style-6 .ry-text p {
	margin: 30px 0 40px;
	font-size: 20px;
	line-height: 1.6;
	font-weight: 400;
}

.module-welcome.style-6 .button-wrapper .ry-btn {
	max-width: 300px;
	margin: 0 auto 10px;
}

.module-welcome.style-6 .ry-each.image-wrapper {
	max-width: calc(100% - 660px);
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: flex-end;
}

.module-welcome.style-6 .ry-each:not(.image-wrapper) {
	max-width: 660px;
	width: 100%;
	display: flex;
	align-items: center;
}

.module-welcome.style-6 .ry-each.image-wrapper .photo:not(.offset) {
	max-width: 80%;
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	width: 100%;
}

.module-welcome.style-6 .ry-each.image-wrapper .photo:not(.offset) img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.module-welcome.style-6 .ry-each.image-wrapper .photo.offset {
	max-width: 70%;
	width: 100%;
	border: 15px solid #fff;
	box-shadow: 0px 0px 60px 0px rgba(0,0,0,0.1);
	margin-right: auto;
	margin-top: -100px;
}

/** YOUTUBE VIDEO **/
/* VIDEO */
.video_wrapper {
	margin: 0 auto;
	position: relative;
	background-color: #000;
}
.video_wrapper_full {
	padding-top: 52.25%;
	border: 10px solid #fff;
	margin-left: 0;
	z-index: 2;
}

.videoIframe {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: transparent;
}
.videoPoster {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-image:url(https://www.royacdn.com/unsafe/smart/Site-185c0649-5e3b-4a59-bdf4-b4d9069bdc07/Welcome/maxresdefault.jpg);
	background-size: 100%;
	border: none
		text-indent: -999em;
	overflow: hidden;
	opacity: 1;
	-webkit-transition: opacity 800ms, height 0s;
	-moz-transition: opacity 800ms, height 0s;
	transition: opacity 800ms, height 0s;
	-webkit-transition-delay: 0s, 0s;
	-moz-transition-delay: 0s, 0s;
	transition-delay: 0s, 0s;
}

.videoPoster:hover {
	cursor: pointer;
}
.videoPoster:before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 70px;
	height: 70px;
	margin: -40px 0 0 -40px;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-2d3ea448-e4d3-45c9-8259-9465ce3e99f1/HomepageAssets/play_video.png);
    background-size: contain;
}

.videoWrapperActive .videoPoster {
	opacity: 0;
	height: 0;
	-webkit-transition-delay: 0s, 800ms;
	-moz-transition-delay: 0s, 800ms;
	transition-delay: 0s, 800ms;
}
.video-poster {
    position: relative;
}
.video-poster:after {
    position: absolute;
    bottom: -12.5px;
    width: calc(100% - 80px);
    height: 100%;
    /*background: #b2800d;*/
    content: "";
    z-index: 1;
    right: 30px;
    bottom: -30px;
}
.module-welcome.style-6 .video-poster {
    max-width: 1280px;
	width: 90%;
    margin: 0 auto;
}
.module-welcome.style-6 .ry-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1680px) {
	.module-welcome.style-6 .ry-each h2 {
		margin-top: 30px;
		font-size: 50px;
	}
}
@media (max-width: 1480px) {
	.module-welcome.style-6 .ry-each:not(.image-wrapper) {
		max-width: 40%;
		padding-right: 60px;
	}
	.module-welcome.style-6 .ry-each.image-wrapper {
		max-width: 60%;
	}

}
@media (max-width: 1080px) {
	.module-welcome.style-6 {
		padding: 60px 0;
	}
	.module-welcome.style-6 .ry-flex {
		flex-direction: column-reverse;
		align-items: center;
		justify-content: center;
	}
	.module-welcome.style-6 .ry-each:not(.image-wrapper) {
		max-width: 100%;
		padding: 0;
		justify-content: center;
		align-items: center;
		display: flex;
	}
	.module-welcome.style-6 .ry-each .ry-text p,
	.module-welcome.style-6 .ry-each h2 {
		text-align: center;
	}
	.module-welcome.style-6 .ry-each h2 {
		font-size: 46px;
	}
	.module-welcome.style-6 .ry-each .ry-text .ry-btn {
		margin-left: auto;
		margin-right: auto;
	}
	.module-welcome.style-6 .ry-each.image-wrapper {
		max-width: 760px;
		padding-bottom: 30px;
		width: 100%;
	}
	.module-welcome.style-6 .ry-each.image-wrapper .photo.offset {
		max-width: 80%; 
	}
}
@media (max-width: 680px) {
	.module-welcome.style-6 .ry-each.image-wrapper .photo:not(.offset) {
		max-width: 90%;
	}
}
@media (max-width: 480px) {
	.module-welcome.style-6 .ry-each h2 {
		font-size: 42px;
	}
	.module-welcome.style-6 .ry-each .ry-text p,
	.ry-btn {
		font-size: 18px !important;
	}
}

@media (max-width: 420px) {
	.module-welcome.style-6 .ry-each h2 {
		font-size: 36px;
	}
	.module-welcome.style-6 .ry-each .ry-text p,
	.ry-btn {
		font-size: 16px !important;
	}
}
/* END STYLE 6 */