body, body p, body div{font-family: Satoshi !important;font-weight: 400 !important; color:#333;}


@media only screen and (max-width: 768px){
	.swiper-slide {width: 100% !important;}
	.testimonials-wrapper .testimonials-block .carousel-control {display: none;}
	.carousel-control.left, .carousel-control.right {background-image: unset; background-image: unset;background-repeat: unset;}
	.carousel-control, .carousel-control:hover, .carousel-control:focus {color: #ffffff;}}
#services-box a{ margin:0 auto;}
#articles .ry-btn-primary, 
#articles .ry-btn-primary:after {color: #ffffff;}
#articles .ry-btn-primary:hover, 
#articles .ry-btn-primary:hover:after {color: #ffffff;}

.ry-btn:after {display:none;}
.btn, .ry-btn, .ry-btn-primary, .ry-btn-secondary {font-family: 'Satoshi';z-index:99;}
.ry-btn-primary:hover {background: #2b8593 !important;color: #ffffff !important;}
.ry-btn.ry-btn-secondary{color: #ffffff !important;background: #2b8593 !important;}
.ry-btn.ry-btn-secondary:hover {background: #192b3b !important;color: #ffffff !important;box-shadow: unset !important;}
/*.cmsForm .has-error {border: 1px solid #ff0069;}*/
.btn,.ry-btn,.ry-btn-primary {border-radius: 30px !important; font-size: 18px !important}

.ry-anchor-hidden { display: block; position: relative; top: -200px; visibility: hidden;}
.full-link, .full-link a { position: absolute; inset: 0; color: transparent;}
.full-link:hover a { color: transparent; }

.site-content {
    margin-top: -2px;
}

div#ry-slider:before {
    opacity: 1;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
}

#ry-pg-body .ry-left a:not(a.ry-btn) {
    color: var(--color-secondary) !important;
}
div#hp-locations button {
    display: none !important;
}

body.home.fixed-header {
    margin-top: -1px;
    background: #f7f9f9;
}

a#btn-white, a#white-btn {
    background: transparent;
    color: var(--color-primary) !important;
    border: 1px solid #00a3e0;
}

a#btn-white:hover {
    color: #fff !important;
}


video#herovideo {
    object-fit: cover;
    height: 100vh;
    width: 100vw;
}

.map {
	height: 500px;
}

html {
  scroll-behavior: smooth;
}

a#white-btn:hover {
    color: #fff !important;
}


.page-anchor {
    display: block;
    position: relative;
    top: -400px;
    visibility: hidden;
}

body.home div#top-brands {
    display: none !important;
}

.module-326 a.ry-btn.ry-btn-primary {
    margin: auto;
}

.link a {
	  position: absolute;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  color:transparent !important;
	  outline: none;
}

@font-face {
  font-family: 'Satoshi';
  src: url('https://s3.amazonaws.com/static.organiclead.com/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/fonts/Satoshi_Light.woff') format('woff');      
       font-weight: 300;
       font-display: swap;
       font-style: normal;
}


@font-face {
  font-family: 'Satoshi';
  src: url('https://s3.amazonaws.com/static.organiclead.com/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/fonts/Satoshi_Regular.woff') format('woff');
       font-weight: 400;
       font-display: swap;
       font-style: normal;
}


@font-face {
  font-family: 'Satoshi';
  src: url('https://s3.amazonaws.com/static.organiclead.com/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/fonts/Satoshi_Medium.woff') format('woff');
       font-weight: 500;
       font-display: swap;
       font-style: normal;
}

.ry-btn {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 45px !important;
    padding-right: 45px !important;
    max-width: max-content;
    color: #ffffff !important;
    background: var(--color-secondary);
    font-size: 18px !important;
    border-radius: 30px !important;
    text-transform: uppercase;
}

/*SOCIAL DROPDOWN*/


.social-media .social-lists {
	list-style: none;
	padding: 0px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-media .social-lists>li {
	padding-bottom: 6px;
	position: relative;
	top: 4px;
}

.social-media .social-lists>li>a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 100%;
	color: #FFFFFF;
	background: #666;
}

.social-media .social-lists>li>a:hover {
	background: var(--color-secondary););
}

.social-media .social-lists li a.fa:before {
	display: none;
}

.social-media .social-lists>li>a svg {
	fill: #fff;
	width: 18px;
	height: 18px;
}

.social-media .social-lists .main-dropdown ul {
	list-style: none;
	position: absolute;
	z-index: 999999;
	background: var(--color-secondary);
	border-radius: 12px;
	width: 200px;
	padding: 9px 0;
	top: 58px;
	left: -12px;
	box-shadow: 1px 1px 5px rgb(51 51 51 / 39%);
}

.social-media .social-lists .main-dropdown .under-dropdown {
	display: none;
}

.social-media .social-lists .main-dropdown .under-dropdown.hover {
	display: block;
}

.social-media .social-lists .main-dropdown .under-dropdown.hover {
	display: block;
}

.social-media .social-lists .main-dropdown ul:before {
	content: "";
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid rgb(255 255 255 / 90%);
	position: absolute;
	top: -8px;
	z-index: 999999;
	left: 32px;
	display: inline-block;
}

.social-media .social-lists .main-dropdown ul li {
	width: 160px;
	margin: auto;
	line-height: 0;
}

.social-media .social-lists .main-dropdown ul li a {
	font-size: 14px;
	font-weight: 500 !important;
	letter-spacing: 0;
	text-transform: initial;
	line-height: 140%;
	width: 100%;
	display: block;
	padding: 4px 0px 8px;
	margin-bottom: 4px;
	border-bottom: 1px solid #e0e0e0;
	transition: all .3s ease;
	text-decoration: none !important;
}

.social-media .social-lists .main-dropdown ul li:hover a {
	color: hsl(0deg 0% 100% / 54.9%);
	transition: all .3s ease;
}

.social-media .social-lists .main-dropdown ul li:last-child a {
	margin-bottom: 0;
	border-bottom: none;
	padding: 4px 0px;
}



/*END SOCIAL DROPDOWN*/






/*END CUTTING EDGE TECHNOLOGY SECTION*/


div.teleoptometry {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/cutting_edge_bg.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 6em 0;
}

div.teleoptometry .ry-content {
    align-items: flex-end;
}

div.teleoptometry div#with-text {
    max-width: 600px;
    position: relative;
    left: 12%;
    top: -9em;
}

div.teleoptometry div#with-text a#btn-white {
    margin: 2em 0 0;
}

div.teleoptometry .ry-content .ry-flex {
    max-width: 1000px;
    margin: 6em auto 0;
    float: none;
    display: flex;
    justify-content: center;
    gap: 0 4em;
}

div.teleoptometry h4 {
    text-transform: uppercase;
    line-height: 1.3;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 24px;
   margin-top: 20px;
}

