body, body p, body div{font-family: Instrument Sans !important;font-weight: 400 !important; }
h1,h2,h3,h4,h5,h6{font-family: Libre Bodoni, sans-serif !important;font-weight: 400 !important;}

@media (max-width: 991px) {}
@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,.btn,.ry-btn,.ry-btn-primary{height:50px;display:flex;align-items:center;justify-content:center;padding-left:25px;padding-right:25px;max-width:max-content;color:#FFF !important;background:var(--color-primary);font-size:17px !important;border-radius:7px !important}
.ry-btn:after {display:none;}
.btn, .ry-btn, .ry-btn-primary, .ry-btn-secondary {font-family: 'Instrument Sans';z-index:99;}
.ry-btn-primary:hover {background: #293535 !important;color: #FFFFFF !important;}
.ry-btn.ry-btn-secondary{color: #FFFFFF !important;background: #293535 !important;}
.ry-btn.ry-btn-secondary:hover {background: #3c877f !important;color: #FFFFFF !important;box-shadow: unset !important;}
/*.cmsForm .has-error input {border: 1px solid #ff0069;}*/


.module-testimonials.option-2 .testimonial-banner-type .ry-flex .ry-each .block-wrapper .ry-btn{background: #fff !important;color: #242424 !important;}
.module-testimonials.option-2 .testimonial-banner-type .ry-flex .ry-each .block-wrapper .ry-btn:hover{background: #293535 !important;color: #FFFFFF !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; }

body.default .custom-map {
    display: none !important;
}


body.home .ry-btn {
    background: transparent !important;
    color: #000 !important;
    border: 1px solid  var(--color-primary) !important;
}

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

ul.social-icons-custom.ry-social-custom {
    padding: 0;
}

.social-inner-wrap {
    display: flex;
    gap: 0 10px;
    justify-content: center;
}

.social-inner-wrap li {
    list-style: none;
}

.social-inner-wrap li {
    display: flex;
    align-items: center;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-primary);
    width: 40px;
    justify-content: center;
    border-radius: 100%;
}

ul.social-icons-custom.ry-social-custom svg {
    fill: #4d5757;
    width: 16px;
    height: auto;
    pointer-events: none;
}

.footer-social.ry-divisor .social-inner-wrap {
    margin-top: -22px;
}

.social-inner-wrap li:hover {
    background: var(--color-primary);
}

.social-inner-wrap li:hover svg {
    fill: #fff;
}



.ry-headline span {
    line-height: 36px;
    color: #d7bea7;
    font-weight: 400;
    font-family: "Allison";
    display: block;
    text-transform: initial !important;
    margin-bottom: 15px;
    font-size: clamp(2.5rem, 1.6563rem + 4.5vw, 4.1875rem);
}

.ry-headline h2 {
    text-transform: uppercase;
    color: var(--color-secondary);
    font-size: clamp(1.875rem, 1.0938rem + 4.1667vw, 3.4375rem);
    line-height: 1.1;
}

@media (max-width:1080px) {
	
	.ry-headline span {
		text-align: center !important;
	}

	.ry-headline h2 {
        text-align: center !important;
        font-size: 40px !important;
        line-height: 45px !important;
    }
}



/*FEATURED SERVICES*/


.mobile-services .slick-track .each-block:hover .photo:hover {
	background: linear-gradient(to bottom, #0000, #0000008f);
}

.mobile-services .slick-track .each-block:hover .link {
  /* background: linear-gradient(to bottom, #0000, #0000008f); */;
}

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

.ry-services.style2 .photo:hover:before {
	background: linear-gradient(to bottom, #0000, rgb(0 0 0 / 84%));
}

.ry-services.style2 * .link a, .ry-services.style2 .link {
	z-index: 9999;
	  /* background: rgb(245 245 245 / 60%); */;
}

.ry-services.style2 .photo img:hover {
	filter: none;
}

.ry-services.style2 .photo:hover img {
	filter: none !important;
}

.mobile-services .slick-track .each-block:hover .title {
	bottom: 13%;
}

.mobile-services .slick-track .each-block:hover .title>div {
	color: #fff !important;
}

.serv-btn-svg {
	position: absolute;
	left: 0;
	bottom: 5%;
	z-index: 9999;
	max-width: 80%;
	width: 100%;
	right: 0;
	margin: auto;
	z-index: 9999999;
	opacity: 0;
	transition: all ease 0.3s;
}

a.serv-learn-more-btn {
	font-size: 16px;
	letter-spacing: 0;
	line-height: 30px;
	text-transform: initial;
	color: #d7bea7;
}

.mobile-services .slick-track .each-block:hover a.serv-learn-more-btn svg {
	fill: #d7bea7;
}

.ry-services.style2 * svg {
	width: 15px;
	height: 15px;
	right: -4px;
	position: relative;
	top: 3px;
}

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

.ry-services.style2 * .title {
	position: absolute;
	bottom: 7%;
	left: 0;
	right: 0;
	color: transparent;
	z-index: 9999;
	pointer-events: none;
	background: transparent;
	max-width: 80%;
	margin: auto;
	z-index: 999999;
	transition: all ease 0.3s;
}

.mobile-services .slick-track .each-block:hover a.serv-learn-more-btn {
    color: #d7bea7;
}

.ry-services.style2 * .title >div {
	color: #fff;
	font-size: 22px;
	font-weight: 400 !important;
	text-align: left !important;
	line-height: 27px;
	pointer-events: none;
	text-transform: initial;
}

.mobile-services .slick-track .each-block {
	border-radius: 0;
	outline: 0 !important;
	outline-offset: 0 !important;
	margin-right: 50px;
}

.ry-services.style2  .photo:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	  /* z-index: 9999; */
	border-radius: 20px;
}

.mobile-services .slick-track .each-block:hover .photo:before {
	background: hsl(173.6deg 38.46% 38.24% / 61%);
}

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

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



.ry-services.style2  button.slide-arrow.next-arrow.slick-arrow {
	position: absolute;
	left: initial;
	top: 0;
	right: 18%;
}

.ry-services.style2  button.slide-arrow.prev-arrow.slick-arrow {
	position: absolute;
	left: initial;
	top: 0;
	right: 23%;
}

.ry-services.style2  button.slide-arrow.next-arrow.slick-arrow, button.slide-arrow.prev-arrow.slick-arrow {
	border: none;
	background: transparent;
	border: 1px solid var(--color-primary);
	width: 50px;
	height: 50px;
	bottom: -120px;
	top: initial !important;
	border-radius: 5px;
}

.ry-services.style2  button.slide-arrow.next-arrow.slick-arrow:before {
	content: '\f105';
	font-family: 'FontAwesome';
	font-size: 25px;
}

.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow:before {
	content: '\f104';
	font-family: 'FontAwesome';
	font-size: 25px;
}

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

@media (min-width:1200px) and (max-width:1660px) {
	
  div.ry-services.style2 .ry-container {
	  max-width: 1000px;
	}

	div.ry-services.style2 * .title >div {
	  font-size: 17px;
	}

	div.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow {
	  right: 27%;
	}

	div.ry-services.style2 button.slide-arrow.next-arrow.slick-arrow {
	  right: 21%;
	}

	div.ry-services.style2:before {
			left: -4%;
	}

	div.ry-services.style2 .ry-content {
			left: 8%;
    }
}


@media (min-width:1601px) and (max-width:1660px) {
  div.ry-services.style2 button.slide-arrow.prev-arrow.slick-arrow {
	  right: 30%;
	}

	div.ry-services.style2 button.slide-arrow.next-arrow.slick-arrow {
	  right: 24%;
	}
}

/*END FEATURED SERVICES*/


@media (max-width: 1080px) {
	.mobile-container .flex-wrap .mobile_logo img {
		max-width: 150px;
	}
	.ry-text.hour-list {
		text-align: center;
	}
	.module-69.style2 .ry-each-right .ry-section-title,
	.module-69 .ry-each-right p {
		text-align: center;
	}
	.module-69 .ry-each-right .btn-content {
		margin: 20px auto 0;
		justify-content: center;
	}
	#ry-pg-banner .ry-bnr-wrp {
		margin-top: 80px;
	}
	.team-inner-page.style3 .ry-each .each-container,
	.team-inner-page.style3 .ry-each .each-container .details {
		flex-direction: column;
		align-items: center;
	}
	.team-inner-page.style3 .ry-each .each-container .details .title {
		width: 100%;
		padding-bottom: 0;
	}
	.team-inner-page.style3 .ry-each .each-container .details .title h5,
	.team-inner-page.style3 .team-excerpt p, 
	.team-inner-page.style3 .ry-each .each-container .details .team-full-description p {
		text-align: center !important;
	}
	.team-inner-page.style3 .ry-each .each-container .details .team-excerpt {
		padding: 0;
		width: 100%;
	}
	.team-inner-page.style3 .team-excerpt p,
	.team-inner-page.style3 .ry-each .each-container .details .team-full-description p  {
		text-align: center !important;
		font-size: 18px !important;
	}
	.team-inner-page.style3 .ry-each .each-container .details {
		width: 100%;
	}
	.team-inner-page.style3 .ry-each .each-container .details .team-excerpt, 
	.team-inner-page.style3 .ry-each .each-container .details .team-full-description {
		width: 90% !important;
		padding:0;
	}
	.team-inner-page.style3 .ry-each .each-container .details .title p {
		text-align: center !important;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each:not(:last-child) {
		flex-direction: column;
		gap: 5px;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .ry-text {
		text-align: center;
	}
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each .icon {
		margin: 0;
	}
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .title{
		transform: translate(0, -20px);
	}
	.module-cta.style-5 .ry-flex .ry-each .ry-inner-flex .ry-block:hover .title:after{
		bottom: -42px;
		width: 30px;
		height: 30px;
		background-size: 10px;
	}
}



@media (max-width: 500px) {
	.module-69 .ry-each-right .ry-section-title {
		display: block;
	}
	
	.ry-headline h2 {
		font-size: 30px !important;
		line-height: 35px !important;
	}
	
	
	div.welcome-video:before {
		left: 0;
		bottom: -35px;
	}
	
	.module-welcome.style-3 .video-container {
		height: auto;
	}
	
	
	.ry-multi-item-slider .work {
		position: relative;
		align-items: center;
		justify-content: center;
	}
	.owl-carousel:hover .owl-nav .owl-next {
		right: 0;
	}
	.owl-carousel:hover .owl-nav .owl-prev {
		left: 0;
	}
	.ry-multi-item-slider .work .img {
		width: 70%;
	}
	.team-inner-page.style3 .team-excerpt p,
	.team-inner-page.style3 .ry-each .each-container .details .team-full-description p {
		font-size: 16px !important;
	}
	.team-inner-page.style3 .ry-each {
		padding: 35px 20px
	}
}


/*Wellness Section*/

.hp-wellness-section .background-section, .hp-wellness-section .background-section IMG {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: cover;
}


.wellness-image-group {
    position: absolute;
    bottom: 62%;
}

div.hp-wellness-section {
    padding: 7em 0 37em;
    overflow: hidden;
}

div.hp-wellness-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

img#bottom-brush-stroke {
    position: absolute;
    bottom: 0;
}

div#wellness-group2, div#wellness-group1 {
    width: 40%;
    z-index: 1;
}

div#wellness-group2 {
    right: 0;
}

div#wellness-group2 div#wellness-image1 {
    right: -8%;
    width: 100%;
    max-width: 450px;
}


div.hp-wellness-section .ry-each {
    width: 100%;
    max-width: 220px;
    position: absolute;
}

div#wellness-image2 {
    right: 15em;
    max-width: 290px;
    top: 13em;
}

div#wellness-image4 {
    top: -4em;
    right: 13em;
}

.wellness-text {
    max-width: 780px;
    margin: auto;
}

div.wellness-center-block {
    background: url(https://www.royacdn.com/unsafe/smart/Site-ae4a7ebb-a269-45c6-a3e9-cf41334a0b16/Assets/wellness_brush_stroke.png);
    position: absolute;
    bottom: 24%;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 221px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 769px;
}

div.wellness-center-block h4 {
    font-family: var(--title-default) !important;
    font-weight: bold !important;
    font-size: 28px;
}

div.wellness-center-block p {
    max-width: 420px;
    line-height: 25px;
    margin: 10px auto 0;
}

div.wellness-center-block >div {
    position: relative;
    left: 30px;
    top: 5px;
}

div#wellness-image3 {
    left: 6em;
    max-width: 170px;
    top: 2em;
}

div#wellness-group1 div#wellness-image1 {
    width: 100%;
    max-width: 450px;
    left: -8%;
}

