/* 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;}
.ry-menu .ry-nav li .dropdown-toggle {padding: 30px 0;}
ul#quick-links li a {display: block;width: 100%;}
#in-services-3 ul li a {margin-left: 0px;margin-top:30px}
*/
[x-cloak] { display: none !important; }
.promotions img { min-width: 22rem; max-width:22rem;}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.mobile-menu-icon a{display: flex;height: 100%;width: 100%;justify-content: center;align-items: center;}
body.fancybox-active .ry-sticky-menu.fixed {z-index: 9999;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}
.service-hover {
    position: absolute;
    z-index: 9;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
}

/* Show service-hover when parent with data-target is hovered */
[data-target]:hover .service-hover {
    opacity: 1;
}

/* Apply the overlay effect when parent is hovered */
[data-target]:hover .service-hover::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Make sure it's behind the text */
}
.mm-navbar {
	color: #ffffff;
}

/* HP Edits - Started <July 13, 2026> */

/**/
	/*fonts*/

	/*btns*/

/*Modal*/
/* Header */
	/**/
.snap-mobile-menu {
    background: white;
}

mm-burger {
    color: #374151;
}
.ry-menu .ry-nav li.primary .caret {
    border-color: #374151;
}

.ry-menu .ry-nav li.primary:hover .caret {
    border-color: var(--color-secondary-background);	
}
.with-gradient:before {
    background-image: linear-gradient(to bottom, black, transparent, transparent);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}
/* Hero */
	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
    object-fit: cover;
}
#hp-slider .swiper-pagination-bullet {
    background-color: white;
}
/* CTA */
	/**/
/* Welcome */
	/**/
.module-welcome.style-5 .ry-each.image-wrapper {
    border: none;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    object-fit: contain;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
    padding-top: 40%;
}

.module-welcome.style-5:after {
    content: "";
    width: 90%;
    height: 130%;
    position: absolute;
    top: 50%;
    border: 5px solid var(--color-secondary-background);
    left: 50%;
    transform: translate(-50%, -35%);
}
.ry-section.group-bg .background-section, .ry-section.group-bg .background-section img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

.module-welcome.style-5:before {
    display: none;
}

.ry-section:nth-child(even), .ry-section:nth-child(odd) {
    background: none;
}

/* Services */
	/**/

#section-hp-services {
    position: relative;
    z-index: 1;
}
/* Meet the Team */
	/**/
#section-hp-team {
    padding-top: calc(6.6vh + 275px);
    padding-bottom: 15vh;
    background: white;
}

#section-hp-team:before{
	background: url(https://s3.amazonaws.com/static.organiclead.com/Site-f576f31f-9241-4e3f-86ae-a907b0559391/backgrounds/NortheastEC_team_before_v2.jpg) center center no-repeat;
    background-size: cover;
    height: 275px;
    z-index: 1;
}

#section-hp-team:after{
    content: "";
    width: 90%;
    height: 100%;
    position: absolute;
    top: 50%;
    border: 5px solid var(--color-secondary-background);
    left: 50%;
    transform: translate(-50%, -55%);
    background: none;
}
#section-hp-team .max-w-7xl,
#section-hp-team .homepage-team-swiper,
#section-hp-team .ry-btn{
	z-index:2;
	position:relative
}
/* Insurance */
	/**/
/* Brand */
	/**/
/* Request Appointment */
	/**/
/* Testimonials */
	/**/
.module-testimonials.style-5 .top-circle {
    width: 75px;
    height: 75px;
    font-size: 75px;
}

:is(.module-testimonials.style-5) :is(.swiper-button-prev, .swiper-button-next) {
    background-color: var(--color-primary-text);
    color: var(--color-secondary-background);
}
#hp-testimonials-5 {
    padding-top: 5vh;
    background: white;
}
/* Footer */
	/**/
#ry-footer-3::before {
    opacity: 1;
}
/*Media Queries*/
	/**/

@media (max-width:1439px){
    .module-testimonials.style-5 .photo::before {
        background: white;
    }
}

@media (max-width:1080px){
    .module-welcome.style-5:after {
        transform: translate(-50%, -48%);
    }
}

@media (width < 1080px) {
    #section-hp-services:before, .module-19.style2:before, .ry-services.style2::before {
        opacity: 1;
    }
}

@media (max-width:1024px){
    .module-welcome.style-5:after,
    #section-hp-team:after{
        width: 95%;
    }
}
/* End - HP Edits*/