img#tech-icon-image {
    max-width: 140px;
    position: absolute;
    top: -9em;
    filter: drop-shadow(rgba(0, 0, 0, 0.47) 0px 0px 20px);
}

div#tech1 .tech-hover {
    background: #d3ebf5;
    border: 7px solid #fff;
    padding: 4em 3em 3em;
    width: 530px;
    position: absolute;
    transition: all ease 0.6s;
    bottom: -15%;
    left: -70%;
    border-radius: 130px;
    border-top-right-radius: 0;
    filter: drop-shadow(rgba(0, 0, 0, 0.47) 0px 0px 20px);
    opacity: 0;
}


div#tech-2 .tech-hover {
    filter: drop-shadow(rgba(0, 0, 0, 0.47) 0px 0px 20px);
    transition: all ease 0.6s;
    border-top-right-radius: 0;
    border-radius: 130px;
    background: #d3ebf5;
    border: 7px solid #fff;
    padding: 4em 3em 3em;
    width: 530px;
    opacity: 0;
    position: absolute;
    left: initial;
    right: -80%;
    bottom: initial;
    top: 36%;
    border-radius: 130px;
    background: #d3ebf5;
    border: 7px solid #fff;
    border-top-left-radius: 0;
}

div.teleoptometry .ry-each:hover .tech-hover {
    opacity: 1 !important;
}

div#tech1:hover .tech-hover, div#tech2:hover .tech-hover {
    opacity: 1;
}

div.teleoptometry .ry-content .ry-flex .ry-each {
    cursor: pointer;
    z-index: 300;
}

div#tech-2 {
    z-index: 1;
}

div#tech-2 .section-heading {
    margin-top: 2em;
    margin-bottom: 0;
}

@media (min-width:1301px) and (max-width:1700px) {
    div.teleoptometry .ry-content .ry-flex {
	  transform: scale(0.9);
	  max-width: 850px;
	  margin: 0 auto;
	}
}


@media (min-width:1081px) and (max-width:1300px) {
    div.teleoptometry .ry-content .ry-flex {
	  transform: scale(0.8);
	  max-width: 900px;
	  margin: 0 auto !important;
	}
	
	.mobile-services button {
		display: none !important;
	}
}

@media (min-width:1081px) and (max-width:1700px) {
    div#tech1:hover .tech-hover, div#tech-2 .tech-hover {
		padding: 3em !important;
	}


	img#tech-icon-image {
		top: -6.8em;
		max-width: 110px;
	}
	
	div.teleoptometry {
		padding-bottom: 0;
	}
}

@media (max-width:1080px) {
	div.teleoptometry .ry-content .ry-flex {
		flex-direction: column;
		gap: 2em 0 !important;
		margin: 3em auto 0 !important;
	}

	div.teleoptometry .ry-content .ry-flex .ry-each img {
		max-width: 150px;
		margin: auto;
	}

	div#tech1 .tech-hover, div#tech-2 .tech-hover {
		opacity: 1 !important;
		position: static !important;
		width: 100% !important;
		border-radius: 0 !important;
		padding: 2em 1em !important;
		margin-top: 1em;
		border: 4px solid #fff;
		filter: none;
		box-shadow: 1px 1px 5px rgb(0 0 0 / 17%);
	}


	div.inner-tech-hover h4, div.inner-tech-hover p {
		text-align: center !important;
	}

	img#tech-icon-image {
		position: static;
		margin: 0 auto 1em;
		max-width: 80px;
	}


	div#tech-2 {
		display: flex;
			flex-direction: column-reverse;
		}
}

/*END CUTTING EDGE TECHNOLOGY SECTION*/




/*FEATURED SERVICES*/

.mobile-services .slick-track .each-block:hover .photo:hover {
	  background: transparent;
}

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

.mobile-services .slick-track .each-block .photo img {
   max-width: 100%  !important; 
} 
.ry-services.style2 .serv-icon-title-not-default .title {
    height: 100px;
}

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

.mobile-services .slick-track .each-block:hover img {
  /* filter: none; */
  /* z-index: 9999; */
}

.ry-services.style2 * .link a, .ry-services.style2 .link {
	  z-index: 9999;
}

.mobile-services .slick-track .each-block:hover a.serv-learn-more-btn {
  color: #fff !important;
  font-weight: 300;
}


.ry-services.style2 .serv-icon-title-not-default {
    position: absolute;
    clear: both;
    left: 13%;
    bottom: 5%;
    z-index: 1;
}

	.ry-services.style2 * .title >div, .hover-services-info h4 {
	  color: #fff;
	  font-size: 30px !important;
	  font-weight: 400 !important;
	  =:
	  left !important;
	  line-height: 1.2;
	  pointer-events: none;
	  text-align: left !important;
	  text-transform: uppercase;
	  font-family: var(--font-title) !important;
	}

	.mobile-services .slick-track .each-block {
	  /* margin-left: 60px; */
	  border-radius: 0;
	  outline: 0 !important;
	  outline-offset: 0 !important;
	}
	

	  .ry-services.style2 * .photo {
	  border-radius: 40px;
	  cursor: pointer;
	}

	.ry-services.style2 * .slick-slide img {
	  border-radius: 40px;
	}


	.ry-services.style2  button.slide-arrow.next-arrow.slick-arrow {
		right: 54% !important;
		left: initial !important;
	}

	.ry-services.style2  button.slide-arrow.prev-arrow.slick-arrow {
		left: 0;
	}

	

		.ry-services.style2 button {
		background: #b1d3d1;
		width: 80px;
		height: 80px;
		border-radius: 100%;
		color: #fff;
		border: none;
		position: absolute;
		right: initial;
		left: 0;
		/* top: 0; */
		bottom: -5em;
	}

	.ry-services.style2  button.slide-arrow.next-arrow.slick-arrow:before {
	  content: '';
	  font-family: 'FontAwesome';
	  height: 30px;
	  width: 30px;
	  position: absolute;
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3C!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--%3E%3Cpath fill='rgb(86, 121, 155)' d='M41.4 297.4C28.9 309.9 28.9 330.2 41.4 342.7L169.4 470.7C181.9 483.2 202.2 483.2 214.7 470.7C227.2 458.2 227.2 437.9 214.7 425.4L141.3 352L576 352C593.7 352 608 337.7 608 320C608 302.3 593.7 288 576 288L141.3 288L214.7 214.6C227.2 202.1 227.2 181.8 214.7 169.3C202.2 156.8 181.9 156.8 169.4 169.3L41.4 297.3z'/%3E%3C/svg%3E");
	  right: 0;
	  margin: auto;
	  top: 0;
	  bottom: 0;
	  background-size: contain;
	  background-repeat: no-repeat;
	  left: 0;
	  transform: rotate(180deg);
	}

	.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow:before {
	  content: '';
	  font-family: 'FontAwesome';
	  background: transparent;
	  height: 30px;
	  width: 30px;
	  position: absolute;  
	  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3C!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--%3E%3Cpath fill='rgb(86, 121, 155)' d='M41.4 297.4C28.9 309.9 28.9 330.2 41.4 342.7L169.4 470.7C181.9 483.2 202.2 483.2 214.7 470.7C227.2 458.2 227.2 437.9 214.7 425.4L141.3 352L576 352C593.7 352 608 337.7 608 320C608 302.3 593.7 288 576 288L141.3 288L214.7 214.6C227.2 202.1 227.2 181.8 214.7 169.3C202.2 156.8 181.9 156.8 169.4 169.3L41.4 297.3z'/%3E%3C/svg%3E");
	  left: 0;
	  right: 0;
	  margin: auto;
	  top: 0;
	  bottom: 0;
	  background-size: contain;
	  background-repeat: no-repeat;
	}

