/* --------------------------------------------
   Global Container and Breakpoints (2025 Modern Layout)
---------------------------------------------*/
:root {
  --site-max-width: 1440px;
  --site-padding: 1rem;
  --footer-bg: #333192;
  --footer-text-color: #ffffff;
  --button-gradient-start: #FF512F;
  --button-gradient-mid: #F09819;
}

/* Base container used for centering sections */
.container,
.container_12,
.cnPrimaryContentContainer {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 var(--site-padding);
  box-sizing: border-box;
}

/* Ensure inner grid divisions flow full width */
.container_12 > div,
.cnPrimaryContentContainer > div {
  width: auto;
}

/* Breakpoints */
@media (min-width: 640px)  { /* sm */ }
@media (min-width: 768px)  { /* md */ }
@media (min-width: 1024px) { /* lg */ }
@media (min-width: 1280px) { /* xl */ }
@media (min-width: 1440px) { /* 2xl */ }

/* --------------------------------------------
   Footer Styles
---------------------------------------------*/
.footerContentHolder p {
  color: inherit;
}

.cnFooterSeparator {
  display: block;
  visibility: visible;
  background: none;
}
.cnFooterSeparator .d1 {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
}
.cnFooterSeparator .d1 .d1 {
  width: auto;
}

.cnFooterContainer {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  height: auto;
  padding: 2rem 0;
  background: none;
}

.cnFooterContainer .d1FooterContainer,
.cnFooterContainer .d2FooterContainer,
.cnFooterContainer .d3FooterContainer {
  width: 100%;
}
.cnFooterContainer .d1FooterContainer .d1,
.cnFooterContainer .d2FooterContainer .d2,
.cnFooterContainer .d3FooterContainer .d3 {
  width: auto;
}

.cnFooterContainer .innerFooterContainer {
  float: left;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.cnFooterContainer .innerFooterContainer .inner {
  padding: 0;
}

.zoneFooterOuter {
  background-color: var(--footer-bg);
}

.zoneFooterOuter .container_12 > div {
  background-color: var(--footer-bg);
}

.zoneFooterOuter .zoneFooterInner:before,
.zoneFooterOuter .zoneFooterInner:after {
  display: none;
}

.footerContentHolder {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--site-padding);
  background: none;
  box-sizing: border-box;
}
.footerContent {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--footer-bg);
  color: var(--footer-text-color);
  padding: 2rem;
  box-sizing: border-box;
}

/* --------------------------------------------
   Twitter Widget Reset
---------------------------------------------*/
#twtr-widget-1 {
  background: none;
  color: inherit;
}
#twtr-widget-1 .twtr-avatar {
  display: block;
}
#twtr-widget-1 .twtr-user {
  display: inline;
}
#twtr-widget-1 .twtr-tweet-text {
  margin-left: 40px;
}
#twtr-widget-1 .twtr-doc,
#twtr-widget-1 .twtr-hd a,
#twtr-widget-1 h3,
#twtr-widget-1 h4 {
  background-color: #f15d22 !important;
  color: #ffffff !important;
}
#twtr-widget-1 .twtr-tweet a {
  color: #473d8b !important;
}
#twtr-widget-1 .twtr-bd,
#twtr-widget-1 .twtr-timeline i a,
#twtr-widget-1 .twtr-bd p {
  color: #000000 !important;
}
#twtr-widget-1 .twtr-new-results,
#twtr-widget-1 .twtr-results-inner,
#twtr-widget-1 .twtr-timeline {
  background: #ffffff !important;
}

