.container-max {
  width: 100%;
  max-width: 1400px !important;
  margin: auto !important;
}

/*a.item {*/
/*    margin: 10px 30px;*/
/*    padding: 10px 0;*/
/*    font-size: 17px;*/
/*    font-weight: 400;*/
/*    color: #993672;*/
/*    display: block;*/
/*    position: relative;*/
/*    text-decoration: none;*/
/*}*/

/*a.item:after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    width: 0;*/
/*    border-top: 4px solid #993672;*/
/*    transition: all 0.3s ease;*/
/*}*/

a.item:hover:after {
  width: 100%;
}

@media (max-width: 800px) {
  a.item {
    font-size: 15px;
    margin: 10px;
    text-align: center;
  }

  a.item:hover:after {
    width: 60px;
  }
}

.r-background {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.r-background-left {
  top: -4%;
}

.r-background-left img {
  left: -10%;
  object-position: left center;
}

.r-background img {
  right: 0;
  position: absolute;
  height: 90%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}

@media (max-width: 1024px) {
  .r-background {
    top: -4%;
  }
}

@media (max-width: 800px) {
  .r-background {
    top: -3%;
  }

  .r-background img {
    right: 6%;
  }
}

.flipped + .r-background {
  top: -4%;
}

.flipped + .r-background img {
  left: -10%;
  object-position: left center;
}

@media (max-width: 800px) {
  .flipped + .r-background img {
    left: -13%;
  }
}

.no-r-background + .r-background {
  display: none;
}

.custom-ul ul li {
  padding-left: 12px;
  position: relative;
  font-size: 17px;
  list-style-type: square;
  margin-bottom: 16px;
}

.custom-ul-primary ul {
  margin-left: 0;
  padding-left: 0;
}

.custom-ul-primary ul li {
  padding-left: 12px;
  padding-right: 3rem;
  position: relative;
  font-size: 17px;
  list-style-type: square;
  margin-bottom: 16px;
}

.custom-ul-primary ul li::marker {
  color: #0796d4;
}

.custom-primary ul li::marker {
  color: #0796d4;
}

.custom-white ul li::marker {
  color: #fff;
}

@media (min-width: 1024px) {
  .block-desktop {
    display: block !important;
  }
}

.elementor-widget-radiance_image_with_rounded_background.animated
  .image-with-primary-background
  picture.background
  img {
  transform: scale(1);
  transition: all 1.25s ease;
}

.elementor-widget-radiance_image_with_rounded_background {
  animation-name: none !important;
}

.image-with-primary-background {
  height: 100%;

  .media {
    width: 100%;
    position: relative;
    height: 100%;
  }

  picture.background {
    overflow: hidden;
  }

  picture.background img {
    transform: scale(1.2);
    transition: all 1.25s ease;
    border-radius: 88px;
  }
}

.image-with-primary-background .media:before {
  background: linear-gradient(90deg, #02155a 0%, #0796d4 100%);
  transform: translate(12px, -30px);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 88px;
  content: "";
}

/*/.r-background {
    top: -4%;
    position: absolute;
    left: 0;
    width: 100%;kk
    height: 100%;
    z-index: 0;
    overflow: hidden;
} /*/

@media only screen and (max-width: 64em) {
  .image-with-primary-background .media {
    margin-bottom: 30px;
    padding-top: 90%;
  }
}

@media only screen and (max-width: 40em) {
  .image-with-primary-background .media {
    padding-top: 100%;
    border-radius: 44px;
  }
}

.elementor-max-width {
  max-width: var(--content-width, 100%);
}

.tns-controls button {
  border: none;
}

.faq-left-text {
  h2 {
    font-size: 80px;
    line-height: 1.3;
    margin-bottom: 20px;
    text-transform: none;
    color: #fff;
  }

  .small {
    font-size: 50%;
    display: block;
    color: #000;
    opacity: 1;
    margin: 15px 0;
    letter-spacing: 0.5px;
  }
}

.custom-user-list {
  ul {
    margin: 15px;
  }

  li::marker {
    color: #fff !important;
  }

  li {
    font-size: 17px;
    list-style-type: square;
    padding-right: 4rem;
    margin-bottom: 16px;
    position: relative;
    padding-left: 10px;
  }
}

.custom-user-list-primary {
  ul {
    margin: 0;

    li {
      margin-left: 14px;
      padding-left: 12px;
      position: relative;
      font-size: 17px;
      color: #000;
      list-style-type: square;
      margin-bottom: 16px;
      padding-right: 3rem;
      list-style-type: square;
    }

    li::marker {
      color: var(--e-global-color-primary);
    }
  }
}

.menu-item-page {
  margin: 10px 30px;
  padding: 10px 0;
  font-size: 17px;
  font-weight: 400;
  color: #993672;
  display: block;
  position: relative;
  text-align: center;

  span {
    font-size: 17px;
    font-weight: 400;
    color: #993672;
  }
}

.multiple-paragraphs-margin {
  p {
    margin-bottom: 20px;
  }

  p:last-child {
    margin-bottom: 0px;
  }
}

.mt-10 {
  margin-top: 10px !important;
}

.animation-bg-image-container {
  overflow: hidden;
  position: relative;
}

.force-visible {
  visibility: visible !important;
}

.contact-phone-link {
  display: flex;
  font-size: 13px;
  margin-top: 18px;
}

@media only screen and (max-width: 64em) {
  .contact-phone-link {
    justify-content: center;
  }
}

.contact-phone-link:before {
  content: "";
  background: url("/wp-content/uploads/2026/01/1671659523-icon-phone.svg")
    no-repeat;
  background-size: 12px;
  width: 20px;
  height: 18px;
  background-position: center;
  display: inline-block;
  min-width: 10px;
  margin-right: 7px;
}

@media (max-width: 1024px) {
  #form_contact {
    .elementor-field {
      border-bottom: solid 0.7px #fff !important;
      color: white !important;
    }

    .section-label {
      color: white !important;
    }

    .elementor-field-type-submit {
      justify-content: center;

      .elementor-button {
        color: white !important;

        span {
          color: white !important;
        }

        &:before {
          background-color: white !important;
        }

        &:hover {
          span.elementor-button-text {
            color: #02155a !important;
            z-index: 2;
          }
        }
      }
    }
  }
}

#form_contact {
  .elementor-field {
    border: none;
    border-bottom: solid 0.7px #000;
    background: none;
    border-radius: 0;
    padding: 12px 0;
    font-size: 17px;
    font-family: "Sans_3", Arial, sans-serif;
    color: #000;
    height: auto;
  }

  .elementor-field select {
    border: none;
    background: none;
    border-radius: 0;
    padding: 0px 0;
    font-size: 17px;
    font-family: "Sans_3", Arial, sans-serif;
    color: #333;
    height: auto;
    line-height: 1.15;
    letter-spacing: normal;

    &:focus {
      border: none !important;
      box-shadow: none !important;
    }
  }

  @media (max-width: 1024px) {
    .elementor-field select {
      color: rgba(255, 255, 255, 0.75) !important;
    }

    .elementor-field option {
      color: #000 !important;
    }
  }

  .section-label {
    font-size: 13px;
    line-height: 1.4;
    margin-top: 30px;
    color: #02155a;
  }

  .elementor-field-type-submit {
    margin-top: 30px;

    .elementor-button {
      background: rgba(0, 0, 0, 0);
      padding: 18px 54px;
      font-family: "Sans_3", Arial, sans-serif, sans-serif;
      font-weight: 700;
      color: #02155a;
      opacity: 1;
      flex-basis: auto;
      width: auto;

      span {
        text-transform: none;
        background: rgba(0, 0, 0, 0);
        font-family: "Sans_3", Arial, sans-serif, sans-serif;
        font-weight: 700;
        color: #02155a;
        opacity: 1;
        flex-basis: auto;
        width: auto;
      }

      &:before {
        position: absolute;
        height: 100%;
        content: "";
        background-color: #02155a;
        width: 20px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        transition: all ease 0.5s;
        opacity: 1;
      }

      &:hover:before {
        width: 100%;
        z-index: 1;
      }

      &:hover {
        opacity: 1;
        background: rgba(0, 0, 0, 0);
        padding: 18px 54px;
        font-family: "Sans_3", Arial, sans-serif, sans-serif;
        font-weight: 700;
        box-shadow: none;

        span {
          color: #fff !important;
          z-index: 2;
        }
      }
    }
  }

  .elementor-message,
  .elementor-error {
    margin-top: 0;
  }

  .elementor-message-danger::before,
  .elementor-message-danger::before {
    content: "" !important;
    position: absolute !important;
  }

  input.elementor-field + .elementor-message-danger,
  select.elementor-field-textual + .elementor-message-danger {
    background: #0796d4 !important;
    color: #fff !important;
    border-radius: 3px !important;
    font-size: 10px !important;
    letter-spacing: 0.7px !important;
    font-weight: 400 !important;
    width: fit-content !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    pointer-events: none !important;
    position: absolute !important;
    right: 6px !important;
    top: -6px !important;
    text-align: center !important;
    z-index: 10 !important;
    opacity: 1 !important;
    padding: 6px 12px !important;
    transition: all 0.2s !important;
    display: block !important;
  }
}

