

/* MODAL */
#HomeModal .modal-dialog {
    max-width: 767px;
    width: 90%;
    margin: 60px auto;
}
#HomeModal .modal-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
#HomeModal .modal-content .modal-header {
    position: absolute;
    padding: 0;
    width: 30px;
    height: 30px;
    background: #000;
    z-index: 2;
    border-radius: 50%;
    border: unset;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #fff;
    right: -15px;
    top: -15px;
}
#HomeModal .modal-content .modal-header button {
    color: #fff;
    opacity: 1;
    font-weight: 300;
}
#HomeModal .modal-dialog .modal-body {
    padding: 0;
}
#HomeModal .modal-content img {
    margin-bottom: 0;
}
#HomeModal .close-button button span {
    color: #fff;
    font-weight: 300;
    margin-bottom: -5px;
    margin-left: 1px;
}
#HomeModal .close-button button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    right: -15px;
    top: -15px;
    background: #26a4e0;
    border-radius: 50%;
    opacity: 1;
    border: unset;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#HomeModal img:not(.current),
.promo-quarter img:not(.current) {
    display: none;
}

#ry-sidebar #accordion .ry-drop-nav#visiontherapy, #ry-sidebar #accordion .ry-drop-nav#surgicalprocedures {display: none;}
.mobile-container {background: #fff !important;}
.mm-menu_theme-black .mm-navbar>*, .mm-menu_theme-black .mm-navbar a {color: #ffffff;}
.mm-listitem .mm-btn_next:before {border-left-color: #fff;}
.mm-menu_theme-black .mm-btn:after, .mm-menu_theme-black .mm-btn:before, .mm-menu_theme-black .mm-listview .mm-btn_next:after {border-color: #fff;}
.mm-listitem, .mm-listitem .mm-btn_next, .mm-listitem .mm-btn_next:before, .mm-listitem:after, .mm-listview {border-color: #fff;}

@media (min-width:1082px) and (max-width:1232px) {.call-span{display:none;}}
@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: #111111;}}
#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: #111111;}
body {font-family: Poppins !important;}
.ry-btn:after {display:none;}
.btn, .ry-btn, .ry-btn-primary, .ry-btn-secondary {font-family: 'Poppins';z-index:99;}
.ry-btn {height: 60px;display: flex;align-items: center;justify-content: center;padding-left: 25px;padding-right: 25px;max-width: max-content;color: #111111 !important;background: #26a4e0 !important;font-size: 20px !important;}
.ry-btn-primary:hover {background: #2e368f !important;color: #ffffff !important;}
.ry-btn.ry-btn-secondary{color: #ffffff !important;background: #2e368f !important;}
.ry-btn.ry-btn-secondary:hover {background: #26a4e0 !important;color: #111111 !important;box-shadow: unset !important;}
/*.module-18 .ry-content .card img {opacity: 1;} .module-18 .ry-el-bg img {visibility: visible;} */

/** Update CSS **/

body,.module-115 .ry-nav li a, body div, body p{
	font-weight: 400 !important;
	font-family: Poppins !important;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 600 !important;
	font-family: EB Garamond !important;
}

.module-70 .ry-each.ry-each-1 .ry-section-title, .module-services.style-8 .ry-content .section-headline h2, .module-70 .ry-each.ry-each-4 .cmsForm .ry-section-title, .module-welcome.style-3 .ry-each h2, .module-29 .ry-section-title, .module-testimonials.option-2 .section-headline h2, .module-appointment.option-1 .section-headline h2, .module-brands.style-4 .section-headline h2, .module-welcome.style-4 .ry-flex .ry-each .text-wrapper h2, .ry-services.style2 .section-headline h2, #team-wrap .section-head, .module-insurance.style-1 .section-headline h2,.module-brand .section-headline h2, .module-testimonials.style-3 .section-headline h2 {
    font-weight: 600 !important;
	font-size: clamp(2rem, 1.775rem + 1.125vw, 3.125rem) !important;
    text-transform: uppercase !important;
}

.module-services.style-8 .ry-content .section-headline h2, .module-70 .ry-each.ry-each-4 .cmsForm .ry-section-title{
	color: #2e368f !important;
}

.module-testimonials.style-3 .ry-container .ry-content .review-box .ry-flex .ry-each .each-comment p {
	text-align: center;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}
.ry-btn{
	color: #ffffff !important;
}

.ry-btn:hover, .module-14 .item .card .slide-text-wrap .btn-wrap .btn:hover{
	color: #ffffff !important;
}


.icon-bar {
    overflow: hidden;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 0px 0px 30px rgb(0 0 0 / 15%);
	z-index: 999;
}
.alert li:last-child {
	margin-bottom: 0 !important;
}
body.default #ry-pg-body a:not(.ry-btn):not(.fa):hover {
	text-decoration: underline !important;
}

body.home #top-brands .ry-multi-item-slider .ry-btn {margin: 20px auto 0;}
.module-14 .item .card .slide-text-wrap .btn-wrap .btn, .ry-btn,
.module-21.style2 .btn, .module-21.style2 .slider-btn, .module-appointment.option-1 .btn, .module-appointment.option-2 .btn {
    border-radius: 100px !important;
    /* border: none !important; */
}

@media (max-width: 991px) {
	.module-18 .ry-content .card:hover .anchor-wrap a {
		font-size: 1em !important;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 100%;
	}
	.ry-pg-title h1 {
		text-shadow: 1px 1px #000;
	}
}

@media (max-width: 500px) {
	.module-18 .ry-content .card {
		width: 90%;
	}
	.module-18 .ry-content .card .anchor-wrap a {
		font-size: 14px !important;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 85%
	}
}

@media (max-width: 1199px) and (min-width: 768px) {
	.module-welcome.style-3 .ry-each .photo img, 
	.module-welcome.style-3 .ry-each .photo {
		object-position: 100% -90px;
	}
}
.has-error .form-control {
    border-color: #a94442 !important;
}
@media (max-width: 767px){
	body[data-page-name="reviews"] #ry-pg-body em {
		text-align: center !important;
		display: block;
	}
	.module-services.style-5 .services-wrapper .ry-flex .ry-each .title{
		left: 15px;
	}
}

/** Inner Banner Proper Width Start **/
#ry-pg-banner .ry-bnr-wrp {
	background-position: 95%;
}
@media (max-width: 1600px){
	#ry-pg-banner .ry-bnr-wrp {
		margin-top: -1px;
	}
}
@media (max-width: 1599px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 320px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 0%;
	}
}
@media (max-width: 1380px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 300px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 95%;
	}
}
@media (max-width: 1024px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 260px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 80%;
		margin-top: 90px;
	}
}

@media (max-width: 991px){
	#ry-pg-banner .ry-bnr-wrp {
		margin-top: 68px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 95%;
	}
	#ry-pg-banner .ry-bnr-wrp {
		height: 260px;
	}
}
@media (max-width: 767px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 260px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 95%;
	}
}
@media (max-width: 500px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 200px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 90%;
	}
}