div#wellness-group1 div#wellness-image2 {
    left: 12.5em;
    right: initial;
    top: 14em;
}

div#wellness-group1 div#wellness-image3 {
    left: initial;
    right: 6em;
    top: 10em;
}

div#wellness-group1 div#wellness-image4 {
    top: 25em;
    right: 6em;
}

div#wellness-group1 {
    bottom: 77%;
}

.intake section.ry-flex .heading {
    max-width: 500px;
}

.intake section.ry-flex .form-section .form-group.ry-flex {
    gap: 15px;
}

.intake .ry-form select {
    width: 100%;
}

.intake section.screening {
    max-width: 800px;
    margin: 0 auto;
    float: none;
}

.intake section.screening #Screening {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.intake section.screening #Screening label {
    width: calc(50% - 30px);
}

@media (max-width:1600px) and (min-width:1301px) {    
	div#wellness-image1 {
		max-width: 380px !important;
	}

	div#wellness-image2 {
		max-width: 250px;
	}

	div#wellness-group2 div#wellness-image2 {
		right: 28%;
	}

	div#wellness-group1 div#wellness-image2 {
		left: 25%;
	}

	div#wellness-group2 div#wellness-image3 {
		top: 4em;
	}

	div#wellness-group2 div#wellness-image4 {
		top: -3em;
		right: 35% !important;
		max-width: 200px;
	}

	div#wellness-group1 div#wellness-image4 {
		top: 22em;
	}

	div#wellness-group1 {
		bottom: 70%;
	}

	div#wellness-group1 div#wellness-image3 {
		right: 8em;
		top: 8em;
	}

	div#wellness-group2, div#wellness-group1 {
		max-width: 650px;
	}
}


