/* STYLE 7 */

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


.module-welcome.style-7 .background-section {
	overflow:hidden;
}

.module-welcome.style-7:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, transparent, #ffffff);
	z-index: 1;
}

.module-welcome.style-7:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    padding-bottom: 18%;
    z-index: 1;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-8e3a26c1-cf82-4f83-ba81-6feeea45f221/Assets/Frame_image.jpg);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
}

.module-welcome.style-7 {
	padding: 110px 0 20%;
}


.module-welcome.style-7 .ry-flex {
	align-items: center;
	gap: 30px;
}

.module-welcome.style-7 .ry-container {
	max-width: 1400px;
	width: 90%;
	z-index: 9;
}

.module-welcome.style-7 .ry-flex .ry-each.image-wrapper {
	max-width: 600px;
	width: 45%;
}


.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo {
	position: relative;
	padding-bottom: 140%;
	height: 0;
}

.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.module-welcome.style-7 .ry-headline h2 {
	font-size: 58px;
	font-family: Montserrat;
	color: #1025a1 !important;
	font-weight: 500;
	text-align: center;
}

.module-welcome.style-7 .ry-text p {
	margin: 30px 0 40px;
	color: #111;
}

.module-welcome.style-7  .text-wrapper {
	max-width: 600px;
}
.module-welcome.style-7 .button-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.module-welcome.style-7 .button-wrapper .ry-btn {
	width: calc(50% - 5px);
	max-width: 100%;
	margin-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	min-width: 260px;
}
@media (max-width: 1680px) {
	.module-welcome.style-7 .ry-each h2 {
		font-size: 50px;
	}
}
@media (max-width: 1480px) {
	.module-welcome.style-7 .ry-each:not(.image-wrapper) {
		max-width: 40%;
		padding-right: 60px;
	}
	.module-welcome.style-7 .ry-each.image-wrapper {
		max-width: 60%;
	}

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

/* END STYLE 7 */