.ry-services.style2 .slick-track {
    gap: 0 1.5em;
    display: flex;
    justify-content: space-between;
}

.ry-services.style2 .slick-list {
    /* overflow: visible; */
}


.hover-services-info {
    opacity: 0;
    background: #323f48;
    height: 100%;
    border-radius: 40px;
    transition: all ease 0.3s;
    position: absolute;
    padding: 0 3em;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

img#hover-services-info-icon {
    max-width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1em;
}

.hover-services-info p, .hover-services-info h4 {
    color: #fff;
    line-height: 1.4;
}

.hover-services-info h4 {margin-bottom: 0.5em;line-height: 1.2;}

.hover-services-info p {
    font-weight: 300 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

a.hp-serv-link {
    color: #00a3e0;
    text-transform: uppercase;
    margin-top: 2em;
    display: block;
    position:relative;
}


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


a.hp-serv-link:after {
    content: '';
    font-family: 'FontAwesome';
    margin-left: 10px;
    width:15px;
    height:15px;
    position:absolute;
    top:2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3C!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--%3E%3Cpath fill='rgb(0, 163, 224)' d='M566.6 342.6C579.1 330.1 579.1 309.8 566.6 297.3L406.6 137.3C394.1 124.8 373.8 124.8 361.3 137.3C348.8 149.8 348.8 170.1 361.3 182.6L466.7 288L96 288C78.3 288 64 302.3 64 320C64 337.7 78.3 352 96 352L466.7 352L361.3 457.4C348.8 469.9 348.8 490.2 361.3 502.7C373.8 515.2 394.1 515.2 406.6 502.7L566.6 342.7z'/%3E%3C/svg%3E");
}


/*END FEATURED SERVICES*/






/* ICONS SIDEBAR */
  

.icon-bar .dropdown {
    border-bottom: 1px solid #fff;
}

.icon-bar .dropdown.locations-dropdown button svg {
    width: 19px;
    height: 25px;
}

ul.dropdown-menu.sidebar a:hover {
    background-color: transparent;
}

.icon-bar .dropdown:last-child {
    border-bottom: 0;
}

.icon-bar .dropdown:hover .dropdown-menu {
    background: var(--color-secondary);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    padding: 0;
    left: 70px;
    top: -4px;
    border: 1px solid #fff;
    border-left: 0;
    border-bottom-left-radius: 20px;
    display: block;
    opacity: 1;
}

.icon-bar .open>.dropdown-menu, .icon-bar .dropdown:hover .dropdown-menu {
	 background: var(--color-secondary);
	 padding: 0;
	 left: 61px;
	 top: -2px;
	 border: 1px solid #fff;
	 border-left: 0;
	 border-radius: 20px;
	 border-top-left-radius: 0;
	 border-bottom-left-radius: 0;
}

.icon-bar {
 overflow: visible;
 background: var(--color-secondary);
}

.icon-bar .dropdown.locations-dropdown button {
	 border-bottom-right-radius: 16px !important;
	 border-top-right-radius: 16px !important;
	 padding: 15px 20px !important;
}

.icon-bar .open>.dropdown-menu li a, .icon-bar .dropdown:hover .dropdown-menu li a{
	 font-size: 15px;
	 padding: 10px 20px;
}

.icon-bar .open>.dropdown-menu li a:hover, .icon-bar .dropdown:hover .dropdown-menu li a:hover {
	background: #000;
}

 .icon-bar .dropdown-menu {
	 transition: all ease 0.6s;
}

.patient-portal-btn svg {
    width: 25px;
    height: 25px;
}

.patient-portal-btn:hover svg, .icon-bar .dropdown:hover button.dropdown-toggle svg {
    filter: brightness(0) invert(0.6);
}

.icon-bar .open>.dropdown-menu li:first-child a, .icon-bar .dropdown:hover .dropdown-menu li:first-child a {
    border-top-right-radius: 20px;
}


/* END ICONS SIDEBAR */



/*HOMEPAGE STAFF */


div.hp-staff-section:before {
    background: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/team_bg.png);
    position: absolute;
    content: '';
    height: 80%;
    width: 100%;
    top: 0;
    background-size: cover;
    background-position: center;
    max-width: 1600px;
    margin: auto;
    float: none;
    right: 0;
    left: 0;
    border-top-left-radius: 220px;
    border-top-right-radius: 220px;
}

.hp-staff-section {
    padding: 7em 0 8em;
}

.hp-staff-slider {
    margin: 1em auto 0;
    max-width: 1400px;
    float: none;
}

.staff-name h4 {
    font-size: 20px;
    color: #2f2f2f;
    font-weight: 500;
    font-family: var(--font-default);
}

.hp-staff-section .slick-slide img {
    margin: 0 auto 1.5em;
	    max-width: 250px;
}

.staff-name p {
    text-transform: uppercase;
    font-size: 15px;
    opacity: 0;
}

.hp-staff-section button {
    border: none;
    font-size: 0;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: var(--color-secondary);
    opacity: 0.3;
}

.hp-staff-section ul.slick-dots {
    text-align: center;
    margin-top: 2em;
	padding-left: 0;
}

.hp-staff-section ul.slick-dots li {
    list-style: none;
	    display: inline;
    padding: 5px;
}


.hp-staff-section li.slick-active button {
    opacity: 1;
}

.hp-staff-section  a.ry-btn.ry-btn-primary {
    margin: 1em auto 0;
}


div.team-photo {
    position: relative;
    margin: auto;
    float: none;
}

div.team-photo:before {
    content: '';
    background: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/hover_shape.png);
    width: 290px;
    height: 290px;
    position: absolute;
    top: 0px;
    left: 0;
    right: -10px;
    bottom: 0;
    background-size: contain;
    background-repeat: no-repeat;
    margin: auto;
    max-width: 300px;
    transform: scale(0);
    transition: all ease 0.6s;
}

