/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://example.com/
 Description:  Child theme for Hello Elementor
 Author:       Your Name
 Author URI:   https://example.com/
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/
.header-language-wrapper div a {
    background: transparent !important;
    color: #002F5F;
}
.header-language-wrapper div {
    max-width: 50%;
	float: left;
}
@media screen and (min-width: 1024px) and (max-width: 1350px) {	
	.h2-medium {
		font-size: 46px !important;
	}
}
@media screen and (max-width: 1024px) {	
	.elementor-widget-navigation-menu .menu-item.current-menu-item a.hfe-menu-item {
		color: #002F5F !important;
	}
	header .mobile-menu li.parent:last-child {
		border-bottom: 1px solid #002F5F !important;
	}
	header .hfe-nav-menu__layout-horizontal.hfe-nav-menu__submenu-arrow {
		max-height: 90vh;
		overflow: auto;
	}
	.faq-guide details[open] .e-n-accordion-item-title {
		border-bottom: 0 !important;
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
		background: #002F5F0D !important;
	}
	.faq-guide .e-con.e-child {
		border-top: 0 !important;
		border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
		border-bottom-left-radius: 35px !important;
		border-bottom-right-radius: 35px !important;
		border: 2px solid #002F5F;
	}
	.faq-guide details {
		margin-bottom: 15px !important;
	}
	.faq-guide details  summary:focus-visible, .faq-guide details  summary:focus,.faq-guide  summary:focus-within,.faq-guide  summary:target  {
  outline: none !important;
  background-color: #002F5F0D !important;
  box-shadow: none !important;
}	
	.hfe-nav-menu__breakpoint-tablet .hfe-menu-toggle:hover {
		border: none;
	}
	.hfe-submenu-icon-arrow .hfe-nav-menu .parent-has-child .sub-arrow i:before {
    content: '\276F' !important;
}
	.hfe-nav-menu__breakpoint-tablet.hfe-submenu-icon-arrow .hfe-nav-menu__layout-horizontal .menu-item-has-children .sub-menu-active a .sub-arrow i:before {
		content: '\276F' !important; /* Unicode for ❯ (right arrow) */
  display: inline-block;
  transform: rotate(90deg) !important; 
	}
	header .hfe-sub-menu-item {
		padding-left: 15px !important;
	}
	header .menu-is-active .sub-menu-active a {
		font-weight: 600 !important;
	}
	.desktop-menu {
		display: none;
	}
	.mobile-menu {
		display: block;
	}
	.header-menu-wrapper {
		justify-content: space-between;
		width: 50%;
		float: left;
	}
	.logo-wrapper {
		width: 50%;
		float: left;
	}
	.header-language-wrapper, .header-button-dentists, .for-dentists {
		display: none;
	}
	.mobile-menu .hfe-nav-menu__toggle {
		margin: 0 !important;
		text-align: right !important;
	}

	/* Style menu items as radio buttons */
	.menu-radio {
		list-style: none;
		position: relative;
		padding-left: 28px; /* space for radio circle */
		cursor: pointer;
	}	
	.menu-radio:before {
		content: "";
		width: 10px;
		height: 10px;
		border: 2px solid #002F5F;
		border-radius: 50%;
		position: absolute;
		right: 25px;
		top: 19px;
		background: #fff;
		z-index: 999;
	}	
	.menu-radio.active:before {
		background: #002F5F; /* filled when active */
	}
	.header-menu-wrapper .sub-menu li a {
		font-weight: 400;
	}
	.header-menu-wrapper .sub-menu li {
		border: none !important;
	}
	.header-menu-wrapper nav.hfe-dropdown li.parent {
		border-bottom: 1px solid #002F5F !important;
	}
	header ul.hfe-nav-menu {
		border-top: 1px solid #002F5F !important;
	}
	.hfe-nav-menu__layout-horizontal li.menu-item {
		font-size: 20px !important;
	}
	.header-menu-wrapper {
		display: block !important;
	}
	.elementor-search-form__input {
		margin-right: 10px !important;
	}	
	/* Overlay style */
	.mobile-menu-overlay {
	  position: fixed;
	  top: 100px;
	  left: 0;
	  width: 100vw;
	  height: 100vh;
	  background: rgba(0, 0, 0, 0.6);
	  z-index: 997;
	  display: none;
	  cursor: pointer;
	  transition: opacity 0.2s ease-in-out;
	}

	/* When menu is open */
	body.menu-open {
	  overflow: hidden;
	}

	body.menu-open .mobile-menu-overlay {
	  display: block;
	}
	
}
@media screen and (max-width: 767px) {	
	.home-hero-banner .border-wrapper {
		height: 95% !important;
	}
	.add-span-after .border-wrapper svg {
		display: none !important;
	}	
	.add-span-after .border-wrapper {
		border: 2px solid #D97A00;
		border-radius: 12px !important;
	}
	h1, h2 {
		font-weight: 36px;
	font-weight: 600;
	}
}
@media screen and (min-width: 767px) and (max-width: 1200px) {	
	h1, h2 {
		font-weight: 40px;
	font-weight: 600;
	}
}
@media screen and (min-width: 1201px) {	
	h1, h2 {
		font-weight: 48px;
	font-weight: 600;
	}
}
@media screen and (min-width: 768px) {		
	
	#location-full-width-img .border-wrapper {
		width: 99.5% !important;
	}
	
	.guides-listing .elementor-post__thumbnail {
	height: 270px !important;
}		
.guides-listing .elementor-post__thumbnail img {
	height: 100% !important;
}
}
@media screen and (min-width: 1025px) {	
	.single-dental_practices .rating-stars {
		font-size: 21px !important;
	}
	
	#location-full-width-img {
		padding: 0 15px 15px 0 !important;	
	}
	.submenu-guides {
		margin-left: 20px !important;
	}

	.header-language-wrapper .elementor-widget-container {
		width: 100%;
		max-width: 100%;
		flex-direction: row !important;
	}	
	.header-language-wrapper ul.elementor-nav-menu {
		gap: 20px !important;
	}
	
	.header-language-wrapper ul.elementor-nav-menu a:hover {
		color: #002F5F !important;
	}
	.cta-guide-main .zip-search-form .zip-input {
		max-width: 400px;
	}
	.for-dentist-banner p {
		margin-bottom: 0 !important;
	}
	header .hfe-nav-menu ul.sub-menu {
		min-width: 450px !important;
		width: auto;
		max-width: 500px;
	}
	.faq-guide details[open] .e-n-accordion-item-title {
		border-bottom: 0 !important;
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
		padding-left: 30px !important;
		background: #002F5F0D !important;
	}
	.faq-guide details .e-n-accordion-item-title {
		padding-left: 30px !important;
	}
	.faq-guide .e-con.e-child {
		border-top: 0 !important;
		border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
		padding-left: 30px !important;		
	}
	.faq-guide details {
		margin-bottom: 15px !important;
	}
	.sub-menu .menu-item {
		display: table !important;
		width: auto !important;		
	}
	.sub-menu .menu-item a {
		width: auto !important;		
	}
	.hfe-has-submenu-container {
		position: relative !important;
		z-index: 99999;
	}
	.elementor-search-form__input {
		margin-right: 30px !important;
	}
	.desktop-menu {
		display: block;
	}
	.mobile-menu {
		display: none;
	}	
	.desktop-menu .hfe-nav-menu__layout-horizontal li.menu-item {
		font-size: 18px !important;
		font-weight: 700 !important;
	}
	header .elementor-button:focus, header .elementor-button:hover, header .elementor-button:visited {
		color: #002F5F;
	}
	header .header-language-wrapper a, .for-dentists a {
		padding: 0 !important
	}
	.header-language-wrapper .hfe-nav-menu .sub-menu a {
		position: relative;
	}
	.header-menu-wrapper nav .menu-item-has-children.parent a.hfe-menu-item:hover, 
