/* ==========================================================================
   APUNIPIMA Theme Custom Styles
   ========================================================================== */

/* ==========================================================================
   Global
   ========================================================================== */
.d-none {
  display: none !important;
}

.shrink-to-fit {
  flex: 0 0 auto !important;
}

.footer-logo-column {
  gap: 0.75rem !important;
}

.text-dark-blue {
  color: var(--apmp-dark-blue) !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.fs-16 {
  font-size: 1rem !important;
}

.dark-border-bottom {
  border-bottom: 1px solid #003746 !important;
}

.bg-light-orange {
  background-color: var(--apmp-light-orange);
}

.text-dark-blue {
  color: var(--apmp-dark-blue);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.pb-160 {
  padding-bottom: 160px !important;
}

.py-140 {
  padding-top: 140px !important;
  padding-bottom: 140px !important;
}

.pt-140 {
  padding-top: 140px !important;
}

.pb-140 {
  padding-bottom: 140px !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.border-radius-0 {
  border-radius: 0 !important;
}

.border-radius-10 {
  border-radius: 10px !important;
}

/* ==========================================================================
   Links
   ========================================================================== */
/* Generic Link (Contact Us) */
/* .fl-module-info-box.contact-us .uabb-infobox-text a,
.single-post .cat-item a {
  text-decoration: underline;
  color: var(--apmp-blue);
  font-weight: 500;
} */

/* Orange Underline Animation (In text links) */
.fl-module-info-box:not(.contact-us) .uabb-infobox-text a,
.uabb-faq-module a,
.uabb-adv-accordion a:not(.view-centre):not(.email),
.fl-module-fl-post-content a,
.uabb-info-list-link .uabb-info-list-content p,
.site-below-footer-wrap a,
.single-post .cat-item a,
.centre-contact-numbers a {
  color: var(--apmp-orange) !important;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* Desktop Only */
@media (hover: hover) and (pointer: fine) {
  .fl-module-info-box:not(.contact-us) .uabb-infobox-text a::after,
  .uabb-faq-module a::after,
  .uabb-adv-accordion a::after,
  .fl-module-fl-post-content a::after,
  .uabb-info-list-link .uabb-info-list-content p::after,
  .site-below-footer-wrap a::after,
  .single-post .cat-item a::after,
  .centre-contact-numbers a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--apmp-orange);
    bottom: -1px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
  }
}

@media (hover: hover) and (pointer: fine) {
  .fl-module-info-box:not(.contact-us) .uabb-infobox-text a:hover,
  .uabb-faq-module a:hover,
  .uabb-adv-accordion a:not(.view-centre):not(.email):hover,
  .fl-module-fl-post-content a:hover,
  .uabb-info-list-link .uabb-info-list-content p:hover,
  .site-below-footer-wrap a:hover,
  .single-post .cat-item a:hover,
  .centre-contact-numbers a:hover {
    color: var(--apmp-orange) !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .fl-module-info-box:not(.contact-us) .uabb-infobox-text a:hover::after,
  .uabb-faq-module a:hover::after,
  .uabb-adv-accordion a:not(.view-centre):not(.email):hover::after,
  .fl-module-fl-post-content a:hover::after,
  .uabb-info-list-link .uabb-info-list-content p:hover::after,
  .site-below-footer-wrap a:hover::after,
  .single-post .cat-item a:hover::after,
  .centre-contact-numbers a:hover::after {
    transform: scaleX(1);
  }
}

/* Mobile Only */
@media (hover: none) and (pointer: coarse) {
  .fl-module-info-box:not(.contact-us) .uabb-infobox-text a,
  .uabb-faq-module a,
  .uabb-adv-accordion a,
  .fl-module-fl-post-content a,
  .uabb-info-list-link .uabb-info-list-content p,
  .site-below-footer-wrap a,
  .single-post .cat-item a,
  .centre-contact-numbers a {
    text-decoration: underline !important;
  }
}

/* White Version */
#breadcrumbs a,
#menu-health-wellbeing-footer a,
.menu-quick-links-footer-container a {
  color: var(--apmp-white) !important;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  #breadcrumbs a::after,
  #menu-health-wellbeing-footer a::after,
  .menu-quick-links-footer-container a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--apmp-white);
    bottom: -1px;
    left: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
  }
}

@media (hover: hover) and (pointer: fine) {
  #breadcrumbs a:hover,
  #menu-health-wellbeing-footer a:hover,
  .menu-quick-links-footer-container a:hover {
    color: var(--apmp-white) !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  #breadcrumbs a:hover::after,
  #menu-health-wellbeing-footer a:hover::after,
  .menu-quick-links-footer-container a:hover::after {
    transform: scaleX(1);
  }
}

@media (hover: none) and (pointer: coarse) {
  #breadcrumbs a,
  #menu-health-wellbeing-footer a,
  .menu-quick-links-footer-container a {
    text-decoration: underline !important;
  }
}
/* White Version */

/* Button Arrow animation (Home Buttons) */
.display-inline-flex {
  display: inline-flex !important;
}

.uabb-infobox-button .uabb-creative-button i {
  font-size: 1rem;
  margin-left: 0px !important;
}

.fl-col-content .fl-module-button .fl-button {
  width: 100%;
}

.uabb-creative-button-wrap a,
.uabb-creative-button-wrap a:visited,
.fl-builder-content a.fl-button,
.fl-builder-content a.fl-button:visited,
.fl-col-content .fl-module-button .fl-button,
.fl-col-content .fl-module-button .fl-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem !important;
}

/* Link Icon */
.fl-builder-content a.fl-button .fl-button-icon {
  font-size: 1rem;
  margin-left: 0px !important;
}

.position-relative {
  position: relative !important;
}

/* Stretched Link */
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
  background-color: rgba(0, 0, 0, 0);
}

/* Global Link Focus */
.apmp-btn-primary:focus-visible,
a:focus-visible,
.uabb-button:focus-visible,
#gform_widget-6 #gform_submit_button_1:focus-visible {
  outline: 2px solid var(--apmp-dark-blue);
  outline-offset: 2px;
  color: var(--apmp-white);
}