.hp-staff-slider .slick-slide:hover div.team-photo:before {
     transform: scale(1);
}

@media (min-width:1200px) {
	
    .hp-staff-slider .slick-track {
		flex-wrap: wrap;
		display: flex !important;
		justify-content: center;
		gap: 4em 0;
		margin-top: 2em;
	}

	.hp-staff-section ul.slick-dots {
		text-align: center;
		margin-top: 0 !important;
	}

		.hp-staff-section button {
		display: none;
	}

	.hp-staff-slider .slick-slide {
		width: 25% !important;
	}
}
@media (max-width:1199px) {
    .hp-staff-section ul.slick-dots {
		display: flex !important;
		justify-content: center;
		gap: 0 10px;
		padding: 0 !important;
	}

    .hp-staff-section {
        padding: 4em 0 !important;
    }
	
	div.hp-staff-section:before {
		border-radius: 0 !important;
	}
	
}



/* END HOMEPAGE STAFF*/





/*HOMEPAGE UPDATES*/

.section-heading h2 {
    color: var(--color-primary);
    font-size: 65px;
    letter-spacing: -2px;
    line-height: 74px;
    text-transform: uppercase;
    font-weight: 300;
    font-family: var(--font-title);
}


img#welcome-image {
    padding-top: 5em;
    z-index: 300;
}


div.hp-welcome-section {
    padding: 7em 0;
}

div.hp-welcome-section a#white-btn {
    margin: 2em auto 0 !important;
}

.hp-welcome-section:before {
    content: '';
    background: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/welcome_bg.jpg);
    position:absolute;
    top: -20%;
    width:100%;
    height:100%;
    background-size:cover;
    left: 0;
    right: 0;
    z-index: -1;
}

div.hp-welcome-section .section-heading {
    max-width: 950px;
    margin: 0 auto 1em;
}

div.hp-welcome-section .ry-text {
    max-width:950px;
    margin: auto;
}

a#welcome-btn {
    margin: 3em auto 0;
}

.section-heading span {
    display: block;
}

.section-heading h4, .section-heading span.span-1, div.hp-welcome-section span {
    margin-bottom: 15px;
    font-size: clamp(1.3rem, 1.314rem + 0.273vw, 1.5rem);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #00a3e0;
    font-weight: 500;
    font-family: var(--font-title);
    text-align: center;
	line-height: 1.4;
}

.section-heading {
    margin-bottom: 2em;
}


a#banner-btn {
    margin: 1em auto 0;
    border: none;
    transition: all ease 0.6s;
    color: #fff !important;
}


a#banner-btn:hover {
    border-radius: 30px !important;
    color: #fff !important;
}

.banner-text h2 {
    color: #fff !important;
    font-size: clamp(2.5rem, 2.091rem + 1.818vw, 5rem);
    font-family: var(--font-title) !important;
}


.module-15 .right .__subs.phone a:hover, .module-15 .right .__subs.appointment a:hover {
    background: linear-gradient(to right, var(--color-primary), #7294b4) !important;
    border-radius: 30px !important;
    color: #fff !important;
}

a.ry-btn.ry-btn-primary, button.ry-btn.ry-btn-primary.dropdown-toggle, .dropdown.locations-dropdown button {
    margin: 0;
    padding: 10px 2rem;
    border: none;
    transition: allease 0.6s;
    background: var(--color-secondary);
}

.app-btn:before {
    content:'';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-calendar' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z'/%3E%3C/svg%3E");
    background-size: contain;
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    margin-right: 7px;
    background-repeat: no-repeat;
    position: relative;
    top: 1px;
}



a#btn-white:hover {
    color: #fff !important;
}

a.ry-btn.ry-btn-primary:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
}

.banner-text h4 {
    margin-bottom: 15px;
    font-size: clamp(1.375rem, 1.314rem + 0.273vw, 1.75rem);
    letter-spacing: 15px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 300;
    font-family: "Figtree";
    text-align: center;
}




/*END HOMEPAGE UPDATES*/



/* HOMEPAGE LOCATIONS*/


div.hp-locations {
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/locations_bg.jpg);
    background-size: cover;
    background-position: center;
    padding: 5em 0;
}

div.hp-locations .ry-flex {
    align-items: center;
}

div.hp-locations .ry-flex h4 {
    display: none;
}


div.hp-locations .ry-flex .section-heading {
    margin-bottom: 0;
}

div.hp-locations .ry-each:nth-child(1) {
    width: auto;
}

div.hp-locations .ry-each:nth-child(2) {
    width: 65%;
    max-width: 900px;
}

div#hp-locations-address {
    justify-content: space-between;
    gap: 0 4em;
}

div#hp-locations-address img {
    object-fit: contain;
    max-width: 400px;
}

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

.accordion-custom .ry-heading {
    background: #fff;
    border: none !important;
    border-radius: 20px;
    padding: 1.5em 2em !important;
    color: #1a2b3c;
    font-family: var(--font-title) !important;
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 300 !important;
    transition: all ease 0.3s;
}


.location-wrapper .content {
    background: #fff;
    border: none;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 1em 4em 3em 4em;
}

.location-wrapper .each-item {
    margin-bottom: 12px;
}

.location-wrapper .accordion-custom .ry-heading .ui-state-active {
    margin-bottom: 0;
    border-radius:0 !important;
}

.location-wrapper .accordion-custom .ry-heading:after {
    position: absolute;
    right: 12%;
    background: transparent;
    content: '';
    width: 15px;
    height: 15px;
    border-top: 2px solid rgb(102 102 102 / 45%);
    border-right: 2px solid rgb(102 102 102 / 45%);
    transform: rotate(135deg);
    top: 39%;
}

.location-wrapper .ui-accordion-header-active:after {
    top: 60% !important;
    transform: rotate(316deg) !important;
}


.location-wrapper .ui-accordion-header-active {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding-bottom: 10px !important;
}

.location-wrapper .ui-state-default .ui-icon {
    background-image: none !important;
}

.accordion-custom .ry-heading:not( .ui-state-active) {
    box-shadow: -1px 12px 10px 5px hsl(0deg 0% 0% / 20%);
}

.location-wrapper .hp-loc-name {
    color: #00a3e0;
    text-transform: uppercase;
    margin: 30px 0 20px;
    font-size: 22px;
    letter-spacing: -1px;
}

.app-icon-wrap .ry-icon a {
    background: #b1d3d1;
    width: 55px;
    height: 55px;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.location-wrapper .ry-icon {
    background: transparent;
    position: absolute;
    right: 0;
    top: 50%;
    width: auto;
}

.app-icon-wrap .ry-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
}

.location-wrapper .hp-loc-phone-fax {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5em 0;
    position: relative;
}


