/* 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;
	object-position: center right;
	display: none;
}

.module-welcome.style-7:before {
	content: "";
	position: absolute;
}


.module-welcome.style-7 {
	padding: 0px 0 0;
	margin-top: -2px;
	background: #f9f9f9;
	background: url();
	background-position: 100% bottom;
	background-size: cover;
	background-repeat: no-repeat;
	    position: relative;
}


.module-welcome.style-7 .ry-flex {
	align-items: center;
	flex-direction: row;
	justify-content: flex-end;
	gap: 100px;
}

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

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

.module-welcome.style-7 .ry-flex .ry-each {
    width: 100%;
    flex: unset;
	max-width: calc(100% - 1080px);
}

.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo {
	position: relative;
	height: 100%;
	width: 100%;
}

.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.module-welcome.style-7 .ry-headline h2 {
	font-size: 58px;
	font-family: Poppins;
	color: #284660 !important;
	font-weight: 500;
	text-align: center;
	line-height: 120%;
}

.module-welcome.style-7 .ry-headline h2 .logo-bold {
	font-weight: bold !important;
}

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

.module-welcome.style-7  .text-wrapper {
	max-width: 100%;
}
.module-welcome.style-7 .button-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.module-welcome.style-7 .button-wrapper .ry-btn {
    width: auto;
    max-width: 100%;
    min-width: max-content;
}

@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: 100%;
		padding-right: 60px;
	}
	.module-welcome.style-7 .ry-each.image-wrapper {
		max-width: 60%;
	}

}
@media (max-width: 1080px) {

	.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
		max-width: 100%;
		padding: 0;
	}
	
	.module-welcome.style-7 .ry-flex {
		width: 100%;
		max-width: 100% !important;
	}
	
	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper {
		/*display: none;*/
		position: relative;
        width: 100vw !important;
		max-width: 100vw !important;
	}

	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo {
		height: 0;
		padding-bottom: 90%;
	}
	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo img {
		position: absolute;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: right;
	}
	.module-welcome.style-7.custom-dry-eye .ry-flex .ry-each.image-wrapper .photo img {
		object-position: right;
	}

	.module-welcome.style-7 {
		padding: 80px 0 0;
		background: #d9e1e3;
	}
	.module-welcome.style-7 .ry-flex {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 40px;
	}
	.module-welcome.style-7 .ry-each:not(.image-wrapper) {
		max-width: 100%;
		padding: 0;
		justify-content: center;
		align-items: center;
		display: flex;
		padding-bottom: 0 !important;
	}
	.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 {
		width: 100% !important;
		max-width: 500px !important;
		padding-bottom: 0px;
	}
	.module-welcome.style-7 .ry-each.image-wrapper .photo.offset {
		max-width: 80%; 
	}
	.module-welcome.style-7:before {
		top: 76%;
		padding-bottom: 70%;
		width: 100%;
	}
	.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
		padding-bottom: 60px;
		padding-top: 60px;
	}
	.module-welcome.style-7 .ry-container {
		margin: 0 auto;
		max-width: 100%;
	}
	.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
		padding-left: 5%;
		max-width: 100% !important;
		padding: 0 !important;
	}
}
@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 */

@media (min-width: 1081px) {

	.module-welcome.style-7 .ry-headline h2, .module-welcome.style-7 .ry-text p {
		text-align: left !important;
	}
	.module-welcome.style-7 .ry-flex {
		flex-direction: row-reverse;
		justify-content: flex-end;
	}
	.module-welcome.style-7 .ry-container { 
		margin-left: unset;
		max-width: 100%;
		width: 100%;
	}
	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper {
		max-width: 100%;
		width: 100%;
		position: absolute;
		inset: 0;
	} 
	.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
		padding-left: 10%;
	}
	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo img {
		object-fit: cover;
		object-position: 40% center;
	} 
}


.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
    padding-bottom: 18vh;
    padding-top: 18vh;
	position: relative;
	z-index: 9;
}

.module-welcome.style-7 .ry-flex .ry-each.image-wrapper:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, #d9e1e3);
    z-index: 1;
    height: 50%;
    top: unset;
}

.module-welcome.style-7.custom-dry-eye .ry-flex .ry-each.image-wrapper:before {
	height: 100%;
	background: linear-gradient(to bottom, transparent, transparent, #d9e1e3);
}

@media (min-width: 1081px) {
	.module-welcome.style-7.custom-dry-eye .ry-flex {
		justify-content: flex-end;
	}
	.module-welcome.style-7.custom-dry-eye .ry-flex .ry-each:not(.image-wrapper) {
		padding-right: 0;
		padding-left: 10%;
	}
	.module-welcome.style-7.custom-dry-eye .ry-flex .ry-each.image-wrapper .photo img {
		object-position: 75% top;
	}
}