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

div#welcome-wrap .ry-heading h2 {
    font-size: 48px;
    text-align: center;
    line-height: 1.2;
}


.module-welcome.style-5 em {
    font-style: normal !important;
    font-size: 80px;
}

div#welcome-wrap .ry-heading  span {
    font-weight: 500 !important;
    color: var(--color-primary);
}




.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;
	object-position: bottom center;
}




.module-welcome.style-5:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: ;
}

.module-welcome.style-5 .ry-text {
    margin: 1em auto 0;
    max-width: 620px;
}

.module-welcome.style-5 .ry-text .ry-btn {margin: 1.5em auto 0;float: none;justify-content: center;align-items: center;}

.module-welcome.style-5 .ry-each:not(.image-wrapper) {
}

.module-welcome.style-5 .ry-each.image-wrapper {
	max-width: calc(100% - 660px);
	width: 100%;
}

.module-welcome.style-5 .ry-each.image-wrapper {
	border: 20px solid #fff;
}


.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-deeaa1fd-8a60-4cfe-ba06-52a5b55e8359/homepageWelcome/shadow.png);
	width: 100%;
	height: 59px;
	left: 0;
	background-repeat: no-repeat;
}


@media (max-width:1199px) {
	 div.module-welcome.style-5 .ry-flex {
    top: 0;
}

div.module-welcome.style-5 {
    padding: 4em 0;
}

div.module-welcome.style-5 .ry-each:not(.image-wrapper) {
    margin: auto;
    z-index: 1;
}

	.module-welcome.style-5 em {
		font-size: 45px !important;
	}

div.hp-frames-section .ry-content {
    margin-top: 0;
    height: auto;
    background: transparent !important;
}

div.module-welcome.style-5:before {
    background: #fff;
    opacity: 0.8;
    z-index: 1;
}
}
@media (max-width: 1080px) {
	div.module-welcome.style-5 {
		padding: 2em 0 3em !important;
		margin-top: 0 !important;
	}
	.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: 0;
		justify-content: center;
	}
	.module-welcome.style-5 .ry-each.image-wrapper {
		max-width: 80%;
	}
	.module-welcome.style-5 .ry-each.image-wrapper .photo {
	}
	.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 {
	}
	.module-welcome.style-5 .ry-each .ry-text .ry-btn {
		margin-left: auto;
		margin-right: auto;
	}

	.module-welcome.style-5 .background-section, .module-welcome.style-5 .background-section img {
    /* opacity: 0; */
}

.module-welcome.style-5 .background-section, .module-welcome.style-5 .background-section img {
    /* display: none; */
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    max-width: 400px;
    margin: auto;
}

}
@media (max-width: 680px) {
	.module-welcome.style-5 .ry-each.image-wrapper {
		max-width: 100%;
	}
}
@media (max-width: 480px) {
	.module-welcome.style-5 .ry-each h2 {
	}
	.module-welcome.style-5 .ry-each .ry-text p,
	.ry-btn {
		/* font-size: 18px !important; */
	}
}
@media (max-width: 420px) {
	.module-welcome.style-5 .ry-each h2 {
	}
	.module-welcome.style-5 .ry-each .ry-text p,
	.ry-btn {
		/* font-size: 16px !important; */
	}
}
/* END STYLE 5 */