.location-wrapper .accordion-custom .ry-heading:before {
    color: var(--color-secondary) !important;
    content: '\f041';
    font-family: 'FontAwesome';
    font-size: 28px;
    display: inline-block;
    margin-right: 15px;
}


.hp-loc-address:before, .hp-loc-hours:before, .location-wrapper .hp-loc-phone-fax:before, .hp-loc-phone-fax a.loc-fax:before {
    content: '\f041';
    background: #e3eded;
    width: 40px;
    height: 40px;
    position: absolute;
    border-radius: 100%;
    font-family: 'FontAwesome';
    display: flex;
    align-items: center;
    justify-content: center;
    left: -55px;
}

.hp-loc-address, .hp-loc-hours, .hp-loc-phone-fax {
    margin-left: 55px !important;
}

.hp-loc-address, .hp-loc-hours {
    position: relative;
}

.hp-loc-hours:before {
    content: '\f017';
    top: -4px;
}

a.directions-btn {
    color: #666;
    text-underline-offset: 5px;
    text-decoration: underline !important;
}

.hp-loc-phone-fax {
    justify-content: flex-start !important;
    gap: 0 20%;
    width: auto;
}


.location-wrapper .hp-loc-phone-fax:before {
    content: '\f095';
}

a.loc-fax {
    pointer-events: none;
    position: relative;
}



.hp-loc-phone-fax a.loc-fax:before {
    content: '\f1ac';
    top: -6px;
}

a.loc-hours {
    text-underline-offset: 5px;
    text-decoration: underline !important;
}

@media (min-width:1200px) and (max-width:1660px) {
    div.locations-v2 .location-wrapper {
		max-width: 650px;
	}

	div.locations-v2 {
		height: 1100px;
	}
}

@media (max-width:1199px) {
	
    div.map-ratio #mapCustom {
		position: static !important;
		height: auto !important;
	}

	div.map-wrapper {
		position: static !important;
		height: auto !important;
	}

	div.locations-v2 {
		height: auto !important;
		flex-direction: column !important;
		overflow: hidden;
		display: block !important;
		padding: 4em 0;
	}

	div.map-ratio #mapCustom > div {
		position: static !important;
	}

	.locations-v2 .location-wrapper {
		margin: auto;
		float: none;
		max-width: 650px;
	}
	
	 div.hp-locations .ry-each:nth-child(1) {
		width: auto;
	}

	div.hp-locations .ry-each:nth-child(1), div.hp-locations .ry-each:nth-child(2) {
		width: 100% !important;
	}

	div.hp-locations .ry-flex {
		flex-direction: column;
		gap: 1em 0 !important;
	}

	div#hp-locations-address {
		gap: 2em 0 !important;
	}

	div.hp-locations .section-heading h2 {
		text-align: center !important;
	}

	div.hp-locations {
		padding: 3em 0 !important;
	}
}



@media (max-width:767px) {

	div.locations-v2 .accordion-custom .ry-heading {
		font-size: 16px !important;
		font-weight: 500 !important;
	}

	.location-wrapper .accordion-custom .ry-heading::before {
		margin-right: 5px;
		font-size: 18px !important;
	}

	div.location-wrapper .content {
		padding: 1em 2em 3em 2em !important;
	}

	div.location-wrapper .hp-loc-name {
		font-size: 20px !important;
	}

	div.location-wrapper .hp-loc-phone-fax {
		center !important;
		flex-direction: column;
		gap: 2em 0 !important;
		align-items: flex-start;
		margin: 10px 0 30px;
	}

	a.hp-loc-phone {
		top: 8px;
		position: relative;
	}

	div.app-icon-wrap .ry-icon {
        position: static;
        margin: 0 0 1em 0;
        width: auto;
        height: auto;
        left: 0;
        right: initial;
        justify-content: flex-start;
    }

	div.app-icon-wrap .ry-icon svg {
		width: 15px;
		height: 15px;
	}

	div.location-wrapper .accordion-custom .ry-heading::after {
		top: 27px !important;
	}

}





/* END HOMEPAGE LOCATIONS*/





/* HOMEPAGE ADVANCED DIAGNOSTISCS*/

.diagnostics-testimonials-block {
    background-size: cover;
    background-image: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/advanced_diagnostics_reviews_bg.jpg);
    background-position: center;
    padding: 6em 0 7em;
}

.advanced-diagnostics .section-heading h4 {
    text-align: left;
}

.advanced-diagnostics .section-heading span {
    font-size: 40px;
}


.advanced-diagnostics .ry-content {
    background: #fff;
    align-items: center;
    padding: 8em 7em 15em 6em;
    border-top-left-radius: 180px !important;
    border-radius: 80px;
    box-shadow: 0px 9px 9px 4px rgb(0 0 0 / 19%);
}

.advanced-diagnostics .ry-content .ry-flex {
    gap: 0;
    align-items: center;
}


div#equipment-slider {position: relative;bottom: -9em;right: -4em;}

div#equipment-slider img {
    max-width: 290px;
    float: right;
    height: 290px;
    object-fit: contain;
}

.advanced-diagnostics .ry-content .ry-each:first-child {
    width: 60%;
}

div#with-diagnostics-slider {
    width: 35%;
    position: relative;
}

.advanced-diagnostics .ry-content .ry-each:first-child .section-heading {
    margin-bottom: 1em;
}

.advanced-diagnostics {
    margin-bottom: 4em;
}

.carousel-indicators .active, .advanced-diagnostics .carousel-indicators li.active {
    background-color: #39a3e0 !important;
   border: 1px solid #39a3e0 !important;
}

.advanced-diagnostics .carousel-indicators li {
    width: 18px !important;
    height: 18px !important;
    border: 1px solid #666 !important;
}

.advanced-diagnostics ol.carousel-indicators {
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
    left: initial !important;
    right: 0;
    margin: 0 !important;
    float: right;
    top: -11em !important;
    gap: 1em  0 !important;
    opacity: 0;
}

.equipment-slide {
    width: auto;
    float: right;
}

div#with-diagnostics-slider .carousel-inner {
    overflow: visible;
}

.equipment-slide:after {
    background: url(https://static.royacdn.com/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/equipment_shape.png);
    width: 364px;
    height: 69px;
    position: absolute;
    bottom: -2em;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    right: -1em;
    margin: auto;
    z-index: -1;
}

div#with-diagnostics-slider .carousel-control {
    opacity: 1;
    text-shadow: none;
    top: 0 !important;
    background-image: none !important;
    bottom: initial !important;
    width: auto !important;
}

div#with-diagnostics-slider .carousel-control .icon-prev:before, div#with-diagnostics-slider .carousel-control .icon-next:before {
    content: '';
    background: transparent;
    width: 20px;
    height: 20px;
    position: absolute;
    transform: rotate(45deg);
    border: 3px solid hsl(0deg 0% 33.33% / 55%);
    border-top: transparent;
    border-left: transparent;
}

