/* Before adding any unnecessary CSS rules, please check out the Snap documentation at https://bit.ly/3PqSii8. */
/* Override Styles */

.service-style-1 h2 {
    margin: 10px 0;
}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}

/* HP Edits - Started <August 19, 2025> */

/**/
	/*fonts*/
.custom-headline h1 {
    font-family: 'Anton';
    font-size: clamp(1.854375rem, 1.59rem + 1.175vw, 3rem);
    color: white;
}

.custom-headline h2 {
    font-family: 'Anton' !important;
    font-size: clamp(3rem, 2.3942rem + 2.6923vw, 5.625rem);
    text-transform: uppercase;
}
.custom-headline h2 .span-1{
    color: var(--color-secondary-background);
    font-family: 'Caveat';
    text-transform: lowercase;
	display: block;
	line-height: 1;
}
.custom-headline h2 .span-2{
    font-size: clamp(1.854375rem, 1.59rem + 1.175vw, 3rem);
	display: block;
}
.custom-p p {
    font-size: clamp(1.14625rem, 0.9828rem + 0.7263vw, 1.854375rem);
    font-family: 'Playfair Display' !important;
}
.custom-headline h2 {
    line-height: 1.1;
}
.custom-headline h3 {
    text-align: center;
    font-family: 'Anton';
    font-size: clamp(1.854375rem, 1.59rem + 1.175vw, 3rem);
}
	/*btns*/
		.ry-btn {
			height: 40px;
			display: flex;
			justify-content: center;
			align-items: center;
			font-family: 'Anton';
			text-transform: uppercase;
			letter-spacing: 0.05em;
		}

		.ry-btn.ry-btn-white {
			background: white;
		}

		.ry-btn.ry-btn-white:hover {
			background: transparent !important;
			color: white;
			border: 1px solid white;
		}
/*Modal*/
/* Header */
	/**/
/* Hero */
	/**/
.with-gradient:before {
    background-image: linear-gradient(to top, var(--color-primary-background), transparent);
    height: 30%;
    top: auto;
    bottom: 0;
    z-index: 1;
}

#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
}

#hp-slider .photo, #hp-slider .photo img {
    position: absolute;
    height: 60%;
    width: 60%;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
}

.slider-info {
    min-height: fit-content;
}

@media (min-width: 768px) {
    .slider-info-center-bottom {
        bottom: 3%;
    }
}
/* CTA */
	/**/
/* Welcome */
	/**/

.custom-hp-welcome .banner div:last-child {
    margin-top: 30px;
}
.custom-hp-welcome .ry-section .background-section, .custom-hp-welcome .ry-section .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.custom-hp-welcome .banner {
    padding: 50px 13vw;
}

.custom-hp-welcome .ry-section .content {
    padding: 260px 100px;
}


.custom-hp-welcome .top-section .custom-headline h2 {
    text-align: right;
}
.custom-hp-welcome .custom-headline h2 .span-1 {
    margin-bottom: -1.5vw;
    margin-top: -20px;
}
.custom-hp-welcome .top-section {
    gap: 190px;
}

.custom-hp-welcome .bg-white.shadow-lg {
    box-shadow: 0 0 7px #333;
    overflow: visible;
}
/* Services */
	/**/
.custom-hp-services .custom-headline h2 {
    text-align: center;
    line-height: 1;
	color: white;
}

.custom-hp-services .flex .left {
    background: #5bb0cf;
}
.custom-hp-services .ry-section:last-child:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80%;
    width: 20%;
    background: url(https://s3.amazonaws.com/static.organiclead.com/Site-38104f31-cf2d-4734-9450-52bfa1b7fb83/images/DFM_service_book.png) center center no-repeat;
    background-size: contain;
}
/* Meet the Team */
	/**/
.custom-hp-team .background-section, .custom-hp-team .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.custom-hp-team .content {
    padding-bottom: 700px;
}

.custom-hp-team .custom-headline h2 {
    text-align: center;
}
/* Insurance */
	/**/
/* Brand */
	/**/
/* Request Appointment */
	/**/
.custom-hp-form .custom-p p,
.custom-hp-form .custom-headline h2{
    text-align: center;
}
.custom-hp-form .custom-headline h2 {
    color: white;
}
.custom-hp-form .form-inverse {
    background: white;
    max-width: 1280px;
    margin: 0 auto;
    margin-top: 40px;
    padding: 30px;
}