#gform_widget-6 #gform_submit_button_1:focus,
#gform_submit_button_2:focus {
  outline: none;
  outline-offset: unset;
}

/* ==========================================================================
   APMP Primary Button
   ========================================================================== */
.apmp-btn-primary {
  /* Layout & Display */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  /* Typography */
  font-family: inherit;
  font-style: normal;
  font-weight: 500;
  font-size: 18px;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  -webkit-font-smoothing: antialiased;

  /* Spacing */
  margin: 0;
  padding: 15px 30px;

  /* Colors */
  background: var(--ast-global-color-3);
  color: var(--ast-global-color-8);

  /* Border Radius */
  border-radius: 50px;

  /* Effects */
  box-sizing: border-box;
  box-shadow: none;
  overflow: hidden;
  vertical-align: middle;

  /* Transitions */
  position: relative;
  transition: all 200ms linear;

  /* Text Handling */
  word-wrap: break-word;
}

/* Hover State (optional enhancement) */
.btn:hover {
  opacity: 0.9;
  cursor: pointer;
}

/* Active State (optional enhancement) */
.btn:active {
  transform: scale(0.98);
}

.apmp-btn-primary:hover {
  background-color: var(--apmp-dark-blue-light);
  color: var(--apmp-white);
  text-decoration: none !important;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.hero-banner {
  position: relative;
}
.hero-banner::after,
.bottom-divider::after {
  background-image: url("/wp-content/uploads/2025/10/bottom-border-new.svg");
  height: 37px;
  bottom: 0px;
  position: absolute;
  content: " ";
  left: 0;
  background-position: center;
  width: 100%;
  background-repeat: repeat-x;
}

/* Hero Container */
#apmp-hero {
  flex-direction: row;
  min-height: 80vh;
  /* margin-bottom: 3rem !important; */
  align-items: center !important;
  position: relative;
  display: flex;
  overflow: hidden;
  justify-content: center;
}

#apmp-hero.single-page {
  margin-bottom: 2rem !important;
}

#apmp-hero h1,
#apmp-hero p {
  color: white;
}

@media (max-width: 767px) {
  #apmp-hero {
    min-height: unset !important;
  }

  #apmp-hero .hero-content {
    padding: 4rem 1rem 8rem;
  }
}

.hero-divider {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: auto;
  top: -7%;
  left: 40%;
  height: 105%;
}

.rounded-circle {
  border-radius: 50%;
  z-index: 1;
  display: block;
  height: 120% !important;
  width: 20%;
  transform: translateY(-55%) !important;
  left: 34%;
  top: 50%;
  position: absolute;
  background-color: transparent;
}

/* Hero Content Layout */
.hero-content {
  padding: 3rem 1rem;
  max-width: 1280px !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-content p {
  color: white;
  font-size: 1.3rem;
  line-height: 1.5;
}

.hero-content .hero-row {
  display: flex;
  flex-wrap: wrap;
}

/* Hero Content Columns */
.hero-content-left {
  flex: 0 0 auto;
  width: 35%;
  z-index: 3 !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
  align-self: center;
  position: relative;
}

.hero-content-left.bigger-col-width {
  width: 65%;
}

.hero-content-right {
  flex: 0 0 auto;
  width: 60%;
  display: flex;
  padding: 0;
  align-self: center;
}

.hero-content-left.col-half,
.hero-content-right.col-half {
  width: 50%;
}

.hero-content-left.col-full,
.hero-content-right.col-full {
  width: 100%;
}

.hero-content-right .hero-media {
  left: 45%;
  position: absolute;
  user-select: none;
  right: 0 !important;
  bottom: 0;
  top: 0;
}

.hero-content-right .hero-photo {
  max-width: 100%;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  vertical-align: middle;
  display: block;
}

/* Hero Menu */
.hero-menu {
  gap: 0.5rem;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
  display: flex;
}

/* Hero Responsive */
@media (max-width: 992px) {
  #apmp-hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content-left.bigger-col-width {
    width: 100%;
  }

  .hero-content {
    max-width: 720px !important;
  }

  .hero-content-left {
    width: 100% !important;
    max-width: 100%;
    padding: 2rem 1rem !important;
    text-align: center;
  }

  .hero-content-right,
  .rounded-circle {
    display: none;
  }

  .hero-shape img {
    width: 80%;
    left: -20%;
    bottom: -30px;
  }

  .hero-menu {
    justify-content: center;
  }

  .hero-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-content-left {
    padding: 1.5rem 0.5rem !important;
  }

  .hero-content {
    max-width: 100% !important;
  }

  .search-submit {
    margin-left: -25px;
    margin-right: 0;
  }

  .hero-shape img {
    width: 120%;
    left: -20%;
    bottom: 0;
  }
}

/* ==========================================================================
   Material Filter Styles
   ========================================================================== */
.material-filter .facetwp-facet-search {
  margin-bottom: 0px;
}

.material-filter .facetwp-facet-search .facetwp-input-wrap {
  width: 100%;
}

.material-filter .facetwp-search {
  border-radius: 20px;
  padding-left: 1.2rem;
  padding-right: 3rem !important;
  padding-block: 1.2rem;
}

.material-filter .facetwp-icon {
  right: 1.2rem;
}
/* ==========================================================================
   Hero Background
   ========================================================================== */
/* Orange (Note: footer uses global customiser preset) */
#apmp-hero {
  background-color: var(--apmp-orange) !important;
}

/* ==========================================================================
   Footer Border
   ========================================================================== */
/* Global Footer Border */
.footer-border {
  position: relative;
}

.footer-border::before {
  content: "";
  background: url("/wp-content/uploads/2025/09/broder-apunipima-scaled.png");
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Custom Social Icons */

#astra-widget-social-profiles-3 .ast-widget-icon {
  background: url("/wp-content/uploads/2025/09/social-icon-bg.png") no-repeat
    center !important;
  background-size: 100% !important;
}

