.ry-services.style1 .ry-flex {
	flex-wrap: wrap;
}

.ry-services.style2 .ry-headline p {
    color: #333;
    font-size: 23px !important;
    max-width:800px;
    margin:auto;
}


.ry-services.style1 .ry-flex .ry-each {
	width: 50%;
}
.ry-services.style1 .ry-flex .ry-each .photo {
	position: relative;
	padding-bottom: 56.25%;
}
.ry-services.style1 .ry-flex .ry-each .photo:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 5;
}
.ry-services.style1 .ry-flex .ry-each .photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ry-services.style1 .ry-flex .ry-each .title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9;
}
.ry-services.style1 .ry-flex .ry-each .title div {
	padding: 40px 0;
	font-size: 26px;
	text-transform: uppercase;
	color: #fff;
	letter-spacing: 2px;
	font-weight: 300;
	line-height: 1.3;
}

.ry-services.style1 .ry-flex .ry-each .link, 
.ry-services.style1 .ry-flex .ry-each .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	opacity: 0;
}
.ry-services.style1 .ry-flex .ry-each .title div:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 320px;
	height: 100%;
	border: 1px solid #1a1a1a;
	transform: translate(-50%, 0);
	border-left: 0;
	border-right: 0;
	z-index: 9;
}
.ry-services.style1 .ry-flex .ry-each .button-svg svg {
	width: 20px;
	fill: #fff;
}
.ry-services.style1 .ry-flex .ry-each .button-svg {
	position: absolute;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid #fff;
	z-index: 9;
	top: calc(50% + 80px);
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}

.ry-services.style1 .ry-flex .ry-each::before,
.ry-services.style1 .ry-flex .ry-each::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	transition: all .7s ease;
	border-radius: 0;
	z-index: 9;
	opacity: 0;
}
.ry-services.style1 .ry-flex .ry-each::after {
	box-shadow: inset 0 0 0 1px #1a1a1a;
}
.ry-services.style1 .ry-flex .ry-each::before {
	border-radius: 0;
}
.ry-services.style1 .ry-flex .ry-each:hover .photo:before,
.ry-services.style1 .ry-flex .ry-each:hover .title div:before {
	opacity: 0;
}
.ry-services.style1 .ry-flex .ry-each:hover::before {
	box-shadow: inset 0 400px 0 0 #1a1a1a, inset 0 -400px 0 0 #1a1a1a;
	opacity: .7;
}
.ry-services.style1 .ry-flex .ry-each:hover .button-svg {
	opacity: 1;
	transition: .2s;
		border-radius:50%;
}

