.Typewriter,
.typewrite {
  display: inline-block;
}
.typewrite {
  margin-left: 10px;
}
.dark-mode .dark-white {
  color: white !important;
}
.dark-mode-logo {
  display: none;
}
.dark .dark-mode-logo {
  display: block;
}
.light-mode-logo {
  display: block;
}
.dark .light-mode-logo {
  display: none;
}
@media (min-width: 1025px) {
  .mn-has-sub:hover + *,
  .mn-has-sub + *:hover {
    display: block !important;
    z-index: 1;
  }
}

.fadeInText {
  animation: animationFadeText 0.5s linear 0s 1;
}
@keyframes animationFadeText {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.dark-mode .svg-shape {
  filter: invert(1) brightness(2); /* Inverts the colors and increases brightness */
}
.dark-mode .svg-dark {
  filter: invert(1) brightness(2); /* Inverts the colors and increases brightness */
}
.dark-mode .image-filter {
  filter: invert(1) brightness(2); /* Inverts the colors and increases brightness */
}
html {
  scroll-behavior: initial !important;
}
a {
  cursor: pointer;
}
.mobile-on .desktop-nav {
  height: fit-content;
  max-height: 0px;
  display: block !important;
  overflow: scroll;
  transition: 0.6s;
}

@media (min-width: 1025px) {
  .mobile-on .mn-sub {
    display: none;
  }
}
@media (max-width: 1024px) {
  .mobile-on .js-opened .mn-sub.mobile-sub-active {
    max-height: 1000px;
  }
}
.dark-mode .form .form-tip-2 {
  color: var(--color-dark-mode-gray-1);
  background-color: var(--color-dark-2) !important;
}
.btn-mod.btn-w:hover,
.btn-mod.btn-w:focus {
  background: none !important;
}
@media (max-width: 500px) {
  .team-carousel .owl-prev.owl-prev-testimonial-1 {
    left: 21px;
  }
}

.mn-sub {
  transition: max-height 0.3s ease-in-out;
}

.mn-sub.open {
  max-height: 200px;
  overflow: auto !important;
  opacity: 1 !important;
}
html {
  scroll-behavior: smooth !important;
}

/* Team section: section-descr text color override (from browser preview) */
#team .section-descr {
  color: rgba(0, 0, 0, 1) !important;
}

/* Team section: background color */
#team {
  background-color: #D2EEFF !important;
}

/* Footer: background color */
.theme-main .page-section.footer {
  background-color: #F3F3F3 !important;
}

/* FAQ section: reduce bottom padding */
#faq.page-section {
  padding-bottom: 60px !important;
}

/* Contact anchor: scroll lower so the form is more visible */
#contact {
  scroll-margin-top: -350px;
}

/* Contact section: more space between Email and Phone blocks */
#contact .row.mb-60.mb-sm-50.g-0 > .col-sm-6:first-child {
  padding-right: 2rem !important;
}
#contact .row.mb-60.mb-sm-50.g-0 > .col-sm-6:last-child {
  padding-left: 2rem !important;
}


/* Dentist&Co: primary button color */
.theme-main .btn-mod,
.theme-main a.btn-mod,
.theme-main button.btn-mod,
.theme-main .submit_btn.btn-mod {
  background: #003A4B !important;
  border-color: #003A4B !important;
  color: #FFFFFF !important;
}
.theme-main .btn-mod span,
.theme-main a.btn-mod span,
.theme-main button.btn-mod span,
.theme-main .submit_btn.btn-mod span {
  color: #FFFFFF !important;
}
.theme-main .btn-mod:hover,
.theme-main .btn-mod:focus,
.theme-main a.btn-mod:hover,
.theme-main a.btn-mod:focus,
.theme-main button.btn-mod:hover,
.theme-main button.btn-mod:focus,
.theme-main .submit_btn.btn-mod:hover,
.theme-main .submit_btn.btn-mod:focus {
  background: #004a5f !important;
  border-color: #004a5f !important;
}
.theme-main .btn-mod:hover,
.theme-main .btn-mod:focus,
.theme-main a.btn-mod:hover,
.theme-main a.btn-mod:focus,
.theme-main button.btn-mod:hover,
.theme-main button.btn-mod:focus,
.theme-main .submit_btn.btn-mod:hover,
.theme-main .submit_btn.btn-mod:focus {
  color: #FFFFFF !important;
}
.theme-main .btn-mod:hover span,
.theme-main .btn-mod:focus span,
.theme-main a.btn-mod:hover span,
.theme-main a.btn-mod:focus span,
.theme-main button.btn-mod:hover span,
.theme-main button.btn-mod:focus span,
.theme-main .submit_btn.btn-mod:hover span,
.theme-main .submit_btn.btn-mod:focus span {
  color: #FFFFFF !important;
}

/* Contact submit button: match Hero button style */
.theme-main #contact_form .submit_btn.btn-mod {
  padding: 16px 32px 15px;
  font-size: 13px;
  letter-spacing: 0.085em;
  height: auto;
  white-space: nowrap;
}

/* Testimonials Dentist&Co: dark background with light text */
.testimonials-dentistandco {
  background-color: #003A4B !important;
}
.testimonials-dentistandco .ts1-author-img,
.bg-dark-2 .ts1-author-img {
  display: none !important;
}
.testimonials-dentistandco .section-caption,
.testimonials-dentistandco .section-descr,
.testimonials-dentistandco .testimonials-slider-1 blockquote p,
.testimonials-dentistandco .ts1-author,
.testimonials-dentistandco .ts1-author .small,
.testimonials-dentistandco .ts1-author .overflow-hidden {
  color: #F3F3F3 !important;
}
.testimonials-dentistandco .section-line {
  background: #F3F3F3 !important;
}
.testimonials-dentistandco .blockquote-icon {
  color: #003A4B !important;
  background: #F3F3F3 !important;
}
.testimonials-dentistandco .testimonials-slider-1 .owl-prev,
.testimonials-dentistandco .testimonials-slider-1 .owl-next {
  color: #F3F3F3 !important;
}
.testimonials-dentistandco .testimonials-slider-1 .owl-prev:before,
.testimonials-dentistandco .testimonials-slider-1 .owl-next:before {
  background: rgba(243, 243, 243, 0.2) !important;
  border: 1px solid #F3F3F3;
}

/* Decorative dots: reduce opacity to 15% */
.decoration-2,
.decoration-4 {
  opacity: 0.15 !important;
}
