.mobile-services .slick-track .each-block:hover .photo:before {
    opacity: 1;
}

.ry-services.style2 button.slide-arrow.next-arrow.slick-arrow,
.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow {
    display: none !important;
}

.center .slide:focus-visible {
    outline: transparent !important;
}

.mobile-services button {
		display: none !important;
}

div#heading-btn-block button {
    display: none;
}
.slick-slide a:focus,
.slick-slide button:focus {
  outline: none;
}

.ry-services.style2 .photo:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all ease 0.6s;
    opacity: 1;
    border-radius: 40px;
    z-index: 1;
}

.serv-image-wrap:before {
    content: ' ';
    background: linear-gradient(45deg, rgb(0 0 0 / 55%), transparent);
    position: absolute;
    bottom: 0;
    top: 0;
    z-index: 1;
    display: block;
    left: 0;
    right: 0;
    border-radius: 300px;
}

.center .slide:hover .serv-image-wrap:before {
    background: linear-gradient(4deg, rgb(0 0 0 / 79%), rgb(0 0 0 / 40%));
}



.ry-services.style2 .section-heading h4, .ry-services.style2 .section-heading h2 {
    text-align: center;
    line-height: 1.4;
}

.desktop-services {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}



.desktop-services .each-block .photo img {
    object-fit: cover;
}


.ry-services.style2 .button-svg {
    display: none;
}


.ry-services.style1 .ry-flex {
	flex-wrap: wrap;
}
.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%;
	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 #5b7b99;
	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 #5b7b99;
}
.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 #5b7b99, inset 0 -400px 0 0 #5b7b99;
	opacity: .7;
}
.ry-services.style1 .ry-flex .ry-each:hover .button-svg {
	opacity: 1;
	transition: .2s;
}

@media (min-width:1200px) and (max-width:1600px) {
	.center .slide:hover .service-title p,
   .center .slide .service-title p{
    font-size: 30px !important;
  }

   .center .slide:hover .service-title:before {
    width: 50px;
    height: 50px;
    bottom: -2em;
  }

}


@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  * {
    flex: unset !important;
}
.ry-services.style2 .background-section, 
.ry-services.style2 .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}


.module-66 .bnr-textbox p {
    font-size: clamp(1.3rem, 1.314rem + 0.273vw, 1.5rem);
    line-height: 1.3;
}

.ry-services.style2 .ry-content .content {
    margin-top: 0;
}

.ry-services.style2 {
    padding: 15em 0 20em;
    position: relative;
    background: url(https://www.royacdn.com/unsafe/smart/Site-9b4afb72-76c4-488c-96e5-44b21dba1ac4/homeapage_assets/services_bg.png);
    background-size: cover;
    background-position: top center;
}

.ry-services.style2 .ry-container {
    max-width: 100%;
    width: 100%;
}

.ry-services.style2 .section-headline {
	margin-bottom: 80px;
}
.ry-services.style2 .section-headline .span-1 {
	font-size: 20px;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 5px;
	display: block;
}
.ry-services.style2 .section-headline h2 {
	font-size: 230%;
	text-transform: uppercase;
}

.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);
	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; */
}
.ry-services.style2 .ry-each .each-block {
	position: relative;
	padding-bottom: 100%;
}
.ry-services.style2 .ry-each .photo:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 150px;
	z-index: 2;
	background: transparent;
	display: n;
}
.ry-services.style2 .ry-each .photo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ry-services.style2 .ry-each .title {
	position: absolute;
	bottom: 25px;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 3;
	transition: .4s;
}
.ry-services.style2 .ry-each .title div {
	font-size: 20px;
	color: #fff;
}
.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%;
	position: absolute;
	bottom: 0;
	transition: .4s;
	opacity: .7;
}
.ry-services.style2 .ry-each .each-block:hover .photo:after {
	height: 100%;
}

.ry-services.style2 .ry-each .each-block:hover .title {
	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: 1.5em;
	
}
.ry-services.style2 .ry-btn {
	max-width: max-content;
	padding-left: 60px !important;
	padding-right: 60px !important;
	margin: 3em auto 0;
	color: #ffffff;
}

