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

.ry-menu .ry-nav li.primary {
    margin-top: 0;
}

.ry-menu .ry-nav li.dropdown .dropdown-menu a {color: #fff !important;}
.caret {border-color: #242424;}

@media (min-width: 1081px) {
	.homepage-video-slider {
		margin-top: 0px;
		height: calc(-120px + 100vh) !important;
		overflow: hidden;
		max-height: 100%;
	}
	
	.slider-info-center-bottom {
		bottom: 4%;
	}
	.homepage-swiper {
		margin-top: 0px;
		height: calc(-120px + 100vh) !important;
		overflow: hidden;
		max-height: 100%;
	}
	.homepage-swiper .swiper-slide img {
		height: calc(-120px + 100vh) !important;
		object-position: center top;
	}
}

div#apt-form input, div#apt-form select {
    color: #000;
}

.module-19.style2 .services-frame .frame .service-name * {
    text-transform: uppercase;
    letter-spacing: 1px;
}
.module-19.style2 .services-frame .frame .service-img-holder {
	max-width: 240px;
}
.homepage-team-swiper-2:before {
    display: none;
}
@media (min-width: 1024px) {
    .lg\:grid-cols-teamStyle2 {
        grid-template-columns: 320px minmax(640px, 1fr) 0px;
    }
}

.slider-info-center-bottom {
	min-height: 1px;
}

#services-12 > div:nth-child(even), #services-12 > div:nth-child(odd) {background: transparent;}
#services-12 > div:nth-child(odd) > div > h4,
#services-12 > div:nth-child(even) > div > h4 {
	color: var(--color-secondary-background) !important;
	text-transform: uppercase;
}
#services-12 > div:nth-child(odd) > div > h4 span,
#services-12 > div:nth-child(even) > div > h4 span {
	display: block;
	font-weight: 500 !important;
	font-size: 22px !important;
	letter-spacing: 4px;
	color: #888888;
}
#services-12 > div:nth-child(even) img {
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center center;
	aspect-ratio: 1;
}
#services-12 > div:hover .rounded-full img {
    filter: brightness(0) invert(1);
}
#services-12 > div:hover h4 a {
	color: var(--color-primary-background);
}
#services-12 > div:hover .rounded-full {
    background: var(--color-primary-background);
    transition: .3s;
}
.ry-hp-team::before {
	background-position: center top;
}


.testimonials-swiper-2 .swiper-wrapper .swiper-slide p, .testimonials-swiper-4 .swiper-slide p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}
#services-7 .each-block {
    border: 5px solid #fff;
}
body[data-page-name="index"] div#hp-insurance-1 {
    background: linear-gradient(to bottom, #bbdaec, #fff);
}

body[data-page-name="index"] div#hp-insurance-1 .swiper-slide img {
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
    height: auto;
    max-height: 70px;
    max-width: 140px;
    object-fit: contain;
}
body[data-page-name="index"] div#hp-insurance-1 .swiper-slide:nth-child(odd) {
    background-color: var(--color-primary-background);
}
body[data-page-name="index"] div#hp-insurance-1 .swiper-slide:nth-child(even) {
    background-color: var(--color-secondary-background);
}
body[data-page-name="index"] div#hp-insurance-1 .swiper-wrapper {
    display: flex;
    align-items: center;
}.module-testimonials.style-4 {
    background: linear-gradient(to bottom, white, #f4f9fd);
}

.google-translate-custom {
    max-width: 200px;
    width: 100%;
}

#contents img {border-radius:1rem;} 

#ry-sidebar img {border-radius:0;}

#ry-footer ul {
    line-height: 2;
}

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


/** TEAM PAGE **/
.ry-inside-team-slider {
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
    float: none;
}
.ry-inside-team-slider .ry-each img {
    margin: 0 auto;
}
.ry-inside-team-slider .ry-item-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.ry-inside-team-slider .ry-item-wrap .slick-arrow {
    width: 50px;
    height: 50px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
    content: "";
    color: transparent;
}
.ry-inside-team-slider .ry-item-wrap .slick-prev {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    margin-left: 3px;
}
.ry-inside-team-slider .ry-item-wrap .slick-next {
    transform: rotate(-40deg);
    -webkit-transform: rotate(-40deg);
    margin-right: 3px;
}