/** GLOBAL CSS **/
:root {
    --color-primary: #1e293b;
    --color-secondary: #a88a63;
    --color-tertiary: ;
	--background-transparent: transparent;
	--background-white: #FFFFFF;
	
	--color-text-white: #fff;
	--color-text-dark: #000;
}
	
	.service-layout__custom div h2, .service-layout__custom div h3, .service-layout__custom div h4, .service-layout__custom div h5, .service-layout__custom div h6 {
		font-weight: 700 !important;
	}

*: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 {
    scroll-behavior: smooth;
}
/* Containers */
.ry-container-1280, .ry-container-1024, .ry-container-960 {
    width: 90%;
	margin: 0 auto;
	float: none;
}
.ry-container-1024 {
    max-width: 1024px;
}
.ry-container-1280 {
    max-width: 1280px;
}
.ry-container-960 {
    max-width: 960px;
}
	
.ry-padding-section {
	padding: 80px 0;
}

/* Backgrounds */
.bg-gray-50 {
	background: #f9fafb !important;;
}
.bg-gray-dark {
	background: #151d29 !important;;
}
.bg-white {
	background: var(--background-white) !important;
}
.bg-primary {
	background: var(--color-primary);
}
.bg-light-red {
    background: #fef2f2 !important;
}
.bg-blue-50 {
	background: #eff6ff !important;
}
.bg-blue-900 {
	background: #1e3a8a !important;
}

/* Borders */	
.border-t-accent {
	border-top: 4px solid #e5e7eb;
}
.border-t-red-500 {
	border-top: 4px solid #ef4444;
}
.border-t-red-600 {
	border-top: 4px solid #dc2626 !important;
}
.border-t-blue-600 {
	border-top: 4px solid #2563eb !important;
}
.border-l-red-500 {
	border-left: 4px solid #ef4444 !important;
}
.border-l-white-500 {
	border-left: 4px solid #e5e7eb !important;
}
.border-b-gray-500 {
	border-left: 1px solid #e5e7eb !important;
}
	
/* Box */
.ry-small-box {
	border: 1px solid #e5e7eb;
    padding: 20px;
}
.ry-small-box .ry-text p {
    text-align: center !important;
}
.ry-small-box .ry-text p strong {
    font-size: 16px !important;
    font-family: 'Montserrat' !important;
    font-weight: bold !important;
}
.ry-small-box .ry-text p {
    font-size: 12px !important;
}
#ry-pg-body .ry-text h4 {
    font-size: 16px;
    font-family: 'Montserrat' !important;
    margin-bottom: 10px;
}
#ry-pg-body .ry-small-text p {
    font-size: 14px;
    line-height: 1.4;
}
	
.ry-list-wrap ul li:before {
    content: '';
    font-family: 'FontAwesome';
    position: absolute;
    left: -22px;
}
	
/** Buttons **/
#ry-pg-body .ry-btn {
    text-transform: uppercase;
    font-weight: bold;
}
	
/** Headings **/
.ry-danger-headline h2, .ry-danger-headline h3, .ry-danger-headline h4 {
    color: #991b1b !important;
}
.ry-blue-headline h2, .ry-blue-headline h3, .ry-blue-headline h4 {
    color: #2563eb !important;
}
.text-red-700 p {
	color: #b91c1c !important;
}
.text-white p {
	color: #fff;
}
/** END GLOBAL CSS **/

.default .ry-flex.flex-equal .ry-flex {
    gap: 15px;
}
.default .ry-flex.flex-equal .card.bg-gray-50 svg {
    margin: 0 auto 15px;
}
.small-card {
    padding: 10px 20px;
}
.icon-with-text h4 span {
    background: #fee2e2;
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 4px;
    margin-top: -7px;
    display: inline-block;
    position: relative;
    top: -2px;
    text-transform: uppercase;
    color: #991818;
}
.ry-grid-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    place-content: center;
	margin-top: 30px;
}
.ry-grid-wrap .ry-each {
    width: 100%;
    padding: 20px 30px;
    border-radius: 8px;
    border: 1px solid #f9fafb;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
.ry-grid-wrap .ry-each:first-child {
    background: #fef2f2
}
.ry-grid-wrap .ry-each:nth-child(2) {
    background: #faf5ff
}
.ry-grid-wrap .ry-each:nth-child(3) {
    background: #fff7ed
}
.ry-grid-wrap .ry-each svg {
    margin: 0 auto 20px;
}
/** Narrow Angles Page **/
body[data-page-id="WebPage-0b246c39-487b-4fb0-b996-96a844e2f75b"] .ry-grid-wrap .ry-each svg {
    margin: 0 0 20px;
}
.ry-double-card-wrap {
    display: flex;
    flex-direction: column;
}
.ry-double-card-wrap .ry-each.card {
    width: 100%;
}
.ry-double-card-wrap .ry-each.card .icon-with-text {
    margin-bottom: 12px;
}
.ry-double-card-wrap .ry-each.card .icon-with-text p {
    color: var(--color-secondary);
    font-family: 'Playfair Display' !important;
    font-size: 20px;
}
.default #ry-pg-body .section.primary-section .ry-flex > .ry-each.card:last-child {
    background: transparent;
    border: unset;
}
.ry-floating-legend {
    position: absolute;
    top: 0;
    right: 0;
    padding: 4px 8px;
    background: #dc2626;
    border-radius: 0 8px;
}
.ry-floating-legend p {
    font-size: 10px !important;
    color: #fff !important;
    text-transform: uppercase;
    font-weight: bold !important;
}

