/* 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{
color: #666666;
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;
}

div#hp-cta-block .ry-each:nth-child(1) img {
    object-fit: contain;
    height: 160px;
    max-width: 80px;
}

/* 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: #666666;
}


/* HP Testi Box Slider Bg */

.module-testimonials.style-2::before, .module-testimonials.style-3::after {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-23e4efbc-c529-4888-9940-f9edc7ee95ad/1_HP/testi_bg.jpg);
    background-size: cover;
}


.hp-brands-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-23e4efbc-c529-4888-9940-f9edc7ee95ad/1_HP/brands_bg.jpg);
    background-size: cover;
}

.hp-cta-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-23e4efbc-c529-4888-9940-f9edc7ee95ad/1_HP/cta_bg_u.jpg);
    background-size: cover;
}

.footer-heading h4 {
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 500 !important;
    letter-spacing: 1px;
}

.subheading{
    letter-spacing: 10px;
}

/* HP Heading Styles */
h3 {
	font-size: 30px!important;
	text-transform: capitalize;
}

h6 { 
	font-family: Quicksand;
	text-transform: uppercase;
    letter-spacing: 10px;
}

.hdr-ph-sm .span-1 {
	font-size: 16px;
    letter-spacing: 1px;
}

body[data-page-name="frames"] .hp-brands-bg {
	background-image: none !important;
}

body[data-page-name="contact-us"] #footer-map {
	display: none;
}

body[data-page-name="contact-us"] #ry-footer-3 {
	padding-top: 220px;
}

.homepage-swiper .with-gradient:before {
    content: "";
    position: absolute;
    left: 0;
    top: auto;
    width: 100%;
    height: 50%;
    background-image: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 91%));
    bottom:0
}
	
	.homepage-swiper .button-wrapper {
		position: absolute;
		bottom: 70px;
		z-index: 2;
		left: 50%;
		transform: translate(-50%, 0);
		display: none;
	}
@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-primary-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
    }

   
}

@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
	}
	.ry-services.style2 *, .module-welcome *, #section-hp-team *, #hp-brands-6 *, .module-testimonials * {
		text-align:center
	}
	#section-hp-team:before {
		opacity:.8
	}
}

/* --- HEADER RESPONSIVENESS ---*/
@media(max-width:1400px) {
    #navigation-style-15 .max-w-\[300px\] {
    max-width: 240px;
        width:100%;
}
    .hdr-ph-sm .span-1, .hdr-ph-sm a{
        text-wrap:nowrap
    }
    #navigation-style-15 {
        padding-inline:20px;
        gap:20px
    }
    #navigation-style-15 .cta-btn {
        text-wrap:nowrap
    }
}
@media(max-width:1280px) {
        #navigation-style-15 .cta-btn a {
        font-size:16px !important
    }
}
@media(max-width:1199px) {
    #navigation-style-15, #navigation .ry-menu  {
        display:none
    }

    .snap-mobile-menu {
        display:flex !important
    }
}