@media (max-width:1300px)  { 

	div#wellness-group1 div#wellness-image1 {
		top: 8em;
	}

	.wellness-image-group .ry-each {
		max-width: 150px !important;
	}

	div#wellness-group1 div#wellness-image2 {
		left: 5%;
	}

	div#wellness-group1 div#wellness-image3 {
		left: 29%;
	}

	div#wellness-group1 div#wellness-image4 {
		top: 18em;
		left: 8em;
	}

	div#wellness-group2 div#wellness-image4 {
		right: 16%;
	}

	div#wellness-group2 div#wellness-image3 {
		left: 36%;
	}

	div#wellness-group2 div#wellness-image2 {
		top: 7em !important;
		right: 10% !important;
	}

	div#wellness-group2 {
		bottom: 58% !important;
	}
}

@media (max-width:1199px) {
    div.hp-wellness-section {
        padding: 3em 0 8em !important;
    }
    
    .wellness-image-group {
        position: static;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        gap: 0 10px;
    }
    
    div.wellness-center-block {
        position: static;
        margin: auto;
        justify-content: center;
        float: none;
    }
    
    div#wellness-group1 div#wellness-image1, div#wellness-group1 div#wellness-image2, div#wellness-group1 div#wellness-image3, div#wellness-group1 div#wellness-image4, div#wellness-group1 div#wellness-image5, div#wellness-group1 div#wellness-image6, div#wellness-group2 div#wellness-image1, div#wellness-group2 div#wellness-image2, div#wellness-group1 div#wellness-image3, div#wellness-group2 div#wellness-image4, div#wellness-group2 div#wellness-image5, div#wellness-group2 div#wellness-image6 {
        position: static !important;
        left: 0 !important;
        right: 0;
        top: 0 !important;
    }
    
    div#wellness-group2 div#wellness-image3 {
        position: static !important;
    }
    
    .wellness-content-block {
        margin: 2em 0 2em !important;
    }
    
    div#wellness-group2 {
        margin-bottom: 2em !important;
    }
}

