/* Give the link some padding and some color */
.fl-page-nav .navbar-nav > li.contact-button {
  padding: 0px;
}

.fl-page-nav .navbar-nav > li.contact-button > a {
  padding: 12px 40px !important;
  color: #ffffff !important;
  border-radius: 30px;
  background-color: #FC9E4F;

  /* NEW */
  border: 2px solid #FFFFFF;
  box-sizing: border-box;
}

/* Adjust the position for the fixed navigation menu */
.fl-page-header-fixed .fl-page-nav .navbar-nav > li.contact-button > a {
  position: relative;
  bottom: 6px;
}

/* Give the button a hover & active state */
.fl-page-nav .navbar-nav > li.contact-button > a:active,
.fl-page-nav .navbar-nav > li.contact-button > a:hover {
  color: #ffffff !important;
  background-color: #F2F3AE;

  /* keep outline on hover */
  border-color: #FFFFFF;
}

.no-click > a {
  pointer-events: none;
  cursor: default;
}

/* === MindfulU Hero Image Styling Backup ===
   These rules ensure the hero image border/shadow on the homepage
   persist regardless of Beaver Builder cache regeneration.
   Node IDs: okdihy43u7q2 (right image), 0gqx2th76efl (left image)
*/
.fl-node-okdihy43u7q2 .fl-photo-img,
.fl-node-0gqx2th76efl .fl-photo-img {
    border: 4px solid #FC9E4F !important;
    border-radius: 10px !important;
    box-shadow: 5px 5px 20px 0px #666666 !important;
}


/* Template 389 Hero Section node IDs (backup) */
.fl-node-lstzk2yauvdh .fl-photo-img,
.fl-node-0ednmxc92gkp .fl-photo-img {
    border: 4px solid #FC9E4F !important;
    border-radius: 10px !important;
    box-shadow: 5px 5px 20px 0px #666666 !important;
}
/* Remove underline on the MindfulU wordmark */
.site-wordmark a,
.site-wordmark a:hover {
  text-decoration: none !important;
}
h4 a, h5 a, p a {
  color: #1a6b6b;
  text-decoration: underline;
}
.button-column {
  position: relative;
  z-index: 10;
}
/* ===== MindfulU phone layout fixes =====
   Everything below applies only to screens 768px wide or smaller.
   Desktop and laptop layouts are not affected. */