.submenuHover .hfe-has-submenu-container a,
.header-menu-wrapper nav .menu-item-has-children.parent:focus-within a.hfe-menu-item,
.header-menu-wrapper nav .menu-item-has-children.parent:has(.sub-menu a:active) a.hfe-menu-item,
.header-menu-wrapper nav .menu-item-has-children.parent:has(.sub-menu a:focus) a.hfe-menu-item {
		background-color: #fff !important;
		border-top-left-radius: 25px;
		border-top-right-radius: 25px;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
		border: 2px solid #002F5F !important;
		border-bottom: none !important;
	}
	.langButtons a:hover {
		font-weight: 600 !important;
	}
	.header-menu-wrapper nav .menu-item.parent {
		position: relative;
		z-index: 999;
	}
	.header-menu-wrapper nav .menu-item.parent a.hfe-menu-item {
		border: 2px solid transparent;
	}
	.header-menu-wrapper nav .menu-item-has-children.parent ul.sub-menu {
		border: 2px solid transparent;
		margin-top: -4px !important;
		z-index: 99;
		padding: 20px 0px;
		border-top-right-radius: 25px;
		transition: visibility 0.2s ease, opacity 0.2s ease;
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
	}
	/* Show dropdown on hover or when submenuHover class is present */
	.header-menu-wrapper nav .menu-item-has-children.parent:hover ul.sub-menu,