@media (max-width: 1024px) {
	.intake section.ry-flex .heading {max-width: unset;}
	.intake section.ry-flex {flex-direction: column;}
}

@media (max-width: 767px) {
	.intake section.ry-flex .form-section .form-group.ry-flex {flex-direction: column;}
	.intake section.screening #Screening label {width: 100%;}
}


@media (max-width:600px) {
	div.wellness-center-block h4 {
		font-size: 20px !important;
	}

	div.wellness-center-block >div {
		left: 0;
		padding: 0 1em !important;
	}

	div.wellness-center-block p {
		font-size: 16px !important;
	}
}



/*Wellness Section*/


/*Articles page*/

div#page-pdf {
    margin-top: 1em;
}

a#sleep-test-btn {
    margin-top: 1.5em;
}

div#blog-content .ry-list-content p {
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    max-height: 180px;
    overflow: hidden;
    /* text-overflow: ellipsis; */
    line-height: 30px;
    font-size: 16px;
}

div#blog-content .ry-list-title a {
    font-size: 18px !important;
    line-height: 1.4;
}

div#blog-content .ry-list-wrp .ry-list-item .ry-list-content {
    width: 100%;
    padding: 2em;
}

div#blog-content .ry-list-wrp .ry-list-item {
    background: #fff;
    border-radius: 20px;
    width: 30%;
    box-shadow: 1px 1px 8px rgb(238 238 238 / 31%);
    padding: 0;
}

