/** GLOBAL CSS **/
.ry-background-section, .ry-background-section img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	object-fit: cover;
}
.ry-padding-section {
	padding: 4rem 0;
}
#ry-pg-body .ry-container {
    max-width: 1600px !important;
}
div#ry-pg-body {
    padding: 0 !important;
}
body .ry-headline h2 {
    font-size: clamp(2.5rem, 2.1814rem + 1.3072vw, 3.75rem) !important;
    line-height: 1.1 !important;
    text-transform: capitalize;
    color: #064d85;
    font-weight: 500;
    font-family: "Jost";
}
body .ry-headline h4 {
    font-size: 20px !important;
    line-height: 1.4;
    text-transform: uppercase;
    color: #4b4b4b;
    font-weight: 500 !important;
    font-family: "Jost";
}
#ry-pg-body .ry-container {
	width: 90%;
}

/** SECTION 1 **/
.ry-section-1 .ry-flex {
    gap: 4rem;
    justify-content: center;
}
#ry-pg-body .ry-section-1 .ry-container {
    max-width: 1280px !important;
}
.ry-section-1 .ry-flex .ry-center {
    max-width: 960px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}
.ry-section-1 .ry-flex .ry-img-left, .ry-section-1 .ry-flex .ry-img-right {
    position: absolute;
    top: 100px;
    max-width: 377px;
    width: 100%;
    z-index: 2;
}
.ry-section-1 .ry-flex .ry-img-left {
    left: 0;
} 
.ry-section-1 .ry-flex .ry-img-right {
    right: 0;
}
.ry-section-1 .ry-flex .ry-center .ry-vid-frame {
    max-width: 700px;
    margin: 0 auto;
    float: none;
    position: relative;
}
.ry-section-1 .ry-flex .ry-center .ry-text {
    max-width: 640px;
}
.ry-section-1 .ry-flex .ry-center .ry-vid-frame:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-4d2642ac-1aad-4ae5-a53c-b0f9cd4cc4cb/Dry_Eye_Treatment/welcome_play_icon.png) center center no-repeat;
    width: 80px;
    height: 80px;
    z-index: 99;
}
.ry-section-1 .ry-flex .ry-center .ry-vid-frame img {
    position: relative;
    z-index: 1;
}
.ry-section-1 .ry-flex .ry-vid-frame {
    max-width: 100%;
    margin: 0 auto;
    float: none;
    position: relative;
}
.ry-section-1 .ry-flex .ry-text {
    max-width: 640px;
}
.ry-section-1 .ry-flex .ry-vid-frame:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-4d2642ac-1aad-4ae5-a53c-b0f9cd4cc4cb/Dry_Eye_Treatment/welcome_play_icon.png) center center no-repeat;
    width: 80px;
    height: 80px;
    z-index: 99;
}
.ry-section-1 .ry-flex .ry-vid-frame img {
    position: relative;
    z-index: 1;
}
.ry-section-1 .ry-content .ry-headline {
    margin-bottom: 40px;
}
.ry-section-1 .ry-flex .ry-each .ry-btn-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/** SECTION 2 **/
.ry-section-2 {
    position: relative;
	background-color: #e9eff5;
}
.ry-section-2:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: #064d85;
}
#ry-pg-body .ry-section-2 .ry-container {
    max-width: 1280px !important;
}
.ry-section-2 .ry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    place-content: center;
    gap: 40px;
}
.ry-section-2 .ry-grid .ry-each {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
	cursor: pointer;
}
.ry-section-2 .ry-grid .ry-each .ry-img-wrap {
    position: relative;
}
.ry-section-2 .ry-grid .ry-each .ry-img-wrap img {
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
    background-color: transparent;
    border: 8px solid rgba(255,255,255,0.4);
}
.ry-section-2 .ry-grid .ry-title h4 {
    font-size: clamp(1.375rem, 1.3431rem + 0.1307vw, 1.5rem);
    color: #064d85;
    font-weight: bold;
    font-family: "Jost";
}
.ry-section-2 .ry-grid .ry-each .ry-on-hover-desc {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px;
    border-radius: 20px;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
    background-color: #06121bb0;
    transition: all ease 0.3s;
    border: 8px solid rgba(255,255,255,0.4);
    opacity: 0;
}
.ry-section-2 .ry-grid .ry-each .ry-on-hover-desc * {
    color: #fff;
}
.ry-section-2 .ry-grid .ry-each:hover .ry-on-hover-desc {
    opacity: 1;
    height: 100%;
    top: 0;
}
.ry-section-2 .ry-grid .ry-each:hover .ry-img-wrap {
    scale: 1.03;
    transition: all ease 0.3s;
}