/* ==========================================================================
   Contact Form
   ========================================================================== */
.contact-form .gform_fields {
  row-gap: 0px !important;
}

.contact-form .gform-footer {
  margin-block-start: 10px !important;
}

.contact-form .gform_wrapper div.gfield.gfield_error {
  margin-top: 0px;
  padding-bottom: 0px;
  padding-top: 0px;
  background-color: transparent;
  border-top: none;
  border-bottom: none;
}

.contact-form .ginput_container input::placeholder,
.contact-form .ginput_container textarea::placeholder {
  color: var(--apmp-grey-light);
}

/* ==========================================================================
   Footer Form
   ========================================================================== */
#gform_1_validation_container {
  display: none;
}

#validation_message_1_1 {
  position: absolute;
  padding-left: 1rem;
}

/* Info Box Icon */
.info-box-icon {
  position: absolute;
  left: 0;
  transform: translatex(-15%);
  display: inline-block;
  z-index: 2;
  top: 70%;
}

.info-box-icon img {
  max-width: 100%;
  height: auto;
}

/* Large screens */
@media (max-width: 1280px) {
  .info-box-icon img {
    transform: translatex(-30%);
    width: 90%;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .info-box-icon img {
    transform: translatex(-30%);
    width: 80%;
  }
  .info-box-icon {
    top: 80%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .info-box-icon img {
    width: 35%;
    transform: translatex(-180%);
  }

  .info-box-icon {
    top: 92%;
  }
}

/* ==========================================================================
   Cards Home
   ========================================================================== */
.apmp-card .card-body {
  padding: 25px;
  text-align: left;
}

.apmp-card .uabb-post-thumbnail {
  border-radius: 25px 25px 0 0;
}

.apmp-card .card-body .uabb-post-heading {
  line-height: 26px;
  font-weight: 700;
}

.apmp-card .uabb-blog-posts-shadow {
  overflow: hidden;
}

/* ==========================================================================
   Carousel Home
   ========================================================================== */
#custom-carousel .uabb-blog-post-inner-wrap {
  min-height: 500px;
}

#custom-carousel .uabb-blog-post-content {
  padding: 0px;
  width: 100%;
}

#custom-carousel .uabb-blog-posts-shadow.clearfix {
  border-radius: 30px;
}

#custom-carousel .uabb-blog-posts-shadow {
  min-height: 500px;
}

.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
}

.right-column {
  width: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 0px 30px 30px 0px;
}

.left-column {
  width: 50%;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  padding: 30px;
}

h2.uabb-infobox-title a {
  color: white;
}

.text-margin-bottom {
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .container {
    min-height: auto;
    flex-direction: column-reverse;
  }

  .left-column {
    width: 100%;
    padding: 10px;
  }

  .right-column {
    width: 100%;
    height: 250px;
    border-radius: 30px 30px 0px 0px;
  }
}

#custom-carousel .slick-dots,
.apmp-dots .slick-dots,
.other-locations-carousel .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 0.5em;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ==========================================================================
   Other Locations Carousel
   ========================================================================== */
.other-locations-carousel .slick-dots button {
  box-shadow: none !important;
}

.other-locations-carousel ul.slick-dots li.slick-active button:before {
  color: var(--fl-global-orange);
  opacity: 1;
}

.other-locations-carousel .slick-dots li button:before {
  font-size: 20px;
}

.other-locations-carousel ul.slick-dots li button:before {
  color: var(--fl-global-orange);
  border: none;
}

/* ==========================================================================
   Images Full Width 
   ========================================================================== */
/* Columns */
body:not(.fl-builder-edit) .left-img-col .fl-col-content {
  position: absolute;
  inset: 0;
  width: 40%;
  margin-right: auto;
}

body:not(.fl-builder-edit) .right-img-col .fl-col-content {
  position: absolute;
  inset: 0;
  width: 40%;
  margin-left: auto;
}

@media (max-width: 992px) {
  body:not(.fl-builder-edit) .right-img-col .fl-col-content {
    position: static;
    inset: auto;
    width: auto;
    margin-left: 0;
  }
}

body:not(.fl-builder-edit) .right-img-col-2 .fl-col-content {
  position: absolute;
  inset: 0;
  width: 60%;
  margin-left: auto;
}

.image-shape {
  position: absolute;
  inset: 0;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  overflow: hidden;
  width: 50%;
}

/* ==========================================================================
   Select2 Dropdown Styles
   ========================================================================== */
.apmp-title-prefix {
  color: var(--apmp-dark-blue);
  margin-bottom: 1.3rem;
}

.apmp-title {
  color: var(--apmp-white);
  margin-bottom: 1.3rem;
}

.apmp-dropdown-section {
  box-shadow: none;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  height: unset;
  border-bottom: 1px solid var(--apmp-white);
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0px;
}

.apmp-dropdown-section .select2-selection {
  background: transparent !important;
  border: none !important;
}

.apmp-dropdown-section .select2 {
  width: 100% !important;
}

.apmp-dropdown-section .select2 {
  padding-bottom: 1rem;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-left: 0px !important;
  color: var(--apmp-white) !important;
  padding-bottom: 1rem;
}

.apmp-dropdown:focus {
  background: transparent;
  color: var(--apmp-white);
  border-bottom: 1px solid var(--apmp-white);
}

.select2-selection__arrow b {
  border: none !important;
}

.select2-selection__arrow::after {
  content: url(/wp-content/uploads/2025/10/apmp-dropdown-arrow.svg);
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
  right: 10px;
}

.select2-container--open .select2-selection__arrow::after {
  transform: translateY(-30%) rotate(180deg);
}

.select2-container--open .select2-dropdown {
  margin-top: 2rem;
}

/* ==========================================================================
   Breadcrumbs Styles
   ========================================================================== */
.breadcrumbs-section span {
  color: var(--apmp-white);
}