div#blog-content .ry-list-wrp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 2em;
}

.product-section, .products-section {margin-top: 80px;}
.product-section h2, .products-section h2 {margin-bottom: 30px !important;}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}
.products-grid .ry-each {width: 100%;}
.products-grid .ry-each .img {
    background: #ffffff;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.products-grid .ry-each .img img {width: 50%;}
.apps-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: flex-end;
}
.apps-grid .ry-each {
    width: calc(18% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.apps-grid .ry-each img {
    max-width: 80px;
    border-radius: 15px;
}
.apps-grid .ry-each strong {
    font-size: 14px;
    display: block;
    margin-top: 10px;
    text-align: center;
}

@media (min-width: 1200px) and (max-width: 1400px) and (min-height: 600px) and (max-height: 700px) {
	
    div.module-34 {
        padding-top: 15px !important;
    }
    
    div.module-34 .module-34-bot {
        margin-top: 20px !important;
    }
    
    .module-66 .bnr-textbox {
        max-width: 600px !important;
    }
    
    .module-66 .bnr-textbox h1 {
        font-size: 35px !important;
    }

	.module-66 .bnr-textbox h4 {
	    font-size: 18px !important;
	}
	
	.module-66 .bnr-textbox p {
	    margin-top: 0 !important;
	}
}



@media (max-width:1199px) and (min-width:767px) {
        div#blog-content .ry-list-wrp .ry-list-item {
            width: 47%;
    }

    div#blog-content .ry-list-content p {
        text-align:center
    }
}

@media (max-width:700px) {
      div#blog-content .ry-list-wrp .ry-list-item {
            width: 100%;
    }

    .ry-list-wrp .ry-list-item .ry-btn-container .ry-btn {
        max-width: 150px !important;
    }
}

/*End Articles page*/







/* QA Edits */
.alert li:last-child {
	margin-bottom: 0 !important;
}

body.default #ry-pg-body a:not(.ry-btn):not(.fa):hover {
    text-decoration: underline !important;
}


@media (max-width:700px) {
	
	.module-7 ul li p {
		text-align: center;
	}

	.module-7 ul li {
		flex-direction: column;
	}

	.module-7 ul li p {
		flex-direction: column;
	}

	.module-7 ul li p:before {
		margin-right: 0;
	}
}


/* QA Edits */

:root {
    --color-primary: #3c877f;
    --color-secondary: #293535;
    --font-default: Instrument Sans;
    --font-title: Libre Bodoni;
    
}

/* END */
	
.bullet-technology ul {
    column-count: 2;
}
	
	/*.ry-menu .ry-nav li.dropdown.primary.open .dropdown-menu li {
    opacity:1
}

.module-34 .ry-menu li.dropdown.primary.open:hover .dropdown-menu, .module-34 .ry-menu .dropdown.primary:focus .dropdown-menu {
    opacity:1
}

.ry-menu .ry-nav li.dropdown.primary.open .dropdown-menu {
    background: none;
    border: 0;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    top: 35px;
    padding: 0;
    border-top: 0 solid #272727;
    -webkit-transition: alllinear 300ms 100ms;
    transition: alllinear 300ms 100ms;
    opacity: 0;
    z-index: 99999;
}

li.dropdown.primary.open .dropdown-menu {
    left: -50%;
    float: unset;
    margin: 0;
} */
	
	
	div.module-appointment.option-1 .ry-content {
    padding: 20px;
    background: rgb(255 255 255 / 67%);
    border-radius: 30px;
    margin-bottom: -21%;
    z-index: 9999;
    
}

div.module-appointment.option-1 .ry-headline {
    display:none
}
	
div#WebPage-843aaffa-25f3-45fb-908b-f77e7450d678modal {
    max-height: fit-content;
    background-color: unset;
	overflow:unset
}
	
	@media (min-width: 768px) {
		div#WebPage-843aaffa-25f3-45fb-908b-f77e7450d678modal {
			max-width: 600px;
			margin: auto;
			width:90%;
			top:10px;
		}
	}

body[data-page-name="index"] .modal-dialog {
	margin: auto !important
}
	
	