.header-menu-wrapper nav .menu-item-has-children.submenuHover ul.sub-menu,
.header-menu-wrapper nav .menu-item-has-children.parent:focus-within ul.sub-menu,
.header-menu-wrapper nav .menu-item-has-children.parent:has(.sub-menu a:active) ul.sub-menu,
.header-menu-wrapper nav .menu-item-has-children.parent:has(.sub-menu a:focus) ul.sub-menu {
		border: 2px solid #002F5F;
		border-bottom-left-radius: 25px;
		border-bottom-right-radius: 25px;
		overflow: hidden;
		background-color: #fff;
		visibility: visible !important;
		opacity: 1 !important;
		pointer-events: auto !important;
	}
	.header-menu-wrapper nav .menu-item-has-children.parent ul.sub-menu li {
		border: none !important;
	}
	.hfe-menu-toggle.sub-arrow {
		display: none;
	}
	.header-menu-wrapper .menu-item.current-menu-item a.hfe-menu-item,
	.header-menu-wrapper .menu-item.current-menu-item a.hfe-menu-item:focus,
	.header-menu-wrapper .menu-item.current-menu-item a.hfe-menu-item:hover   {
		color: #002F5F !important;
	}
	.logo-wrapper .elementor-widget-image {
		margin: auto 0 !important;
	}	
	.langButtons.active a {
		font-weight: 600 !important;
	}
	.footer-legal-items a {
		position: relative !important;
	}
	.footer-legal-items a::after {
		bottom: -5px !important;
	}
	.header-menu-wrapper .hfe-nav-menu .sub-menu a::after, .header-menu-wrapper .hfe-nav-menu .sub-menu .current-menu-item a::after, #menu-item-8356 a::after, .footer-legal-items a::after {
		content: "";
		position: absolute;
		bottom: 8px; /* distance from text */
		left: 0;
		width: 0;
		height: 2px;
		background: #002F5F; /* underline color */
		transition: width 0.4s ease;
	}
	.header-menu-wrapper .hfe-nav-menu .sub-menu a:hover::after, .header-menu-wrapper .hfe-nav-menu .sub-menu .current-menu-item a::after, .footer-legal-items a:hover::after {
  	width: 100%;
		opacity: 1 !important;
	}
	#menu-item-8356 a:hover::after, #menu-item-8356.current_page_item a::after {
  	width: calc(100% - 30px);
		opacity: 1 !important;
		left: 50%;
		transform: translateX(-50%);
	}
}
.header-menu-wrapper .hfe-nav-menu .sub-menu a::after {
		bottom: 8px !important;
	}
	.header-menu-wrapper .hfe-nav-menu .submenu-heading a::after {
		content: none !important;
	}

.hfe-has-submenu-container.sub-menu-active a, .hfe-has-submenu-container.sub-menu-active a:hover, .hfe-has-submenu-container.sub-menu-active a:focus, .hfe-has-submenu-container.sub-menu-active li.active a, .sub-menu a.hfe-sub-menu-item:hover, .header-menu-wrapper .menu-item a.hfe-menu-item:focus, .header-menu-wrapper .menu-item a.hfe-menu-item:hover {
	color: #002F5F !important;
}
.footer-menu-grid a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
	width: fit-content !important
}
.sub-menu .menu-item {
	padding-left: 20px !important;
	padding-right: 10px !important;
}
.sub-menu .menu-item a {
	padding-left: 0px !important;
	padding-right: 0px !important;
	position: relative !important;
}
footer .hfe-nav-menu a::after, .header-button-dentists a::after, footer .current-menu-item a::after, .header-menu-item-first a:after {
  content: "";
  position: absolute;
  bottom: 8px; /* distance from text */
  left: 0;
  width: 0;
  height: 2px;
  background: #002F5F; /* underline color */
  transition: width 0.4s ease;
}