.serv-title {
    position: absolute;
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.serv-title >div {
    color: #fff;
    text-transform: uppercase;
    font-size: 35px;
    line-height: 1.1;
    width: 100%;
    text-shadow: 1px 1px 15px rgb(23 61 69 / 62%);
}

.serv-title:after {
    font-family: 'FontAwesome';
    content: '\f107';
    width: 45px;
    height: 45px;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    background: #639fa1;
    color: #fff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 33px;
    bottom: -2em;
}

div.hp-service-block.active .serv-title {
    display: none;
}
@media (max-width: 1680px) {
	.ry-services.style1 .ry-flex .ry-each .title div {
		font-size: 20px;
		padding: 25px 0;
		letter-spacing: 1px;
	}
}
@media (max-width: 1366px) {
	.ry-services.style1 .ry-flex .ry-each .photo {
		position: relative;
		padding-bottom: 75%;
	}
}
@media (max-width: 991px) {
	.ry-services.style1 .ry-flex .ry-each .title div:before {
		width: 240px;
	}
}
@media (max-width: 768px) {
	.ry-services.style1 .ry-flex .ry-each .title div {
		font-size: 18px;
	}
}
@media (max-width: 620px) {
	.ry-services.style1 .ry-flex .ry-each {
		width: 100%;
	}
	.ry-services.style1 .ry-flex .ry-each .photo {
		position: relative;
		padding-bottom: 56.25%;
	}
}

/* END STYLE 1 */


.ry-services.style2 .section-background, .ry-services.style2.section-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ry-services.style2 .section-headline {
	/*margin-bottom: 80px;*/
	margin-bottom:30px;
}
.ry-services.style2 .section-headline .span-1 {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 5px;
	display: block;
	color: #99b7b9 !important;
}
.ry-services.style2 .section-headline h2 {
	font-size: 230%;
	text-transform: uppercase;
	color: #fff;
}

.ry-services.style2 .ry-content {
}
.ry-services.style2 .block-count-7,
.ry-services.style2 .block-count-6,
.ry-services.style2 .block-count-5,
.ry-services.style2 .block-count-4,
.ry-services.style2 .block-count-3 {
	margin-left: -30px;
	width: calc(100% + 30px);
}
.ry-services.style2 .block-count-7 .ry-each,
.ry-services.style2 .block-count-6 .ry-each,
.ry-services.style2 .block-count-5 .ry-each,
.ry-services.style2 .block-count-4 .ry-each,
.ry-services.style2 .block-count-3 .ry-each {
	margin-left: 30px;
	/*width: calc(33.33% - 30px);*/
	width: calc(20% - 30px);
	display: flex;
}
.ry-services.style2 .block-count-7 .ry-each .block-group,
.ry-services.style2 .block-count-6 .ry-each .block-group, 
.ry-services.style2 .block-count-5 .ry-each .block-group,
.ry-services.style2 .block-count-4 .ry-each .block-group,
.ry-services.style2 .block-count-3 .ry-each .block-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.ry-services.style2 .block-count-7 .ry-each .each-block,
.ry-services.style2 .block-count-6 .ry-each .each-block,
.ry-services.style2 .block-count-5 .ry-each .each-block,
.ry-services.style2 .block-count-4 .ry-each .each-block,
.ry-services.style2 .block-count-3 .ry-each .each-block {
	/*margin-bottom: 30px;*/
	margin-bottom: 20px;
}
.ry-services.style2 .ry-each .photo {
	position: relative;
	padding-bottom: 100%;
	/* border: 2px solid #fff; */
	border-radius: 500px;
}
.ry-services.style2 .ry-each .photo:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 2;
    background: transparent;
    border-bottom-left-radius: 7rem;
    border-bottom-right-radius: 7rem;
}
.ry-services.style2 .ry-each .photo img {
	position: absolute;
	top: 38%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 0;
	max-width: 100px;
	max-height: 100px;
	transform: translate(-50%, -50%);
	object-position: bottom;
	filter: brightness(0) invert(1);
}
.ry-services.style2 .ry-each .title {
	position: absolute;
	bottom: 45px;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 3;
	transition: .4s;
}
.ry-services.style2 .ry-each .title div {
	color: #fff;
    font-size: 15px;
    line-height: 1.3;

}
.ry-services.style2 .ry-each .button-svg {
	width: 45px;
	height: 45px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: calc(50% + 45px);
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
}
.ry-services.style2 .ry-each .button-svg svg {
	width: 20px;
	fill: #000;
}
.ry-services.style2 .ry-each .link, 
.ry-services.style2 .ry-each .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9;
	opacity: 0;
}

.ry-services.style2 .ry-each .photo:after {
	content: "";
	height: 0;
	width: 100%;
	background: #b3962e;
	position: absolute;
	bottom: 0;
	transition: .4s;
	opacity: .85;
	border-radius: 50%;
}
.ry-services.style2 .ry-each .each-block:hover .photo:after {
	height: 100%;
}

.ry-services.style2 .ry-each .each-block:hover .title {
	bottom: 50%;
	transition: .4s;
}
.ry-services.style2 .ry-each .each-block:hover .button-svg {
	opacity: 1;
	transition: 1.2s;
}
.ry-services.style2 .button-wrapper {
	clear: both;
	padding-top: 2em;
}
.ry-services.style2 .ry-btn {
	max-width: max-content;
	padding-left: 30px !important;
	padding-right: 30px !important;
	margin: 0 auto;
}

