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

@media (min-width:1200px) and (max-width:1600px) {
    .ry-services.style2 .ry-each .each-block .title >div {
		font-size: 28px !important;
		line-height: 1.4 !important;
	}
}


@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 {
	padding: 0 0 5em 0;
	background-color: transparent;
	margin-top: -14em;
}

.ry-services.style2:before {
	content: "";
	display: none;
}
.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;
}
.ry-services.style2 .section-headline h2 {
	font-size: 230%;
	text-transform: uppercase;
}
.ry-services.style2 .ry-content .content {
    max-width: 1400px;
    margin: auto;
}
.ry-services.style2 .ry-content {
	display: flex;
	justify-content: space-between;
}
.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 .block-count-7 .ry-each .each-block {
    border-radius: 50%;
    overflow: hidden;
}


.ry-services.style2 .ry-each .each-block:hover .photo:before {
   transform:scale(1);
}

.ry-services.style2 .ry-each .photo:before {
    content: '';
    background: url(https://www.royacdn.com/unsafe/smart/Site-9696c321-dad4-4da3-81a3-1b491ca7e69a/hp_assets/hover.png);
    width: 330px;
    height: 330px;
    position: absolute;
    top: 0px;
    left: -56px;
    /* right: 0; */
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
    max-width: 330px;
    transform: scale(0);
    transition: all ease 0.6s;
}

.ry-services.style2 .ry-each .photo img {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: contain;
  margin: auto;
  background: transparent;
  max-width: 100px;
  z-index: 300;
}


.ry-services.style2 .ry-each .title {
	position: static;
	transform: none;
	z-index: 3;
	transition: .4s;
}

.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;
	display: none;
}
.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: 300;
	opacity: 0;
	background: transparent;
}

.ry-services.style2 .ry-each .photo:after {
	content: "";
	height: 0;
	width: 100%;
	background: #1c6aa6;
	position: absolute;
	bottom: 0;
	transition: .4s;
	opacity: .7;
	border-radius:50%;
	display: none;
}
.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: 60px;
}
.ry-services.style2 .ry-btn {
	max-width: max-content;
	padding-left: 30px !important;
	padding-right: 30px !important;
	margin: 0 auto;
	display: none;
}


@media (min-width: 1081px) {
	/* COUNT 6 */
	.ry-services.style2 .block-count-6 {
		/*margin-top: 20%;*/
		margin-top: 15%;
	}
	.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;
		display: none;
	}

}

@media (max-width: 1080px) {
	.ry-services.style2 {
		padding: 4em 0;
	}

    
	.ry-services.style2 .each-block .photo:before {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 150px;
		z-index: 2;
		background: transparent;
	}
	.ry-services.style2 .each-block .photo img {
		position: static;
		
	}
	div#hp-serv-cta .ry-each {
		width: 47%;
	}
	
	.ry-services.style2 .each-block .title {
		position: static;
	}
	div#hp-serv-cta .title >div {
		font-size: 18px;
		line-height: 1.3;
	}
	
	div.hp-serv-title-block span {
		font-size: 18px !important;
		height: 40px !important;
		margin-bottom: 10px !important;
	}
	
	div#hp-serv-cta .photo:before {
		display: block !important;
		height: 100%;
		background: #000;
		top: 0 !important;
		left: 0 !important;
		bottom: 0 !important;
		right: 0 !important;
		opacity: 0.5;
	}

	div.hp-serv-title-block {
		z-index: 2;
		bottom: 36%;
	}
	
	.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 .ry-flex.block-count-0 {
    display: none !important;
}

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

.mobile-services .slick-track .each-block .photo img {
    max-width: 120px !important;
}

	.ry-services.style2 .each-block .button-svg {
		display: none;
	}
	.mobile-services .slick-track .each-block {
		margin-left: 0px;
	}
	.mobile-services .slick-list {
		margin-left: 0px;
	}
	.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: 8px;
		line-height: initial;
		display: flex;
		align-items: center;
		justify-content: center;
		background: var(--color-primary);
		width: 40px;
	}
	.mobile-services .slick-dots li:not(.slick-active) {
		opacity: .5;
	}
	.mobile-services .slick-dots button {
		width: 30px;
		height: 30px;
		text-indent: -9999999px;
		background: var(--color-secondary);
		border: unset;
		box-shadow: unset;
		border-radius: 50%;
	}
	.mobile-services .slick-arrow {
		display: none !important;
	}
}



div.ry-services.style2 .ry-flex.block-count-0 {
    flex-wrap: wrap;
    display: flex;
    flex: initial !important;
    justify-content: space-between !important;
    gap: 20px;
    margin: 4em 0 0;
}

.read-reviews-text {
    font-size: 16px;
}

.ry-services.style2 .ry-flex.block-count-0 .ry-each {
    width: 23%;
    max-width: 100% !important;
    flex: initial !important;
}

.r.ry-services.style2 .ry-each .photo {
  position: relative;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  margin: auto;
    margin-bottom: auto;
  float: none;
  clear: both;
  transition: allease 0.6s;
  background: #c5cbc3;
  border-radius: 100%;
  max-width: 250px;
  height: 250px;
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1.5em;
}

div#hp-locations .ry-each:hover .each-block .photo {
    background: linear-gradient(181deg, rgb(221 221 221 / 0%) 0%, rgb(79 32 181) 49%);
}

