/* 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 bottom;
}

.module-welcome.style-7:before { display: none;
    content: "";
    position: absolute;
    inset: 0;
    top: unset;
    height: 35%;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1;
}
.module-welcome.style-7 .background-section:before {
    content: "";
    position: absolute;
    inset: 0;
    top: unset;
    height: 35%;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 1;
}

.module-welcome.style-7 {
	padding: 110px 0 0;
	background: #f5f5f5;
}


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

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

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


.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo {
	position: relative;
	padding-bottom: 118%;
	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: contain;
    object-position: center bottom;
}

.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
    padding-bottom: 60px;
}

.module-welcome.style-7 .ry-headline h2 {
	font-size: 58px;
	font-family: Poppins;
	color: #ab8d6b !important;
	font-weight: 500;
}

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


.module-welcome.style-7 .button-wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

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

}
@media (max-width: 1080px) {
	.module-welcome.style-7 {
		padding: 60px 0 0;
	}
	.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: 600px !important;
        padding-top: 30px;
        width: 100% !important;
	}
	.module-welcome.style-7 .ry-each.image-wrapper .photo.offset {
		max-width: 80%; 
	}
	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo {
		padding-bottom: 100%;
	}
	.module-welcome.style-7 .ry-flex .ry-each:not(.image-wrapper) {
		padding-bottom: 0px;
	}
}
@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-flex .ry-each.image-wrapper {
		width: 70%;
		margin-right: -15%;
		margin-bottom: -80px;
	}
	.module-welcome.style-7 .ry-flex .ry-each.image-wrapper .photo {
		padding-bottom: 100%;
	}
}