@media (max-width: 768px) {

  /* --- Header (all pages): trim the extra height above and below the logo --- */
  body .fl-node-bvrenf86djh0.fl-row-custom-height > .fl-row-content-wrap {
    min-height: 0 !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  /* --- Footer (all pages): line the Discovery Call button up with the text --- */
  body .fl-node-qo2xf5drijck.fl-module {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  /* --- About: shrink the oversized page title --- */
  body .fl-node-eszc6mr3g8b7.fl-module {
    font-size: 40px !important;
    line-height: 1.2 !important;
  }
  /* --- About: remove the empty picture block that adds blank space --- */
  body .fl-node-7g5jbx8mtl3s.fl-module {
    display: none !important;
  }

  /* --- Neurodevelopmental Assessment Program: center the top Enroll button --- */
  body .fl-node-my1exv9r8k7z.fl-module {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  body .fl-node-my1exv9r8k7z.fl-module {
    text-align: center !important;
  }
  /* --- Neurodevelopmental Assessment Program: stop the bottom Enroll box from
         pushing the page wider than the phone (causes the sideways shift) --- */
  body .fl-node-3fuz51vgm4l2.fl-module {
    margin-left: 20px !important;
    margin-right: 20px !important;
    width: auto !important;
    max-width: calc(100% - 40px) !important;
  }

  /* --- Psychometrist Training: center the illustration and give it even spacing --- */
  body .fl-node-i132xqublf7s.fl-module {
    margin: 20px !important;
  }
  body .fl-node-i132xqublf7s.fl-module,
  body .fl-node-i132xqublf7s .fl-photo-content {
    text-align: center !important;
  }

  /* --- Specific Learning Disabilities: the illustration was pulled up behind the
         buttons and hidden; place it below them, centered --- */
  body .fl-node-qa78zhg1rcp4.fl-module {
    margin: 20px !important;
  }
  body .fl-node-qa78zhg1rcp4.fl-module,
  body .fl-node-qa78zhg1rcp4 .fl-photo-content {
    text-align: center !important;
  }
  /* --- Specific Learning Disabilities: space between buttons and "On This Page" box --- */
  body .fl-node-jxaz267gs54h.fl-module {
    margin-top: 20px !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-i132xqublf7s.fl-module {
    margin-bottom: 0 !important;
  }
  body .fl-node-n8ijbs3e9yk2.fl-module {
    margin-top: 24px !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-nj6kp4lmcasr.fl-module {
    display: none !important;
  }
  body .fl-node-3zn1d8mrqflp.fl-module {
    margin-bottom: 0 !important;
  }
  body .fl-node-qpjywafe93oh.fl-module {
    margin-top: 0 !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-qo2xf5drijck.fl-module,
  body .fl-node-fa2wq1isuzlo.fl-module,
  body .fl-node-fa2wq1isuzlo p,
  body .fl-node-d56nmsgkcwrt.fl-module,
  body .fl-node-d56nmsgkcwrt p {
    text-align: center !important;
  }
}
@media (max-width: 768px) {
  /* ADHD Assessment: smaller title */
  body .fl-node-yn015f8b62m4.fl-module {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }
  /* ADHD Assessment: buttons side by side, lined up with the text */
  body .fl-node-d7segiauyvnt.fl-module {
    gap: 12px !important;
    flex-wrap: wrap !important;
  }
  body .fl-node-d7segiauyvnt.fl-module::before,
  body .fl-node-d7segiauyvnt.fl-module::after {
    display: none !important;
  }
  body .fl-node-d7segiauyvnt .fl-button-group-button {
    padding: 0 !important;
  }
  /* Contact: pull the form outline in from the screen edges */
  body .fl-node-bohuawlg0jrp > .fl-col-content {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }
  body .fl-node-0k4u7omp69ye.fl-module {
    margin: 16px !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-d7segiauyvnt .fl-button-group-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  body .fl-node-d7segiauyvnt .fl-button-wrap {
    display: block !important;
    width: 100% !important;
  }
  body .fl-node-d7segiauyvnt .fl-button {
    width: 100% !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-0qul6fvpsmxi.fl-module,
  body .fl-node-4nxyga31dbi9.fl-module {
    justify-content: center !important;
  }
  body .fl-node-0qul6fvpsmxi.fl-module::before,
  body .fl-node-0qul6fvpsmxi.fl-module::after,
  body .fl-node-4nxyga31dbi9.fl-module::before,
  body .fl-node-4nxyga31dbi9.fl-module::after {
    display: none !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-7dkhm8g1t2ez.fl-module,
  body .fl-node-hcdv74z6ugo2.fl-module,
  body .fl-node-twrxbeih123f.fl-module {
    justify-content: center !important;
  }
  body .fl-node-7dkhm8g1t2ez.fl-module::before,
  body .fl-node-7dkhm8g1t2ez.fl-module::after,
  body .fl-node-hcdv74z6ugo2.fl-module::before,
  body .fl-node-hcdv74z6ugo2.fl-module::after,
  body .fl-node-twrxbeih123f.fl-module::before,
  body .fl-node-twrxbeih123f.fl-module::after {
    display: none !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-yzkbvhder5nj.fl-module {
    justify-content: center !important;
  }
  body .fl-node-yzkbvhder5nj.fl-module::before,
  body .fl-node-yzkbvhder5nj.fl-module::after {
    display: none !important;
  }
  body.page-id-188 .fl-module-separator .fl-separator {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {
  body .fl-node-8v657fykupai.fl-module {
    text-align: center !important;
  }
  body.page-id-169 .fl-module-separator .fl-separator {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .site-wordmark p,
  .site-wordmark a {
    font-size: clamp(44px, 6vw, 80px) !important;
    line-height: 1.1;
    white-space: nowrap;
  }
  h1.fl-heading,
  h1.fl-heading .fl-heading-text {
    font-size: clamp(34px, 4.6vw, 55px) !important;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .site-wordmark p,
  .site-wordmark a,
  .site-wordmark em {
    font-size: clamp(44px, 6vw, 80px) !important;
    line-height: 1.1;
    white-space: nowrap;
  }
  h1.fl-heading,
  h1.fl-heading .fl-heading-text {
    font-size: clamp(34px, 4.6vw, 55px) !important;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .site-wordmark p,
  .site-wordmark a,
  .site-wordmark em {
    font-size: clamp(44px, 6vw, 80px) !important;
    line-height: 1.1;
    white-space: nowrap;
  }
  h1.fl-heading,
  h1.fl-heading .fl-heading-text {
    font-size: clamp(34px, 4.6vw, 55px) !important;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  /* Comprehensive ADHD Screening page: title and buttons */
  .fl-node-yn015f8b62m4 {
    margin-left: 20px !important;
  }
  .fl-node-d7segiauyvnt {
    margin-left: -7px !important;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  /* Wordmark */
  .site-wordmark p,
  .site-wordmark a,
  .site-wordmark em {
    font-size: clamp(44px, 6vw, 80px) !important;
    line-height: 1.1;
    white-space: nowrap;
  }
  /* Page titles */
  h1.fl-heading,
  h1.fl-heading .fl-heading-text {
    font-size: clamp(34px, 4.6vw, 55px) !important;
    line-height: 1.15;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  /* Homepage: headline, paragraph, and button */
  .fl-node-3jskntey1i2x,
  .fl-node-2naevkspdory {
    margin-left: 40px !important;
  }
  /* Homepage: body sections and FAQs */
  .fl-node-e3m5av7ygotb,
  .fl-node-ao24wj61tiyv {
    margin-left: 20px !important;
  }
  /* Comprehensive ADHD Screening page: title and buttons */
  .fl-node-yn015f8b62m4 {
    margin-left: 20px !important;
  }
  .fl-node-d7segiauyvnt {
    margin-left: -7px !important;
  }
  /* SLD & Beyond page: photo */
  .fl-node-qa78zhg1rcp4 {
    margin-left: 20px !important;
  }
}