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


/* HP Testi Box Slider Bg */

.hp-brands-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-98d7de08-f153-49e3-b6a6-11aacc8a9a36/1_HP/brands_bg.jpg);
    background-size: cover;
    background position: center top;
}

.hp-insurance-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-98d7de08-f153-49e3-b6a6-11aacc8a9a36/1_HP/insurance_bg.jpg);
    background-size: cover;
    background position: center top;
}

.hp-testi-bg {
    background-image: url(https://s3.amazonaws.com/static.organiclead.com/Site-98d7de08-f153-49e3-b6a6-11aacc8a9a36/1_HP/test_bg.jpg);
    background-size: cover;
    background position: center top;
}


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

.subheading{
    letter-spacing: 10px;
}


div#navigation {
  background: #fff!important;
}

/* HP Heading Styles */


h1,h2,h3,h4,h5,h6 {

}

h3 {
    font-size: 38px;
    text-transform: none;
    line-height: 1;
    font-weight: 500 !important;
    margin-top: 0 !important;
}

.h-sub h6 { 
    font-family: Poppins;
    text-transform: uppercase;
    letter-spacing: 10px;
	color: #2fc193 !important;
	font-weight: 300 !important;
}

.white-img {
    filter: invert(1) brightness(10) contrast(10);
}

.ry-menu .ry-nav li.primary {
    text-transform: uppercase;
}

.ry-hp-team .ry-btn.ry-btn-primary {
    background-color: #2fc193;
}

body[data-page-name="frames"] #hp-brands-4::before, body[data-page-name="frames"] div#contents ul li::marker {
	display:none;
}

div#contents ul.pagination li
{
    list-style: none !important;
}

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

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

.list-3 ul p {
		margin: 0;
	}
.cta-btn .link,
.cta-btn .link a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 9;
}

@media (max-width: 1380px) {
	.cta-btn div.flex {
		display: none;
	}

	.cta-btn .cta-icon-wrap {
		min-width: 35px;
	}

	.cta-btn {
		padding: 0;
		min-width: 60px;
	}
}


@media (max-width:1080px) {
	
	.slider-info-center-bottom .leading-8 {
	  font-size: 16px;
	  line-height: 1.5;
	max-height: fit-content !important;
	}

	.hp-service {
        padding: 3em !important;
        max-width: 250px !important;
        margin: auto;
        width: 100% !important;
    }


	#page h3 {
	   font-size: 35px !important;
	  line-height: 1.1 !important;
	}
}
@media (min-width: 620px) {
	.list-3 ul {
		column-count: 3;
	}
}

@media (max-width: 767px) {
	#hp-slider .ry-btn-primary {
    	background-color: #53caa6;
	}
}

div#ry-sidebar h5 {
    font-weight: bold;
    font-family: 'Poppins';
}