/* 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;
}
#in-services-style-2.squares .ry-each:before, #in-services-style-2.squares .ry-each img {border-radius: 0;}
.testimonials-swiper p,
.testimonials-swiper-2 p{
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 4
}
/* Match interior body copy to homepage size on tablet/desktop */
@media (min-width: 768px) {
  #contents .text-base.leading-6.text-gray-600 {
    font-size: 1.25rem;    /* 20px */
    line-height: 1.75rem;  /* 28px */
  }
}

/* HP Edits */

/*fonts*/
#section-hp-services h4, h6{
	font-family: Montserrat
}

/*btns*/
.ry-btn{
	border-radius: 99px;
}

.homepage-swiper h1, .cta-btn, .footer-social-icon i,
.block.text-sm.md\:text-xl.leading-6.max-h-\[100px\].md\:max-h-\[300px\].overflow-y-scroll.lg\:overflow-hidden{
    color: white;
}

/*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, white, transparent, transparent);
}
.ry-menu .ry-nav li.dropdown .dropdown-menu li {
    background: var(--color-primary-background);
    color: var(--color-primary-text);
}

span.caret {
    border-color: #616161;
}

body[data-page-name="index"] #navigation {
	position: absolute;
	z-index: 3;
}

.cta-btn:nth-child(2) {
  background-color: var(--color-primary-background);
  width: 20rem !important;
}

.cta-btn:nth-child(2):hover {
  background-color: white !important;
}

.cta-btn {
	width: 300px !important;
	justify-content: flex-start !important;
	padding-left: 32px !important;
	border-radius: 99px
}

.cta-btn a {
	white-space: nowrap !important;
}

.cta-btn > .mr-2 {
	margin-right: 12px !important;
}

#bottom-cta .cta-btn {
    background-color: transparent;
    color: var(--color-secondary-background);
    border: 1px solid var(--color-secondary-background);
	height: 50px;
}

#bottom-cta .cta-btn:hover {
    background-color: var(--color-secondary-background);
    color: white;
    opacity: 0.5;
}

#navigation-style-4 .navigation-4 .flex.gap-4,
#navigation-style-4 .flex.gap-4 {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end;
  align-items: center;
}

#navigation-style-4 .cta-btn:nth-child(3) {
  background-color: var(--color-primary-background);
}

#navigation-style-4 .cta-btn {
  white-space: nowrap !important;
  flex-shrink: 0;
  height: 72px !important;
}

div#navigation-style-4,
[id*="block-6"],
[class*="block-6"] {
  position: relative !important;
  z-index: 9999 !important;
}

[id*="block-7"],
[class*="block-7"],
[id*="html-7"],
[class*="html-7"],
.ry-menu,
[class*="ry-menu"] {
  position: relative !important;
  z-index: 1 !important;
}

#navigation-style-4 .cta-btn,
#navigation-style-4 .group,
#navigation-style-4 [id*="block-4"],
#navigation-style-4 [class*="block-4"],
.cta-btn {
  position: relative !important;
  overflow: visible !important;
}

.appt-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 190px !important;
  min-width: 190px !important;
  background-color: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.appt-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

#navigation-style-4 .cta-btn:hover .appt-dropdown-menu,
#navigation-style-4 .group:hover .appt-dropdown-menu,
#navigation-style-4 [id*="block-4"]:hover .appt-dropdown-menu,
#navigation-style-4 [class*="block-4"]:hover .appt-dropdown-menu,
.appt-dropdown-menu:hover {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.appt-dropdown-menu .appt-dropdown-item {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: #333333 !important;
  text-decoration: none !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer !important;
}

.appt-dropdown-menu .appt-dropdown-item:hover {
  background-color: #f3eff1 !important;
  color: #6e5358 !important;
}

.appt-dropdown-item + .appt-dropdown-item {
  border-top: 1px solid #ebebeb !important;
}

@media (max-width: 1280px) {
  #navigation-style-4 .navigation-4 .flex.gap-4,
  #navigation-style-4 .flex.gap-4 {
    gap: 0.4rem !important;
  }

  #navigation-style-4 .cta-btn {
    height: 72px !important;
    min-height: 72px !important;
    width: auto !important;
    max-width: 100% !important;
    flex: 1 1 0px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    padding: 0 10px !important;
  }

  #navigation-style-4 .cta-btn > div.flex,
  #navigation-style-4 .cta-btn a,
  #navigation-style-4 .cta-btn span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    text-align: center;
    font-size: 0.8rem !important;
    margin: 0 !important;
  }

  #navigation-style-4 .cta-btn [class*="mr-"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  #navigation-style-4 .cta-btn [class*="mr-"] svg,
  #navigation-style-4 .cta-btn [class*="mr-"] i {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 1 !important;
  }
}

/* Button */
	/**/