@media only screen and (max-width: 64em) {
  .partial_gallery_hero h1 {
    font-size: 46px !important;
  }
}

.partial_gallery_hero {
  h1 {
    font-size: 87px;
  }

  li {
    color: #993672;
    font-weight: 600;
    font-size: 12px;
    line-height: 29px;
    padding: 5px 0;
    white-space: nowrap;
    letter-spacing: 0;
    display: flex;
    align-items: center;
  }
}

.mod_columns_three_img_bckgrd .wow .home-text-custom.text {
}

@media only screen and (min-width: 1025px) {
  .mod_columns_three_img_bckgrd .wow:hover .home-text-custom.text {
    bottom: 115px;
  }
}

.elementor-widget-radiance_menu {
  width: 100%;
}

.logo-holder {
  align-self: center;
}

.locations {
  visibility: hidden !important;
}

footer.partial_footer .main {
  align-items: center;
}

footer.partial_footer .address.holder {
  justify-content: center !important;
}

@media (max-width: 800px) {
  footer.partial_footer .main {
    margin-bottom: 56px !important;
  }
}

footer.partial_footer picture.background img {
  object-position: center center;
}

footer.partial_footer picture.background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

@media (max-width: 1025px) {
  .quick-links {
    margin: 0 !important;
    padding: 0 !important;
  }
}