.breadcrumbs-section {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Hero Banner Styles
   ========================================================================== */
#apmp-hero.default {
  min-height: 50vh;
  background-position: calc(105% - ((100vw - 1280px) / 2)) bottom;
  background-size: auto;
  background-repeat: no-repeat;
  position: relative;
}

#apmp-hero.small {
  min-height: auto;
  background-position: calc(105% - ((100vw - 1280px) / 2)) bottom;
  background-size: auto;
  background-repeat: no-repeat;
  position: relative;
}

/* Orange theme graphic */

#apmp-hero.default {
  background-image: url("/wp-content/uploads/2025/10/accountability-header-graphic-fixed.svg");
}

/* Blue theme graphic */

.service #apmp-hero.default {
  background-image: url("/wp-content/uploads/2025/10/holistic-approach-header-graphic.svg");
}

/* Teal theme graphic */
.work-for-us #apmp-hero.default {
  background-image: url("/wp-content/uploads/2025/10/integrity-header-graphic.svg");
}

/* Green theme graphic */
.contact-us #apmp-hero.default {
  background-image: url("/wp-content/uploads/2025/10/respect-header-graphic.svg");
}

#apmp-hero.default::after,
#apmp-hero.small::after {
  content: "";
  background: url("/wp-content/uploads/2025/10/bottom-border-new.svg");
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* If post */

/* #apmp-hero.default.post {
  min-height: 25vh;
  background-image: url("/wp-content/uploads/2025/10/internal-page-graphic.svg");
  background-position: calc(105% - ((100vw - 1280px) / 2)) bottom;
  background-size: auto;
  background-repeat: no-repeat;
  position: relative;
} */

/* If connecting page */

.intermediate-page #apmp-hero.default::after {
  background-image: url("/wp-content/uploads/2025/10/light-orange-border-bottom-rgb.svg");
}

/* If has a blue bottom border */

.hero-blue-bottom #apmp-hero.default::after {
  background-image: url("/wp-content/uploads/2025/12/light-blue-border-bottom.svg");
}

/* If has a green bottom border */

.hero-green-bottom #apmp-hero.default::after {
  background-image: url("/wp-content/uploads/2025/12/green-border-bottom.svg");
}

/* If has a light orange bottom border */
.hero-light-orange-bottom #apmp-hero.default::after {
  background-image: url("/wp-content/uploads/2025/10/light-orange-border-bottom-rgb.svg");
}

/* New Hero Banner Styles */
.hero-banner-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  aspect-ratio: 2560 / 268;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  bottom: -130px;
  background-image: url("/wp-content/uploads/2025/11/apmp-hero-divider.svg");
}

@media (max-width: 2300px) {
  .hero-banner-bottom::after {
    bottom: -50px;
  }
}

@media (max-width: 900px) {
  .hero-banner-bottom::after {
    bottom: -20px;
  }
}

@media (max-width: 576px) {
  .hero-banner-bottom::after {
    aspect-ratio: auto;
    height: 100px;
    background-position: center right;
  }
}

/* ==========================================================================
   Borders
   ========================================================================== */
.border-decor {
  position: relative;
}

.border-decor::before,
.border-decor::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

/* Top border */
.border-decor.top::before {
  top: 0;
  background-image: url("/wp-content/uploads/2025/10/Border-02.svg");
  z-index: 1;
}

/* Bottom border */
.border-decor.bottom::after {
  bottom: 0;
  background-image: url("/wp-content/uploads/2025/10/bottom-border-new.svg");
}

/* Light Orange Bottom border */
.border-decor.bottom-light-orange::after {
  bottom: 0;
  background-image: url("/wp-content/uploads/2025/10/light-orange-border-bottom-rgb.svg");
}

.border-decor.top-light-orange::before {
  top: 0;
  transform: scaleY(-1);
  background-image: url("/wp-content/uploads/2025/10/light-orange-border-bottom-rgb.svg");
  z-index: 2;
}

/* Aqua Bottom border */
.border-decor.bottom-aqua::after {
  bottom: 0;
  background-image: url("/wp-content/uploads/2025/12/aqua-border.svg");
}

.border-decor.top-aqua::before {
  top: 0;
  transform: scaleY(-1);
  background-image: url("/wp-content/uploads/2025/12/aqua-border.svg");
  z-index: 2;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

/* Our Structure Buttons */
.fl-builder-content .fl-module-button.apmp-large-button a.fl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem !important;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.apmp-large-button .fl-button::before {
  flex-shrink: 0;
}

.apmp-large-button .fl-button-text {
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apmp-large-button .fl-button-icon {
  flex: 0 0 auto;
  font-size: 1.1em;
  line-height: 1;
}

.apmp-large-button.action .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("/wp-content/uploads/2025/10/apmp-button-icon-1.svg")
    center/contain no-repeat;
}

.apmp-large-button.board .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("/wp-content/uploads/2025/10/board-icon.svg") center/contain
    no-repeat;
}

.apmp-large-button.team .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("/wp-content/uploads/2025/10/leadership.svg") center/contain
    no-repeat;
}

.apmp-large-button.health-centres .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("https://apunipima.kinsta.cloud/wp-content/uploads/2025/12/Health-Care.svg")
    center/contain no-repeat;
}

.apmp-large-button.gp-services .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("https://apunipima.kinsta.cloud/wp-content/uploads/2025/12/GP-Services.svg")
    center/contain no-repeat;
}

.apmp-large-button.telehealth .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("https://apunipima.kinsta.cloud/wp-content/uploads/2025/12/Telehealth.svg")
    center/contain no-repeat;
}

.apmp-large-button.social-em-well .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("https://apunipima.kinsta.cloud/wp-content/uploads/2025/12/Social-Emotional.svg")
    center/contain no-repeat;
}

.apmp-large-button.chron-con-man .fl-button::before {
  content: "";
  display: inline-block;
  width: 75px;
  height: 75px;
  background: url("https://apunipima.kinsta.cloud/wp-content/uploads/2025/12/Chronic-1.svg")
    center/contain no-repeat;
}