.ry-services.style2 .section-heading {
    margin-bottom: 1em;
}

.ry-services.style2 .ry-each .each-block {
    /* overflow: hidden; */
}

.ry-services.style2 .ry-each .photo:before {
    height: 100%;
   
}
.ry-services.style2 .ry-each .each-block:hover .photo:before {
    opacity: 0;
    transition: .3s;
}


@media (min-width:1200px) and (max-width:1500px) {
    div.ry-services.style2 button {
		width: 60px;
		height: 60px;
	}

	.ry-services.style2 .section-heading h4 {
    font-size: 20px !important;
}

	div.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow:before,
	div.ry-services.style2 button.slide-arrow.next-arrow.slick-arrow:before {
        width: 20px;
        height: 20px;
    }
	
	.hover-services-info-disc ul li p {
		font-size: 23px;
	}

	.hover-services-info-disc ul li a {
		margin-bottom: 15px;
		padding-top: 15px;
	}

	.hover-services-info-disc ul li a::after {
		width: 18px;
		height: 18px;
	}

	.desktop-services .each-block:hover .hover-services-info {
		border-radius: 70px;
	}

}
 
@media (max-width: 1440px) {
	
    div.mobile-services .slick-track .each-block img#hover-services-info-icon {
        max-width: 80px !important;
        height: 80px !important;
    }

    div.mobile-services .slick-track .each-block img#hover-services-info-icon, div.mobile-services .slick-slide .serv-icon-title-not-default img {
        max-width: 80px !important;
    }

    .hover-services-info {
    }

    .hover-services-info p {
        -webkit-line-clamp: 3;
        overflow: hidden;
        font-size: 17px;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-box-orient: vertical;
    }

	.desktop-services .each-block .ry-icon {
    width: 40px !important;
    height: 40px !important;
}

	.desktop-services .each-block .ry-icon svg {
		width: 23px !important;
		height: 23px !important;
	}

	.hover-services-info h4, .ry-services.style2 .serv-icon-title-not-default .title >div {
		font-size:30px !important;
	}


    .mobile-services .slick-track .each-block .hover-services-info img {
        max-width: 80px !important;
        height: 80px !important;
    }
}