/* Hero */
	/**/
#hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img {
    height: 100vh !important;
    object-fit: cover;
	object-position:top
}

#hp-slider .swiper-pagination-bullet {
    background-color: white;
}

.with-gradient:before {
    background-image: none !important;
}

.homepage-swiper h1 {
	text-shadow: 3px 3px 3px rgb(0 0 0 / 40%);
	letter-spacing: 4px;
	font-size: clamp(1.625rem, 0.95rem + 3.375vw, 5rem);
	line-height: 120%;
}

.slider-info-center-bottom {
	max-width: 100% !important;
}

#hp-slider .slider-info {
    bottom:20px
}

#hp-slider .slider-info h1{
    font-size: 5rem !important;
    font-weight: 700;
    line-height: 1.2 !important
}

#hp-slider .swiper-button-prev,
#hp-slider .swiper-button-next {
    display:none
}

#hp-slider a.ry-btn {
  display: flex !important;
}

#hp-slider .slider-info {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

#hp-slider .slider-info h1 {
  text-align: center !important;
  flex-direction: column !important;
}

#hp-slider .slider-info a {
  justify-content: center !important;
}

@media(min-width:991px) {
	.homepage-swiper .swiper-slide .with-gradient::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 35%; 
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.65) 0%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%   
		);
	}

	.homepage-swiper .swiper-slide {
		position: relative;
	}

	.homepage-swiper .swiper-slide img {
		display: block;
		width: 100%;
		height: auto;
	}
 
}

@media(max-width:992px) {
    #hp-slider .slider-info h1{
        font-size: 2rem !important;
    }
    #hp-slider .slider-info h1 span {
        margin-top:5px
    }
	.homepage-swiper .swiper-slide .with-gradient::after {
		height: 100%;
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.65) 0%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0) 100%   
		);
	}
	#hp-slider .slider-info {
    	padding-inline: 10vw;
	}
}

/* CTA */
	/**/
#cta-background {
    background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-86e89b8d-efb3-4aa9-91b2-a8ea3250b03c/images/CustomEyes_Background_Image.jpg');
	background-repeat: no-repeat;
  	background-position: center;
  	background-size: cover;
}

#cta-background p {
  color: #374151;
}

/* Welcome */
	/**/
#welcome-wrap .text-wrapper h2 {
    text-align: left !important;
}

#welcome-wrap .ry-text p {
    text-align: left !important;
}

#welcome-wrap .ry-btn {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.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-flex{
    align-items: center;
} 

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

#welcome-wrap :before {
    background-color: white;
}

@media (width < 1080px) {
    .module-welcome.style-5:before {
        opacity: 1;
    }
}

/* Services */
	/**/
.ry-services.style2 .ry-each .photo:before {
	height: 100% !important;
	background-image: url("https://s3.amazonaws.com/static.organiclead.com/Site-e85f6a0a-b91d-4255-afae-0062c60fb366/Services_Icons/DrMichaelSilverman_Services_Icon_Background.jpg") !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
	border-radius: 50% !important;
	border: 6px solid var(--color-primary-background) !important;
	z-index: 0
}

.ry-services.style2 .ry-each .photo img {
	position: absolute !important;
	top: 10% !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 65% !important;
	height: auto !important;
	object-fit: contain !important;
}

.ry-services.style2 .ry-each .title div {
	font-size: 15px !important;
	line-height: 1.2 !important;
	color: black !important;
	padding-bottom: 0rem;
}

.ry-services.style2 .ry-each .each-block:hover .title div {
	color: white !important;
}

.ry-services.style2 .ry-each .photo::after {
    background: var(--color-secondary-background);
}