footer .hfe-nav-menu a:hover::after, .header-button-dentists a:hover::after, footer .current-menu-item a::after {
  	width: 100%;
	opacity: 1 !important;
}
.header-menu-item-first a:hover::after {
	width: 75% !important;
    margin: 0 auto;
    left: 12%;
    transform: translateX(-12%);
}
.footer-address p {
	line-height: 22px;
}
.elementor-widget-navigation-menu .hfe-nav-menu-layout:not(.hfe-pointer__framed) .menu-item.parent a.hfe-menu-item:after, .header-button-dentists a:after, footer .current-menu-item a::after, .header-menu-item-first a:after  {
	background-color: #002F5F !important;
}
.elementor-search-form__container {
	background-color:transparent !important;
	border: none !important;
}
.elementor-search-form__input {
	background-color: #fff !important;
	border: 1px solid #002F5F !important;
	border-radius: 30px !important;
	padding: 10px 20px !important;
	color: #002F5F !important;
	box-shadow: none !important;
	transition: all 0.3s ease !important;
}
.elementor-search-form__input::placeholder {
	color: #525252 !important;
	font-size: 16px !important;
} 
.elementor-search-form__submit {
	background-color: #2D3540;
	color: #fff;
	border-radius: 30px !important;
	padding: 10px !important;
	color: #fff !important;
	box-shadow: none !important;
	transition: all 0.3s ease !important;
	min-width: 110px !important;
	border: 1px solid #2D3540;
}
.elementor-search-form__submit:hover, .elementor-search-form__submit:focus {
	background-color: #fff !important;
	color: #002F5F !important;	
	border: 1px solid #2D3540 !important;
}
.icon-box img {
	width: 95px !important;
	margin: 0 auto !important;
	height: 85px !important;
}
.aboutus-stats-wrapper {
	max-width: 1200px !important;
	background: transparent !important;
}
@media screen and (min-width: 1600px) {
	header .e-con-inner {
		max-width: 95% !important;
	}
}
@media screen and (max-width: 767px) {
	.practice-card .title-rating-row {
		gap: 0px !important;
		margin-bottom: 5px !important;
	}
	
#location-full-width-img .border-wrapper {
	height: 96% !important;
	border-radius: 25px !important;
}
	#related-posts-main .elementor-post__excerpt p {
		font-size: 16px !important;
		max-height: 50px !important;
		overflow: hidden;
	}
	.elementor-search-form {
		text-align: center;
	}
	#cta-section .elementor-search-form__container {
		display: inline-block !important;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
	#cta-section .elementor-search-form__input {
		margin-bottom: 10px !important;
	}
	header .e-con-inner {
		max-width: 100% !important;
	}
	.sub-menu.sub-menu-open .menu-item:not(.menu-radio) a {
		padding-left: 15px !important;
	}
}
@media screen and (max-width: 767px) {
	.logo-wrapper {
		justify-content: center;
	}
	.logo-wrapper div {
		text-align: left;
	}
	.hfe-nav-menu-icon {
    padding-bottom: 10px !important;
    padding-top: 13px !important;
}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
	.hfe-nav-menu-icon {
    padding-bottom: 20px !important;
    padding-top: 13px !important;
}
	.logo-wrapper {
		justify-content: center;
	}
	.logo-wrapper div {
		text-align: left;
	}
	.logo-wrapper img {
		height: 40px !important;
		width: auto !important;
	}
}
@media screen and (max-width: 480px) {	
	.faq-guide details div.e-child {
		border-top: 0 !important;
	}
	
.faq-guide details p {
	color: #000 !important;
}
	.guide-hero-left {
		background: rgba(255, 247, 237, 0.49) !important;
	}
	.divider1, .divider2 {
		width: 40% !important;
	}
	.dental-image {
		width: 20% !important;
	}
}
.service-box ul li {
	padding-bottom: 15px !important;
}
@media screen and (min-width: 768px) and (max-width: 991px) {	
	.service-box ul {
		list-style: none !important;
		padding-left: 20px !important
	}
}
@media screen and (min-width: 1025px) {	
	
	
.add-span-after.image-full-width  {
	padding: 0 15px 15px 0 !important;
}
	
.add-span-after.image-full-width .border-wrapper {
    width: 99.5% !important;
}
	
.add-span-after {
	padding: 0 10px 10px 0 !important;
}
	.home-hero-banner .border-wrapper {
	height: 96% !important;
}
	.home-cta-bottom .zip-search-form .zip-input {
		width: 400px !important;
	}
	#who-we-are-heading h2, #serving-title h2 {
		font-weight: 700 !important;
	}
	.header-language-wrapper ul a span::after {
		content: "";
		position: absolute;
		bottom: -5px !important; /* distance from text */
		left: 0;
		width: 0 !important;
		height: 2px;
		background: #002F5F; /* underline color */
		transition: width 0.4s ease !important;
		opacity: 0;
	}
	.header-language-wrapper ul a span:hover::after {
		width: 100% !important;
		opacity: 1 !important;
	}
	.hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children:hover > .sub-menu, .hfe-nav-menu__layout-horizontal .hfe-nav-menu .menu-item-has-children.focus > .sub-menu, .hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-menu, .hfe-submenu-action-hover .hfe-layout-vertical .hfe-nav-menu .sub-menu {
    
    -webkit-transition: all 0ms ease-out !important;
    transition: all 0ms ease-out !important;
}
	.service-box ul {
		margin-left: 33px !important
	}
	#header-logo {
		height: 40px;
	}
	#header-logo a, #header-logo a img {
		height: 100%;
	}
	#header-logo a img {
		object-fit: contain !important;
	}
}
@media screen and (min-width: 1025px) and (max-width: 1142px) {	
	.e-con-inner {
		padding-left: 50px !important;
		padding-right: 20px !important;
	}
}
@media screen and (min-width: 768px) {	
	.practice-card .rating-info {
		align-items: center !important;
	}
	.service-map-container .leaflet-map {
		height: 325px !important;
	}
	.phone-info {
		display: none;
	}
	
.home-call-banner a:hover, .no-hover-change a:hover {
	font-size: inherit !important;
	font-weight: inherit !important;
}
	.menu-item-has-children.hfe-has-submenu:hover, .menu-item-has-children.hfe-has-submenu:focus {
		text-decoration: none !important;
	}	
}
.guide-process-left ul {
	padding-left: 0;
	list-style: none;
}
.guide-process-left ul li {
	padding-bottom: 10px;
}
.submenu-heading a {
	font-weight: 600 !important;
}
.guide-3-columns ul, .guide-process-left ul {
	list-style: disc;
	padding-left: 15px !important;
	margin-left: 10px;
}
.guide-3-columns ul li, .guide-process-left ul li {
	padding-bottom: 10px;
}
#hs-form-iframe-0 {
	max-height: 100% !important;
}
.faq-guide {
	margin: 0 auto !important;
}
.guide-required img {
	margin: 0 auto !important;
}
.faq-guide details:focus {
	background: transparent !important;
}
.distance-info-mobile {
		display: flex;
	}
.distance-info-mobile i {
		margin-top: 8px;
	margin-right: 10px;
	}
.phone-info {
	color: #002F5F;
	font-size: 14px;
}
@media screen and (max-width: 768px) {
	.hs-form-booleancheckbox-display {
		align-items: center !important;
    display: flex !important;
		margin-bottom: 20px !important;
	}
	.hs-form-booleancheckbox-display input {
		width: 20px !important;
		height: 20px !important;
	}
	.hs-form-booleancheckbox-display span:not(.hs-form-required) {
		width: 80%;
		display: inline-block;
		line-height: 1.3rem;
		margin-bottom: 0px !important;
	}
	#mobileSearchBtn:hover, #mobileSearchBtn:focus {
		background: #fff !important;
	}
	.location-icon {
		margin-right: 8px !important;
	}
	.location-info .fa-circle {
		font-size: 8px !important;
		margin-right: 10px;
	}
	.phone-info .phone-icon {
		margin-right: 3px !important;
	}
	.phone-info .phone-icon:before {
		color: #002F5F;
	}
	.phone-info .phone-icon {
		font-size: 13px;
		margin-right: 5px;
	}
	.location-info {
		margin-bottom: 5px !important;
		margin-right: 8px;
	}