div#with-diagnostics-slider .carousel-control .icon-prev:before {
    transform: rotate(225deg);}

img#equipment-image {
    position: absolute;
    top: -60%;
}


div#with-diagnostics-slider a.carousel-control.left {
    right: 30px !important;
    top: -12em !important;
    left: initial !important;
}

div#with-diagnostics-slider a.carousel-control.right {
    right: 13px !important;
    left: initial !important;
    top: -200px !important;
}

.diagnostics-bottom {
    top: -6em;
    background: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/diagnostics_cta_bg.png);
    background-size: cover;
    background-position: center;
    border-radius: 50px;
    display: flex;
    align-items: center;
    height: 250px;
    max-width: 80%;
    float: none;
    margin: auto;
    position: relative;
}

.inner-diagnostics-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 85%;
    margin: auto;
}

.diagnostics-bottom .section-heading {
    margin-bottom: 0;
}

.diagnostics-bottom:before {
    content: '';
    background: transparent;
    position: absolute;
    top: -11px;
    left: -10px;
    right: 0;
    margin: auto;
    height: 109%;
    width: 101.5%;
    border-radius: 60px;
    border: 3px solid var(--color-secondary);
}

.inner-diagnostics-bottom .section-heading h4 {
    margin-bottom: 0;
}

.advanced-diagnostics .ry-content .ry-each:first-child .section-heading {
    max-width: 700px;
}



@media (min-width:1082px) and (max-width:1660px) {
    .advanced-diagnostics .section-heading h4 {
		letter-spacing: 0;
		font-size: 22px !important;
	}

	.advanced-diagnostics .section-heading h2 {
		line-height: 1.1 !important;
		margin-bottom: 15px;
	}

		.advanced-diagnostics .ry-content {
		padding: 8em 7em 15em 4em !important;
	}
}


@media (min-width:1082px) and (max-width:1440px){
    div#equipment-slider img {
    max-width: 200px;
    height: 200px;
}

    div.advanced-diagnostics .ry-content {
        padding: 5em 7em 12em 4em !important;
    }

    div#with-diagnostics-slider {
    top: -2em;
}
}


@media (max-width:1080px){

.diagnostics-testimonials-block {
    padding:2em 0 !important;
}

div.advanced-diagnostics .ry-content {
    border-radius: 0 !important;
    padding: 3em 2em 7em !important;
    box-shadow: 0px 9px 9px 4px rgb(0 0 0 / 7%);
}

.advanced-diagnostics .ry-content .ry-flex {
    flex-direction: column;
}

.advanced-diagnostics .ry-content .ry-each:first-child, .advanced-diagnostics .ry-content .ry-each:first-child .section-heading {
    width: 100% !important;
    max-width: 100% !important;
}

.advanced-diagnostics .section-heading h4 {
    text-align: center !important;
}

img#equipment-image {
    max-width: 400px;
    opacity: 0;
    top: 0;
    right: 0;
    left: 0;
    margin: auto;
}

div#with-diagnostics-slider {
    width: 100%;
}

div.diagnostics-bottom {
    top: 0 !important;
    margin-top: 3em;
    max-width: 100%;
    height: auto !important;
    padding: 2em 0;
}

 div#equipment-slider img {
        float:none;
        margin: 2em auto 0;
        max-width: 200px;
        height: auto;
}

.equipment-slide {
    float: none;
}

div#equipment-slider {
    bottom: 0;
    right: 0;
}

.advanced-diagnostics .ry-text p {
    text-align: center;
}


.equipment-slide:after {
    left:0;
    right:0;
    width:100%;
    margin:auto;
    max-width:300px;
}

.advanced-diagnostics ol.carousel-indicators {
    opacity: 1 !important;
    flex-direction: row-reverse !important;
    gap: 0 5px !important;
    float: none !important;
    top: initial !important;
    left: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    bottom: -90px !important;
}

div#with-diagnostics-slider .carousel-control .icon-prev:before, div#with-diagnostics-slider .carousel-control .icon-next:before {
    display: none;
}

.advanced-diagnostics .carousel-indicators li {
    width: 13px !important;
    height: 13px !important;
}


.advanced-diagnostics .section-heading span {
    font-size: 23px;
    font-weight: 400;
    display: block;
    margin: 5px 0 10px;
}

.inner-diagnostics-bottom {
    flex-direction: column;
    max-width: 100%;
    padding: 1em !important;
}

.diagnostics-bottom:before {
    border: 2px solid var(--color-secondary);
    width: 102%;
    left: -9px;
    height: 106%;
    top: -9px;
    right: 0;
}

}


@media (max-width: 767px) {
	div.diagnostics-bottom:before {
		left: -8px;
		width: 105%;
	}
}


/* END HOMEPAGE ADVANCED DIAGNOSTICS*/





/* HOMEPAGE REVIEWS*/

div.hp-reviews:after {
    background: url(https://www.royacdn.com/unsafe/smart/Site-05e6f8d2-095c-4e29-8f9c-c89d05bcb07e/homepage_assets/reviews_shape.png);
    content: '';
    position: absolute;
    height: 1100px;
    width: 1100px;
    right: 0;
    background-size: contain;
    background-repeat: no-repeat;
    top: 0;
}

div.hp-reviews .ry-container {
    max-width: 100%;
}

div.hp-reviews .section-heading h4 {
    text-align: left;
}


div#rev-slider-block {
    z-index: 1;
    position: relative;
    padding-right: 10%;
    left: 2%;
}

.hp-reviews .ry-content .ry-flex {
    align-items: center;
    gap: 0 3em;
}

div#rev-image-block {
    z-index: 1;
}

div#testimonials-slider ol.carousel-indicators {
    display: none !important;
}

div#rev-slider-block h5 {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 23px;
    margin: 1.5em 0 1.5em;
}


@media (max-width:1660px) {
	div#rev-image-block {
		width: 40%;
		top: 4em;
	}

	div#rev-slider-block {
		width: 100%;
		top: 7em;
		padding-right: 0;
		max-width: 700px;
		left: initial;
		right: 7%;
	}

	div.hp-reviews:after {
		right: -5%;
		top: -3%;
	}

	div.hp-reviews {
		padding-bottom: 5em;
	}  
}

@media (min-width:1082px) and (max-width:1360px) {
    div#rev-image-block {
		width: 33% !important;
	}
}