.contact-template.style-2 .ry-flex .contact-details .inner-flex {
    padding: 50px 60px;
}
.about-slider {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	margin-top:100px
}
.about-slider img {
	margin:0 auto;
	width:100%
}

.about-slider .slick-dots {
	list-style:none;
	display:flex;
	gap:5px;
	justify-content:center;
	font-size:0;
	margin-top:30px
}

.about-slider .slick-dots li button{
	font-size:0;
	width:12PX;
	height:12px;
	background:var(--color-primary-background);
	border-radius:50%;
	opacity:.3
}

.about-slider .slick-dots li.slick-active button{
	opacity:1
}

@media(max-width:1024px) {
	#contents #ry-sidebar{
		max-width:350px;
		margin-inline: auto;
		width: 100%
	}
}
.ry-menu .ry-nav li.primary .caret {
    border-color:#fff !important
}
#navigation-style-7 .flex.flex-col.gap-4 a{
    line-height:1.1;
    text-wrap:nowrap
}
@media(max-width:1600px) {
    #navigation-style-7 .ry-nav {
        gap:10px;
        margin-left:0 !important;
        flex-wrap:nowrap
    }
}
@media(max-width:1480px) {
    #navigation-style-7 .relative img {
        max-width:220px;
        width:100%
    }
    #navigation-style-7 .ry-menu {
        width:fit-content
    }
    #navigation-style-7 {
        gap:10px !important
    }
}
@media(max-width:1280px) {
 #navigation-style-7 .ry-nav li a {
    font-size:17px
 }
    #navigation-style-7 {
        padding-inline:20px !important
    }
    #navigation-style-7 .flex.flex-col.gap-4 a{
        padding-inline:10px
    }
}

@media(max-width:1199px) {
    #navigation-style-7 {
        display:none
    }
    .snap-mobile-menu {
        display:flex !important
    }
    .snap-mobile-menu img {
        position:relative
    }
}


@media(max-width:1080px) {
    .module-welcome.style-5:after {
        height:100%
    }
}
@media(max-width:1024px) {
        #ry-footer-3 .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}
.slider-info-center-bottom .text-sm {
	min-height:fit-content
}
.slider-info-center-bottom {
	max-width:1080PX !important; 
	width:100%;
}
@media(min-width:768px) and (max-width:780px) {
	.slider-info-center-bottom .text-xl.md\:text-5xl.font-bold.mb-4 h2 {
		font-size:45px
	}

}
@media (max-width: 1080PX) { 
    .homepage-swiper .slider-info-center-bottom {
        top:unset;
        bottom: 30px;
        width:100%;
        max-width:700PX;
        height:fit-content;
        min-height:fit-content
    }
}
@media (max-width: 1023px) {
    .homepage-swiper .slider-info-center-bottom {
    bottom: 0;
    background: var(--color-secondary-background);
    padding: 40px 10px 60px;
    position:relative;
    width:100%;
    max-width:100%;
    inset:unset;
    transform:unset
    }
    .homepage-swiper .button-wrapper {
    display: block;
    bottom: 40px;
    }
    .homepage-swiper .swiper-pagination-bullet-active {
    background: var(--color-secondary-background);
    }
    .homepage-swiper .swiper-slide img {
    height: 100% !important;
    }
    .slider-info-center-bottom * {
        text-align:center !important
    }
    .homepage-swiper .with-gradient:before {
        display:none
    }
	#hp-slider, #hp-slider .swiper-wrapper {
		height: fit-content !important;
		object-fit: cover;
	}
}

@media (max-width: 767px) {
	.slider-info-center-bottom .text-xl.md\:text-5xl.font-bold.mb-4 h2 {
		font-size: 31PX;
		line-height: 1;
	}
	.slider-info-center-bottom .text-sm {
		font-size:18px !important
	}
	.homepage-swiper .swiper-slide img {
		height:37vh !important
	}

}

#section-hp-services .group .bg-primary-background {
    background:#7B949B;
}
#section-hp-services .group:not(:hover)  .opacity-50 {
    opacity:.3
}


.add-file-btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 4px;
    margin-bottom:10px
}

#form {
    margin-top:30px
}
#form input:not(input[type="submit"]) {
    width:100%;
    margin-bottom:10px;
    border:1px solid #666;
        padding:8px 12px;
    height:55px;
}

input[type="submit"] {
    height:fit-content;
    padding:13PX 10px;
}

@media (max-width: 767px) {
  .swiper-backface-hidden .swiper-slide p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8; /* number of lines */
    overflow: hidden;
  } 
}