.ry-services.style2[data-style="Featured Icons"] .ry-each .photo img {
    max-width: 200px;
    object-fit: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: unset;
    width: 60%;
}

.ry-services.style2[data-style="Featured Icons"] .ry-each .each-block:before {
    border: 5px solid #1a1a1a;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
@media (min-width: 1081px) {
	/* COUNT 6 */
	.ry-services.style2 .block-count-6 {
		/*margin-top: 20%;*/
		margin-top: 12%;
	}
	.ry-services.style2 .block-count-6 .ry-each:nth-child(2) {
		/*margin-top: -33.33%;*/
		margin-top: -20%;
	}
	.ry-services.style2 .block-count-6 ~ .button-wrapper {
		position: relative;
		/*top: -17%;*/
		top:0;
	}
	/* COUNT 6 */
	
	/* COUNT 5 */
	.ry-services.style2 .block-count-5 .ry-each {
		align-items: flex-start;
	}
	.ry-services.style2 .block-count-5 .ry-each:nth-child(1) .each-block:nth-child(2) {
		margin-right: calc(-100% - 30px);
	}
	.ry-services.style2 .block-count-5 .ry-each:nth-child(3) .each-block:nth-child(2) {
		margin-left: calc(-100% - 30px);
	}
	/* COUNT 5 */
}
@media (min-width: 1200px) {
	.ry-services.style2 .block-count-5 .ry-each:nth-child(2) .each-block:nth-child(2) {
	margin-right: calc(-100% - 30px);
}
	.ry-services.style2 .block-count-4 {
		justify-content: center;
		margin-left: -50px;
		width: calc(100% + 50px);
	}
	.ry-services.style2 .block-count-4 .ry-each {
		margin-left: 50px;
		width: calc(33.33% - 50px);
		display: flex;
	}
	.ry-services.style2 .block-count-4 .ry-each .each-block {
		margin-bottom: 50px;
	}
	.ry-services.style2 .block-count-4 ~ .button-wrapper {
		padding-top: 30px;
	}
}
@media (max-width: 1199px) {
	.ry-services.style2 .block-count-7,
	.ry-services.style2 .block-count-6,
	.ry-services.style2 .block-count-5,
	.ry-services.style2 .block-count-4,
	.ry-services.style2 .block-count-3 {
		margin-left: -15px;
		width: calc(100% + 15px);
	}
	.ry-services.style2 .block-count-7 .ry-each,
	.ry-services.style2 .block-count-6 .ry-each,
	.ry-services.style2 .block-count-5 .ry-each,
	.ry-services.style2 .block-count-4 .ry-each,
	.ry-services.style2 .block-count-3 .ry-each {
		margin-left: 15px;
		width: calc(33.33% - 15px);
	}
	.ry-services.style2 .block-count-7 .ry-each .each-block,
	.ry-services.style2 .block-count-6 .ry-each .each-block,
	.ry-services.style2 .block-count-5 .ry-each .each-block,
	.ry-services.style2 .block-count-4 .ry-each .each-block,
	.ry-services.style2 .block-count-3 .ry-each .each-block {
		margin-bottom: 15px;
	}
}
@media (min-width: 1081px) {
	.mobile-services {
		height: 0;
		opacity: 0;
	}

}

@media (max-width: 1080px) {
	.ry-services.style2[data-style="Featured Icons"] .ry-services.style2 .each-block .photo img {
		max-width: 200px;
		object-fit: contain;
		margin: 0 auto;
		left: 50%;
		transform: translate(-50%, -50%);
		top: 50%;
	}

	.module-welcome.style-7 .section-background img {
    display: none;
}

.module-welcome.style-7 {
    margin-bottom: 0 !important;
}

.ry-services.style2 .section-background img {
	display:none;
}

	.ry-services.style2 {
		padding: 3em 0;
	/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#d8e2e4+0,d7e1e3+1,d9e3e5+1,d7e1e3+1,d3dee0+5,cddbdc+6,cddbdc+7,cedcdf+7,cad8db+8,c8d7da+9,c6d5d8+10,c2d4d6+10,bccfd3+13,b9ccd0+13,b2cace+15,afc7cb+15,afc7cb+16,a9c2c6+17,aac3c8+17,a4c0c4+17,a2bfc3+18,9fbcc0+18,9ab9be+20,94b5ba+20,94b5ba+21,90b1b8+21,8fb2b8+22,89aeb4+22,85acb1+23,81a8ad+24,80a9af+24,78a3a9+25,78a3a9+26,73a0a6+26,6c9ba1+28,69989e+28,699aa1+28,6899a0+28,66979c+28,65979e+29,5c9197+30,5c9199+30,599097+31,578e95+32,4f888f+33,4e8991+33,437f89+36,42818a+37,407f88+37,3c7c85+38,397982+39,33767f+42,2f737c+43,2f737c+46,2d717a+47,2f737e+47,2d717a+48,30747d+48,30747d+50,2e727b+50,33767f+50,31757e+51,347881+51,32767f+52,367982+52,367982+53,397c85+53,3a7a84+54,3c7c86+54,3c7c85+54,3e7e87+54,3c7c85+54,3f7f88+55,3f7f88+55,44838c+55,43828b+56,46858e+56,44838c+56,47868f+56,49858f+57,48848c+57,4b878f+57,4a868e+57,4d8991+57,4f8a92+58,538e96+58,548d94+59,579097+59,568f96+59,5e959c+60,659aa0+61,699ba2+61,699ba2+61,6d9fa6+61,6fa0a5+62,75a6ab+62,76a5ab+63,7ca9af+63,85b0b6+64,8bb4ba+64,92b9be+65,91b8bd+65,95bcc1+65,95bac0+65,9abfc5+65,9cbfc3+65,9fc2c6+66,a1c2c7+66,a6c7cc+66,a5c6cb+66,a7c8cd+66,a5c6cb+66,adcccf+66,adcccf+67,b1ced2+67,bad6d9+68,c0d9dd+68,cadfe2+69,cee3e6+69,cee3e6+69,d1e4e8+69,d4e8e9+69,d8eaec+70,d7e9eb+70,e5f3f4+71,effbfb+73,f2fcfd+75,f2fcfd+100 */
		 /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		background: linear-gradient(to bottom, #edf1f2, rgb(40 122 124 / 81%), rgb(44 119 124 / 60%));
	}
	.ry-services.style2 .ry-flex {
		display: none;
	}
	.ry-services.style2 .each-block .photo {
		position: relative;
		height: auto;
	}
	.ry-services.style2 .each-block .photo:before {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 150px;
		z-index: 2;
		background: linear-gradient(to bottom, #0000, #000000);
		display: none;
	}
	.ry-services.style2 .each-block .photo img {
		position: static;
		top: 10%;
		left: 0;
		width: 100%;
		height: auto;
		margin: auto;
		float: none;
		right: 0;
	}
	
	.ry-services.style2 .each-block .title div {
		font-size: 24px;
		color: var(--color-secondary);
		line-height: 1.3;
	}
	.ry-services.style2 .each-block .link, 
	.ry-services.style2 .each-block .link a {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 9;
		opacity: 0;
	}
	.ry-services.style2 .each-block .button-svg {
		display: none;
	}
	.mobile-services .slick-track .each-block {
		margin-left: 25px;
	}
	.mobile-services .slick-list {
		margin-left: -25px;
	}
	.mobile-services .slick-dots {
		margin-top: 30px;
		padding-left: 0;
		list-style: none;
		display: flex !important;
		justify-content: center;
		align-items: center;
	}
	.mobile-services .slick-dots li {
		margin: 0 3px;
		height: auto;
		line-height: initial;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.mobile-services .slick-dots li:not(.slick-active) {
		opacity: .5;
	}
	.mobile-services .slick-dots button {
		width: 12px;
		height: 12px;
		text-indent: -9999999px;
		background: #1a1a1a;
		border: unset;
		box-shadow: unset;
		border-radius: 50%;
	}
	.mobile-services .slick-arrow {
		display: none !important;
	}
}
@media (max-width: 1080px) {
		
	.feature-cta .slick-list .each-block{
		margin-left: 30px;
		padding: 10px;
		border: 1px solid rgb(255 255 255 / 42%);
		border-radius: 10px;
		border-radius: 20px;
	}
	.feature-cta .slick-list .slick-track {
		margin-left: -15px;
	}

	.col-xs-12.hidden-md.hidden-lg.feature-cta.slick-initialized.slick-slider {
		display: flex !important;
		margin-top: 3em;
	}
	
	.feature-cta button.slide-arrow {
		top: unset;
		bottom: -6em;
		z-index: 99;
		left: calc(50% - 60px);
		background: #eee;
	}
	
	.feature-cta .slick-list {
	  padding: 0 !important;
	}
	
	.feature-cta button.slide-arrow.prev-arrow {
		left: calc(50% - 60px);
		background: #eee;
	}
	
	.feature-cta button.slide-arrow.next-arrow {
		right: unset;
		left: calc(50% - 0px);
		background: #eee;
		bottom: -6em;
	}
	
	ry-services.style2 .photo {
     padding: 10px;
    border-radius: 10px;
    border: 1px solid #fff;
    }

.ry-services.style2 .photo img {
    border-radius: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.feature-cta .title {
    padding-top: 1em;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 0;
    color: #333 !important;
    text-transform: uppercase;
    line-height: 1.5;
    position: static !important;
    transform: initial !important;
}

.feature-cta button.slide-arrow {
    position: absolute;
    top: 42%;
    left: 5%;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0;
    background: none;
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

.feature-cta button.slide-arrow.prev-arrow {
	left: calc(50% - 60px);
	background: #eee;
	}
	
	.feature-cta button.slide-arrow.next-arrow {
		right: unset;
		left: calc(50% - 0px);
		background: #eee;
		bottom: -6em;
		transform: translateY(-50%) scale(-1);
	}

    .feature-cta button.slide-arrow {
        top: unset;
        bottom: -6em;
        z-index: 99;
        left: calc(50% - 60px);
        background: #eee;
    }

    .feature-cta button.slide-arrow.prev-arrow {
        left: calc(50% - 60px);
        background: #eee;
    }

.feature-cta button.slide-arrow:before {
    content: "\f104";
    font-family: 'FontAwesome';
    font-size: 26px;
    color: #333;
    opacity: 1;
    transition: .3s;
}

.feature-cta .button-svg {
    display: none;
}

	.ry-services.style2 .button-wrapper .ry-btn {
        margin-top: 4em;
    }

	.ry-services.style2 .title-block {
    background: #e3f0f0;
    padding: 1em 1em 3em 1em;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

	.ry-services.style2 .ry-text p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    line-height: 1.5;
		        text-align: center !important;
}
	
	a#hp-serv-btn {
		margin-top: 1em;
		font-size: 16px !important;
		height: 45px;
	}
}



@media (min-width: 1082px) {
	.feature-cta.slick-initialized.slick-slider {
    display: none;
}

div#desktop-serv-cta {
    gap: 3em;
    flex-wrap: wrap;
    margin-top: 3em;
    justify-content: center;
}

div.hp-service-block {
    width: 28%;
}

div#desktop-serv-cta .each-block .ry-photo {
    padding: 10px;
    border-radius: 10px;
    /* border: 1px solid rgb(255 255 255 / 46%); */
    transition: .5s;
    overflow: hidden;
}


div#desktop-serv {
	padding: 120px 0 380px;
	position: relative;
}

div#desktop-serv .section-background, .module-services .section-background img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

div#desktop-serv .ry-headline h2 .span-1 {
	color: #1a8dbc;
	margin-bottom: 10px;
}

div#desktop-serv .button-wrapper {
	clear: both;
	padding-top: 40px;
	display: flex;
	justify-content: center;
}

div#desktop-serv .button-wrapper .ry-btn {
	min-width: 240px;
}