.service-faq .e-n-accordion-item-title-icon {
	margin-right: 0px !important;
}
	.hs-fieldtype-booleancheckbox input {
		margin: 0 !important;
	}
	.hs-input[type="text"], .hs-input[type="tel"], .hs-input[type="email"] {
		width: 100% !important;
	}
	.form-columns-1 .input, .form-columns-2 .input {
		margin-right: 0 !important;
	}
.home-call-banner a:hover {
	font-size: 19px !important;
}
/* ===================== */
/* ✅ FADE (smaller move) */
/* ===================== */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===================== */
/* ✅ ZOOM (subtle)       */
/* ===================== */

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes zoomOut {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===================== */
/* ✅ SLIDE (50px only) */
/* ===================== */
@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes slideInDown {
  from { transform: translateY(-50px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ===================== */
/* ✅ BOUNCE (gentle)    */
/* ===================== */
@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.95); }
  50%  { opacity: 1; transform: scale(1.05); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}

@keyframes bounceInLeft {
  0%   { opacity: 0; transform: translateX(-50px); }
  50%  { transform: translateX(15px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes bounceInRight {
  0%   { opacity: 0; transform: translateX(50px); }
  50%  { transform: translateX(-15px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes bounceInUp {
  0%   { opacity: 0; transform: translateY(50px); }
  50%  { transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bounceInDown {
  0%   { opacity: 0; transform: translateY(-50px); }
  50%  { transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}
}

/* Base bounce animation styles */
/* Base animation styling */
/* General animation base */
/* Utility classes */
.fade-in-up,
.fade-in-down,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.fade-in-up { animation-name: fadeInUp; }
.fade-in-down { animation-name: fadeInDown; }
.fade-in-left { animation-name: fadeInLeft; }
.fade-in-right { animation-name: fadeInRight; }

.zoom-in,
.zoom-out {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

/* Apply specific animations */
.zoom-in  { animation-name: zoomIn; }
.zoom-out { animation-name: zoomOut; }
.slide-in-up,
.slide-in-down,
.slide-in-left,
.slide-in-right {
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

/* Assign animations */
.slide-in-up    { animation-name: slideInUp; }
.slide-in-down  { animation-name: slideInDown; }
.slide-in-left  { animation-name: slideInLeft; }
.slide-in-right { animation-name: slideInRight; }

.bounce-in,
.bounce-in-left,
.bounce-in-right,
.bounce-in-up,
.bounce-in-down {
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

/* Specific directions */
.bounce-in        { animation-name: bounceIn; }
.bounce-in-left   { animation-name: bounceInLeft; }
.bounce-in-right  { animation-name: bounceInRight; }
.bounce-in-up     { animation-name: bounceInUp; }
.bounce-in-down   { animation-name: bounceInDown; }


@media screen and (min-width: 769px) {
	
/* ===================== */
/* ✅ FADE (smaller move) */
/* ===================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===================== */
/* ✅ ZOOM (subtle)       */
/* ===================== */
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.95); } /* smaller zoom */
  to   { opacity: 1; transform: scale(1); }
}
@keyframes zoomOut {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===================== */
/* ✅ SLIDE (50px only) */
/* ===================== */
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes slideInDown {
  from { transform: translateY(-20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@keyframes slideInLeft {
  from { transform: translateX(-20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
  from { transform: translateX(20px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* ===================== */
/* ✅ BOUNCE (gentle)    */
/* ===================== */
@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.95); }
  50%  { opacity: 1; transform: scale(1.05); }
  70%  { transform: scale(0.98); }
  100% { transform: scale(1); }
}
@keyframes bounceInLeft {
  0%   { opacity: 0; transform: translateX(-20px); }
  50%  { transform: translateX(15px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes bounceInRight {
  0%   { opacity: 0; transform: translateX(20px); }
  50%  { transform: translateX(-15px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes bounceInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  50%  { transform: translateY(-15px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceInDown {
  0%   { opacity: 0; transform: translateY(-20px); }
  50%  { transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}
}


.membership-portal a {
	text-decoration: none !important;
}
.membership-portal a:hover {
	text-decoration: underline !important;
	font-size: 22px !important;
}
.about-us-contact p {
	margin-bottom: 10px !important;
}
.dental-guides img {
	margin: 0 auto !important;
}
.e-n-accordion-item-title-icon {
	margin-right: 10px;
}
.border-box:after {
	content: '';
	position: absolute;
	top: 6px;
	left: 6px;
	right: 6px;
	bottom: 6px;
	border: 2px solid orange;
	border-radius: 25px;
	pointer-events: none;
}
@media screen and (max-width: 1399px) {
	.border-box {
		padding-right: 12px !important;
		padding-bottom: 12px !important;
	}
}
@media screen and (min-width: 1440px) {
	.border-box {
		padding-right: 15px !important;
		padding-bottom: 15px !important;
	}
}
.hs-form-required {
	color: #002F5F !important;
	margin-left: 3px !important;
}
.hs-form-booleancheckbox {
	list-style: none !important;
}
.hs-form-field ul {
	padding-left: 0 !important;
}
.hs-form-booleancheckbox input {
	margin-right: 10px !important;	
}
.hs-button {
	width: 100%;
	margin-top: 30px !important;
}
.form-columns-2, .form-columns-1 {
	max-width: 100% !important;
}
.form-columns-1 input[type="email"], .form-columns-1 input[type="number"] {
	width: 100% !important;
}
.phone-info .phone-icon:before {
		color: #002F5F;
	}
	.phone-info .phone-icon {
		font-size: 13px;
		margin-right: 5px;
	}
	.location-info {
		margin-right: 8px;
	}
.location-info .fa-circle {
	font-size: 5px;
}
@media (min-width: 768px) and (max-width: 1024px) {
	.add-span-after {
	padding: 0 6px 6px 0 !important;
}
	.home-hero-banner .border-wrapper {
	height: 94% !important;
}
	.home-hero-banner .border-wrapper {
		height: 94% !important;
	}
	.add-span-after .border-wrapper svg {
		display: none !important;
	}	
	.add-span-after .border-wrapper {
		border: 2px solid #D97A00;
		border-radius: 25px !important;
	}
	.for-dentists-hb-form .hs-form-field label {
		font-size: 12px !important;
	}
}
@media (min-width: 1024px) and (max-width: 1313px) {
	.for-dentists-hb-form .hs-form-field label {
		font-size: 16px !important;
	}
}
.elementor-search-form__submit:hover {
	color: #002F5F !important;
}
.blog-content-list ul {
	padding-top: 15px;
	padding-bottom: 15px;
}
.blog-content-list ul li {
	padding-bottom: 15px;
}
footer .hfe-nav-menu li {
	width: fit-content !important;
}

@media screen and (min-width: 1024px) and (max-width: 1300px) {
	.h2-medium h1 {
		font-size: 44px !important;
	}
}
#callNowBtnMobile:focus {
	color: #fff !important;
}
.footer-call-btn a:hover, .footer-call-btn:focus {
	font-size: 14px !important;
}

.footer-call-btn a:hover {
  font-size: 14px !important;
}

.hbspt-form .hs-error-msgs li {
	list-style: none !important;
}
.for-dentists-hb-form .hs-form-field label {
	padding-left: 5px;
}
.hs-error-msg, .hs-error-msgs label {
	color: red;
}

.add-span-after {
	position: relative;
}

.image-container.add-span-after.home-hero-banner .animated-border  {
	height: 97% !important;
}

.image-container.add-span-after.home-hero-banner .animated-border::before {
    top: 8px !important;
    left: 0;
}

.image-container.add-span-after.home-hero-banner .animated-border::after {
    bottom: -8px !important;
    right: 0;
}

.animated-border {
  position: absolute;
  display: inline-block;
  padding: 2em 3em;
  color: #D97A00;
  font-weight: 700;
  background: none;
  text-align: center;
  overflow: hidden;
	width: 100%;
	height: 100%;
	left: 0;
}

/* Pseudo elements for drawing border lines */
.animated-border::before,
.animated-border::after {
  content: none;
  position: absolute;
  box-sizing: border-box;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  /* 🔸 Remove border-radius at start (square corners) */
  border-radius: 0;
}

/* TOP + RIGHT sides */
.animated-border::before {
  top: 0;
  left: 0;
}

/* BOTTOM + LEFT sides */
.animated-border::after {
  bottom: 0;
  right: 0;
}

/* Animate top/right */
.animated-border.active::before {
  animation: draw-border-before 4s linear forwards;
}

/* Animate bottom/left after a delay */
.animated-border.active::after {
  animation: draw-border-after 4s linear forwards;
  animation-delay: 4s;
}

/* TOP + RIGHT animation */
@keyframes draw-border-before {
  0% {
    width: 0;
    height: 0;
    border-top-color: #D97A00;
    border-radius: 25px;
  }
  50% {
    width: 100%;
    height: 0;
    border-top-color: #D97A00;
    border-radius: 25px;
  }
  51% {
    border-right-color: #D97A00;
  }
  100% {
    width: 100%;
    height: 100%;
    border-top-color: #D97A00;
    border-right-color: #D97A00;
    /* 🟢 Add border radius at end */
    border-radius: 25px;
  }
}

/* BOTTOM + LEFT animation */
@keyframes draw-border-after {
  0% {
    width: 0;
    height: 0;
    border-bottom-color: #D97A00;
    border-radius: 25px;
  }
  50% {
    width: 100%;
    height: 0;
    border-bottom-color: #D97A00;
    border-radius: 25px;
  }
  51% {
    border-left-color: #D97A00;
  }
  100% {
    width: 100%;
    height: 100%;
    border-bottom-color: #D97A00;
    border-left-color: #D97A00;
    /* 🟢 Add radius at the end for final look */
    border-radius: 25px;
  }
}


.hs-button:hover {
  border-radius: 9999px;
  background: #fff !important;
  color: #002F5F !important;
  font-size: 18px;
  border: 1px solid #002F5F !important;
}

/* ===== PAGE LOADER STYLES ===== */
/* Prevents flash of unstyled content (FOUC) */

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #002F5F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #002F5F;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.loader-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 30px;
}

/* ===== COMMON PHONE MODAL STYLES ===== */
/* These styles are shared across practice.js, find-dentist.js, and service.js */

.phone-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.phone-modal-content {
    background: white;
    border-radius: 10px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.phone-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    border-bottom: 1px solid #eee;
}

.phone-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.phone-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-modal-close:hover {
    color: #333;
}

.phone-modal-body {
    padding: 20px;
}

.phone-number-display {
    text-align: center;
    margin-bottom: 20px;
}

.phone-number-display i {
    font-size: 24px;
    color: #002F5F;
    margin-right: 10px;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.phone-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-call, .btn-copy {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-call {
    background: #D97A00;
    color: white;
    flex: 1;
}

.btn-call:hover {
    background: #002F5F;
}

.btn-copy {
    background: #f0f0f0;
    color: #333;
    flex: 1;
}

.btn-copy:hover {
    background: #e0e0e0;
}
.phone-modal-actions .btn-call {
	display: none;
}
.phone-modal-actions .btn-copy {
	justify-content: center;
}
.phone-modal-actions .btn-copy:hover {
	color: #fff;
}
.phone-modal-actions .btn-copy:focus:hover {
	color: #002F5F !important;
}
.phone-modal-close:hover {
	color: #fff !important;
}
.footer-legal-items a:hover {
	font-size: 14px !important;
}
.marketing-services .e-child {
	flex-direction: column;
	height: 100%;
}
.marketing-services .e-child .elementor-widget-button {
	margin-top: auto;
}
.practice-card .title-section a {
	text-decoration: none;
}
.header-button-dentists a::after {
	bottom: -5px !important;
}
footer .hfe-nav-menu a::after {
	bottom: 0 !important;
}
.comparison-feature-row.single-column {
	text-align: center;
}
.post-template-default.single.single-post a:not(.elementor-button):hover {
	font-size: inherit !important;
}
.guides-listing .elementor-post__thumbnail {
	padding-bottom: 0 !important;
	border-radius: 15px;
	border: 1px solid #002F5F;
}
.guides-listing .elementor-post__avatar {
	display: none;
}
.guides-listing .elementor-post__read-more:hover {
	font-size: 16px !important;
}
.cta-guide-main .search-input-container {
	justify-content: center;
}
.elementor-posts__hover-gradient .elementor-post__card .elementor-post__thumbnail__link:after {
	background: transparent !important;
}
.service_locations-template-default .animated-border::before, .service_locations-template-default .animated-border::after {
	height: 90% !important;
}
.service_locations-template-default .animated-border::before  {
	top: 30px !important;
}
.service_locations-template-default .add-span-after.location-hero-img img {
	border-width: 0 !important;
	border-radius: 0 !important;
}
.blog-content-list a:hover {
	font-size: inherit !important;
	font-weight: inherit !important;
}
.sitemap-main-pages ul, .sitemap-services ul, .sitemap-blogs ul, .sitemap-guides ul {
    list-style: none;
    padding-left: 0;
}
.sitemap-main-pages ul li, .sitemap-services ul li, .sitemap-blogs ul li, .sitemap-guides ul li {    
    list-style: none;
    padding-left: 0;
}
.sitemap-page ul li {
	padding-bottom: 12px;
}
.sitemap-page ul li a {
    text-decoration: none;
    font-size: 18px !important;
}
.sitemap-page h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
	line-height: 100%;
}
.sitemap-page h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
}
.sitemap-page p {
    font-size: 20px !important;
}
@media (min-width: 768px) {
    .sitemap-blogs ul , .sitemap-cities ul {
         columns: 2;                 /* create two columns */
		  column-gap: 60px;           /* add space between columns */
		  -webkit-columns: 2;
		  -webkit-column-gap: 60px;
		  -moz-columns: 2;
		  -moz-column-gap: 60px;
		  list-style-position: inside;
    } 
    .sitemap-blogs ul li , .sitemap-cities ul li {
       break-inside: avoid;
	  -webkit-column-break-inside: avoid;
	  -moz-column-break-inside: avoid;
	  display: inline-block;
	  width: 100%;
    }	
}

@media (min-width: 1600px) {
    .sitemap-blogs ul , .sitemap-cities ul {
         columns: 2;                 /* create two columns */
		  column-gap: 100px;           /* add space between columns */
		  -webkit-columns: 2;
		  -webkit-column-gap: 100px;
		  -moz-columns: 2;
		  -moz-column-gap: 100px;
		  list-style-position: inside;
    } 
}
.elementor-sitemap-wrap {
    width: 100%;
    display: block !important;
}
@media screen and (min-width: 1024px) {
	.for-dentists-testimonials .e-con-inner {
		min-height: 310px !important;
		align-items: center !important;
	}
}
@media screen and (max-width: 1024px) {
	.mobile-menu .hfe-menu-item {
		padding-top: 25px !important;
		padding-bottom: 25px !important;
	}
}

@media screen and (max-width: 767px) {
	.for-dentists-testimonials .e-con-inner {
		min-height: 500px !important;
		align-items: center !important;
	}
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
	.for-dentists-testimonials .e-con-inner {
		min-height: 600px !important;
		align-items: center !important;
	}
}
h1, h2 {
	text-transform: none !important;
}

.border-wrapper {
	position: absolute;        /* establish containing block */
	width: 98%;
	height: 98%;
	background: transparent;
	border-radius: 25px;
	overflow: hidden; 
	bottom: 0;
	right: 0;         /* hide anything outside rounded corners */
}

.service_locations-template-default .location-hero-img .border-wrapper {
	height: 89% !important;
}



.border-wrapper svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;               /* fill parent */
	height: 100%;
	pointer-events: none;      /* let mouse hover pass through to parent */
}

.border-wrapper rect {
	fill: transparent;
  stroke: #D97A00;
  stroke-width: 2;
  rx: 9;
  ry: 9;
  stroke-dasharray: 1127;   /* Total length of the stroke */
  stroke-dashoffset: 1127;  /* Start with the full length hidden */
  transition: stroke-dashoffset 4s linear;
	 fill:"none";
    vector-effect:"non-scaling-stroke";

}
.border-wrapper.active rect {
	stroke-dashoffset: 0;      /* animate border drawing */
}

@media screen and (min-width: 1400px) {
	.border-wrapper rect {
	rx: 10 !important;
	ry: 10 !important;
}
}

@media screen and (min-width: 768px) {
	
.add-span-after.image-full-width .border-wrapper rect {
    stroke-width: 1px !important;
    rx: 7 !important;
    ry: 7 !important;
}
}
@media screen and (max-width: 767px) {
	
.add-span-after {
	padding: 0 6px 6px 0 !important;
}
	.home-hero-banner .border-wrapper {
	height: 94% !important;
}
	
.add-span-after.image-full-width .border-wrapper rect {
    stroke-width: 1px !important;
    rx: 15 !important;
    ry: 15 !important;
}
	.border-wrapper rect {
		rx: 13 !important;
		ry: 13 !important;
	}
	#location-full-width-img .border-wrapper rect {
		rx: 20 !important;
		ry: 21 !important;
	}
	#location-full-width-img {
		padding: 0 6px 6px 0 !important;	
	}
	#location-full-width-img .border-wrapper rect {
		stroke-width: 2 !important;
	}
}
@media screen and (min-width: 768px) {
	#location-full-width-img .border-wrapper rect {
		stroke-width: 1 !important;
	}
}
#image-full-width-left rect {
	rx: 15 !important;
	ry: 15 !important;	
	stroke-width: 2px !important;
}
#image-full-width-left {
	padding: 0 7px 6px 0 !important;
}
.terms-of-use-content table tbody>tr:nth-child(odd)>td, .terms-of-use-content table tbody>tr:nth-child(odd)>th {
	background: #fff !important;
}
.terms-of-use-content table tbody>tr:hover,.terms-of-use-content table tbody>tr:hover td {
	background: #fff !important;
}

#related-posts-main .elementor-post__thumbnail {
	padding-bottom: 0 !important;
	border: 1px solid #002F5F;
	border-radius: 15px;
}
#related-posts-main .elementor-post__title a {
	text-decoration: none !important;
	color: #002F5F;
	font-size: 24px !important;
	font-weight: 700;
	margin-bottom: 10px;
}
#related-posts-main .elementor-post__excerpt p {
	color: #000;
	font-size: 20px;
	max-height: 60px;
    overflow: hidden;
}
#related-posts-main .elementor-post__meta-data {
	display: none !important;
}
#related-posts-main .elementor-post__title {
	margin-bottom: 20px !important;
}
#related-posts-main .elementor-post__read-more {
    color: #002f5f !important;
    font-size: 16px;
    font-weight: 600;
    margin-top: 30px;
    display: block;
}
.elementor-element.elementor-element-5a8df87, .elementor-element.elementor-element-d40af60, .elementor-element.elementor-element-b9ca8d6 {
	z-index: 9 !important;
}
.hs-richtext.hs-main-font-element p:first-of-type {
  margin-bottom: 25px !important;
}
.privacy-page-content ol {
	padding-left: 20px !important;
}
/*.service_locations-template-default a:hover {
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}*/
.practice-container.single-practice-container .left-column, .practice-container.single-practice-container .right-column {
	z-index: 0 !important;
}
.submenu-heading a {
	font-weight: 600 !important;
}
.related-info a {
	text-decoration: none !important;
}
.related-info a:hover {
	text-decoration: underline !important;
}
.single-service_locations .elementor-widget-posts article img, .post-template-default  .elementor-widget-posts article img, .single-dental_services .elementor-widget-posts article img {
	position: relative !important;
	transform: none !important;
	left: 0 !important;
	width: 100% !important;
}
a.no-hover-effect:hover {
	font-weight: 600 !important;
}
.review-nav-btn img {
	border: none !important;
}
.single-dental_practices .rating-stars, .single-dental_practices .rating-number.rating-text, 
.single-dental_practices .rating-count, .single-dental_practices .review-text {
	color: #002F5F !important;
}
.page-id-34169 .elementor-post__card .elementor-post__badge {
	display: none !important;
}
e-n-accordion-item-title {
	display: flex !important;
	justify-content: space-between !important;
}
/* Set min-height for h3 in titles with more than 80 words, only for width > 768px */
@media (min-width: 769px) and (max-width: 1200px){
	#related-posts-main .elementor-post__title  {
		min-height: 115px !important;
	}
}
/* Set min-height for h3 in titles with more than 80 words, only for width > 768px */
@media (min-width: 1200px){
	#related-posts-main .elementor-post__title {
		min-height: 85px !important;
	}
}