/** GLOBAL CSS **/
:root {
    --color-primary: #264b51;
    --color-secondary: #72cdce;
    --color-tertiary: #cfa75f;
	--background-transparent: transparent;
    --filter-color-primary: brightness(0) invert(20%) sepia(4%) saturate(3511%) hue-rotate(181deg) brightness(89%) contrast(79%);
    --filter-color-secondary: brightness(0) invert(77%) sepia(52%) saturate(282%) hue-rotate(162deg) brightness(96%) contrast(90%);
	
	--color-text-white: #fff;
	--color-text-dark: #000;
}

*:not(.carousel *):not(.ry-accordion *):not(#accordion *):not([data-aos-duration]):not(.slick-track):not(#ry-section-header *):not(.fancybox-slide *),
::before,
::after {
    transition: 0.3s ease-in-out all;
}
html, body {
	overscroll-behavior: none;
	overflow-x: hidden !important;
}
html {
    scroll-behavior: smooth;
}

/* //Removed excess margin on bottom on forms alert */
.alert li:last-child {
    margin-bottom: 0 !important;
}

/* //Add Underline on all hyperlink */
body.default #ry-pg-body a:not(.ry-btn):not(.fa):hover {
    text-decoration: underline !important;
}
.ry-each-link, .ry-each-link a {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    opacity: 0;
}
.ry-btn-wrap {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
	gap: 10px;
}
.ry-section-background, .ry-section-background img {
	position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
	object-fit: cover;
}
body .ry-headline h2 {
	font-size: clamp(2.5rem, 1.7831rem + 2.9412vw, 5.3125rem);
	letter-spacing: -2px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: "Pathway Gothic One";
}
body .ry-headline h4 {
	font-size: clamp(1.5rem, 1.4044rem + 0.3922vw, 1.875rem);
	letter-spacing: 9px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--color-tertiary);
	font-family: "Jost";
	font-weight: 400;
}
.ry-headline {
    margin-bottom: 1.5vw;
}
.ry-section-padding {
	padding: 6vw 0;	
}

/** END GLOBAL CSS **/


/** HP WELCOME CUSTOM **/
.ry-welcome-custom {
    position: relative;
    padding: 6vw 0 14vw;
}
.ry-welcome-custom .ry-content {
    position: relative;
}
.ry-welcome-custom .ry-content .ry-inner-section {
    max-width: 1280px;
    margin: 0 auto;
    float: none;
}
.ry-welcome-custom .ry-inner-section .ry-flex {
    align-items: center;
    gap: 4em;
}
.ry-welcome-custom .ry-inner-section .ry-flex .ry-btn-wrap {
    justify-content: flex-start;
}
.ry-welcome-custom .ry-inner-section .ry-flex .ry-each:first-child {
    max-width: 530px;
    width: 100%;
}
.ry-welcome-custom:before {
    content: '';
    position: absolute;
    top: 0;
    left: 10vw;
    width: 482px;
    height: 800px;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-e7efdc40-9e83-45e3-ba74-efa0e61cb51f/Homepage_Assets/welcome_blue_bg_v2.png) center center no-repeat;
    background-size: contain;
}
.ry-welcome-custom .ry-inner-section .ry-flex .ry-each:first-child:before {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 168px;
    height: 168px;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-e7efdc40-9e83-45e3-ba74-efa0e61cb51f/Homepage_Assets/welcome_circle_bottom.png) center center no-repeat;
    background-size: contain;
    z-index: 1;
}
.ry-welcome-custom .ry-inner-section .ry-flex .ry-each:first-child:after {
    content: "";
    position: absolute;
    bottom: -7vw;
    right: 10vw;
    width: 80px;
    height: 80px;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-e7efdc40-9e83-45e3-ba74-efa0e61cb51f/Homepage_Assets/welcome_circle_top.png) center center no-repeat;
    background-size: contain;
    z-index: 1;
}
.ry-welcome-custom .ry-inner-section .ry-flex .ry-each:first-child img {
    position: relative;
    z-index: 2;
}	

