/* CHANGES */


.module-44 {
    background: linear-gradient(#ffffff, #14284bcc, #14284b);
}

.module-43 .ry-left.ry-logo {
    background: #fff;
    padding: 1rem;
}


.ry-flex.myopia-mgt {
	justify-content: flex-start;
}

.ry-flex.myopia-mgt div:first-child {
	margin-right: 10px;
}

.ry-flex.myopia-mgt a.ry-btn {
	line-height: 1;
}

#contactlenses ul {
	flex-wrap: wrap;
}
#contactlenses ul li {
	display: block;
	width: 100%; 
}

.module-68 .ry-content .ry-flex-right .ry-each.ry-each-1 .ry-each-box {
	align-items: center;
	justify-content: flex-start;
}

.module-68 .ry-content .ry-flex-right .ry-each.ry-each-1 .ry-each-box-text {
	text-align: center;
}

.ry-field-label, .ry-field-label p {
	margin: 0 0 10px;
	line-height: 1.5;
	font-size: 20px;
	font-weight: 500;
}

.ry-field {
	margin: 0 0 20px;
}

.ry-form label {
	font-weight: 400;
}

.ry-promotions {
	background: #14284b;
	padding: 80px 0;
}

.ry-promotions .ry-each img {
	width: 100%;
	max-width: 660px;
}

.ry-promotions h2 {
	text-align: center;
	color: #ffffff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 45px;
	margin: 0 0 46px;
}

.ry-promotions .ry-flex {
	justify-content: center;
}

.ry-promotions .ry-each {
	width: auto;
	margin: 0 19px 0;
}

.module-66,
.module-66 .carousel .carousel-inner .item {
	height: 100vh;
}

.module-66 .carousel .carousel-inner .item {
	background-position: center;
}

.module-66, .module-66 .carousel .carousel-inner .item {
	height: calc(100vh - 196px);
}

.module-66 {
	margin: 196px 0 0;
}

#ry-pg-body .ry-left a.ry-btn {
    color: #fff;
}
.module-43 .ry-right .ry-menu .nav-menu .dropdown:last-child:hover .dropdown-menu.hover {
    left: -150%;
}

@media(max-width:1440px) {
	.module-66, .module-66 .carousel .carousel-inner .item, .module-66 .carousel {
		height: calc(100vh - 176px);
	}

	.module-66 {
		margin: 176px 0 0;
	}
}

.module-7 ul li {
	padding: 10px;
}

.module-7 ul li .ry-btn.ry-btn-primary:first-child {
	margin-right: 10px;
}

.module-7 ul li .ry-btn.ry-btn-primary {
	padding: 0 10px;
	width: auto;
	display: flex;
	height: 50px;
	line-height: 1;
	text-align: center;
	align-items: center;
	justify-content: flex-end;
	font-size: 14px;
}

.module-7 ul li .ry-btn.ry-btn-primary.single {
	margin: 0;
}

@media(max-width:1280px) {
	div.module-66 .carousel .carousel-inner .item {background-position: top;}
	.module-66, .module-66 .carousel .carousel-inner .item, .module-66 .carousel {
		height: calc(100vh - 120px);
	}
}

@media(max-width:767px) {
	.module-7 ul li .ry-btn.ry-btn-primary {
		margin: 0;
	}
}



/* MOBILE CHANGES */
.close-modal {
	position: absolute;
	top: -30px;
	z-index: 9;
	right: -30px;
}
.modal button.close {
	width: 30px;
	height: 30px;
	background: #1a294d;
	opacity: 1;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	/* position: absolute; */
	/* top: 0; */
}
.module-43 .ry-right .ry-leads .search-bar-widget .form-control::placeholder {
	color: #fff !important;
	opacity: .5;
}
.module-43 .ry-right .ry-leads .search-bar-widget .form-control, .module-43 .ry-right .ry-leads .search-bar-widget .btn-primary, .module-43 .ry-right .ry-leads .search-bar-widget .btn-primary i {
	border-color: rgba(255,255,255,.5) !important;
	color: #fff !important;
}
.module-43 .ry-right .ry-leads .ry-contact li.ry-el-link:not(:hover) {
	background: #fff;
	transition: all .2s;
}
.module-43 .ry-right .ry-leads .ry-contact li:hover .contact__overlay {
	-webkit-transform: scale(15);
	transform: scale(15);
	background: #a3cf5f;
}
.module-43 .ry-right .ry-leads .ry-contact li:hover * {
	color: #333 !important;
	border-color: #333 !important;
}
.module-43 .ry-right .ry-leads .ry-contact li:nth-child(2) .contact__overlay {
	background: #a3cf5f;
}
.module-43 .ry-right .ry-leads .ry-contact li:nth-child(2) * {
	color: #333 !important;
	border-color: #333 !important;
}
.module-43 .ry-right .ry-leads .ry-contact li:nth-child(2):hover * {
	color: #fff !important;
	border-color: #fff !important;

}
.module-43 .ry-right .ry-menu .nav-menu li.primary a {
	color: #fff !important;
}
.module-43 .ry-right .ry-menu .nav-menu li .dropdown-menu li a {
	color: #000 !important;
}
.module-43 {
	padding: 20px 0;
	position: relative;
	background-color: #14284b !important;
}
#ry-sidebar .ry-sb-cta .ry-btn {
	display: flex;
	justify-content: center;
	max-width: max-content;
	padding: 15px 30px;
}
#ry-sidebar .ry-sb-cta .ry-btn:hover {
	background: #acd46f;
	color: #333;
}
@media (max-width: 991px) {
	#mobile_menu {
		background: #14284b !important;
	}
	/*.mobile-container .flex-wrap .mobile_logo img {
	filter: brightness(0) invert(1);
}*/
	.ry-flex.myopia-mgt {
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
	.ry-flex.myopia-mgt div:first-child {
		margin-right: 0;
		margin-bottom: 10px;
	}
}