@media (max-width:1199px) {
    .hp-reviews .ry-content .ry-flex {
		flex-direction: column;
	}

	.hp-reviews .ry-content .ry-flex .section-heading h4, .hp-reviews .ry-content .ry-flex .section-heading h2 {
		text-align: center;
	}

	div#rev-image-block {
		width: 90%;
		max-width: 300px;
		top: 0 !important;
	}

	div#rev-slider-block {
		top: 0 !important;
		margin: 1.5em 0 2em !important;
		right: 0;
		max-width: 100% !important;
	}

	div.hp-reviews .ry-container {
		max-width: 90%;
	}

		div#rev-slider-block h5 {
		display: block;
		text-align: center;
		font-size: 18px;
	}

	div.hp-reviews:after {
		display: none;
	}

	div#rev-image-block img {
	}

	div.rev-slide p {
		text-align: center !important;
	}

	div.hp-reviews {
		padding-bottom: 0;
	}

	div#testimonials-slider .carousel-indicators {
		text-align: center !important;
		bottom: 4.5em !important;
	}

	.rev-btn-wrap {
		margin-top: 4em;
	}

	div.rev-btn-wrap  a#white-btn {
			margin: auto;
			float: none;
		}

	.diagnostics-testimonials-block {
		padding-bottom: 2em !important;
	}
}



/* END HOMEPAGE REVIEWS*/







div#location-socials .custom-social-wrapper .social-inner-wrap li {
    width: 40px;
    height: 40px;
}

div#location-socials .custom-social-wrapper .social-inner-wrap li a {
    background: hsl(0deg 0% 100% / 15%);
}


.form-btn {
    height: 51px;
    max-width: 130px;
    padding-right: 8px;
    float: right;
}


div#map-bg {
    background-size: cover;
    background-position: center;
    height: 1000px;
}


.map-ratio #mapCustom {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.map-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.locations-v2 .location-wrapper {
    z-index: 9;
    height: 100%;
    max-width: 750px;
    
}

.locations-v2 {
    height: 1250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -2px;
}



@media (max-width: 1200px) {
	
	#cta-wrap {
		margin-top: 0;
	}
}


@media (max-width: 768px) {
	.module-1 {
        flex-direction: column;
        gap: 1em 0;
    }

	div#location-socials span.span-1 {
		text-align: center;
	}

	.module-1 .ry-box-left img {
		max-width: 400px;
		margin: 0 auto;
	}
	
	a#page-btn {
		margin: 1.5em auto 0 !important;
	}
	
	div.module-1 a#pg-btn {
		margin: 1em auto 0;
		max-width: fit-content;
	}
	
	.module-1 .ry-box-right, .module-1 .ry-box-left {
		width: 100% !important;
	}

	.module-1 .ry-box-right h4, .module-1 .ry-box-right p {
		text-align: center !important;
	}

	.module-1 .ry-box-left {
		max-width: 350px;
		margin: auto;
	}

}




.marker-image img {
    max-width: 50px;
}

.footer-marker-block a {
    color: transparent !important;
}

div.footer-marker-block .link, div.footer-marker-block a.footer-location-btn.link {
    position: absolute;
    background: transparent;
    top: 0;
    left: 0;
    bottom: 0;
}

div.footer-marker-block {
    position: absolute;
    top: 35%;
    z-index: 1;
    display: flex;
    max-width: 900px;
    margin: auto;
    left: 0;
    right: 0;
}

.footer-map-container {
    position: relative;
}

body.default .footer-map-container {
    display: none;
}



body.default .footer-top .ry-content {
    margin-top: 0 !important;
}

.footer-custom .footer-top .ry-content .ry-flex .left-block .ry-text ul li.active a:before {
    filter: brightness(0) invert(1);
}

.marker-image img#map-pin-hover {
    transform: scale(0);
}

.marker-image:hover img#map-pin {
    opacity: 0;
}

.marker-image:hover img#map-pin-hover {
    transform: scale(1);
}

.marker-image {
    position: relative;
}

.marker-image img {
    max-width: 35px;
    transition: allease 0.6s;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    cursor: pointer;
    z-index: 1;
}

div.footer-marker-block .marker-image:nth-child(3) {
    top: -115px;
    right: -72px;
}



@media (min-width:992px) {
    .location-selector {
        display:none;
    }
}





@media (max-width:1080px) {

	.mobile-container .mobile-nav button .hamburger-inner {
		background: var(--color-primary) !important;
	}

	.mobile-container .mobile-nav button .hamburger-inner:before, .mobile-container .mobile-nav button .hamburger-inner:after {
	  background: var(--color-primary) !important;
	 }

	
	#ry-pg-banner .ry-bnr-wrp {

		height: 250px !important;
	}
	
	

	.module-66 .carousel .carousel-inner .item img {
		height: auto;
	}

	.module-66 .carousel-inner {
		opacity: 1;
	}

	div.module-66 .bnr-textbox {
        background: #f1f3f5;
        position: static;
        padding: 2em 0 0;
    }
	
	.section-heading h2, .module-28 .section-heading h2 {
        text-align: center !important;
        line-height: 1.3 !important;
        font-size: 28px !important;
        letter-spacing: 0;
    }

	div.module-66 .bnr-textbox h1 {
		color: var(--color-primary) !important;
		font-size: 30px;
	}

	a#hero-btn {
		background: var(--color-secondary) !important;
	}

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

	.col-xs-12.hidden-xs.hidden-sm.module-34 {
		display: none !important;
	}

	video#herovideo {
		height: auto !important;
	}

	.col-xs-12.hidden-md.hidden-lg.module-35 {
		display: block !important;
	}
	
	a#btn-white {
		margin: 2em auto 0 !important;
	}

		div.hp-welcome-section {
		padding: 3em 0 !important;
	}


	div.teleoptometry {
        height: auto;
        padding: 3em 1em 0;
    }

	div.teleoptometry .ry-content.ry-flex {
		flex-direction: column;
	}

	div.teleoptometry div#with-text {
        left: 0;
        top: 0;
        max-width: 100%;
        padding: 0 1em;
    }
	
    div.teleoptometry div#with-image img {
        max-width: 600px !important;
        float: right;
    }
	
	div.teleoptometry div#with-text p {
		text-align: center !important;
	}

	.module-66 {
		margin-top: 78px;
		height: auto;
		text-align: center !important;
   		line-height: 1.3 !important;
	}

		.module-15.style2 {
		display: none;
	}

	.banner-text h4 {
		letter-spacing: 2px !important;
		font-size: 20px !important;
		color: var(--color-primary);
		font-weight: normal;
	}

	.banner-text h2 {
		color: var(--color-secondary) !important;
		font-size: 30px;
	}

	a#banner-btn {
		color: #000 !important;
	}

	div.footer-logo-wrap {
		position: relative;
		margin: 0 auto 2em;
		float: none;
		top: 0;
		right: 0;
	}

	
	button.mobile-app-btn.dropdown-toggle, button.mobile-phone-btn.dropdown-toggle {
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: var(--color-secondary);
		border: none;
		display: flex;
		align-items: center;
		justify-content: center;
	}


	button#phone-btn i {
		color: #fff;
	}

	

	button.mobile-app-btn.dropdown-toggle span.caret, button.mobile-phone-btn.dropdown-toggle span.caret {
		display: none;
	}

	.mobile-container .flex-wrap .flex-item.right-nav .mobile-button {
		gap: 0 7px;
	}
	
	
	ul.dropdown-menu.mobile-info {
		background: var(--color-secondary);
		border-radius: 10px;
		width: 100%;
		left: initial;
		border: none;
		min-width: 250px;
		margin: 0;
		top: 43px;
		max-width: max-content;
		right: 1em;
		top: 3em;
		bottom: initial;
		padding: 10px 20px;
	}


	ul.dropdown-menu.mobile-info li.social-link, ul.dropdown-menu.mobile-info li.social-link em {
		color: #fff;
		font-style: normal !important;
		font-size: 16px;
	}

	ul.dropdown-menu.mobile-info li.social-link {
		border-bottom: 1px solid rgb(255 255 255 / 30%);
		padding-bottom: 5px;
		cursor: pointer;
	}


	ul#phone-dropdown a, ul#calendar-dropdown a {
		background: var(--color-secondary);
		margin: 0;
		width: 100% !important;
		height: auto !important;
		display: inline-block;
		padding: 0;
		border-radius: 0;
	}

	.mobile-container .flex-wrap .flex-item.right-nav .mobile-button {
		position: relative;
	}
	
		ul#calendar-dropdown {
		/* left: -178px; */
	}
	
		ul.dropdown-menu.mobile-info li i {
		margin-right: 5px;
		background: transparent;
		border-radius: 100%;
		border: 1px solid rgb(255 255 255 / 26%);
		height: 25px;
		width: 25px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 8px;
	}
	
	.section-heading {
		margin-bottom: 1em !important;
	}
	
	img#welcome-image {
		padding-top: 2em;
		height: 350px;
		object-fit: cover;
	}
	
	div.teleoptometry h4 {
		margin-top: 1em !important;
	}

}