.custom-hp-form .custom-headline h3 {
    text-align: left;
    font-family: 'Poppins' !important;
    font-size: clamp(1.14625rem, 0.9828rem + 0.7263vw, 1.854375rem);
}

.custom-hp-form .input-wrap .custom-headline {
    border-bottom: 2px solid #dadadaa6;
    margin-bottom: 20px;
}

.form-group .form-control {
    width: 100%;
    background: #dadada;
}

.custom-hp-form .input-wrap.flex {
    flex-direction: column;
    gap: 10px;
}

#submit {
    background: var(--color-primary-background);
    height: 40px;
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
}

.custom-hp-form .input-wrap {
    margin-bottom: 40px;
}

.custom-hp-form .input-wrap:last-child {
    margin: 0;
}
/* Testimonials */
	/**/
/* Footer */
	/**/
/*Media Queries*/
@media screen and (max-width:1080px){
	.custom-headline h2 {
		text-align: center;
	}
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
        height: 100% !important;
    }
    
    #hp-slider .photo, #hp-slider .photo img {
        top: auto;
        bottom: 5%;
    }
	.custom-hp-services {
		margin-top: -1px;
	}
    .custom-hp-welcome .top-section {
        flex-direction: column;
        gap: 40px;
    }
    .custom-hp-welcome .top-section .custom-headline h2,
    .custom-p p{
            text-align: center;
    }
}


.custom-hp-services .flex .right {
    padding-bottom: 150px;
}

.custom-hp-services .flex .left {
    padding-top: 150px;
}



.custom-hp-team .paragraph-wrapper {
    gap: 20px;
}

@media screen and (max-width: 768px) {
    #hp-slider .photo, #hp-slider .photo img {
        top: auto;
        bottom: 12%;
    }
    .custom-hp-welcome .ry-section .content {
        padding: 80px;
    }
    
    .custom-headline h2 {
        text-align: center;
    }
    .custom-hp-services .ry-section:last-child:before {
        height: 100%;
        width: 240px;
    }
	.custom-hp-welcome .ry-section .content {
		padding: 10vw 6vw;
		background: #ffffff54;
		border-radius: 0 0 20px 20px;
	}
	.custom-hp-team .content {
		padding-bottom: 8vw;
	}
	.custom-hp-team .background-section, .custom-hp-team .background-section img {
		position: relative;
	}
}



@media screen and (max-width: 500px) {
    .custom-hp-welcome .ry-section .content {
        padding-left: 0px;
        padding-right: 0px;
    }
	#hp-slider .photo, #hp-slider .photo img {
        bottom: 20%;
    }
}



/* End - HP Edits*/


/** INSIDE PAGES **/
.ry-hero-wrap {
    padding: 4vw 0;
    height: 100vh;
	position: relative;
}
.ry-hero-wrap .ry-flex {
    gap: 4em;
	align-items: center;
}
.ry-hero-wrap .ry-flex .ry-each {
    width: 50%;
}
.ry-hero-wrap .ry-flex .ry-each .ry-text-w-bg {
    padding: 10px 20px;
    background: #5BB0CF;
    width: 100%;
}
.ry-hero-wrap .ry-text-w-bg h5 {
    font-size: clamp(1.5rem, 1.3566rem + 0.5882vw, 2.0625rem);
    color: #fff;
    text-transform: uppercase;
    font-family: 'Anton';
}
.ry-hero-wrap .custom-headline h2 {
    margin: 0 !important;
}
.custom-headline h2 > br {
    display: none;
}
.ry-level-system-page .custom-headline h2 .span-1 {
    text-transform: initial;
    font-size: clamp(1.875rem, 1.4289rem + 1.8301vw, 3.625rem);
    margin-bottom: -14px;
    position: relative;
    z-index: 1;
}
.ry-level-system-page .custom-headline h2 .span-2 {
    font-size: clamp(2.5rem, 1.8627rem + 2.6144vw, 5rem);
    text-transform: capitalize;
}
.ry-level-system-page .custom-headline h4 {
    font-size: clamp(1.5rem, 1.3725rem + 0.5229vw, 2rem);
    font-family: 'Anton';
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}
.ry-hero-wrap .ry-flex .ry-each p {
    margin: 0;
}
.ry-hero-wrap .ry-flex .ry-each.ry-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ry-hero-wrap:before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #02010100 54%, #FFFFFF 100%);
    z-index: 1;
}
.ry-hero-wrap .ry-flex .ry-each .ry-form .custom-headline h2 .span-1 {
    color: #fff;
}
.ry-level-system-page .ry-form .custom-headline h2 .span-2 {
    font-size: clamp(1.875rem, 1.5564rem + 1.3072vw, 3.125rem);
}
.ry-ip-list-wrap ul li {
    list-style-type: none;
    position: relative;
    font-size: 15px;
    padding-left: 0;
}
.ry-ip-list-wrap ul li:before {
    content: '\F26E';
    font-size: 18px;
    font-family: 'bootstrap-icons';
}
.ry-ip-list-wrap ul {
    padding-left: 0;
}
.ry-hero-wrap .ry-flex .ry-each .ry-form {}