@media (min-width: 768px){
	#ry-pg-body p{
		text-align: left;
	}
}
@media (min-width: 1024px){
	#ry-pg-banner .ry-bnr-wrp:before{
		background: none;
	}
}

@media (min-width: 1600px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 340px;
	}
	#ry-pg-banner .ry-bnr-wrp {
		background-position: 95%;
	}
}
@media (min-width: 3000px){
	#ry-pg-banner .ry-bnr-wrp {
		height: 800px;
	}
}

/** Inner Banner Proper Width End **/

#ry-sidebar #accordion #conditions {
    display: none !important;
}

.footer.style-3 .footer-top .ry-each .footer-form .form-control, .module-appointment.option-1 .form-block .form-control {
    border-radius: 30px;
}
body.home .form-group.required.has-error, .footer.style-3 .form-group.required.has-error {
    border-radius: 100px !important;
}

img#google-rev-image {
  max-width: 150px;
  margin-top: 1em;
}

@media (max-width: 1024px){
	.contact-template.style-2 .ry-flex .contact-details .inner-flex .ry-each.hour .ry-text p {
		text-align: center !important;
	}
}

/* QA Edits */
@media (max-width: 500px) {
	.module-66 .bnr-textbox {
		margin-bottom: 20px !important;
	}
    .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%;
		left: 50px;
		right: 50px;
	}
}

@media (max-width: 1024px) {
	.module-testimonials.style-3 .carousel {
		padding-left: 0;
	}
}


/* */

.module-70 .ry-each.ry-each-1, .module-70 .ry-each.ry-el-bg {
    display: none;
}


/*Inside Page Banners*/

body[data-page-name="about"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/About.png) !important;
}

body[data-page-name="contact-us"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Contact_Us.png) !important;
}


body[data-page-name="promotions"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Current_Promotions.png) !important;
}

body[data-page-name="services"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Eyecare_Services.png) !important;
}

body[data-page-name="frames"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Eyeglasses.png) !important;
}


body[data-page-name="payment-options"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Insurance_Payment_Options.png) !important;
}

body[data-page-name="our-eye-doctors"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Our_Doctor.png) !important;
}


body[data-page-name="online-forms"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Patient_Forms.png) !important;
}

body[data-page-name="reviews"] .ry-bnr-wrp.ry-el-bg {
  background-image: url(https://www.royacdn.com/unsafe/smart/Site-005aa53a-3b27-4a78-8ebf-626c969ff89c/Interior_Page_Banners/Patient_Reviews.png) !important;
}


/*Inside Page Banners*/