.doctor-bio-popup {
  background: #fff;
  border-radius: 12px;
  max-width: 1260px;
  margin: auto;
  padding: 36px;
  position: relative;
}

.doctor-bio-popup__body {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  text-align: left;
}

.doctor-bio-popup__image {
  flex-shrink: 0;
  width: 220px;
  border-radius: 10px;
  overflow: hidden;
}

.doctor-bio-popup__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.doctor-bio-popup__info {
  flex: 1;
  text-align: left;
}

.doctor-bio-popup__name {
  font-size: 30px;
  font-weight: 700;
  color: #02155a;
  margin: 0 0 6px;
  line-height: 1.2;
}

.doctor-bio-popup__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: #02155a;
  margin: 0 0 2px;
  letter-spacing: 0.3px;
}

.doctor-bio-popup__sub-subtitle {
  font-size: 14px;
  font-style: italic;
  color: #666;
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.doctor-bio-popup__content {
  font-size: 15px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 24px;
}

.doctor-bio-popup__content p {
  margin: 0 0 14px;
  text-align: left;
}

.doctor-bio-popup__education {
  padding-top: 20px;
  margin-top: 8px;
}

.doctor-bio-popup__education h3 {
  font-size: 18px;
  font-weight: 700;
  color: #02155a;
  margin: 0 0 14px;
  text-align: left;
}

.doctor-bio-popup__education p,
.doctor-bio-popup__education li,
.doctor-bio-popup__education ul,
.doctor-bio-popup__education ol {
  font-size: 14px !important;
  line-height: 1.7;
  color: #444;
  margin: 0 0 6px;
  text-align: left;
}

.doctor-bio-popup__education strong {
  color: #02155a;
}

/* Hide when not in popup */
.doctor-bio-popup.mfp-hide {
  display: none !important;
}

.s3-popup_card .doctor-bio-popup.mfp-hide {
  display: block !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .doctor-bio-popup {
    padding: 28px 20px;
    margin: 16px auto;
  }

  .doctor-bio-popup__body {
    flex-direction: column;
    align-items: center;
  }

  .doctor-bio-popup__image {
    width: 180px;
  }

  .doctor-bio-popup__name {
    text-align: center;
  }

  .doctor-bio-popup__subtitle,
  .doctor-bio-popup__sub-subtitle {
    text-align: center;
  }

  .doctor-bio-popup__content,
  .doctor-bio-popup__content p,
  .doctor-bio-popup__education,
  .doctor-bio-popup__education h3 {
    text-align: left;
  }
}

@media only screen and (max-width: 768px) {
  .doctor-bio-popup__education li {
    padding-right: 0 !important;
  }
}

.doctor-bio-popup.mfp-hide {
  display: none !important;
}

.s3-popup_card .doctor-bio-popup.mfp-hide {
  display: block !important;
}

#logo-lgScreen {
  grid-column: 4;
  text-align: center;
}