.ry-hero-wrap .ry-flex .ry-each .ry-form .fieldset {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ry-hero-wrap .ry-flex .ry-each .ry-form .fieldset .ry-blocks p {
    font-size: 18px !important;
    line-height: 1.4;
}
.ry-hero-wrap .ry-flex .ry-each .ry-form .fieldset .form-group .form-control {
    background: #fff;
}
.ry-hero-wrap .ry-flex .ry-each .ry-btn.ry-btn-primary:hover {
    border: 1px solid #14272e !important;
}
.ry-hero-wrap .ry-flex .ry-each .ry-btn.ry-btn-primary {
    margin-top: 0;
    width: 100% !important;
    max-width: 100%;
    min-width: 100%;
}
.ry-finance-section .custom-headline h2 .span-2 {
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
	.ry-hero-wrap .ry-flex {
		flex-direction: column;
	}
	.ry-hero-wrap {
		height: auto;
	}
	.ry-hero-wrap .ry-flex .ry-each.ry-text-wrap {
		justify-content: center;
		align-items: center;
	}
	.ry-hero-wrap .ry-flex .ry-each.ry-text-wrap * {
		text-align: center;
	}
	.ry-ip-list-wrap ul li {
		text-align: left !important;
	}
	.ry-hero-wrap .ry-flex .ry-each .ry-form .fieldset * {
		text-align: center;
	}
	.ry-hero-wrap .ry-flex .ry-each {
		width: 90%;
	}
}

/** DISCOVER MATRIX PAGE **/
.ry-discover-the-hidden-matrix .custom-headline h2 .span-2 {
    font-size: clamp(2.5rem, 1.5123rem + 4.0523vw, 6.375rem);
    width: 100%;
}
.ry-discover-the-hidden-matrix .ry-hero-wrap .ry-flex .ry-each {
    width: 100%;
}
.ry-discover-the-hidden-matrix .ry-hero-wrap .ry-flex .ry-each .ry-text-w-bg {
    background: #fe8a00;
}
.ry-discover-the-hidden-matrix .ry-hero-wrap .ry-text-w-bg h5 {color: #14272e;}
.ry-discover-the-hidden-matrix .ry-hero-wrap:before {
    background-image: linear-gradient(180deg, #02010100 54%, #14272e 100%);
}
.ry-discover-the-hidden-matrix .ry-hero-wrap .custom-headline h4 {
    font-family: 'Caveat';
    font-size: clamp(1.875rem, 1.4289rem + 1.8301vw, 3.625rem);
    margin-top: 0;
}
.ry-discover-the-hidden-matrix .custom-headline h4 {
    font-size: clamp(1.875rem, 1.4289rem + 1.8301vw, 3.625rem);
    color: #fff;
    font-family: 'Caveat';
    margin-top: 10px;
}
.ry-discover-the-hidden-matrix .ry-text-fellow-wrap {
    padding: 4vw 0;
    background: #14272e;
}
.ry-discover-the-hidden-matrix .ry-text-fellow-wrap .ry-text p {
    color: #fff;
    font-size: 22px;
}
.ry-discover-the-hidden-matrix .ry-double-box-section:before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f5f5f5, #f5f5f5, #5bb0cf, #5bb0cf);
    z-index: -1;
}
.ry-discover-the-hidden-matrix .ry-double-box-section .ry-each {
    padding: 4vw 2vw;
}
.ry-discover-the-hidden-matrix .ry-double-box-section .ry-each:first-child {
    background: #f5f5f5;
}
.ry-discover-the-hidden-matrix .ry-double-box-section .ry-each:last-child {
    background: #5bb0cf;
}
.ry-discover-the-hidden-matrix .custom-headline h4 {
    font-size: clamp(1.5rem, 1.3725rem + 0.5229vw, 2rem);
    font-family: 'Poppins';
}
.ry-discover-the-hidden-matrix .ry-double-box-section .ry-each:first-child .custom-headline h4 {
    color: #14272e;
}
.ry-list-svg-wrap .ry-items {
    display: flex;
    align-items: center;
    gap: 15px;
}
.ry-list-svg-wrap .ry-items .ry-text p {
    font-size: 18px;
	line-height: 1.2;
	text-align: left !important;
}
.ry-card-section {
    padding: 4vw 0;
    background: #ffffff;
}
.ry-card-section .custom-headline h2 .span-1 {
    position: absolute;
    top: -50px;
    left: 100px;
}
.ry-card-section .custom-headline h2 .span-2 {
    position: relative;
}
.ry-card-section .ry-card {
    width: 300px;
}
.ry-card-section .ry-card .ry-text h4 {
    font-family: 'Anton';
    font-size: 45px;
    font-weight: 900;
    -webkit-text-stroke-width: 1px;
    stroke-width: 1px;
    -webkit-text-stroke-color: #374151;
    stroke: #374151;
    color: #ffffff00;
    display: block;
    paint-order: stroke;
}
.ry-discover-the-hidden-matrix .ry-finance-section .custom-headline h2 .span-2 {
    color: #14272e;
}
.ry-card-section .ry-card:nth-child(odd):before {
    background: #f5f5f5;
}
.ry-card-section .ry-card:hover h4, .ry-card-section .ry-card:hover p, .ry-card-section .ry-card:hover a {
    color: #374151;
    background: transparent;
}
.ry-card-section .ry-card:hover::before {
    background: unset;
}
.custom-headline h2 .span-1 {
    text-transform: initial;
    margin-bottom: -2vw;
    z-index: 1;
    position: relative;
}
.ry-double-box-section-2 .custom-headline h2 .span-1 {
    text-transform: initial;
    margin-bottom: -2vw;
    z-index: 1;
    position: relative;
}
div#access-form {
    padding: 4vw 0;
}
div#access-form .custom-headline .span-1 {
    margin-bottom: -2vw;
    position: relative;
    z-index: 1;
}
div#access-form .custom-headline .span-2 {
    color: #fff;
}
div#access-form .ry-form.ry-form-wrap {
    background: #fff;
    padding: 2vw;
}
.ry-finance-section .custom-headline h2 .span-2 {
    color: #14272e;
}
.ry-double-box-section-2:before {
    background: linear-gradient(90deg, #fe8a00, #fe8a00, #f5f5f5, #f5f5f5) !important;
}
.ry-discover-the-hidden-matrix .ry-double-box-section-2 .ry-each:first-child {
    background: #fe8a00
}
.ry-discover-the-hidden-matrix .ry-double-box-section-2 .ry-each:last-child {
    background: #f5f5f5
}
.ry-discover-the-hidden-matrix .ry-double-box-section-2 .ry-each:first-child h2 .span-1 {
    color: #fff;
}

@media (max-width: 1080px) {
	.ry-discover-the-hidden-matrix .ry-ip-hero-bg, .ry-discover-the-hidden-matrix .ry-ip-hero-bg img {
		position: relative;
	}
	.ry-discover-the-hidden-matrix .ry-hero-banner {
		justify-content: center;
	}
	.ry-discover-the-hidden-matrix .ry-text-fellow-wrap {
		margin-top: -1px;
	}
	.ry-discover-the-hidden-matrix .ry-hero-wrap {
		padding: 0;
	}
	.ry-double-box-section .flex {
		flex-direction: column;
	}
	.ry-double-box-section .flex .ry-each {
		width: 100%;
	}
	.ry-discover-the-hidden-matrix .ry-text-fellow-wrap .ry-text p,
	.ry-discover-the-hidden-matrix .custom-headline h2 *,
	.ry-double-box-section .flex .ry-each p,
	.ry-discover-the-hidden-matrix .custom-headline h4 {
		text-align: center;
	}
}