/** PM QA **/
body[data-page-name="contact-lens-exam"] .ry-payment-options-logos .ry-each img {
	max-width: 80%;
}
body[data-page-name="contact-lens-exam"] .ry-payment-options-logos .ry-each {
	display: flex;
	align-items: center;
	justify-content: center;
}
.module-43 .phone_number .call_us {
	display: none;
}
.module-44 .ry-flex .ry-each a:hover {
	color: rgb(255 255 255 / 70%) !important;
}
.module-43 {
	position: fixed; 
	background-color: rgba(198, 193, 192,0.7);
}
/*
.module-43.fixed {
background-color: rgba(198, 193, 192,1) !important;
}
*/
.module-43 .ry-right .ry-menu .nav-menu li a {
	font-size: calc(13px + 1 * ( (100vw - 500px) / 1100));
}
.module-43 .ry-right.ry-right-menu {
	max-width: 100%;
}

.module-43 .ry-right .ry-menu ul.nav-menu.ry-nav {
	max-width: 100%;
	top: 15px;
}
.module-43 .ry-menu .ry-nav li.primary {
	padding: 10px 0;
}
/*
body.default .module-43 {
background: rgba(198, 193, 192,1) !important;
}
*/
.ry-menu .ry-nav li.dropdown .dropdown-toggle span {
	margin-left: 5px;
}

.field-label {
	margin: 15px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

/* COLOR CHANGES */
.module-43 .ry-right .ry-leads .ry-contact .ry-el-link:not(:hover) * {
	color: #15294B !important;
	border-color: #15294B !important;
	transition: .5s;
}
/*
.module-43 .ry-right .ry-leads .search-bar-widget .form-control,
.module-43 .ry-right .ry-leads .search-bar-widget .btn-primary {
border-color: #15294B;
color: #15294B;
}
.module-43 .ry-right .ry-leads .search-bar-widget .form-control::placeholder {
color: rgba(20, 40, 75,.8) !important;
}
*/
.module-43 .ry-right .search-btn .fa-search {
	color: #15294B;
}
.module-43 .ry-right .ry-menu .nav-menu li a {
	color: #15294B !important;
	font-weight: 600 !important;
}
/*
.module-44,
.module-44 .social-icons .social-inner-wrap {
background: rgba(198, 193, 192,1) !important;
}

.module-44 .ry-footer-copyright .ry-right div {
color: #14284b;
}
.theme_special_text_color * {
color: #14284b !important;
opacity: 1 !important;
}
.module-44 .ry-divisor, .module-44 .ry-footer-copyright .ry-container {
border-top: 2px solid #14284b;
}
.module-44 .ry-flex .ry-each a, 
.module-44 .ry-flex .ry-each div, 
.module-44 .ry-flex .ry-each span,
.module-44 .ry-flex .ry-each h2 {
color: #14284b !important;
}
*/
.module-66 .carousel .carousel-inner .item.active {
	display: flex;
}
.module-66 .carousel .carousel-inner {
	opacity: 1;
}
.module-66 .carousel .carousel-inner .item:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#000));
	background-image: linear-gradient(rgba(255, 255, 255, 0), #000 );
	opacity: 0.6;
}
.module-66 .carousel .carousel-inner .item:nth-child(4):before,
.module-66 .carousel .carousel-inner .item:nth-child(6):before {
	opacity: 0;
}
.slider-wrapper-v2 {
	position: absolute;
	bottom: 0;
	width: 100%;
	display: flex;
	z-index: 1;
	/* height: auto !important; */
	/* height: 100%; */
}
.module-66 .bnr-textbox {
	margin-bottom: 90px !important;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9;
	margin-top: auto;
	z-index: 9999;
}
.frames-grid-block .ry-flex {
    margin-left: -30px;
    width: calc(100% + 30px);
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
}
.frames-grid-block .ry-flex .ry-each {
    width: calc(50% - 30px);
    margin-left: 30px;
    margin-bottom: 30px;
}
.office-wrap span.icon-next, .office-wrap span.icon-prev {
    color: #fff;
}
.office-wrap span.icon-next:before, .office-wrap span.icon-prev:before {
    font-size: 50px;
}

/** ABOUT **/
body[data-page-id="WebPage-916eb952-63e5-4d0e-b605-5045f1cf5725"] #ry-pg-banner .ry-bnr-wrp {
	background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-905aa7a1-eec3-45f7-81e2-6665c6b59cad/InnerAssets/about_us_banner_1.png) !important;
}
/** FRAME COLLECTION **/
body[data-page-id="WebPage-9ce26add-2655-4b85-91ee-9f68101711e8"] #ry-pg-banner .ry-bnr-wrp {
	background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-905aa7a1-eec3-45f7-81e2-6665c6b59cad/InnerAssets/frame_collection_banner_1.png) !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
	.module-69 {
		padding: 50px 0;
		overflow: hidden;
	}
	.module-69 .bg-image {
		position: relative;
	}
	.module-69 .ry-container {
		max-width: 85%;
	}
	.module-69 .ry-each-left {
		margin-top: 0;
	}
	.module-69 .ry-each-right {
		flex-basis: 100%; 
		width: 100%;
		height: auto;
		padding: 0;
	}
	.module-69 .ry-each-right p {
		text-align: center;
	}
	.module-69 .ry-each-right .btn-content {
		margin-left: auto;
		margin-right: auto;
	}
	.module-69 .ry-each-right .text-content {
		padding: 0;
	}
	.module-69 .ry-each-left .ry-section-title-wrapper .ry-section-title {
		margin-bottom: 0;
		margin-top: 30px;
	}

	.module-43 .ry-container {
		max-width: 1600px;
		width: 95%;
	}
}
@media (min-width: 992px) {
	div.module-44 .ry-footer-copyright .ry-right .powered {
		flex-direction: row;
		align-items: center;
	}
	div.module-44 .ry-footer-copyright .ry-right .powered div {
		display: flex;
		align-items: center;
	}
	div.module-44 .ry-footer-copyright .ry-right .powered div a {
		line-height: 1;
		opacity: 1;
	}
}
@media (min-width: 1441px) {
	.module-66 .ry-arrow__down {
		bottom: -4%;
	}
	.module-66 .carousel .carousel-inner .item {
		background-size: cover;
	}
}
@media (max-width: 1440px) and (min-width: 1300px) {
	.module-66 .ry-arrow__down {
		bottom: -4%;
	}
	.module-66 {
		min-height: auto;
	}
	.module-66 .carousel .carousel-inner .item {
		min-height: auto;
		background-size: cover;
	}
}
@media (max-width: 991px) {
	.frames-grid-block .ry-flex .ry-each {
		width: calc(100% - 30px);
	}
}
#ry-sidebar #accordion .ry-drop-nav#contactlenses.open ul {
	/*display: flex !important;*/
	flex-direction: column;
}