/* ==========================================================================
   Custom Row
   ========================================================================== */
body:not(.fl-builder-edit) .custom-content {
  flex: 0 0 auto;
  width: 50%;
  display: flex;
  padding: 0;
  align-self: center;
  z-index: 1;
}

body:not(.fl-builder-edit) .right-col .custom-content .custom-media {
  left: 55%;
  position: absolute;
  user-select: none;
  right: 0;
  bottom: 0;
  top: 0;
}

body:not(.fl-builder-edit) .left-col .custom-content .custom-media {
  right: 55%;
  position: absolute;
  user-select: none;
  bottom: 0;
  top: 0;
  left: 0;
}

body:not(.fl-builder-edit) .custom-content .custom-photo {
  max-width: 100%;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
  vertical-align: middle;
  display: block;
}

body:not(.fl-builder-edit) .right-col .custom-divider {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: 115%;
  width: auto;
  top: -7%;
  left: 50%;
}

body:not(.fl-builder-edit) .left-col .custom-divider {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  height: 115%;
  width: auto;
  top: -7%;
  right: 50%;
}

body.fl-builder-edit .custom-divider {
  display: none;
}

@media (max-width: 992px) {
  body:not(.fl-builder-edit) .custom-divider {
    display: none;
  }
  body:not(.fl-builder-edit) .custom-content .custom-media {
    display: none;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.apmp-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.apmp-row {
  --apmp-gutter-x: 1.5rem;
  --apmp-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--apmp-gutter-y));
  /* margin-right: calc(-0.5 * var(--apmp-gutter-x));
  margin-left: calc(-0.5 * var(--apmp-gutter-x)); */
}

.apmp-row.py-160 {
  padding-block: 160px;
}

.apmp-row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--apmp-gutter-x) * 0.5);
  padding-left: calc(var(--apmp-gutter-x) * 0.5);
  margin-top: var(--apmp-gutter-y);
}

.apmp-col-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.apmp-col-lg-4 {
  flex: 0 0 auto;
  width: 33.33333333%;
}

.apmp-col-lg-4.mb-30 {
  margin-bottom: 30px !important;
}

.apmp-col-lg-4 a {
  color: inherit;
  text-decoration: none !important;
}

@media (max-width: 992px) {
  .apmp-col-lg-4 {
    flex: 0 0 auto;
    width: 50%;
  }

  .apmp-col-4 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (max-width: 768px) {
	.apmp-col-lg-4 {
		flex: 0 0 auto;
		width: 100%;
	}

	.apmp-col-4 {
		flex: 0 0 auto;
		width: 100%;
	}

	.apmp-row>* {
		padding-left: 0;
		padding-right: 0;
	}
}

.apmp-col-4.mb-30 {
  margin-bottom: 30px !important;
}

.apmp-col-4 a {
  color: inherit;
  text-decoration: none !important;
}

.apmp-col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.apmp-col-6.mb-30 {
  margin-bottom: 30px !important;
}

.apmp-row,
.apmp-row > * {
  box-sizing: border-box;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* ==========================================================================
   Pager Styles
   ========================================================================== */
.fl-module-content .facetwp-pager {
  display: flex;
  gap: 0.5rem;
}

.fl-module-content .facetwp-pager a {
  color: var(--apmp-dark-blue);
  text-decoration: none;
}

.facetwp-pager .facetwp-page {
  padding-block: 1rem;
  padding-inline: 1.5rem;
  text-align: center;
  border-radius: 10px;
}

.facetwp-pager .facetwp-page:not(.active):not(.next):not(.prev):hover {
  text-decoration: underline;
}

.facetwp-pager .facetwp-page.active {
  color: var(--apmp-orange);
  background-color: var(--apmp-light-orange);
}

/* Center the pager if class is added */

.center .fl-module-content .facetwp-pager {
  justify-content: center;
}

/* UABB Posts Pager */

.apmp-pager .uabb-blogs-pagination .page-numbers {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.apmp-pager .uabb-blogs-pagination li .page-numbers {
  padding-block: 1rem;
  padding-inline: 1.5rem;
  text-align: center;
  border-radius: 10px;
}

.apmp-pager .uabb-blogs-pagination li span.page-numbers.current {
  color: var(--apmp-orange);
  background-color: var(--apmp-light-orange);
  font-weight: bold;
  cursor: default;
}

.apmp-pager .uabb-blogs-pagination li a.page-numbers,
.apmp-pager .uabb-blogs-pagination li .page-numbers.dots {
  color: var(--apmp-dark-blue);
  background-color: transparent;
}

.apmp-pager li .page-numbers:not(.current):not(.dots):hover {
  text-decoration: underline;
}

/* ==========================================================================
   Facets
   ========================================================================== */
#documentType .facetwp-facet-title {
  color: var(--apmp-dark-blue);
}

/* ==========================================================================
   Latest Videos Button
   ========================================================================== */
#latestVideos button {
  box-shadow: none;
}

/* ==========================================================================
   Button Arrow Animation (left-to-right) 
   ========================================================================== */
.fl-button-icon,
.uabb-button-icon,
.apmp-quick-link-arrow {
  transition: 0.8s ease !important;
  flex-shrink: 0;
}

.fl-button:hover .fl-button-icon,
.uabb-button:hover .uabb-button-icon,
.apmp-btn-primary:hover .uabb-button-icon,
.apmp-btn-quick-links:hover .apmp-quick-link-arrow {
  transform: translateX(10px);
}

#gform_widget-6 #gform_submit_button_1:hover,
#gform_widget-6 #gform_submit_button_1:active {
  background-color: var(--apmp-dark-blue-light);
}

#download-button .uabb-button:hover .uabb-button-icon {
  transform: translateY(5px);
}

.apmp-btn-quick-links.top-services:hover {
  background-color: var(--apmp-green-light);
}

/* ==========================================================================
   Community Map  
   ========================================================================== */
