.module-services.style-5 {
    padding: 6.6vh 0;
}

.module-services.style-5 .section-headline h2 {
	/*color: #005ea7;*/
    font-size: 58px;
    text-transform: uppercase;
	font-family: Poppins;
}

.module-services.style-5 .section-headline h2 .span-1 {
    font-size: 20px;
    letter-spacing: 5px;
    /* display: block; */
    margin-bottom: 10px;
    line-height: 3;
}

.module-services.style-5 .services-wrapper {
    clear: both;
    margin: 60px 0 50px;
    padding: 15px;
    border: 1px solid #030405;
    background: #030405;
	z-index: 2;
}

.module-services.style-5 .services-wrapper .ry-flex {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    width: calc(100% + 15px);
    margin-bottom: -15px;
}

.module-services.style-5 .services-wrapper .ry-flex .ry-each {
    width: calc(50% - 15px);
    margin-left: 15px;
    margin-bottom: 15px;
	flex: unset;
	max-width: unset;
}

.module-services.style-5 .services-wrapper .ry-flex .ry-each .link, .module-services.style-5 .services-wrapper .ry-flex .ry-each .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 0;
}

.module-services.style-5 .services-wrapper .ry-flex .ry-each .title {
	position: absolute;
	top: 50%;
	left: 45px;
	font-size: 28px;
	max-width: 230px;
	transform: translate(0, -50%);
	color: #2f2f49;
	/* text-shadow: 1px 0px 2px #000; */
	line-height: 1.2;
	z-index: 2;
	font-weight: 600 !important;
}

.module-services.style-5 .button-wrapper .ry-btn {
    margin-left: auto;
    margin-right: auto;
	z-index:9;
	background-color: #005ea7;
	color : #FFFFFF;
	border: 1px solid #fff !important;
}

.module-services.style-5 .button-wrapper .ry-btn:hover {
	background-color: #030405;
	color : #FFFFFF;
	border: 1px solid #005ea7;
}

.module-services.style-5:before {
	content: "";
	width: 100%;
	height: 46%;
	max-height: 700px;
	position: absolute;
	bottom: 0;
	left: 0;
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-490d9813-c4a2-4695-b2b1-a7be34aa248f/Assets/services_bottom_background.jpg);
	background-size: cover;
	opacity: 1;
	z-index: 1;
}

.module-services.style-5 .services-wrapper .ry-flex .ry-each .photo {
    position: relative;
    padding-bottom: 45%;
}

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

.module-services.style-5 .services-wrapper .ry-flex .ry-each .photo:before {
    position: absolute;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: #005ea7;
    z-index: 1;
    opacity: 0;
    transition: .5s;
}

.module-services.style-5 .services-wrapper .ry-flex .ry-each:hover .photo:before {
    opacity: .5;
}

@media (max-width: 1680px) {

	.module-services.style-5 .section-headline h2 {
		font-size: 50px;
	}
	.module-services.style-5 .services-wrapper .ry-flex .ry-each .title {
		font-size: 24px;
		color: #fff;
   		text-shadow: 1px 0px 2px #000;
	}
	.module-services.style-5 .section-headline h2 .span-1 {
		font-size: 18px;
	}
}
@media (max-width: 1200px) {
	.module-services.style-5 .services-wrapper .ry-flex .ry-each .title {
		font-size: 22px;
		max-width: 170px;
	}
	.module-services.style-5:before {
		height: 40vh;
	}
	.module-services.style-5 .services-wrapper .ry-flex .ry-each:before {
		content: "";
		position: absolute;
		left: 0;
		width: 60%;
		height: 100%;
		background: linear-gradient(to left, #99651400, #ffffff7d);
		z-index: 1;
	}
}
@media (max-width: 1080px) {
	
	.module-services.style-5 {
		padding: 60px 0;
	}
	.module-services.style-5 .services-wrapper .ry-flex .ry-each {
		width: calc(100% - 15px);
	}
	.module-services.style-5 .services-wrapper .ry-flex .ry-each .photo {
		position: relative;
		padding-bottom: 40%;
	}
	.module-services.style-5 .ry-text p,
	.module-services.style-5 .section-headline h2 {
		text-align: center;
	}
	.module-services.style-5 .section-headline h2 {
		font-size: 46px;
	}
}

@media (max-width: 480px) {
	.module-services.style-5 .section-headline h2 {
		font-size: 42px;
	}
	.module-services.style-5 .ry-text p,
	.module-services.style-5 .ry-btn {
		font-size: 18px !important;
	}
}
@media (max-width: 420px) {
	.module-services.style-5 .section-headline h2 {
		font-size: 36px;
	}
	.module-services.style-5 .ry-text p,
	.module-services.style-5 .ry-btn {
		font-size: 16px !important;
		line-height: 1.5;
	}
}
.module-services.style-5 .section-headline h2 br {
    display: none;
}