/** HP SERVICES CUSTOM **/
.ry-services-custom {
    position: relative;
    padding: 6vw 0 20vw;
}
.ry-services-custom .ry-container {
    max-width: 1280px;
}
.ry-services-custom .ry-headline h2 {
    color: var(--color-secondary);
}
.ry-services-custom .ry-content {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}
.ry-services-custom .ry-content .ry-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4vw 2.5vw;
}
.ry-services-custom .ry-content .ry-flex .ry-each {
    max-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ry-services-custom .ry-icon-wrapper {
    background-color: #f8fdfe;
    position: relative;
    border-radius: 50%;
    width: 100%;
    height: 200px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ry-services-custom .ry-icon-wrapper:before {
    content: '';
    background-color: transparent;
    border: 2px solid var(--color-tertiary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 105%;
    height: 105%;
}
.ry-services-custom .ry-icon-wrapper img {
    max-width: 90px;
    aspect-ratio: 1/1;
    object-fit: contain;
}
.ry-services-custom .ry-services-name p {
    font-size: 20px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
    font-family: "Jost";
    text-align: center;
    line-height: 1.2;
}
.ry-services-custom .ry-content .ry-flex .ry-each:hover .ry-icon-wrapper:before {
    border: 8px solid var(--color-tertiary);
}
.ry-services-custom .ry-btn-wrap .ry-btn-primary {
    background: #fff !important;
    color: var(--color-primary) !important;
}
.ry-services-custom .ry-btn-wrap .ry-btn-primary:hover {
    background: var(--color-secondary) !important;
    color: #fff !important;
}
	
/** HP TEAM CUSTOM **/
.ry-team-custom {
    position: relative;
    background: transparent;
}
.ry-team-custom .ry-content {
    padding: 4em 6em;
    border-radius: 60px;
    overflow: hidden;
	margin-top: -14.5vw;
	position: relative;
    z-index: 2;
}
.ry-team-custom .ry-content .carousel-control {
    background-image: none;
}
.ry-team-custom .ry-content .ry-slide.ry-flex {
    align-items: center;
    gap: 4vw;
}
.ry-team-custom .slider-controller {
    width: 109px;
    height: 109px;
    border-radius: 50%;
    background-color: var(--color-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.ry-team-custom .ry-slider-nav {
    position: relative;
    top: unset;
}
.ry-team-custom .ry-content .carousel-control span {
    display: none;
}
.ry-team-custom .slider-controller .ry-slider-nav {
    height: 100%;
}
.ry-team-custom .slider-controller .ry-slider-nav .slider-btn {
    height: 100%;
    width: 100%;
    border-radius: unset;
}
.ry-team-custom .slider-controller .ry-slider-nav .slider-btn .fa {
    color: #fff;
    font-size: 36px;
}
.ry-team-custom .slider-controller:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.302;
    width: 1px;
    height: 48px;
    background-color: #ffffff;
}
/*.ry-team-custom .slider-controller .ry-slider-nav:hover .button-next,
.ry-team-custom .slider-controller .ry-slider-nav:hover .button-prev {
    background: #264b51;
}
.ry-team-custom .slider-controller .ry-slider-nav:hover .button-prev {
    background: #cfa75f;
}*/
.ry-team-custom .slider-controller {
    position: absolute;
    bottom: 3vw;
    right: 12vw;
	z-index: 9;
}
.ry-team-custom .ry-content .ry-slide.ry-flex .ry-right {
    max-width: 392px;
    width: 100%;
}
.ry-team-custom .ry-content .ry-slide.ry-flex .ry-left {
    max-width: 680px;
    width: 100%;
}
.ry-team-custom .ry-content .ry-slide.ry-flex {
    max-width: 1180px;
    margin: 0 auto;
    float: none;
}
.ry-team-custom .ry-headline p {
    font-size: 40px;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 400;
    font-family: "Pathway Gothic One" !important;
}
.ry-team-custom .ry-content .ry-slide.ry-flex .btn-wrap {
    margin-top: 2vw;
}
.ry-team-custom .carousel-indicators li {
    opacity: 0.400;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background-color: var(--color-primary);
    margin: 0;
    margin-right: 5px;
}
.ry-team-custom .carousel {
    position: relative;
    display: flex;
    justify-content: center;
}
.ry-team-custom .carousel-indicators {
    bottom: -2vw !important;
    left: unset !important;
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 !important;
}
.ry-team-custom .carousel-indicators li.active {
    width: 52px;
    height: 12px;
    border-radius: 6px;
    background-color: var(--color-secondary) !important;
    opacity: 1;
}
.ry-team-custom .carousel > .carousel-control {
    display: none;
}

/** HP MYOPIA **/
.ry-myopia-custom {
    position: relative;
    padding: 20vw 0 16vw;
    margin-top: -14.5vw;
}
.ry-myopia-custom .ry-flex {
    justify-content: flex-end;
}
.ry-myopia-custom .ry-flex .ry-btn-wrap {
    justify-content: flex-start;
}
.ry-myopia-custom .ry-bottom-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 1103px;
}

/** HP FRAMES **/
.ry-hp-frames {
    position: relative;
    padding: 0 0 6vw;
}
.ry-hp-frames .ry-frame-center {
    max-width: 640px;
    margin: 0 auto;
    float: none;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3em;
}
.ry-hp-frames .ry-frame-center .ry-section-background, .ry-hp-frames .ry-frame-center .ry-section-background img {
    object-fit: inherit;
    height: 100%;
}
.ry-hp-frames .ry-frame-center .ry-each {
    display: flex;
    flex-direction: column;
    gap: 2vw;
}
.ry-hp-frames .ry-frame-center .ry-each .ry-frame-logo img {
    max-width: 420px;
    margin: 0 auto;
}
.ry-frame-details-wrap .ry-text p {
    color: #fff;
}
.custom-arrows {
    width: 109px;
    height: 109px;
    border-radius: 50%;
    background-color: var(--color-tertiary);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: absolute;
    bottom: -2.5vw;
    left: 50%;
    transform: translateX(-50%);
}
.custom-arrows .slick-arrow {
    position: relative;
    height: 100%;
    width: 100%;
}
.custom-arrows:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.302;
    width: 1px;
    height: 48px;
    background-color: #ffffff;
}
.custom-arrows .slick-arrow:before {
    content: "\f054";
    font-family: 'FontAwesome';
    font-size: 24px;
    color: #fff;
}
.custom-arrows .slick-next:before {
    content: "\f054";
}
.custom-arrows .slick-prev:before {
    content: "\f053";
}

/** HP BRANDS & INSURANCE **/
.ry-multi-item-slider .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #9faeb0 !important;
    color: #fff !important;
    font-size: 16px !important;
}
.ry-multi-item-slider .owl-nav button:hover {
    background: #71cdcd !important;
    color: #666 !important;
}
div#module-32-carousel-two .swiper-button-prev,
div#module-32-carousel-two .swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: #9faeb0 !important;
    color: #fff !important;
    font-size: 16px !important;
    display: flex;
    justify-content: center;
    align-items: center;
}
div#module-32-carousel-two .swiper-button-prev:hover,
div#module-32-carousel-two .swiper-button-next:hover {
    background: #71cdcd !important;
    color: #666 !important;
}
.module-32 .swiper-button-prev:before,
.module-32 .swiper-button-next:before {
    font-size: 28px;
    color: #fff;
}
.module-32 .swiper-button-prev:before {
    margin-left: -5px;
}
.module-32 .swiper-button-next:before {
    margin-right: -5px;
}