/** SECTION 3 **/
.ry-section-3 {
    position: relative;
    background: #e9eff5;
}
#ry-pg-body .ry-section-3 .ry-container {
    max-width: 1280px !important;
}
.ry-section-3 .ry-flex {
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

/** SECTION 4 **/
.ry-section-4.ry-reviews:before {
    opacity: 0;
}
.ry-section-4.ry-reviews {
    background: transparent;
}
.ry-section-4.ry-reviews .ry-container > .ry-content:before {
    display: none;
}
.ry-section-4.ry-reviews .ry-content {
    box-shadow: unset;
}
.ry-section-4.ry-reviews .ry-content {
    max-width: 960px;
}
.ry-section-4.ry-reviews .ry-content .ry-slider-wrap {float: inline-start;}
.ry-section-4.ry-reviews .ry-content {margin-top: 20px;}
.ry-section-4.ry-reviews .ry-top-text {
    max-width: 670px;
}
.ry-section-4.ry-reviews .ry-top-text p {
    color: #fff;
}


/** SECTION 5 **/
.ry-section-5 {
    background: #064d85;
}
#ry-pg-body .ry-section-5 .ry-container {
    max-width: 1280px !important;
}
.ry-section-5 .ry-headline * {
    color: #fff;
}
.ry-section-5 .ry-accordion .ry-heading {
    background: #fff;
    border-radius: 10px;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.1));
}
.ry-section-5 .ry-accordion .ry-heading {
    color: #403f40;
}
.ry-section-5 .ry-accordion .ry-heading div {
    color: #2f2f2f;
}
.ry-section-5 .ry-accordion .ry-heading:hover div {
    color: #fff;
}
.ry-section-5 .ry-accordion .ry-heading:after,
.ry-section-5 .ry-accordion .ry-heading.ui-state-active:after {
    color: #2f2f2f;
}
.ry-section-5 .ry-accordion .ry-heading:hover:after,
.ry-section-5 .ry-accordion .ry-heading.ui-state-active:hover:after {
    color: #fff;
}
.ry-section-5 .ry-accordion .ry-heading:before {
    border-radius: 0;
}
.ry-section-5 .ry-accordion .ry-heading.ui-state-active {
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    filter: unset;
    border: none;
    box-shadow: none;
}
.ry-section-5 .ry-accordion .ry-content.ui-accordion-content-active {
    filter: unset;
    background: #fff;
    margin-bottom: 20px;
}
/** PLACE YOUR MOBILE AND UP CSS HERE **/

@media (min-width: 1081px) {
	.ry-padding-section {
		padding: 8rem 0;
	}
}

@media (max-width: 1080px) {
	.ry-section-1 .ry-flex {
		flex-direction: column;
	}
	.ry-section-1 .ry-flex .ry-text {
		max-width: max-content;
	}
	.ry-section-1 .ry-flex .ry-text * {
		text-align: center;
	}
	.ry-section-2 .ry-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ry-section-3 .ry-flex {
		flex-direction: column;
	}
	.ry-reviews .ry-slide .inner-content img {
		max-width: max-content;
	}
	.ry-section-3 .ry-each.ry-img-wrap img {
		max-width: max-content;
		margin: 0 auto;
	}
	.ry-section-3 .ry-each * {
		text-align: center
	}
}

@media (max-width: 768px) {
	.ry-reviews .ry-slider-wrap {
		width: 100%;
	}
	.ry-section-4.ry-reviews .ry-top-text p {
		text-align: center;
	}
	.ry-section-4.ry-reviews .ry-background-section, 
	.ry-section-4.ry-reviews .ry-background-section img {
		object-position: right;
		opacity: 0.8;
	}
}

@media (max-width: 500px) {
	.ry-section-2 .ry-grid {
    	grid-template-columns: repeat(1, 1fr);
		gap: 10px;
	}
	.ry-section-2::before {
		display: none;
	}
}