#community-map {
  position: sticky;
  top: 110px;
}

#community-map #facetwp-map {
  min-height: calc(100vh - 110px);
  margin-bottom: 0px;
  border-radius: 30px;
  overflow: hidden;
}

#community-map .facetwp-map-filtering {
  display: none;
}

/* Info window */
#community-map .gm-style-iw-chr {
  display: none;
}

#community-map .gm-style-iw {
  padding: 0 !important;
}

#community-map .gm-style-iw-d {
  overflow: auto !important;
}

#community-map .gm-style-iw-c {
  border-radius: 30px;
}

.facetwp-facet-community_map .info-window-card {
  display: flex;
  flex-direction: column;
}

.facetwp-facet-community_map .info-window-card .card-img-top {
  height: 50%;
}

.facetwp-facet-community_map .info-window-card .card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facetwp-facet-community_map .info-window-card a {
  color: var(--apmp-dark-blue);
  text-decoration: none;
}

.facetwp-facet-community_map .info-window-card .card-body {
  padding: 1rem;
  height: 50%;
}

.facetwp-facet-community_map .info-window-card .card-body a {
  text-decoration: none;
  font-weight: 400;
  color: var(--apmp-grey);
}

.facetwp-facet-community_map .info-window-card .card-body a:hover {
  color: var(--apmp-orange);
}

.facetwp-facet-community_map .info-window-card ul {
  margin: 0 0 10px;
  font-size: 0.875rem;
}

.facetwp-facet-community_map .gm-style-iw {
  max-width: 300px !important;
  max-height: none !important;
  padding: 0 !important;
}

/* ==========================================================================
   List Styles
   ========================================================================== */
.contact-ul {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
}

.contact-ul li {
  margin-bottom: 10px;
}

.contact-ul a {
  text-decoration: underline;
  color: var(--apmp-blue);
  font-weight: 500;
}

.contact-ul .numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   Centre Styles
   ========================================================================== */
/* Our location cards */
.centre-card .uabb-post-thumbnail img {
  border-radius: 20px;
}

.centre-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.centre-card-body .uabb-post-heading {
  margin-bottom: 0.5rem;
}

/* View Details/Centre Link */
.view-details {
  color: var(--apmp-dark-blue);
  margin-top: 0.5rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.view-details.white {
  color: var(--apmp-white);
}

.uabb-blog-posts-shadow:hover .view-details {
  text-decoration: underline !important;
}

/* Single Centre Styles */
.centre-contact-numbers {
  list-style: none;
  padding: 0;
  margin: 0;
}

.centre-contact-numbers li {
  margin-bottom: 10px;
}

/* .centre-contact-numbers a {
  text-decoration: underline;
  color: var(--apmp-blue);
  font-weight: 500;
} */

.centre-contact-numbers .numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Thumbail Image */
.image-wrapper img {
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  height: 100% !important;
  width: 100% !important;
  vertical-align: middle;
}

.plan-your-visit-row {
  background: border-box url(/wp-content/uploads/2025/11/plan-your-visit.svg)
      no-repeat,
    linear-gradient(#00bacd, #00bacd);
  background-position: bottom right;
  padding-block: 140px !important;
}

/* Services Title */
.uabb-infobox-content .services-title {
  margin-bottom: 3rem;
}

.address-container {
  margin: 0;
  margin-right: 80px;
}

@media (max-width: 1200px) {
  .address-container {
    margin-right: 2rem;
  }
}

/* Services Title */
.uabb-infobox-content .services-title {
  margin-bottom: 3rem;
}

/* Centre Services List */
.centre-services-list {
  columns: 3;
  column-gap: 2rem;
  margin: 0 0 1.5em 20px;
}

@media (max-width: 992px) {
  .centre-services-list {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .centre-services-list {
    columns: 1;
  }

  /* .other-locations-carousel .slick-next {
    right: 10px;
  }

  .other-locations-carousel .slick-prev {
    left: 10px;
    z-index: 2;
  } */
}

@media (max-width: 576px) {
}

/* Carousel Styles */
/* .other-locations-carousel .slick-prev:before {
  content: url("/wp-content/uploads/2025/11/previous-arrow-carousel-hover.svg");
}

.other-locations-carousel .slick-next:before {
  content: url("/wp-content/uploads/2025/11/next-arrow-carousel-hover.svg");
}

.other-locations-carousel .slick-prev,
.other-locations-carousel .slick-next {
  height: auto;
  top: 40%;
  box-shadow: none;
} */

/* Map Styles */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#centre-map .gm-style-iw-chr {
  display: none;
}

#centre-map #iw-card {
  height: 250px;
  display: flex;
  flex-direction: column;
}

#centre-map .info-window-img {
  height: 50%;
}

#centre-map .info-window-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#centre-map .info-window-content {
  padding: 1rem;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#centre-map .info-window-content > * {
  margin-bottom: 0;
}

#centre-map .info-window-content h5 {
  font-weight: 500;
  color: var(--apmp-orange);
}

#centre-map .gm-style-iw {
  max-width: 220px !important;
  max-height: none !important;
  padding: 0 !important;
}

#centre-map .gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
}

#centre-map .get-directions {
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  color: #0058c3;
  gap: 0.5rem;
}

/* Reduce top margin */

.single-centre #primary {
  margin: 0;
  padding: 0;
}

/* Remove ast container padding */
.single-centre .site-content > .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.other-locations-wrapper .uabb-post-thumbnail {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  text-align: center;
  position: relative;
}

/* ========================================
   FL Builder Custom Classes
=========================================== */

.fl-col-half {
  width: 50%;
}

.fl-col-full {
  width: 100%;
}

.fl-col-third {
  width: 33.3333%;
}

.fl-col-two-thirds {
  width: 66.6667%;
}

.fl-col-70 {
  width: 70%;
}

.fl-col-60 {
  width: 60%;
}

.fl-col-40 {
  width: 40%;
}

.fl-col-30 {
  width: 30%;
}