/** HP LOCATION **/
.ry-hp-location {
    position: relative;
}
.ry-hp-location .ry-flex {
    gap: 4vw;
}
.ry-hp-location .ry-flex .ry-each {
    border-radius: 60px;
    filter: drop-shadow(0 0 21.5px rgba(41,37,37,0.08));
    background-color: #ffffff;
    overflow: hidden;
}
.ry-hp-location .ry-flex .ry-each .ry-location-details-wrap {
    filter: drop-shadow(0px -17px 21.5px rgba(41,37,37,0.19));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 2vw;
    gap: 20px;
}
.ry-hp-location .ry-svg-wrap {
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background-color: #cfa75f;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ry-hp-location .ry-svg-wrap svg {
    width: 20px;
    height: 20px;
}
.ry-hp-location .ry-location-name h3 {
    font-size: clamp(1.5rem, 1.1973rem + 1.2418vw, 2.6875rem);
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #264b51;
    font-weight: 400;
    line-height: 1.1;
    font-family: "Pathway Gothic One";
}
.ry-hp-location .ry-location-name h4 {
    font-size: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    color: #72cdce;
    font-weight: 400;
    font-family: "Jost" !important;
}

/** HP RESPONSIVENESS **/
@media (min-width: 1600px) {
	.ry-myopia-custom .ry-bottom-img {
		max-width: 940px;
	}
}
@media (max-width: 1440px) {
	.ry-team-custom .ry-content {
		margin-top: -19.5vw;
	}
	.ry-myopia-custom .ry-bottom-img {
		max-width: 800px;
	}
	.ry-myopia-custom {
		position: relative;
		padding: 22vw 0 16vw;
		margin-top: -19.1vw;
	}
	.ry-services-custom {
		padding: 6vw 0 22vw;
	}
	.ry-hp-location .ry-flex .ry-each .ry-location-details-wrap .ry-loc-name {
		width: 100%;
	}
}
@media (max-width: 1080px) {
	.ry-btn-wrap {
		justify-content: center !important;
	}
	.module-66 .bnr-textbox {
		position: relative;
		margin-bottom: 0 !important;
		padding: 4vw;
		background: #666;
	}
	.module-66 {
		padding-top: 60px;
	}
	.module-66, .module-66 .carousel img {
		height: auto !important;
	}
	.ry-welcome-custom::before {
		height: 790px;
	}
	.ry-myopia-custom .ry-flex .ry-each * {
		text-align: center;
	}
	.ry-myopia-custom .ry-bottom-img {
		position: relative;
        margin: 4vw auto 0;
        float: none;
	}
	.ry-myopia-custom {
		padding: 4vw 0 0;
		margin: 0;
		display: flex;
		flex-direction: column;
	}
	.ry-team-custom {
		padding: 4vw;
	}
	.ry-team-custom .ry-content {
		margin: 0;
		padding: 4vw;
	}
	.ry-team-custom .carousel-indicators {
		bottom: -3vw  !important;
	}
	.ry-team-custom .ry-content .ry-slide.ry-flex .ry-text p {
		line-height: 1.3;
	}
	.ry-welcome-custom .ry-inner-section .ry-flex {
		flex-direction: column;
	}
	.ry-welcome-custom .ry-inner-section .ry-flex .ry-each * {
		text-align: center;
	}
	.ry-hp-location .ry-flex,
	.ry-hp-location .ry-flex .ry-each .ry-location-details-wrap {
		flex-direction: column;
	}
	.ry-hp-location .ry-flex .ry-each .ry-location-name * {
		text-align: center;
	}
	.module-testimonials.option-1 .testimonials-wrapper {
		margin: 2vw 0;
	}
	.module-testimonials.option-1 .ry-container .content:before {
		background-size: contain;
	}
	.module-testimonials.option-1 .ry-container .content {
		overflow: visible;
	}
	.module-testimonials.option-1 .ry-quote-block {
		top: 105px;
	}
	.module-testimonials.option-1 .ry-name h3:before, .module-testimonials.option-1 .ry-name h3:after {
		opacity: 0;
	}
	.module-testimonials.option-1 .ry-container .content:before {
		height: 750px;
	}
	.module-44 .ry-flex {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 4vw;
	}
	.module-44 .ry-flex .ry-each {
		flex-basis: 100%;
	}
	.module-44 .ry-flex .ry-each * {
		text-align: center !important;
	}
	.module-44 .ry-flex .ry-footer-office-hours ul li {
		display: flex;
		flex-direction: column;
	}
	.module-44 .ry-flex .ry-each .website-info .ry-footer-office-hours .span-2 {
		width: 100%;
	}
}
@media (max-width: 768px) {
	.module-testimonials.option-1 .ry-container .content::before {
		background-size: cover;
		border-radius: 70px;
	}
	.ry-team-custom .ry-content .ry-slide.ry-flex {
		flex-direction: column-reverse;
	}
	.ry-team-custom .ry-content .ry-slide.ry-flex .content-wrap * {
		text-align: center;
	}
	.ry-team-custom .btn-wrap {
		display: flex;
		justify-content: center
	}
	.ry-team-custom .ry-content {
		padding: 6vw !important;
	}
	.ry-team-custom .slider-controller {
		bottom: 45vw;
		right: 16vw;
	}
	.ry-team-custom .carousel-indicators {
		display: flex !important;
		justify-content: center;
	}
}
@media (max-width: 500px) {
	body .ry-headline h4 {
		letter-spacing: 2px;
	}
	.ry-welcome-custom:before, .ry-team-custom .slider-controller {
		display: none;
	}
	.ry-team-custom .ry-content {
		padding: 6vw 6vw 10vw !important;
	}
	.ry-team-custom .carousel-indicators {
		bottom: -5vw !important;
	}
	.ry-hp-frames .custom-arrows {
		width: 80px;
		height: 80px;
		bottom: -9vw;
	}
	.ry-multi-item-slider {
		padding: 6vw 2em;
	}
	body.home .ry-multi-item-slider .owl-carousel .owl-item img {
		max-width: 150px;
	}
	.ry-hp-location {
		margin-top: -1px;
	}
	.ry-hp-location .ry-flex .ry-each {
		border-radius: 30px !important
	}
	.ry-hp-location .ry-flex .ry-each .ry-map-frame iframe {
		height: 400px
	}
}