
/* STYLE 5 */
.module-welcome.style-5 {
	padding: 6em 0 25em;
	display: flex;
	align-items: center;
}

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


.module-welcome.style-5 .ry-container {
    max-width: 1400px;
    width: 90%;
}

.module-welcome.style-5 .ry-content .ry-flex {
    gap: 0 5%;
}

.vs-ads-image-wrap {
    display: flex;
    padding: 10px;
    border-radius: 10px;
    padding-top: 0;
    /* max-width: 250px; */
    margin: 10px auto 0;
    float: none;
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
}

.vs-ads-image-wrap img {
    height: auto;
    object-fit: cover;
    object-position: top center;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    width: 49%;
}

div.vs-ads {
    position: static;
}

.module-welcome.style-5 .text-wrapper .ry-btn {margin-top: 2em;}

.module-welcome.style-5 .ry-text p {
	line-height: 1.5;
}


.module-welcome.style-5 .text-wrapper .ry-text {
    margin: 20px 0 0;
}

.module-welcome.style-5 .ry-each.image-wrapper {width: 48%;}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
	object-fit: cover;
	padding: 10px;
	background: #fff;
	border-radius: 30px;
	height: 450px;
}

.module-welcome.style-5 .ry-each.image-wrapper:after {
	content: "";
	position: absolute;
	bottom: -79px;
	background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-1c288e38-c7b0-4e55-b59e-eb1947f0d222/homepageWelcome/shadow.png);
	width: 100%;
	height: 59px;
	left: 0;
	background-repeat: no-repeat;
}

@media (max-width: 1680px) {
	.module-welcome.style-5 .ry-each h2 {
		font-size: 50px;
	}
}
@media (max-width: 1480px) {
	.module-welcome.style-5 .ry-each:not(.image-wrapper) {
		/* max-width: 40%; */
		/* padding-right: 60px; */
	}
	.module-welcome.style-5 .ry-each.image-wrapper {
		max-width: 60%;
	}
	.module-welcome.style-5 .ry-each.image-wrapper .photo {
		/* padding-bottom: 75%; */
	}
}
@media (max-width: 1199px) {
	.module-welcome.style-5 {
		padding: 60px 0;
	}
	.module-welcome.style-5 .ry-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.module-welcome.style-5 .ry-each:not(.image-wrapper) {
		max-width: 100%;
		padding-right: 0;
		padding-bottom: 30px;
		justify-content: center;
	}
	.module-welcome.style-5 .ry-each.image-wrapper {
		max-width: 400px;
		width: 100%;
	}
	
	.module-welcome.style-5 .background-section, .module-welcome.style-5 .background-section img {
		object-position: left !important;
	}

	.module-welcome.style-5 .ry-each.image-wrapper .photo img {
		height: auto !important;
	}
	.module-welcome.style-5 .ry-each.image-wrapper .photo {
		padding-bottom: 0;
	}
	.module-welcome.style-5 .ry-each .ry-text p,
	.module-welcome.style-5 .ry-each h2 {
		text-align: center;
	}
	.module-welcome.style-5 .ry-each h2 {
		font-size: 46px;
	}
	.module-welcome.style-5 .ry-each .ry-text .ry-btn {
		margin-left: auto;
		margin-right: auto;
	}

}
@media (max-width: 680px) {
	.module-welcome.style-5 .ry-each.image-wrapper {
		max-width: 100%;
	}
}
@media (max-width: 500px) {
	.module-welcome.style-5 .ry-each h2 {
		font-size: 42px;
	}
	.module-welcome.style-5 .ry-each .ry-text p,
	.ry-btn {
		font-size: 18px !important;
	}
	
	.module-welcome.style-5 .ry-each h2 {
		font-size: 36px;
	}
	.module-welcome.style-5 .ry-each .ry-text p,
	.ry-btn {
		font-size: 17px !important;
	}
}

/* END STYLE 5 */