.fl-box-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

@media (max-width: 992px) {
  .fl-box-row {
    flex-direction: column;
  }

  .fl-col-half,
  .fl-col-third,
  .fl-col-two-thirds {
    width: 100%;
  }

  .fl-col-group-equal-height {
    flex-direction: column-reverse;
  }
}

.fl-box-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.fl-box-column.half {
  flex-basis: 50%;
}

.fl-box-column.no-margin {
  margin: 0;
}

.fl-module-box:before,
.fl-module-box:after {
  position: absolute;
}

.fl-heading,
.uabb-infobox-title {
  color: var(--apmp-dark-blue);
}

.fl-heading.white,
.uabb-infobox-title.white,
.uabb-infobox-text.white {
  color: var(--apmp-white);
}

.uabb-infobox-title-prefix.sngle-cntr {
  text-align: left;
  padding-block: 1rem;
  color: var(--apmp-text);
  font-weight: 500;
}

/* ==========================================================================
   More Posts + Img Zoom Component
   ========================================================================== */
/* .more-posts {
  transition: transform 0.15s ease;
} */

.more-posts .uabb-post-thumbnail {
  margin-bottom: 1rem;
}

.img-zoom:not(.apmp-card):not(.document-card) .uabb-post-thumbnail {
  overflow: hidden;
  border-radius: 25px;
}

.img-zoom .uabb-post-thumbnail img,
.more-posts .uabb-post-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform: scale(1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 576px) {
  .img-zoom:hover .uabb-post-thumbnail img {
    transform: unset !important;
  }
}

.more-posts .cta {
  display: inline-flex;
  align-items: center;
}

.more-posts .heading-with-arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 15px;
  width: 100%;
  justify-content: space-between;
  gap: 1rem;
}

.more-posts .heading-with-arrow svg {
  flex-shrink: 0;
}

/* Hover & Focus Effects */
.img-zoom:hover .uabb-post-thumbnail img {
  transform: scale(1.05);
}

.img-zoom:hover .uabb-post-thumbnail::after {
  opacity: 1;
}

.uabb-blog-post-content .more-posts .uabb-post-thumbnail::after {
  background: transparent;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */
#ast-hf-mobile-menu .ast-menu-toggle {
  width: 100%;
  height: 64.78px; /* This changes with each site */
  top: 0px !important;
  border-radius: 0px;
  box-shadow: none;
}

#ast-hf-mobile-menu .ast-menu-toggle > .ast-icon {
  float: right;
}

/* Child Item */
#ast-hf-mobile-menu .menu-item-has-children > ul.sub-menu > li.menu-item {
  background: var(--menu-child-bg-colour);
}

/* Grandchild Item */
#ast-hf-mobile-menu > li > .sub-menu > li > .sub-menu li {
  background: var(--menu-grandchild-bg-colour) !important;
}

#ast-hf-mobile-menu > li > .sub-menu > li > .sub-menu a {
  padding-left: 60px !important;
}

/* ==========================================================================
   Static Map
   ========================================================================== */
span.uabb-hotspot-tooltip-content.uabb-text-editor {
  padding: 30px 20px !important;
  min-width: 350px;
  max-width: 100%;
  background-image: url("/wp-content/uploads/2025/10/top-left-faq.svg") !important;
  text-align: left;
}
span.uabb-hotspot-tooltip-content.uabb-text-editor a {
  color: var(--apmp-dark-blue) !important;
}
.uabb-hotspot-tooltip-content.uabb-text-editor h4,
.uabb_map_info_text h4 {
  color: #4dc4cf;
  margin-bottom: 10px;
  text-align: left;
}
.uabb-hotspot-tooltip-content ul {
  margin: 0 0 15px 20px;
}
.uabb-hotspot-tooltip-content ul li {
  font-size: 0.875rem !important;
}

/* Static Map - caption */
.uabb-hotspot-text.uabb-hotspot-wrap.uabb-text-editor::before {
  font-family: "Ultimate-Icons" !important;
  font-size: 50px;
  content: "\ea16";
  color: #000000;
  line-height: 20px;
  display: inherit;
  float: right;
  margin-left: -12px;
}
.uabb-hotspot-container
  .uabb-hotspot-item:hover
  .uabb-hotspot-text
  p:last-of-type,
.uabb-hotspot-container
  .uabb-hotspot-item:hover
  .uabb-hotspot-text.uabb-hotspot-wrap.uabb-text-editor::before {
  color: #00abca;
}
.uabb-hotspot-container .uabb-hotspot-text p:last-of-type {
  float: right;
  text-transform: uppercase;
  font-weight: bold;
}

/* ==========================================================================
   Footer Newsletter Form
   ========================================================================== */
#gform_widget-6 {
  --pill-height: 54px;
  --pill-border-radius: 30px;
  --button-width: 205px;
  --shadow-color: rgba(0, 0, 0, 0.12);
  max-width: 550px;
  margin-bottom: 2.5em;
}

#gform_widget-6 .gform_fields {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: var(--pill-border-radius);
  background: var(--apmp-white);
  /* overflow: hidden; */
  min-height: var(--pill-height);
  box-shadow: 0 2px 8px var(--shadow-color);
}

#gform_widget-6 #input_1_1 {
  border: 0;
  min-height: var(--pill-height);
  padding-left: 1rem;
  padding-right: 50px;
  background: transparent;
  color: var(--apmp-grey);
  font-size: 16px;
  border-radius: var(--pill-border-radius);
}

#gform_widget-6 #input_1_1:focus {
  outline: 2px solid var(--apmp-dark-blue);
  outline-offset: -2px;
  border-radius: var(--pill-border-radius);
}

#gform_widget-6 #input_1_1::placeholder {
  color: var(--apmp-grey);
  opacity: 0.7;
}

#gform_widget-6 #field_1_1 {
  flex: 1 1 auto;
}

#gform_widget-6 #field_submit {
  flex: 0 0 var(--button-width);
  margin-left: -50px;
}