div#desktop-serv-cta  .ry-content {
	max-width: 1280px;
}

div#desktop-serv-cta .ry-content .ry-flex {
	justify-content: space-between !important;
	
}


div#desktop-serv-cta .hp-service-block .link, div#desktop-serv-cta .hp-service-block .link a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 9;
	opacity: 0;
}


.hp-service-block.active .each-block .photo img {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

div#desktop-serv-cta .hp-service-block .each-block .group-details .icon img {
	width: 100px;
	max-height: 70px;
	min-height: 70px;
	object-fit: contain;
	margin: auto;
}

div.hp-service-block .group-details {
	/* clear: both; */
	/* padding-top: 0; */
	padding-bottom: 20px;
	/* text-transform: uppercase; */
}

div#desktop-serv-cta  .hp-service-block .each-block .group-details .title div {
	color: var(--color-secondary) !important;
	max-width: fit-content;
	margin: auto;
	font-size: 33px;
	text-transform: uppercase;
	margin-bottom: 15px;
}

div#desktop-serv-cta  .hp-service-block .each-block .group-details .ry-text p {
	text-align: center;
	line-height: 1.5;
	padding: 0 2em;
	color: #333;
	font-size: 20px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 8;
	line-clamp: 8;
	-webkit-box-orient: vertical;
}

