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

img#familypic {
  margin: 2em 0;
  border-radius: 20px;
  max-width: 900px;
}

div#contents h2 {
    margin: 0 !important;
}


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



/* ------- New Updates ------- */



.footer-heading h4{
	font-size: 26px;
    text-transform: uppercase;
}

.rounded-50{
	    border-radius: 30rem;
}

.white-invert{
	filter: invert(10);
}


@media (max-width: 768px) {
	.homepage-swiper, .homepage-swiper .swiper-wrapper, .homepage-swiper .swiper-slide img {
		height: auto !important;
	}
	.homepage-swiper h2 {
		font-size: 30px;
		text-align: center;
	}
	.slider-info {
		min-height: auto;
	}
}

.team-inner-page.style3 .btn-excerpt {
    display:none !important
}

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

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





/* TEAM PAGE*/

@media (max-width:1440px) {
  .team-inner-page.style3 .ry-each .each-container {
	  gap: 0 3em !important;
	}
}


@media (max-width:991px) {
  .team-inner-page.style3 .ry-each .each-container {
		flex-basis: column;
		gap: 2em 0 !important;
	}

	 .team-excerpt {
	  margin-top: 2em;
	}
	
	img#familypic {
	  margin: 2em auto 0 !important;
	}
}

@media (max-width:768px) {

	.team-inner-page.style3 .ry-each {
	  padding: 2em !important;
	}

	  .team-inner-page.style3 .ry-each .photo, .team-inner-page.style3 .ry-each .each-container .details {
	  width: 100% !important;
	}
	
	.team-inner-page.style3 .ry-each .photo img {
	  max-width: 250px;
	  margin: auto;
	}
  
}




#interested_in[data-type="checkboxlist"] {
    display:grid;
    grid-template-columns:repeat(2,2fr);
    gap:10px;
    padding:5px 0 0
}

#interested_in[data-type="checkboxlist"] input {
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
    border-radius: 0.25rem;
}

#interested_in[data-type="checkboxlist"] label {
    display:flex;
    align-items:center;
    gap:8px;
}
[data-type="checkboxlist"].has-error input{
    border: 1px solid #ff004f !important; 
}
@media(max-width:500px) {
    #interested_in[data-type="checkboxlist"] {
    grid-template-columns:repeat(1,1fr);
}
}