@media (max-width: 1080px) {
    .ry-services.style2 .each-block .photo:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        z-index: 2;
        background: linear-gradient(to bottom, #0000, #173753);
    }
}

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

.ry-services.style2 .ry-each .photo img {
  top: 0% !important;
  width: 100% !important;
}

@media (width > 1080px) {
	.ry-services.style2 .photo img {
	  max-width: 60%; /* Adjust percentage to make it smaller */
	  margin: 1rem auto; /* Keeps it centered horizontally */
	  transform: translateY(-15px); /* Moves the image up */
	}
}

@media (max-width: 1080px) {
  .ry-services.style2 .each-block .photo img {
    top: 30px;
    left: 50%;
    transform: translateX(-50%); 
    width: 110px; 
    height: 110px;
    border-radius: 0; 
  }
}

@media (max-width: 990px) {
  .ry-services.style2 .each-block .photo img {
    top: 50px; 
    width: 210px; 
    height: 210px;
  }
}

@media (max-width: 768px) {
  .ry-services.style2 .each-block .photo img {
    width: 180px; 
    height: 180px;

  }
}

@media (max-width: 619px) {
  .ry-services.style2 .each-block .photo img {
    top: 20px;
    width: 70%;
    height: 70%;
  }
}

/* Meet the Team */
	/**/
#section-hp-team:before{
	background-color: var(--color-primary-background);
}

#section-hp-team .ry-btn-primary {
    color: var(--color-primary-background);
    background-color: white;
    border: 1px solid white;
}

#section-hp-team .ry-btn-primary:hover {
    color: white;
    background-color: var(--color-secondary-background);
    border: 1px solid var(--color-secondary-background);
}


#section-hp-team #loadMoreTeam {
    color: white;
    border: 1px solid white;
}

#section-hp-team #loadMoreTeam:hover {
    color: white;
	background-color: var(--color-secondary-background);
    border: 1px solid var(--color-secondary-background);
}

#section-hp-team::before {
	box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.5);
    border-top: 14px solid var(--color-secondary-background);
    border-bottom: 14px solid var(--color-secondary-background);
}

/* Same Day Crown */
	/**/
body[data-page-name="index"] .svg-background{
    display: none !important;
}

#welcome-wrap.style-1 .module-22 .ry-left img {
    border: none;
    border-top-left-radius: 0px;
}

@media (min-width: 992px) {
  /* Aligns headline and description */
  .ry-right .title-wrap h2,
  .ry-right .content-wrap > div:first-child {
    text-align: left !important;
  }

  /* Aligns the button wrapper to the left */
  .ry-right .btn-wrap {
    display: flex;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 992px) {
  #welcome-wrap.style-1 .module-22 .ry-right .content-wrap p {
      text-align: center !important;
  }
}

/* Insurance */
	/**/
#hp-insurance-1{
  background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-e85f6a0a-b91d-4255-afae-0062c60fb366/backgrounds/DrMichaelSilverman_Image_Background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#hsa-card-link {
    width: fit-content;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    cursor: pointer;
    text-decoration: none;
	padding: 2rem 4rem;
}

#hsa-card-link:hover {
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#hsa-card-link:active {
    transform: scale(0.98);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#hsa-card-link img {
    display: block;
    border-radius: inherit;
}

/* Brand */
	/**/
div#hp-brands-6{
    background-color: white;
}

.brands-swiper-4 img {
    mix-blend-mode: normal;
}

div#hp-brands-6 .swiper-backface-hidden .swiper-slide{
    background-color: #F2F4F7 !important;
    border-radius: 1rem; 
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 
                0 1px 2px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

div#hp-brands-6 .swiper-backface-hidden .swiper-slide {
    background-color: white !important;
}

body#page .brands-swiper-4 .swiper-slide {
    border: 1px solid var(--color-secondary-background)!important;
    background: white !important;
    backdrop-filter: blur(5px)!important;
    -webkit-backdrop-filter: blur(5px)!important;
}

.brands-swiper-4 img {
	mix-blend-mode: unset;
	filter: brightness(0) invert(.2);
}

/* Request Appointment */
	/**/


.form-group {
  display: flex !important;
}

/* Testimonials */
	/**/