div#desktop-serv-cta  .hp-service-block .each-block .group-details .button-svg {
	width: 30px;
	height: 30px;
	margin: auto;
	background: linear-gradient(to top, #648a9f, #ffffffcf);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
	display: none;
}

div#desktop-serv-cta  .hp-service-block .each-block .group-details .button-svg svg {
	width: 15px;
	height: 15px;
	fill: #0e496a;
}

div.hp-service-block.active .group-details:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 448px;
	transform: translate(-50%, 0);
	height: 103%;
	border-radius: 0;
	transition: .2s;
	opacity: 1;
	/* z-index: 300; */
	border: 1px solid rgb(255 255 255 / 45%);
	/* border-bottom-left-radius: 20px; */
	border-top: 0;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	z-index: 1;
	box-shadow: 0px 20px 15px #00000017;
	background: transparent;
}

div.hp-service-block.active .group-details {
	top: 320px;
	opacity: 1;
}

div#desktop-serv-cta  .hp-service-block {
	border-radius: 20px;
	height: 340px;
	overflow: hidden;
	cursor: pointer;
}

div.hp-service-block.active {
	border-bottom: none !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	overflow: visible !important;
	border: 1px solid rgb(255 255 255 / 45%);
	padding: 10px;
}

div#desktop-serv-cta .hp-service-block:not(:hover) .icon {
	display: none;
}