#ry-sidebar #accordion .ry-drop-nav#contactlenses ul li:first-child {
	order: 4 !important;
}

#ry-sidebar #accordion .ry-drop-nav#contactlenses ul li:nth-child(2) {
	order: 1 !important;
}

#ry-sidebar #accordion .ry-drop-nav#contactlenses ul li:nth-child(3) {
	order: 6 !important;
}

#ry-sidebar #accordion .ry-drop-nav#contactlenses ul li:nth-child(4) {
	order: 3 !important;
}

#ry-sidebar #accordion .ry-drop-nav#contactlenses ul li:nth-child(5) {
	order: 5 !important;
}

#ry-sidebar #accordion .ry-drop-nav#contactlenses ul li:last-child {
	order: 2;
}

/* 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: #1aa9ad;
	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;
}
span.span-2 {
	color: #fff !important;
}

.ry-grid.about .lightbox-trigger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ry-grid.about .lightbox-trigger {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.ry-grid.about .lightbox-trigger .each-block {
    cursor: pointer;
}

.ry-grid.about .lightbox-trigger .each-block:hover {
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
	div.ry-grid.about .lightbox-trigger {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
}


.ry-frames-img .ry-each {
    width: 33.33%;
    padding: 10px;
    text-align: center;
    margin-left: -1px;
    margin-bottom: -1px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ry-frames-img {
    flex-wrap: wrap;
    webkit-box-pack:start;
    justify-content:flex-start;
    margin-top:30px;
}

@media(max-width: 768px) {
	.ry-frames-img .ry-each {
		width: 50%;

	}
}

@media(max-width: 390px) {
	.ry-frames-img .ry-each {
		width: 100%;

	}
}

/** TEAM PAGE **/
.ry-team-card-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3vw;
}

.ry-team-card-wrap .ry-each-card {
    max-width: calc(450px - 4em);
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding: 15px;
    border-radius: 25px;
}

.ry-team-card-wrap .ry-each-card .ry-img-wrap, .ry-team-card-wrap .ry-each-card .ry-img-wrap img {
    border-radius: 25px;
    max-width: 160px;
    width: 100%;
}

.ry-team-card-wrap .ry-each-card .ry-text h4 {
    margin-bottom: 0 !important;
    font-family: 'Montserrat' !important;
    font-size: 20px !important;
}

/* QUARTERLY MODAL */
div#HomeModal {
    z-index: 999999;
}
#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: ;
    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;
}
/* QUARTERLY MODAL */