.ry-light-red-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fee2e2;
}
.section-heading.ry-flex {
    justify-content: flex-start;
    gap: 20px;
    align-items: center;
}
.section .ry-flex-start {
	display: flex;
	justify-content: flex-start;
	gap: 10px;
}
.ry-list-wrap ul li {
    font-size: 14px;
    line-height: 1.5;
	margin-bottom: 12px;
}
.ry-list-wrap ul {
    list-style-type: none;
    margin-top: 10px;
}
.circle-dots-icons ul li:before {
    content: '\f192';
    color: #a88a63;
}
.ry-card-image-wrap {
    border-radius: 8px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.ry-card-image-wrap .ry-small-text p strong {
    font-family: 'Playfair Display' !important;
}
.ry-light-dark-section {
    border-radius: 12px;
    overflow: hidden;
	margin-top: 30px;
}
.ry-light-dark-section .ry-each {
    padding: 40px;
}
.ry-light-dark-section .ry-each .ry-svg-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eff6ff;
    display: grid;
    place-content: center;
    margin-bottom: 30px;
}
.ry-light-dark-section .ry-each:last-child .ry-svg-wrap {
    background: rgb(255 255 255 / 0.1);
}
.ry-light-dark-section .ry-each.ry-light-box ul li:before {
    content: '\f00d';
    color: #f87171;
}
.ry-light-dark-section .ry-each.ry-dark-box ul li:before {
    content: '\f071';
    color: #eab308;
}
.ry-light-dark-section .ry-each.ry-dark-box * {
    color: #fff !important
}
.ry-light-dark-section .ry-each.ry-dark-box {
    background: #0f172a;
}
.ry-box-headline {
    margin-bottom: 20px;
}
.ry-arrow-icons ul {
    column-count: 2;
}
.ry-arrow-icons ul li:before {
    content: '\f061';
    color: #ef4444
}
.ry-flex.col2 .ry-each.card h3 .span-1 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-grid;
    place-content: center;
    color: #fff;
    font-family: 'Montserrat';
    font-size: 20px !important;
    font-weight: bold;
}
.ry-flex.col2 .ry-each.card:first-child h3 .span-1 {
    background: #1e293b;
}
.ry-flex.col2 .ry-each.card:last-child h3 .span-1 {
    background: #2563eb;
}
.ry-flex.col2 .ry-each.card h3 {
    font-size: 24px !important
}
/** Corneal Ectasia Page **/
body[data-page-id="WebPage-080a0093-2e7f-4f4a-af6c-e86e87364f89"] .ry-flex.col2 .ry-each.card:last-child h3 {
    color: #2563eb !important;
}
.ry-flex.col2 .ry-each.card .ry-list-wrap ul li:before {
    content: '\f058';
    color: #2563eb;
}
.risk-icons ul li:first-child:before {
    content: '\f530';
}
.risk-icons ul li:nth-child(2):before {
    content: '\f1fd';
}
.risk-icons ul li:nth-child(3):before {
    content: '\f57d';
}
/** Pseudoexfoliation Syndrome Page **/
body[data-page-id="WebPage-aae441cd-ea4f-4b60-b59f-83b9512ce092"] .risk-icons ul li:first-child:before {
    content: '\f504';
}
body[data-page-id="WebPage-aae441cd-ea4f-4b60-b59f-83b9512ce092"] .risk-icons ul li:nth-child(2):before {
    content: '\f0ac';
}
body[data-page-id="WebPage-aae441cd-ea4f-4b60-b59f-83b9512ce092"] .risk-icons ul li:nth-child(3):before {
    content: '\f21e';
}
	
/** Pigmentary Dispersion Syndrome PAge **/
body[data-page-id="WebPage-ab14e717-a713-4138-91e8-a68363154a93"] .risk-icons ul li:nth-child(2):before {
    content: '\f4fd';
}
body[data-page-id="WebPage-ab14e717-a713-4138-91e8-a68363154a93"] .risk-icons ul li:nth-child(3):before {
    content: '\f183';
}
	
.ry-full-width-box {
    padding: 20px;
    border-radius: 12px;
}
.ry-full-width-box p {
    color: #fff;
}
.ry-full-width-box p strong:first-child {
    color: #a88a63;
    text-transform: uppercase;
}
/** PLACE YOUR MOBILE AND UP CSS HERE **/

@media (max-width: 768px) {
	.ry-grid-wrap {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.ry-grid-wrap {
		grid-template-columns: repeat(1, 1fr);
	}
}