div.hp-service-block .group-details {
    position: absolute;
    padding: 2em 0 4em;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: #e3f0f0;
    /* height: 500px; */
    opacity: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    z-index: 300;
}


div#desktop-serv-cta .hp-service-block:hover .each-block .group-details .icon {
    display: none;
}

a#hp-serv-btn {
    margin-top: 2em;
}

div#desktop-serv-cta .hp-service-block img {
    border-radius: 10px;
    filter: brightness(0.45) grayscale(16%);
    height: 320px;
    object-fit: cover;
}

	.hp-service-block.active img {
    filter: none !important;
}


}

@media (max-width:1580px) {
	
    .hp-service-block.active .photo img {
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
	}


	div#desktop-serv-cta .hp-service-block .each-block .group-details .title div, .serv-title >div {font-size: 27px !important;line-height: 1.2;}

	div.hp-service-block.active .group-details {
		padding: 2em 1em 2em;
	}

	div.hp-service-block.active .group-details p {
		font-size: 18px !important;
	}

	div#desktop-serv-cta {
		gap: 2em;
	}

	div#desktop-serv-cta .hp-service-block {
		width: 30%;
	}
}


@media (max-width:500px) {
	
	.ry-services.style2 .ry-headline p {
		font-size: 18px !important;
		line-height: 1.5 !important;
	}
}

