
/* STYLE 5 */
.module-welcome.style-5 {
	padding: 190px 0;
	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 .background-section {
	opacity: .9;
	filter: grayscale(1);
	overflow:hidden;
}

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

.module-welcome.style-5 .text {
    display: flex;
    width: 100%;
}

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

.module-welcome.style-5 .ry-flex {
    display: grid;
    grid-template-columns: 960px 640px;
}

.module-welcome.style-5 .ry-each h2 {
}

.module-welcome.style-5 .text-wrapper {
	max-width: 570px;
}

.module-welcome.style-5 .ry-text p {
	margin: 30px 0 40px;
	font-size: 20px;
	letter-spacing: 0px;
	line-height: 30px;
	color: #333333;
	text-wrap: balance;
}



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

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

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

.module-welcome.style-5 .ry-each.image-wrapper .photo {
	position: relative;
	/* padding-bottom: 60%; */
	/* height: 0; */
	overflow: hidden;
}

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

.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-8ee4c67c-7db6-45d5-85b9-0c0d2c5eec49/homepageWelcome/shadow.png);
	width: 100%;
	height: 59px;
	left: 0;
	background-repeat: no-repeat;
	display: none;
}

.module-welcome.style-5 .ry-each.image-wrapper  .icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.module-welcome.style-5 .card:hover .photo:after {
    content: " ";
    background: rgb(30 140 147 / 85%);
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: 300ms 
ease-in-out;
    overflow: hidden;
}

.module-welcome.style-5 .ry-each.image-wrapper:hover .photo:after {
    opacity: 1;
    transition: 300ms ease-in-out;
}

@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: 1080px) {
	.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: 80%;
	}
	.module-welcome.style-5 .ry-each.image-wrapper .photo {
		/* padding-bottom: 56.25%; */
	}
	.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: 480px) {
	.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;
	}
}
@media (max-width: 420px) {
	.module-welcome.style-5 .ry-each h2 {
		/* font-size: 36px; */
	}
	.module-welcome.style-5 .ry-each .ry-text p,
	.ry-btn {
		font-size: 16px !important;
	}
}
/* END STYLE 5 */