@media (min-width: 1081px) {
	
	/* COUNT 6 */
	.ry-services.style2 .block-count-6 {
		margin-top: 20%;
	}
	.ry-services.style2 .block-count-6 .ry-each:nth-child(2) {
		/* margin-top: -33.33%; */
	}

	.ry-services.style2 .ry-content {margin-bottom: 0;}
	.ry-services.style2 .block-count-6 ~ .button-wrapper {
		position: relative;
		top: -17%;
	}
	/* 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-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;
	}
	
    div#serv-link {
		display: none !important;
	}
}


@media (max-width: 1199px) {

	.hover-services-info {
		border-radius: 40px !important;
	}

	.ry-services.style2 .each-block:hover .title {
		opacity: 1 !important;
		z-index: 300 !important;
	}

	.ry-services.style2 .serv-icon-title-not-default {
		z-index: 200 !important;
	}
	.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);
	}

		div.ry-services.style2 {
		padding: 8em 0 5em !important;
	}

	.ry-services.style2 .button-wrapper {
		padding-top:3em !important;
	}

		.ry-services.style2 .serv-icon-title-not-default {
		margin: auto;
		max-width: 100% !important;
		right: 0 !important;
	}

	.ry-services.style2 .serv-icon-title-not-default .title {
		width: 100% !important;
	}

	.ry-services.style2 .each-block .title div {
		font-size: 25px !important;
		line-height: 1.3 !important;
	}
	.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;
	}

	.hover-services-info-disc {
		display: none !important;
	}

	div.ry-services.style2 .serv-icon-title-not-default .title >div {
		text-align: center !important;
	}

	.desktop-services .each-block .ry-icon {
		display: none !important;
	}
}



@media (min-width: 1081px) {
	.mobile-services {
		margin-top: 0;
	}
	
	div#heading-btn-block {
		flex-direction: column;
		gap: 3em 0;
	}
}



@media (max-width:1080px) {
    div.desktop-services {
		display: flex !important;
		max-width: 700px;
		margin: 2em auto;
	}

    .mobile-services {
        display:block !important;
        
    }
	
	.ry-services.style2 {
		padding: 3em 0;
	}

	.mobile-services .slick-track .each-block:hover .hover-services-info {
		opacity: 0 !important;
	}

	.ry-services.style2:before {
		width: 100%;
		background: #e3edee;
		border-radius: 0 !important;
	}
	.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow, .ry-services.style2 button.slide-arrow.next-arrow.slick-arrow {
		display: none !important;
	}

	.ry-services.style2 .section-heading h4 {
		text-align: center !important;
	}
		.ry-services.style2 .section-heading h4 {
		text-align: center !important;
	}

		.mobile-services .slick-slide .serv-icon-title-not-default img {
		max-width: 80px !important;
		margin-bottom: 0 !important;
	}

	.ry-services.style2 .serv-icon-title-not-default .title {
		height: auto !important;
	}

	.ry-services.style2 .serv-icon-title-not-default {flex-direction: column;}

	.mobile-services .slick-slide .serv-icon-title-not-default img {
		max-width: 80px !important;
		margin-bottom: 0 !important;
	}



	.ry-services.style2 .serv-icon-title-not-default .title {
		height: auto !important;
	}

	.ry-services.style2 .each-block .title div {
			text-align:center !important;
		}


	.ry-services.style2:before {
		width: 100%;
		background: #e3edee;
		border-radius: 0 !important;
	}

	.ry-services.style2 .button-wrapper {
		padding-top: 2em !important;
	}

	.ry-services.style2 .ry-btn {
	    margin: auto !important;
	}
	
	div#heading-btn-block {
		justify-content: center;
		flex-direction: column;
	}
	
	.ry-services.style2 .each-block .photo {
		position: relative;
		padding-bottom: 0;
	}
	
	.ry-services.style2 .each-block .photo img {
		position: static;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		filter: none;
	}
	
	
	.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: 9999;
		
	}
	.ry-services.style2 .each-block .button-svg {
		display: none;
	}
	.mobile-services .slick-track .each-block {
		margin-left: 0;
	}
	.mobile-services .slick-list {
		/* margin-left: -25px; */
	}
	div.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: 15px;
		line-height: initial;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 15px;
		background: var(--color-secondary);
		border-radius: 100%;
	}
	.mobile-services .slick-dots li:not(.slick-active) {
		opacity: .5;
	}
	.mobile-services .slick-dots button {
		width: 12px;
		height: 12px;
		text-indent: -9999999px;
		background: var(--color-secondary);
		border: unset;
		box-shadow: unset;
		border-radius: 50%;
		display: flex !important;
	}
	.mobile-services {
	  margin-top: 1.5em;
	}

	.ry-services.style2 .ry-container {
		width: 90%;
	}

}


@media (max-width: 992px) {
	
	.ry-services.style1 .ry-flex{
		flex-direction:column;
	}
	
	.ry-services.style1 .ry-flex .ry-each-col{
		width: 100%;
	}
	
	.ry-services.style1 .ry-flex .ry-each-col.ry-each-col-2{
		display:flex;width:100%;
	}
	
	.ry-services.style1 .ry-flex .ry-each-col.ry-each-col-2 > .ry-each .photo {
		padding: unset;
		padding-bottom: 56.25%;
	}
	
	.ry-services.style1 .ry-flex .ry-each-col.ry-each-col-2 .title {top: 0;left: 15%;
	}
}



@media (max-width:768px) {
   .mobile-services {
		max-width: 450px;
		margin: 1em auto 0;
	} 
	
	.ry-hero-cta-link .hp-loc-cta-wrap {
		width: 45% !important;
		max-width: 230px;
		height: 230px;
	}

}


@media (max-width:767px) {
	.desktop-services .each-block {
		width:100% !important;
		max-width:250px;
	}

	.ry-services.style2 .each-block .title div {
		font-size: 22px !important;
	}
}





@media (max-width:500px) {
	div.serv-inner-image-block {
    max-width: 250px;
    margin: auto;
    float: none;
}
}