/* --------------------------------------------
   Forum Button Styles
---------------------------------------------*/
div.forumBtn {
  width: 100%;
  max-width: 200px;
  margin: 1rem auto;
  text-align: center;
}
div.forumBtn a {
  display: inline-block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  background: linear-gradient(to bottom, #eeeeee 0%, #cccccc 100%);
  font-weight: bold;
  color: var(--footer-bg) !important;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}
div.forumBtn a:hover {
  color: #000000 !important;
}

li#idForumMessage_3039347,
li#idForumMessage_3039346,
li#idForumMessage_3039345,
li#idForumMessage_3100311,
li#idForumMessage_3110179,
li#idForumMessage_3110543,
li#idForumMessage_3316749,
li#idForumMessage_3316748,
li#idForumMessage_3316747,
li#idForumMessage_3316746,
div.lastReply span {
  display: none !important;
}

.statPlanForumCerti div#idSubscribe,
#id_FyFBfzY div#idSubscribe {
  visibility: hidden;
}

/* --------------------------------------------
   Skills Symposium Table & Accordion
---------------------------------------------*/
table.sksymptable td.head {
  color: #ffffff;
  border-radius: 10px;
  background-color: var(--footer-bg);
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.5rem;
}
table.sksymptable td.three,
table.sksymptable td.two,
table.sksymptable td.one {
  color: #ffffff;
  border-radius: 10px;
  text-align: left;
  vertical-align: top;
  padding: 0.5rem;
}
table.sksymptable td.three { background-color: #F15C22; }
table.sksymptable td.two   { background-color: var(--footer-bg); }
table.sksymptable td.one   { background-color: #ABACBA; }

table.sksymptable td.three:hover { background-color: #BA3F19; }
table.sksymptable td.two:hover   { background-color: #1B1464; }
table.sksymptable td.one:hover   { background-color: #66676f; }

.sksympaccord {
  background-color: var(--footer-bg);
  padding: 1.125rem;
  width: 100%;
  border: none;
  text-align: left;
  font-size: 0.9375rem;
  transition: background 0.4s;
  color: #ffffff;
}
.sksympaccord:hover,
.sksympaccord.active {
  background-color: #66676F;
}
.sksympaccord:after {
  content: '\002B';
  font-weight: bold;
  float: right;
  margin-left: 0.3125rem;
}
.sksympaccord.active:after {
  content: '\2212';
}
.panel {
  padding: 0 1.125rem;
  background-color: #ffffff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

/* --------------------------------------------
   List Styling
---------------------------------------------*/
li {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
}

/* --------------------------------------------
   Login Button
---------------------------------------------*/
.WaGadgetLoginForm .loginContainerWrapper .loginContainerInnerWrapper {
  position: relative;
  display: inline-block;
  padding: 0.75rem;
  background-color: #F15C22;
  border-radius: 4px;
}
.WaGadgetLoginForm .loginContainerWrapper .loginContainerInnerWrapper .loginLink:before {
  border: 2px solid var(--footer-bg);
  border-radius: 50%;
  background-color: var(--footer-bg);
  color: #ffe2e2;
  content: '\f007';
  display: inline-block;
  font: normal 11px FontAwesome;
  height: 1em;
  margin-right: 0.3125rem;
  padding: 0.1875rem;
  text-align: center;
  width: 1em;
}
.WaGadgetLoginForm .loginContainerWrapper .loginContainerInnerWrapper .loginLink,
.WaGadgetLoginButton .loginBoxLinkContainer .loginBoxLinkButton {
  color: #FFFFFF;
  font-weight: bold;
  font-size: 0.875rem;
  text-decoration: none;
}

/* --------------------------------------------
   Custom Orange Button (Patrick's Style)
---------------------------------------------*/
.button-87 {
  display: inline-block;
  margin: 0.3125rem;
  padding: 0.625rem 1.25rem;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  box-shadow: 0px 0px 14px -7px var(--button-gradient-mid);
  background-image: linear-gradient(45deg, var(--button-gradient-start) 0%, var(--button-gradient-mid) 51%, var(--button-gradient-start) 100%);
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
}
.button-87:hover {
  background-position: right center;
}
.button-87:active {
  transform: scale(0.95);
}

/* --------------------------------------------
   Responsive Adjustments
---------------------------------------------*/
@media (max-width: 640px) {
  .cnFooterContainer,
  .footerContentHolder,
  div.forumBtn {
    padding: 0.5rem;
  }
}
/* ----------------------------------------------------------
   Make the top banner/header auto-height on small screens
---------------------------------------------------------- */
@media only screen and (max-width: 600px) {
  /* 1) Target the exact container around your H1/P/Button. 
     Below are the three most common Wild Apricot wrappers;
     you may need to tweak this selector if your headerâ€™s in a different class. */
  
  /* If your header is inside a â€œbannerâ€ gadget: */
  .WaBannerBody,
  /* If your header is a â€œGadgetFirstâ€ wrapper: */
  .WaGadgetFirst.WaGadgetContent,
  /* In case itâ€™s inside a generic â€œcontentâ€ div: */
  .wa-cms-page-content .wa-widget-heading {
    height: auto !important;
    overflow: visible !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  /* 2) Reduce the H1 font size slightly so it doesnâ€™t overflow: */
  .WaBannerBody h1,
  .WaGadgetFirst.WaGadgetContent h1,
  .wa-cms-page-content .wa-widget-heading h1 {
    font-size: 24px !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
  }

  /* 3) Reduce the paragraph font size so it wraps neatly: */
  .WaBannerBody p,
  .WaGadgetFirst.WaGadgetContent p,
  .wa-cms-page-content .wa-widget-heading p {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
  }

  /* 4) Ensure the â€œJoin Usâ€ button doesnâ€™t sit on top of text: */
  .WaBannerBody .stylizedButton,
  .WaGadgetFirst.WaGadgetContent .stylizedButton,
  .wa-cms-page-content .wa-widget-heading .stylizedButton {
    display: inline-block !important;
    margin-top: 16px !important;
  }
}

/* hide member-only blocks from public, and vice-versa */
.publicContentView .member-only,
.memberContentView .public-only {
  display: none !important;
}

/* show the “Become a member…” button to non-members */
.publicContentView .public-only {
  display: block !important;
}

/* show the “Watch webinar” button to logged-in members */
.memberContentView .member-only {
  display: block !important;
}
/* --- Patrick Solutions Grid --- */
/* ==== SOLUTIONS GRID ==== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.solution-card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.solution-icon img {
  max-width: 200px;
  margin-bottom: 1rem;
}

.solution-title {
  font-size: 1.125rem;
  margin: 0.5rem 0;
}

.solution-title a {
  color: #ff7900;           /* brand link color */
  text-decoration: none;
}

.solution-title a:hover {
  text-decoration: underline;
}

.solution-divider {
  width: 40px;
  border: none;
  height: 2px;
  background-color: #ff7900; /* brand accent */
  margin: 0.75rem auto;
}

.solution-desc {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.btn-quote {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #ff7900; /* brand CTA */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.btn-quote:hover {
  background-color: #e67300; /* darker on hover */
}



/* --- Patrick slider customization ---*/
/* ───────────────────────────────────────────────────
   Law-Programs Slider
──────────────────────────────────────────────────── */
.law-slider {
  margin: 2em auto;
  max-width: 1000px;
}
.slider-title {
  font-size: 1.5rem;
  margin-bottom: 0.5em;
  text-align: center;
  color: #005f9e;
}
/* container for buttons + viewport */
.slider-container {
  position: relative;
}
.slider-viewport {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
.slider-track {
  display: flex;
  gap: 1rem;
  padding-bottom: 0.5rem;
}
.slider-card {
  flex: 0 0 280px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  scroll-snap-align: start;
}
.slider-card img {
  display: block;
  width: 100%;
  height: auto;
}
.card-body {
  padding: 1rem;
}
.card-points {
  display: inline-block;
  font-size: 0.75rem;
  background: #005f9e;
  color: #fff;
  padding: 0.2em 0.6em;
  border-radius: 4px;
  margin-bottom: 0.5em;
}
.card-body h3 {
  font-size: 1rem;
  margin: 0.5em 0;
  line-height: 1.3;
  color: #333;
}
.card-date {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.75em;
}
.card-link {
  font-size: 0.9rem;
  color: #005f9e;
  text-decoration: none;
  font-weight: bold;
}
/* hide native scrollbar */
.slider-viewport::-webkit-scrollbar { display: none; }
.slider-viewport { scrollbar-width: none; -ms-overflow-style: none; }

/* navigation buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,95,158,0.8);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.5em;
  cursor: pointer;
  z-index: 2;
}
.slider-btn.prev { left: 0.5em; }
.slider-btn.next { right: 0.5em; }
/*--- Patrick Slider Start ---*/
/* white-background wrapper */
.logos-carousel-bg-white {
  background: #fff;
  padding: 2em 0;
  overflow: hidden;
}

/* flex container for Slick */
.logos-carousel {
  display: flex;
  align-items: center;
}

/* individual logo slides */
.logos-carousel .logo {
  flex: 0 0 auto;
  margin: 0 1.5em;
}

/* constrain image height */
.logos-carousel .logo img {
  max-height: 60px;
  display: block;
}
/* FAQ accordion styling */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-container h2 {
  font-size: 24pt;
  margin-bottom: 1em;
}

.faq-container details {
  border-bottom: 1px solid #ddd;
  padding: 1em 0;
}

.faq-container summary {
  font-size: 16pt;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 1.5em;
}

/* remove default marker in WebKit browsers */
.faq-container summary::-webkit-details-marker {
  display: none;
}

.faq-container summary::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .2s ease;
  font-size: 12pt;
  color: #f15c22;
}

.faq-container summary[open]::after {
  transform: translateY(-50%) rotate(-180deg);
  color: #f15c22;
}

.faq-container details p {
  margin-top: .5em;
  margin-left: 1em;
  font-size: 12pt;
  line-height: 1.4;
}
/* =========================================
   Custom Patrick Sub-Navigation (.iap2-subnav)
   ========================================= */
  

.iap2-subnav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 319px;
  margin: 0 auto;
  display: table;
  transform: translateY(-50%);
}

.iap2-subnav a {
  position: relative;
  display: table-cell;
  width: 33.333%;
  text-align: left;            /* align text to the left edge */
  padding: 10px 20px;          /* 20px left padding = indent for first letter */
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
  color: #ffffff;              /* default link color: white */
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;         /* keep text on one line */
}

/* visited & hover state both orange */
.iap2-subnav a:visited,
.iap2-subnav a:hover {
  color: #f15c22;
}

/* divider between links */
.iap2-subnav a:not(:last-child) {
  padding-right: 20px;         /* extra space to clear the divider */
}
.iap2-subnav a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 25%;
  right: 10px;
  width: 1px;
  height: 50%;
  background-color: rgba(255,255,255,0.5);
}

/* decorative dots */
.iap2-subnav a::before,
.iap2-subnav a::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.2s ease;
}
.iap2-subnav a::before {
  top: 0; left: 10px;
  width: 6px; height: 6px;
}
.iap2-subnav a::after {
  top: 5px; left: 18px;
  width: 4px; height: 4px;
}

/* dot colors */
.iap2-subnav a:nth-child(1)::before { background: yellow; }
.iap2-subnav a:nth-child(1)::after  { background: red; }
.iap2-subnav a:nth-child(2)::before { background: #00e2ff; }
.iap2-subnav a:nth-child(2)::after  { background: #89ff00; }
.iap2-subnav a:nth-child(3)::before { background: purple; }
.iap2-subnav a:nth-child(3)::after  { background: palevioletred; }

/* reveal dots on hover */
.iap2-subnav a:hover::before,
.iap2-subnav a:hover::after {
  transform: scale(1);
}

/* indicator bar under the first letter */
.iap2-subnav__indicator {
  position: absolute;
  bottom: 0;
  left: 20px;                  /* matches link’s left padding */
  width: 30px;
  height: 3px;
  border-radius: 5px;
  background: #ffffff;
  transition: left 0.2s ease, background 0.2s ease;
}

/* move & recolor indicator on hover */
.iap2-subnav a:nth-child(1):hover ~ .iap2-subnav__indicator {
  left: 20px;
  background: linear-gradient(130deg, yellow, red);
}
.iap2-subnav a:nth-child(2):hover ~ .iap2-subnav__indicator {
  left: calc(33.333% + 33px);
  background: linear-gradient(130deg, #00e2ff, #89ff00);
}
.iap2-subnav a:nth-child(3):hover ~ .iap2-subnav__indicator {
  left: calc(66.666% + 45px);
  background: linear-gradient(130deg, purple, palevioletred);
}
/* Make the description at the top behave like a solution-item */
.solutions-description p {
  display: flex;
  align-items: flex-start;    /* align icon and first line of text */
  text-align: left;           /* text flush left */
  margin: 0 10px 20px;        /* tighten up the spacing */
}
.solutions-description p img {
  flex-shrink: 0;             /* keep icon at natural size */
  margin-right: 10px;         /* space between icon and text */
}

/* Ensure all solution items keep icon/text aligned */
.solution-item {
  display: flex;
  align-items: flex-start;    /* icon + first line of text line up */
  margin-bottom: 20px;
}
.solution-item .icon {
  flex: 0 0 auto;             /* don’t stretch or shrink */
  width: 30px;                /* match your icon size */
  margin-right: 10px;         /* gap to the text */
  text-align: center;
}
.solution-item .icon img {
  width: 100%;
  height: auto;
}
.solution-item .text {
  flex: 1;                    /* use remaining space */
  text-align: left;           /* force left alignment */
  padding: 0;                 /* remove extra left padding */
  font-size: 16px;
  line-height: 1.4;
}

/* Remove any leftover white-space hacks from your HTML */
.solutions-description span,
.solution-item .text span {
  display: none;
}
/* Patrick Hero Customization */
.hero {
  position: relative;
  width: 100%;
  /* make this a min-height so it can grow if text is tall */
  min-height: 450px;
  /* kill the clipping so text never disappears */
  overflow: visible;

  /* use an image name without spaces, or encode them as %20 */
  background-image: url("https://iap2canada.ca/resources/Pictures/Website%20Images/fundamentals-p2.png");
  background-size: cover;
  background-position: left center;    /* anchor the focal point on the left */
  background-repeat: no-repeat;
}

/* wrap all your text elements */
.hero__content {
  position: absolute;
  top: 25%;
  left: 10%;                    /* desktop indent */
  transform: translateY(-50%);
  max-width: 40%;
  color: #ffffff;               /* default text color for any element without an override */
}

/* title, subtitle, description */
.hero__title {
  margin: 0;
  line-height: 1.1;
  font-size: 3rem;
  color: #333192;               /* override to your purple */
}

.hero__subtitle {
  margin: 0.5em 0 0;
  font-size: 1.5rem;
  color: #F15C22;               /* your accent orange */
  opacity: 0.9;
}

.hero__description {
  margin: 1em 0 0;
  font-size: 1rem;
  line-height: 1.4;
  opacity: 0.8;
}

/* if you have a button */
.hero__button {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.75em 1.5em;
  background-color: #f15c22;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

/* tablets / small desktops */
@media (max-width: 992px) {
  .hero__content { left: 7%; max-width: 60%; }
  .hero__title { font-size: 2.5rem; }
  .hero__subtitle { font-size: 1.25rem; }
  .hero__description { font-size: 0.95rem; }
}

/* phones */
@media (max-width: 768px) {
  .hero__content { left: 5%; max-width: 90%; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1.1rem; }
  .hero__description { font-size: 0.9rem; }
  .hero__button {
    padding: 0.6em 1.2em;
    font-size: 0.9rem;
  }
}