.module-testimonials {
  background-image: url('https://s3.amazonaws.com/static.organiclead.com/Site-e85f6a0a-b91d-4255-afae-0062c60fb366/backgrounds/DrMichaelSilverman_Image_Background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-bottom: 5rem !important;
}

/* Footer */
.footer-social-wrapper::before {
    left: -65px !important;
}

.footer-social-wrapper::after {
    right: -65px !important;
}

@media (min-width: 768px) and (max-width: 1280px) {
  .grid.grid-cols-12 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto auto !important;
    justify-items: center !important; 
    text-align: center !important;    
  }

  /* Position columns in 2x2 layout */
  div[class*="grid-cols-"] > div:nth-child(1) {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  div[class*="grid-cols-"] > div:nth-child(2) {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  div[class*="grid-cols-"] > div:nth-child(3) {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }

  div[class*="grid-cols-"] > div:nth-child(4) {
    grid-column: 2 !important; 
    grid-row: 2 !important;
  }
}

/*Media Queries*/
	/**/
@media (max-width: 1080px) { 
	.module-welcome.style-5 .ry-each.image-wrapper .photo img {
    	left: 0;
	}
	
	.module-welcome.style-5 .ry-each.image-wrapper .photo {
    	padding-top: 0;
    	padding-bottom: 10%;
	}
	
	#welcome-wrap.style-1 .module-22 .ry-content {
    	gap: 64px;
	}
}


@media (max-width: 1023px) {
    #hp-slider, #hp-slider .swiper-wrapper, .homepage-swiper .swiper-slide img{
        height: 100% !important;
    }
    body[data-page-name="index"] #navigation {
    position: relative;
    }
}

@media (max-width: 767px) {
    body[data-page-name="index"] h6, h2, h3, p,
    .mt-3, .block  {
        text-align: center !important;
    }
}

@media (max-width: 1024px) {
    #welcome-wrap .text-wrapper p,
    #welcome-wrap .text-wrapper h2, h3, h6  {
        text-align: center !important;
    }

    #welcome-wrap a.ry-btn {
      display: inline-block !important;
    }
}

/* End - HP Edits*/

.sticky-icons{
  z-index: 99;
}


/* HP Image Format Edits*/
.module-welcome.style-5 .ry-each.image-wrapper .photo img,
#section-hp-team img[src*="dr.jpg"],
#welcome-wrap.style-1 .module-22 .ry-left img {
	width: 100% !important;
	max-width: 540px !important;
	aspect-ratio: 4 / 3 !important;
	height: auto !important;
	object-fit: cover !important;
	border-radius: 36px !important; 
	position: static !important;
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
	border: none !important;
}

.module-welcome.style-5 .ry-each.image-wrapper .photo {
	position: static !important;
	width: 100% !important;
	height: auto !important;
}

@media (max-width: 768px) {
	.module-welcome.style-5 .ry-each.image-wrapper .photo img,
	#section-hp-team img[src*="dr.jpg"],
	#welcome-wrap.style-1 .module-22 .ry-left img {
		max-width: 100% !important;
		aspect-ratio: 4 / 3 !important;
		border-radius: 20px !important; 
	}
}

/* END - HP Image Format Edits*/

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

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

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

.list-3 ul p {
		margin: 0;
	}
@media (min-width: 620px) {
	.list-3 ul {
		column-count: 3;
	}
}

.mm-searchfield__input input {
	background-color: #f89554 !important;
}

.review-widget.light {
	z-index: 9 !important;
}


.module-testimonials .comments-holder {
    max-width:unset !important;
}
[id^="reviews-widget-container-"] {
    z-index:1
}

@media(max-width:1199px){
	.reviews-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr)) !important;
}
}

@media(max-width:991px){
	.reviews-grid {
		grid-template-columns: repeat(2, minmax(0px, 1fr)) !important;
	}
	.module-testimonials .comments-holder {
		padding-inline:20px;
		padding-bottom:20px
	}
}

@media(max-width:600px){
	.reviews-grid {
		grid-template-columns: repeat(1, minmax(0px, 1fr)) !important;
	}
	.rating-summary,
	.widget-header{
		flex-direction:column;
		justify-content:center !important;
		gap:10px;
		align-items:center !important
	}

	.rating-info  {
		display:flex;
		align-items:center !important;
		justify-content:center !important
	}
	.rating-info .divider {
		display:none
	}
}