@media (max-width:700px) {
    
    .section-heading h4, .section-heading span.span-1,
    div.hp-welcome-section span,
    advanced-diagnostics .section-heading h4 {
            font-size:20px !important;
    }
}


@media (max-width:500px) {
	
	img#welcome-image {
		height: 200px !important;
		
	}
}



.link, .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    color:transparent !important;
}


/*--UPDATE--*/

.location-about .button-wrapper.ry-flex {
    gap:10px
}
.location-about .button-wrapper.ry-flex a {
    font-size:16px !important;
    padding:18px 1.8vw;
    height:fit-content
}
.grecaptcha-badge {
    z-index:9
}

@media (min-width:1081px) {
	.advanced-diagnostics ol.carousel-indicators {
		display:none !important;
	}
}

@media (min-width:1081px) and (max-width:1500px) {
	
    .section-heading h2 {
        font-size: 45px !important;
        line-height: 1.3 !important;
		      
    }
	
	div.module-66 .bnr-textbox h1 {
		font-size:60px;
	}
	
	
	.hp-location-title-block h4 {
		font-size: 20px !important;
	}

	.hp-location-title-block p, .hp-location-title-block span {
		font-size: 14px !important;
	}

	div#rev-stars img {
		max-width: 65px;
	}

	.read-reviews-text {
		font-size: 14px !important;
	}

}


@media(max-width:1480px){
	.location-about .button-wrapper.ry-flex a {
		font-size:15px !important;
		padding:18px 1.5vw;
	}
}
@media(max-width:1294px){
	.location-about .button-wrapper.ry-flex a {
		font-size:16px !important;
		padding-inline:30px;
		max-width:200px;
		width:100%
	}
	.location-about .button-wrapper.ry-flex {
		flex-wrap:wrap;
		justify-content:start;

	}
}

@media(max-width:1080px){
	.location-about .button-wrapper.ry-flex {
		flex-direction: row !important;
	}
	.location-about .button-wrapper.ry-flex a {
		max-width:48%;
		width:100%
	}
	
	.module-28 .ry-btn-wrapper {
		justify-content: center;
		margin: 1em auto 0 !important;
	}
	
	.module-28 .ry-generic-copy p {
		max-width: 100%;
		text-align: center;
	}

	.module-28 .section-heading span.span-2 {
		left: 0;
	}

	a#white-btn {
		background: #fff;
		color: var(--color-secondary) !important;
		font-weight: 500;
	}

	a#white-btn {
		margin: auto;
		float: none;
	}
	
	.hp-staff-section a.ry-btn.ry-btn-primary {
		margin: 3em auto 0 !important;
	}

}


.modal-footer {
    display: none;
}

.modal-body {
    padding: 0;
}

.close-btn {
    position: absolute;
    right: -10px;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -15px;
}

.close-btn a {
    font-size: 13px;
    font-weight: bold;
    position: relative;
    top: -2px;
}

.modal-dialog {
    width: 90%;
    max-width: 600px;
    margin: 60px auto 0;
}





/* REVIEWS PAGE*/

.module-24.snap-reviews .ry-each svg.bi.bi-quote {
    width: 50px;
    opacity: 0.6;
    display: inline-block;
}


.module-24.snap-reviews .ry-each {
    background: #f9f9f9;
    border-radius: 20px;
    padding: 2em;
    border: 1px solid hsl(0deg 0% 40% / 15%);
    box-shadow: 1px 1px 9px hsl(0deg 0% 0% / 10%);
}



.module-24.snap-reviews  .rev-name-block {
    border-top: 1px solid hsl(0deg 0% 40% / 18%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1em 0 0;
    padding-top: 2em;
}

.module-24.snap-reviews  div.with-stars img {
    max-width: 100px;
    margin-bottom: 10px;
}

.module-24.snap-reviews  .with-stars .ry-icon {
    background: var(--color-secondary);
    float: right;
}


.module-24.snap-reviews  .with-stars .ry-icon i {
    color: #fff;
    font-size: 23px;
    padding-left: 2px;
}

.module-24.snap-reviews  .reviews-text {
    display: flex;
    gap: 0 10px;
}



/* END REVIEWS PAGE*/




/* OFFICE TOUR*/

.gallery-container .ry-each img {
    cursor: pointer;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}
.gallery-container .lightbox-trigger .ry-each {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.gallery-container .lightbox-trigger .ry-each > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
}
.gallery-container .lightbox-trigger {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}
.gallery-container .lightbox-trigger .ry-each.tall {
	grid-row: span 2;
}

/* END OFFICE TOUR*/


:root {
    --color-primary: #192b3b;
    --color-secondary: #2b8593;
    --font-default: Satoshi;
    --font-title: Raleway;
    
}