div#hp-locations .ry-each:hover img {
    opacity: 0.2;
}

.ry-services.style2 .ry-each {
    width: 19%;
    max-width: initial !important;
    flex: initial !important;
}

.ry-services.style2 .ry-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 0;
    margin-top: 1em;
}

.ry-services.style2 .ry-each .each-block:hover .photo {
    background: #9da99b;
}

.ry-services.style2 .ry-each .each-block:hover .photo img {
    =: opacity(0.3);
}

div#hp-locations {
    background: #fff;
	padding: 5em 0 8em;
}

.hp-serv-title-block {
    position: absolute;
    bottom: 25%;
    left: 5%;
}

.serv-price p {
    background: transparent;
    max-width: 150px;
    height: 60px;
    align-items: center;
    display: flex;
    justify-content: center;
    border-radius: 30px;
    border: 2px solid hsl(0deg 0% 100% / 49%);
    font-size: 25px;
    font-weight: 500 !important;
    color: #fff;
    margin: 1em auto 0;
}

div.hp-serv-title-block {
    font-size: 30px !important;
}

.ry-services.style2 .ry-each .each-block .title > div {
  font-size: 23px;
  text-transform: inherit;
  line-height: 1.2;
}

div#hp-serv-cta .ry-text p {
    color: #fff;
    max-width: 850px;
    margin: 0 auto 2em;
}

div#hp-serv-cta .section-heading h2, div#hp-serv-cta .section-heading h4 {
    color: #fff;
}

div#hp-serv-cta .bottom-serv-text p {
    color: #fff;
    max-width: 950px;
    font-size: 18px;
    line-height: 1.5;
    margin: 2em auto 0;
}

@media (max-width:700px) {
	
		div#hp-serv-cta .ry-each {
		width: 100%;
	}

	.ry-services.style2 .ry-flex.block-count-0 {
		gap: 3em 0 !important;
	}

	div.hp-serv-title-block {
		bottom:35% !important;
	}
}






/*HP LOCATIONS*/

div#hp-locations .ry-each {
    width: 23%;
}

.hp-location-title-block {
    position: absolute;
    bottom: 11%;
    left: 10%;
    z-index: 3;
}

.hp-location-title-block h4 {
    color: #fff;
    font-size: 27px;
    font-weight: 500;
}

.hp-location-title-block p, .hp-location-title-block span {
    color: #fff;
    opacity: 0.8;
    font-size: 17px;
    line-height: 1.5;
}

div#rev-stars {
    gap: 0 15px;
    justify-content: flex-start !important;
    align-items: center;
}


div#rev-stars img {
    max-width: 110px;
    opacity: 1 !important;
}

.read-reviews-text {
    color: #fff;
}

.hp-location-title-block.hover {
    opacity: 0;
    transition: all ease 0.6s;
    z-index: 3;
}


div#hp-locations .ry-each:hover .hp-location-title-block.hover {
    opacity: 1;
}

div#hp-locations .ry-each:hover .hp-location-title-block {
    opacity: 0;
    
}

.hp-location-title em {
    font-style: normal;
    margin: 10px 0 20px;
    display: block;
}

.hp-bottom-locations-text p {
    clear: both;
    margin: 2em auto 0;
    color: var(--color-primary);
    font-size: 18px;
    line-height: 1.5;
}

div#hp-locations .photo:before {
    background: linear-gradient(to bottom, hsl(0deg 0% 0% / 30%), hsl(0deg 0% 0% / 75%));
    border: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

div#hp-locations .ry-each:hover .each-block .photo:before {
    opacity: 0;
}

@media (max-width:1080px) {
	
	div#hp-locations .ry-flex.block-count-0 {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 2em !important;
	}
	
	.mobile-services {
		/* display: none !important; */
	}
	
	
	div#hp-locations .ry-each {
		width: 47%;
		max-width: 300px !important;
	}

	div#hp-locations div#rev-stars {
		flex-direction: row !important;
		margin-top: 1em;
		margin-bottom: 0 !important;
		gap: 0 10px !important;
	}

	div#hp-locations .ry-each .each-block .photo:before {
		display: block !important;
		background: #000;
		opacity: 0.6;
	}
	
	div.read-reviews-text, .hp-location-title-block p, .hp-location-title-block span {
		font-size: 15px !important;
	}

	.hp-location-title-block.hover h4 {
		font-size: 23px;
	}
	
	div.hp-location-title-block.hover {
		opacity: 1 !important;
		display: block !important;
		left: 0;
   		 padding: 0 1em;
	}
	
	.hp-location-title-block p, .hp-location-title-block span {
		text-align: left !important;
	}

	.hp-location-title-block {
		display: none !important;
	}

	div#hp-locations {
		padding: 4em 0 !important;
	}
}

@media (max-width:700px) {
	div#hp-locations .ry-flex.block-count-0 {
		flex-direction: column;
	}

	div#hp-locations .ry-each {
		width: 100% !important;
		margin: auto;
	}

	.ry-services.style2 .ry-each .title div {
		font-size: 18px;
		color: #fff;
		text-transform: uppercase;
		line-height: 1.3;
		font-weight: 400 !important;
	}
}



/*END HP LOCATIONS*/