#gform_widget-6 #gform_submit_button_1 {
  width: 100%;
  min-height: var(--pill-height);
  border: none;
  border-radius: var(--pill-border-radius);
  background-color: var(--apmp-dark-blue);
  color: var(--apmp-white);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  padding: 0 1.5rem;
  cursor: pointer;
  transition: background-color 0.8s ease;
}

@media (max-width: 992px) {
  #gform_widget-6 #gform_submit_button_1 {
    background-position: center;
    background-image: url("/wp-content/uploads/2025/09/apmp-arrow.png");
    background-repeat: no-repeat;
    font-size: 0;
  }
}

#validation_message_1_1 {
  color: red;
  padding: 0.25rem 1rem;
  margin-top: 1rem;
  background-color: rgb(255, 255, 255);
  font-weight: 600;
}

#gform_ajax_spinner_1 {
  display: none !important;
}

#gform_confirmation_message_1 {
  color: var(--apmp-white);
  font-size: 1.2rem;
  font-weight: 500;
}

#gform_widget-6 .gform_wrapper div.gfield.gfield_error {
  all: unset;
}

@media (max-width: 992px) {
  #gform_widget-6 #field_submit {
    align-self: flex-end;
    flex: 0 0 30%;
  }
}

/* @media (max-width: 576px) {
  #gform_widget-6 #field_submit {
    flex: 0 0 80px;
  }
} */

/* ==========================================================================
   Home Icons
   ========================================================================== */
.home-icons .uabb-image .uabb-photo-img {
  height: 200px !important;
  object-fit: contain;
  animation: var(--home-icons-animation) 4s ease-in-out infinite;
}

.home-icons .uabb-infobox-title {
  transition: transform 0.3s ease, color 0.3s ease;
}

.home-icons .uabb-infobox:hover .uabb-infobox-title {
  text-decoration: underline;
}

/* ==========================================================================
   Quick Links
   ========================================================================== */
.apmp-btn-quick-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;

  /* Typography */
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;

  /* Padding + shape */
  padding: 20px 25px;
  border-radius: 25px;
  border: none;

  /* Colors */
  background-color: #bfeef3;
  color: #003746;
  text-decoration: none !important;

  /* Transitions */
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.apmp-btn-quick-links .fl-button-text {
  flex: 1 1 auto;
}

.apmp-btn-quick-links.top-services {
  background-color: var(--apmp-green);
}

/* ==========================================================================
   Slick Carousel
   ========================================================================== */
/* #custom-carousel .slick-track {
  display: flex !important;
  align-items: stretch !important;
}

#custom-carousel .slick-slide {
  height: auto !important;
  display: flex !important;
} */

/* ==========================================================================
   Single News Article
   ========================================================================== */
.single-post .widgettitle {
	color: var(--apmp-dark-blue);

	/* H3 Styling */
	font-size: 24px;
	font-size: 1.5rem;
	font-weight: 600;
	font-family: 'Poppins',sans-serif;
	line-height: 1.3em;
}


/* ==========================================================================
   Membership Form 
   ========================================================================== */
#label_4_12_19 {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Directory 
   ========================================================================== */
#directory .uabb-adv-accordion-content {
  background-color: transparent;
}

#directory .centre-directory-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .centre-directory-card {
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
  color: var(--apmp-directory-theme);
  background-color: white;
}

#directory #uabb-accordion-content-lw0m784qbgiv-0 {
  padding: 1rem;
  background-color: white;
  margin: 20px;
  border-radius: 10px;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .centre-directory-card
  .street-address {
  color: var(--apmp-text);
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  a.view-centre {
  color: var(--apmp-directory-theme);
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  a.view-centre:hover {
  text-decoration: underline;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .centre-name {
  color: var(--apmp-directory-theme);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.3;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .info-section {
  margin-bottom: 12px;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .info-label {
  font-weight: 600;
  color: var(--apmp-directory-theme);
  font-size: 14px;
  margin-bottom: 4px;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .info-value {
  color: #333;
  font-size: 15px;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .contact-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 12px 0;
}

#directory
  .uabb-module-content
  .uabb-text-editor.uabb-accordion-desc
  :not(a)
  .contact-item {
  flex: 1;
  min-width: 140px;
}

/* ==========================================================================
   404 Page 
   ========================================================================== */
.error-page {
  padding-inline: 0px;
  padding-bottom: 160px;
}

/* ==========================================================================
   FM Custom Styles
   ========================================================================== */
.fm-dots .slick-dots {
  display: flex !important;
  justify-content: center;
  gap: 0.5em;
  padding: 0;
  margin-top: 1rem !important;
}

/* ==========================================================================
   Person Details
   ========================================================================== */
.person-details.white * {
  color: var(--apmp-white);
}

.person-details.orange * {
  color: var(--apmp-orange);
}

.person-details.dark * {
  color: var(--apmp-dark-blue);
}

.person-details .person-position {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.2em;
}

.person-details .person-region {
  opacity: 0.8;
}

/* ==========================================================================
   People Posts
   ========================================================================== */
.people-posts .uabb-post-thumbnail {
  margin-bottom: 1rem;
}

/* ==========================================================================
   Location Table (Tackling Indigenous Smoking)
   ========================================================================== */
.location-table,
.location-table th,
.location-table td {
  border: none;
}

/* ==========================================================================
   Green Row
   ========================================================================== */
.green-row {
  background: border-box
      url(https://apunipima.kinsta.cloud/wp-content/uploads/2025/10/background-shape-3.svg)
      no-repeat right bottom,
    linear-gradient(#b5d560, #b5d560);
}

/* ==========================================================================
   Contact Row
   ========================================================================== */
#contact-row .uabb-infobox-text a {
  color: var(--apmp-white) !important;
  text-decoration: underline;
}

/* ==========================================================================
   Document Card
   ========================================================================== */
.document-card .uabb-post-thumbnail {
  border-radius: 10px;
  position: relative;
}
