/** Dashboard: hide Saved Cards block completely */
.page-id-4501 .ld-profile__saved-cards {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}


/* Hide specific modal wrapper for mailing list and on about us page so it doesn't create page space */
#kt-modal18693_47eb09-90 {
  display: none !important;
}
.modal-row {
	
	display: none !important;
}
#ld-cg-m2ccgr96ek .course-meta-container {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Christie footer link hover */
.site-footer a:hover {
  color: #f2ba49 !important;
}

/* kill the white lines & borders inside footer widgets */
.site-top-footer-wrap .widget,
.site-bottom-footer-wrap .widget{
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}

/* (optional) Kadence column overlay sometimes leaves faint seams */
.site-top-footer-wrap .kt-inside-inner-col:before{
  display: none !important;
}



/* ==========================================================================  
   LearnDash UI – Christie Custom Styling  
   Centralized CSS for all LD buttons and UI elements.  
   Palette: Christie Red #8A1538, Dark Red #6E102C, Grey #768692, Dark Grey #5F6B78  
   ========================================================================== */


/* === CLZ — Fix username vertical alignment in LD header === */
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-welcome-text {
  line-height: 1.1 !important;   /* tighter spacing */
  display: inline-block;
  vertical-align: middle;
  margin: 0 !important;
}
/* CLZ — add a bit of space before "Hello, username" in LD header */
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
  padding-left: 12px !important;  /* give it room on the left */
}

/* === Course CTA: ALL states (Take/Join/Continue/Enrolled) ================= */
.learndash-wrapper .ld-course-status-action #btn-join,
.learndash-wrapper .ld-course-status-action input[type="submit"].button,
.learndash-wrapper .ld-course-status-action .button.button-primary,
.learndash-wrapper .ld-course-status-action .ld-button,
.learndash-wrapper .ld-course-status-action .ld-button.ld-button-primary,
.learndash-wrapper .ld-course-status-action .wp-element-button,
.learndash-wrapper .ld-course-status-action .learndash-button-free {
  background:#8A1538 !important;
  border-color:#8A1538 !important;
  color:#fff !important;
  border:none !important;
  border-radius:6px !important;
  padding:10px 22px !important;
  font:700 0.75rem/1.6 inherit !important;
  letter-spacing:1px !important;
  text-transform:uppercase !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
.learndash-wrapper .ld-course-status-action #btn-join:hover,
.learndash-wrapper .ld-course-status-action input[type="submit"].button:hover,
.learndash-wrapper .ld-course-status-action .button.button-primary:hover,
.learndash-wrapper .ld-course-status-action .ld-button:hover,
.learndash-wrapper .ld-course-status-action .ld-button.ld-button-primary:hover,
.learndash-wrapper .ld-course-status-action .wp-element-button:hover,
.learndash-wrapper .ld-course-status-action .learndash-button-free:hover {
  background:#6E102C !important;
  border-color:#6E102C !important;
  color:#fff !important;
}

/* === Login Modal: primary submit ========================================= */
.learndash-wrapper .ld-login-modal .button.button-primary,
.learndash-wrapper .ld-login-modal input[type="submit"].button-primary,
.learndash-wrapper .ld-login-modal .login-submit .button,
.learndash-wrapper .ld-login-modal .wp-core-ui .button-primary {
  background:#8A1538 !important;
  color:#fff !important;
  border:none !important;
  border-radius:6px !important;
  padding:10px 22px !important;
  font:700 0.75rem/1.6 inherit !important;
  letter-spacing:1px !important;
  text-transform:uppercase !important;
  box-shadow:none !important;
}
.learndash-wrapper .ld-login-modal .button.button-primary:hover,
.learndash-wrapper .ld-login-modal input[type="submit"].button-primary:hover,
.learndash-wrapper .ld-login-modal .login-submit .button:hover {
  background:#6E102C !important;
  color:#fff !important;
}

/* === Login Modal: secondary (Register) ==================================== */
.learndash-wrapper .ld-login-modal a.ld-button.ld-button-reverse {
  background:#8A1538 !important;
  color:#fff !important;
  border:none !important;
  border-radius:6px !important;
  padding:10px 22px !important;
  font:700 0.75rem/1.6 inherit !important;
  letter-spacing:1px !important;
  text-transform:uppercase !important;
  box-shadow:none !important;
  text-decoration:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.learndash-wrapper .ld-login-modal a.ld-button.ld-button-reverse:hover,
.learndash-wrapper .ld-login-modal a.ld-button.ld-button-reverse:focus {
  background:#6D0F2C !important;
  color:#fff !important;
  border-color:transparent !important;
  box-shadow:none !important;
}

/* === LearnDash Login Modal: Logo ========================================= */
.learndash-wrapper .ld-login-modal .ld-login-modal-branding img{
  content:url("/wp-content/uploads/2025/01/PET-CT-and-CICE-Logo-Lockup_RGB.png") !important;
  max-width:340px !important;
  height:auto !important;
}
@media (max-width:768px){
  .learndash-wrapper .ld-login-modal .ld-login-modal-branding img{ max-width:220px !important; }
}

/* === Global: Login (header button) ======================================= */



/* Force square buttons for all LearnDash buttons */
.learndash-wrapper .ld-button,
.learndash-wrapper a.ld-button,
.learndash-wrapper input.ld-button,
.ld-button,
.ld-button-reverse,
.ld-login,
.ld-logout {
  border-radius: 6px !important;
}






/* === WP Login screen: Logo =============================================== */
body.login h1 a{
  background-image:url("/wp-content/uploads/2025/01/PET-CT-and-CICE-Logo-Lockup_RGB.png") !important;
  background-size:contain !important;
  background-repeat:no-repeat !important;
  width:340px !important;
  height:90px !important;
  margin:0 auto 20px !important;
  display:block !important;
}
@media (max-width:480px){
  body.login h1 a{ width:240px !important; height:auto !important; }
}

/* === Expand All (course list heading) ==================================== */
.learndash-wrapper .ld-section-heading .ld-expand-button{
  background:#8A1538 !important;
  color:#fff !important;
  text-transform:uppercase !important;
  font-weight:700 !important;
  font-size:.75rem !important;
  letter-spacing:1px !important;
  padding:10px 22px !important;
  border-radius:6px !important;
}
.learndash-wrapper .ld-section-heading .ld-expand-button:hover{ background:#6E102C !important; }

/* === Mark Complete (top & bottom) ======================================== */
.learndash-wrapper .ld-content-action .learndash_mark_complete_button,
.learndash-wrapper .ld-content-action .sfwd-mark-complete input[type="submit"].learndash_mark_complete_button{
  background:#8A1538 !important;
  color:#fff !important;
  border:none !important;
  border-radius:6px !important;
  padding:10px 18px !important;
  font-size:.70rem !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:1px !important;
  line-height:1.6 !important;
}
.learndash-wrapper .ld-content-action .learndash_mark_complete_button:hover,
.learndash-wrapper .ld-content-action .learndash_mark_complete_button:focus{
  background:#6D0F2C !important;
  box-shadow:none !important;
  outline:0 !important;
}

/* === Next/Previous (BOTTOM lesson/topic nav) ============================= */
.learndash_post_sfwd-lessons .learndash-wrapper .ld-content-action .ld-button:not(.ld-button-transparent):not(.ld-button-reverse),
.learndash_post_sfwd-topic   .learndash-wrapper .ld-content-action .ld-button:not(.ld-button-transparent):not(.ld-button-reverse){
  background:#768692 !important;
  color:#fff !important;
  border-radius:6px !important;
  padding:10px 20px !important;
  font-size:.70rem !important;
  font-weight:600 !important;
  text-transform:uppercase !important;
  letter-spacing:1px !important;
  line-height:1.4 !important;
}
.learndash_post_sfwd-lessons .learndash-wrapper .ld-content-action .ld-button:hover,
.learndash_post_sfwd-topic   .learndash-wrapper .ld-content-action .ld-button:hover{
  background:#5F6B78 !important;
  color:#fff !important;
}

/* === TOP thin nav (Prev/Next text buttons) =============================== */
.learndash-wrapper .ld-content-actions .ld-button{
  text-transform:uppercase !important;
  font-size:.70rem !important;
  font-weight:600 !important;
  letter-spacing:1px !important;
}

/* === LD alert action buttons (bar under the course title)
      e.g., "Download Certificate", "View X", etc. ======================= */

/* Force RED background on any alert-bar action button */
body .learndash-wrapper .ld-alert > a.ld-button:not(.ld-button-transparent):not(.ld-button-reverse),
.learndash-wrapper .ld-alert.ld-alert-success.ld-alert-certificate > a.ld-button:not(.ld-button-transparent):not(.ld-button-reverse) {
  background-color: #8A1538 !important;   /* Christie red */
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 20px !important;
  text-transform: uppercase !important;
  font-size: 0.70rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  line-height: 1.4 !important;
}

/* Hover */
body .learndash-wrapper .ld-alert > a.ld-button:not(.ld-button-transparent):not(.ld-button-reverse):hover,
.learndash-wrapper .ld-alert.ld-alert-success.ld-alert-certificate > a.ld-button:not(.ld-button-transparent):not(.ld-button-reverse):hover {
  background-color: #6E102C !important;   /* darker red */
  color: #ffffff !important;
}

/* Only the button icon (not the left round badge) */
body .learndash-wrapper .ld-alert > a.ld-button .ld-icon,
body .learndash-wrapper .ld-alert > a.ld-button svg {
  width: 18px !important;
  height: 18px !important;
  font-size: 18px !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
  color: #ffffff !important;
  fill: currentColor !important;
}
/* === Assignments: Upload button (red, 6px radius) ======================= */
.learndash-wrapper #uploadfile_btn.ld-button {
  background: #8A1538 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 10px 22px !important;
  font: 700 0.75rem/1.6 inherit !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
.learndash-wrapper #uploadfile_btn.ld-button:hover {
  background: #6E102C !important;
  color: #ffffff !important;
}

/* Font Awesome lock for the LD login icon */
.ld-login .ld-icon-login:before {
  content: "\f023";
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important; /* solid */
}

/* Size/spacing (same as before) */
.ld-login .ld-icon-login {
  font-size: 14px !important;
  width: 14px !important;
  height: 14px !important;
  line-height: 1 !important;
  margin-right: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Style the Start Quiz button to match Christie buttons */
.wpProQuiz_button[name="startQuiz"] {
    background-color: #8a1538 !important;   /* Red background */
    color: #ffffff !important;              /* White text */
    border: none !important;                /* Remove default border */
    border-radius: 6px !important;          /* Match other buttons */
    padding: 10px 20px !important;          /* Consistent padding */
 
    text-transform: uppercase !important;   /* Uppercase text */
    cursor: pointer !important;             /* Pointer cursor */
    transition: background-color 0.3s ease-in-out;
}

/* Hover effect */
.wpProQuiz_button[name="startQuiz"]:hover {
    background-color: #6d102c !important;   /* Darker red on hover */
    color: #ffffff !important;
}
/* ProQuiz buttons — unify with Christie buttons */
.wpProQuiz_button,
.wpProQuiz_button[name="startQuiz"],
.wpProQuiz_button[name="next"],
.wpProQuiz_button[name="back"],
.wpProQuiz_button[name="check"],
.wpProQuiz_button[name="finishQuiz"],
.wpProQuiz_button[name="restartQuiz"],
.wpProQuiz_button.wpProQuiz_QuestionButton {
  background:#8A1538 !important;
  color:#fff !important;
  border:none !important;
  border-radius:6px !important;
  padding:10px 20px !important;
  font:700 0.75rem/1.6 inherit !important;
  text-transform:uppercase !important;
  letter-spacing:1px !important;
  box-shadow:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  float:none !important;              /* overrides inline float:right */
}
.wpProQuiz_button:hover,
.wpProQuiz_button:focus {
  background:#6E102C !important;
  color:#fff !important;
}
.wpProQuiz_content .wpProQuiz_button { margin-left:8px !important; }

/* === LearnDash / WP-Pro-Quiz — nav fixes === */

/* 1) REVIEW: hide per-question Next/Back when inputs are disabled */
.wpProQuiz_listItem:has(input[disabled]) .wpProQuiz_QuestionButton[name="next"],
.wpProQuiz_listItem:has(input[disabled]) .wpProQuiz_QuestionButton[name="back"] {
  display: none !important;
}

/* 2) ALL-AT-ONCE: LD already inlines display:none on per-question Next/Back.
      Keep them hidden even if theme CSS tries to re-show. */
.wpProQuiz_listItem .wpProQuiz_QuestionButton[name="next"][style*="display: none"],
.wpProQuiz_listItem .wpProQuiz_QuestionButton[name="back"][style*="display: none"] {
  display: none !important;
}

/* 3) Only hide a per-question "Finish Quiz" when it is NOT the real one:
      (a) in REVIEW, or
      (b) ALL-AT-ONCE where both Next & Back are hidden */
.wpProQuiz_listItem:has(input[disabled]) .wpProQuiz_button[value="Finish Quiz"],
.wpProQuiz_listItem:has(.wpProQuiz_QuestionButton[name="next"][style*="display: none"])
                    :has(.wpProQuiz_QuestionButton[name="back"][style*="display: none"])
                    .wpProQuiz_button[value="Finish Quiz"] {
  display: none !important;
}

/* 4) Remove the tiny pager squares + page counters (not needed) */
.wpProQuiz_button[name="wpProQuiz_pageLeft"],
.wpProQuiz_button[name="wpProQuiz_pageRight"],
.wpProQuiz_question_page {
  display: none !important;
}

/* 5) RESULTS VIEW: show the form controls (LD hides radios by default) */
.learndash-wrapper .ld-quiz-result-failed .wpProQuiz_questionListItem label input[type="radio"],
.learndash-wrapper .ld-quiz-result-passed .wpProQuiz_questionListItem label input[type="radio"],
.learndash-wrapper .ld-quiz-result-failed .wpProQuiz_questionListItem label input[type="checkbox"],
.learndash-wrapper .ld-quiz-result-passed .wpProQuiz_questionListItem label input[type="checkbox"] {
  visibility: visible !important;
}





/* Fix LD Focus Mode sidebar background showing when collapsed */
.learndash-wrapper .ld-focus .ld-focus-sidebar {
  background:#ffffff !important; /* force white */
}
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-open {
  background:#ffffff !important; /* button container strip */
}


.materials-button {
  display: inline-block;
  background: #8a1538;   /* Christie red */
  color: #fff;
  padding: 6px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-top: 4px;   /* space above button (under the link) */
  margin-bottom: 12px;  /* space after button for breathing room */
	  margin-right: 10px;   /* space to the right */
}

.materials-button:hover {
  background: #6c102d;
  color: #ffc20e;   /* yellow on hover */
}







.tribe-events-view--shortcode {
  background: #ffffff !important;
	border-radius: 8px !important;
}


/* Style the booked/complete message in lessons */
.ld-step-complete-note {
  color: #fff;           /* light grey text */
 
  margin: 1em 0;         /* spacing above/below */
  font-size: 1.1em;      /* slightly larger text */
}


/* Tin Canny SCORM Open button - colors only */
.uo-tincanny-content .uo-tclr-open-content-button {
  background-color: #8a1538 !important; /* red background */
  color: #ffffff !important;            /* text white */
  border: none !important;
}

.uo-tincanny-content .uo-tclr-open-content-button__text {
  color: #ffffff !important; /* keep "Open" white */
}

.uo-tincanny-content .uo-tclr-open-content-button__icon {
  background-color: #8a1538 !important; /* red circle background */
}

.uo-tincanny-content .uo-tclr-open-content-button__icon svg path {
  fill: #ffffff !important; /* white arrow */
}
.uo-tincanny-content .uo-tclr-open-content-button {
  border-radius: 6px !important; /* adjust if LD uses a bigger value */
}

/* Hover effect */
.uo-tincanny-content .uo-tclr-open-content-button:hover {
  background-color: #6e102d !important; /* slightly darker red */
}




/* LD header actions: remove hover/focus borders/outlines ONLY here */
.learndash-wrapper .ld-content-actions .ld-button,
.learndash-wrapper .ld-content-actions .ld-button:hover,
.learndash-wrapper .ld-content-actions .ld-button:focus,
.learndash-wrapper .ld-content-actions .ld-button:active,
.learndash-wrapper .ld-content-actions .learndash_mark_complete_button,
.learndash-wrapper .ld-content-actions .learndash_mark_complete_button:hover,
.learndash-wrapper .ld-content-actions .learndash_mark_complete_button:focus,
.learndash-wrapper .ld-content-actions .learndash_mark_complete_button:active,
.learndash-wrapper .ld-content-actions .learndash_mark_incomplete_button,
.learndash-wrapper .ld-content-actions .learndash_mark_incomplete_button:hover,
.learndash-wrapper .ld-content-actions .learndash_mark_incomplete_button:focus,
.learndash-wrapper .ld-content-actions .learndash_mark_incomplete_button:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important; /* keep square; remove if you want rounding */
}

/* If the transparent style adds a hover border, kill it too */
.learndash-wrapper .ld-content-actions .ld-button.ld-button-transparent,
.learndash-wrapper .ld-content-actions .ld-button.ld-button-transparent:hover,
.learndash-wrapper .ld-content-actions .ld-button.ld-button-transparent:focus {
  border: none !important;
  box-shadow: none !important;
}

/** Christie: ProPanel summary box hover background */
.ld-propanel-widget-overview .propanel-stat .stat-inner:hover {
    background-color: #8a1538 !important;
}





/* Change LD expand button arrow icon back to white */
.learndash-wrapper .ld-expand-button .ld-icon-arrow-down {
    color: #ffffff !important;
    fill: #ffffff !important;
}



.tribe-events-after-html {
	font-size: 13px !important;
}


/* learner dashboard recommended courses carousal Pagination buttons - style and size */
.kt-blocks-page-nav .page-numbers {
  display: inline-block !important;
  padding: 0.4em 0.7em !important;
  font-size: 14px !important;
  color: #8a1538 !important; /* red text */
  border: 1px solid #8a1538 !important;
  border-radius: 4px !important;
  margin: 0 3px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

/* Pagination - current page */
.kt-blocks-page-nav .page-numbers.current {
  background-color: #8a1538 !important;
  color: #fff !important;
  border-color: #8a1538 !important;
}

/* Pagination - hover state */
.kt-blocks-page-nav .page-numbers:hover:not(.current) {
  background-color: #ccc !important; /* grey hover */
  color: #000 !important;
  border-color: #ccc !important;
}

/* Pagination - next/arrow button spacing */
.kt-blocks-page-nav .next.page-numbers {
  padding: 0.4em 0.6em !important;
}



/* Hides duplicate quiz title shown inside the LearnDash wpProQuiz content area only 
   (when "Quiz Title" is enabled in quiz settings).
   Ensures export includes title without displaying it twice to learners. */
.ld-focus-content .wpProQuiz_content > h2 {
  display: none !important;
}

/* === Christie Quiz Styling — Red Tickbox Alignment === */

/* Checkbox red accent + centered alignment */
.wpProQuiz_questionInput[type="checkbox"] {
  accent-color: #8a1538; /* Christie red */
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 10px;
}

/* Center label text vertically */
.wpProQuiz_questionListItem label {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

/* Selected answer border highlight */
.wpProQuiz_questionListItem label.is-selected {
  border: 2px solid #8a1538;
  border-radius: 8px;
  padding: 8px 12px;
}

/* Remove default weird spacing */
.wpProQuiz_questionListItem {
  margin-bottom: 10px;
}


/* === Stack "Take this Course" button above course duration (enforced) === */
.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-action {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

/* === Remove bottom margin from "Take this Course" form === */
.learndash-wrapper .ld-course-status-action form {
    margin-bottom: 0 !important;
}



/* Adds spacing only to the 'Our Impact' icon list block */
.kt-svg-icon-list-items2152_d1f84d-f5 .kt-svg-icon-list-item-wrap {
  margin-bottom: 1rem !important;
}




/* 
----------------------------------------------
1. Fix Zoom plugin layout on singe page to single column, centered
---------------------------------------------- 
*/
.vczapi-wrap {
  display: block !important;
}

.vczapi-col-8,
.vczapi-col-4 {
  width: 100% !important;
  float: none !important;
  max-width: 600px;
  margin: 0 auto !important;
}

.btn-start-link {
  background-color: #424D5C !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease !important;
  border: none !important;
}

.btn-start-link:hover {
  background-color: #2f3945 !important;
  color: #ffffff !important;
}

.dpn-zvc-sidebar-tile {
  background-color: #424D5C !important;
  color: #ffffff !important;
}






/* 
----------------------------------------------
output on lesson from shortcode
---------------------------------------------- 
*/

.dpn-zvc-timer-cell-number {
  background-color: #424D5C !important;
}
.dpn-zvc-timer-cell {
  background-color: #424D5C !important;
}




.dpn-zvc-sidebar-box .btn-join-link {
  background-color: #8a1538 !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  text-align: center !important;
  text-decoration: none !important;
  display: inline-block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  transition: background-color 0.3s ease !important;
  border: none !important;
}

.dpn-zvc-sidebar-box .btn-join-link:hover {
  background-color: #731230 !important;
  color: #ffffff !important;
}



#field_17_26 .wp-block-kadence-modal {
	background-color:#eeeeee;
	margin-top:0px; margin-bottom:0px;
}


.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button[disabled] {
    background-color: #f6f8fa !important;
    color: #73738c !important;
    cursor: not-allowed;
    outline: 0px solid #73738c !important;
	border-radius: 6px;
}





.ld-focus-sidebar-wrapper {
  max-height: calc(100vh - 60px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 10px !important;
  padding-bottom: 20px !important; /* increased to give room for pagination */
  box-sizing: border-box !important;
}








.tribe-events-after-html p a {
  text-decoration: underline !important;
}



.learndash-link-previous-incomplete {
  max-width: 200px !important;
	display: inline-block !important;align-content
}




body .gform_wrapper .gform_fields,
body .gform_wrapper .gfield_label,
body .gform_wrapper .gfield_description,
body .gform_wrapper input,
body .gform_wrapper select,
body .gform_wrapper textarea,
body .gform_wrapper label,
body .gform_wrapper .gform-field-label {
  font-size: 16px !important;
}




footer h3.kt-adv-heading18c9b4-72 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}



#general-contact .kt-inside-inner-col {
  background-color: #fff !important;
  padding: 2rem;
  border-radius: 10px;
}



.ld-breadcrumbs .ld-breadcrumbs-segments a {
  color: #8a1538 !important;
}

.tclr-mark-complete-button .learndash_mark_complete_button {
  background-color: #8a1538 !important;
}

/* Fix padding inside LD lessons for event widget */
.learndash-wrapper .tribe-events .tribe-events-l-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  min-height: auto !important;
}


.learndash-wrapper .tribe-events .tribe-events-l-container {
  min-height: auto !important;
}


.kt-svg-icon-list-item-wrap {
  margin-bottom: 0px !important;  /* Adjust as needed */
}


.wpProQuiz_questionListItem label {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	position: relative !important;
}

.wpProQuiz_questionListItem input[type="radio"] {
	margin-top: 5px !important;
	position: static !important;
}



.search-results .entry-meta .posted-on {
	display: none;
}

.search .sfwd-courses .entry-content-wrap {
  margin-top: 0 !important;align-content;
}


.ld-pagination .ld-pages {
	background-color: #c6cace !important;
}


.kt-blocks-post-footer {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}



.wpProQuiz_quiz_time {
    color: #8a1538 !important;
    font-weight: bold; /* Optional: Makes it stand out */
}

/* Add spacing between feedback paragraphs */
.wpProQuiz_AnswerMessage p {
    margin-bottom: 10px !important; /* Ensures proper spacing */
    padding: 5px 0 !important; /* Adds slight padding for readability */
    line-height: 1.5 !important; /* Improves text spacing */
}

/* Ensure images inside feedback have spacing */
.wpProQuiz_AnswerMessage img {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    max-width: 100% !important; /* Ensures images fit properly */
}


/* Center the "Correct" title */
.wpProQuiz_correct span {
    display: block;
    text-align: center;
    font-size: 1.2em; /* Adjust size if needed */
    font-weight: bold;
}

/* Center "Your answer is correct." */
.wpProQuiz_AnswerMessage p:first-child {
    text-align: center;
    font-weight: bold;
}

/* Left-align the explanation text */
.wpProQuiz_AnswerMessage p:not(:first-child) {
    text-align: left;
}



/* Change the border of the selected label to red */
label.is-selected {
    border: 2px solid #8a1538 !important;
    background-color: transparent !important;
    color: inherit;
}

/* Change the radio button color */
input[type="radio"]:checked {
    accent-color: #8a1538 !important;
}
/* Remove side margins */
.wpProQuiz_resultTable {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Change Average Score color to red */
.wpProQuiz_resultValue_AvgScore .progress-meter {
    background-color: #8a1538 !important;
}

/* Change Your Score color to yellow */
.wpProQuiz_resultValue_YourScore .progress-meter {
    background-color: #ffc107 !important;
}


.kt-post-grid-layout-carousel-wrap {
    margin-bottom: 30px !important;
}


.kt-post-grid-layout-carousel-wrap .kt-blocks-post-grid-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.kt-post-grid-layout-carousel-wrap .kt-blocks-post-grid-item-inner-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.kt-post-grid-layout-carousel-wrap .kt-blocks-post-grid-item-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



/* instructor image */
.card__image {
    display: none !important;
}
/* Add red border around the card */
.card {
    border: 1px solid #8a1538 !important;
    border-radius: 8px; /* Optional: Adjust for rounded corners */
    padding: 10px; /* Optional: Add spacing inside the border */
}

.card__text {
    text-align: left !important;
}



/* Apply styles only to the home page event widget */
.home .tribe-events-widget-events-list {

    /* Make event series and virtual event icons white */
    .tribe-common-c-svgicon {
        stroke: #ccc !important;
    }

    /* Ensure the Virtual Event icon specifically turns white */
    .tribe-events-virtual-virtual-event__icon-svg .tribe-common-c-svgicon__svg-stroke {
        stroke: #ccc !important;
    }

    /* Change both icons to white on hover */
    .tribe-events-calendar-series-archive__link:hover .tribe-common-c-svgicon,
    .tribe-events-virtual-virtual-event__icon:hover .tribe-common-c-svgicon__svg-stroke {
        stroke: #fff !important;
    }
}





.ld-tab[data-ld-tab*="ldcii-instructor-information"] .ld-icon::before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    content: "\f500" !important; /* Unicode for fa-user-friends */
}




.gform_wrapper .gf_progressbar_percentage {
    background-color: #8a1538 !important;
}


/** Christie: Make all Gravity Forms buttons red */
body .gform_wrapper .gform_page_footer .gform_next_button,
body .gform_wrapper .gform_page_footer .gform_previous_button,
body .gform_wrapper .gform_page_footer .gform_button {
  background-color: #8a1538 !important;   /* Christie red */
  border-color: #8a1538 !important;
  color: #ffffff !important;              /* white text */
  border-radius: 6px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
}

body .gform_wrapper .gform_page_footer .gform_next_button:hover,
body .gform_wrapper .gform_page_footer .gform_previous_button:hover,
body .gform_wrapper .gform_page_footer .gform_button:hover {
  background-color: #73122e !important;   /* darker red on hover */
  border-color: #73122e !important;
}



.ld-virtual-instructor-chatbox__header {
    background-color: #8a1538 !important;
	  border-color: #8a1538 !important;
}
.ld-virtual-instructor-chatbox__form-button {
    background-color: #8a1538 !important;
    border-color: #8a1538 !important; /* Ensure border matches */
    color: #ffffff !important; /* Adjust text color for contrast */
}

.ld-virtual-instructor-chatbox__form-button:hover {
    background-color: #73122e !important; /* Optional: slightly darker shade for hover effect */
    border-color: #73122e !important; /* Match hover border */
}

.ld-virtual-instructor-chatbox__form-button:hover {
    background-color: #73122e; /* Optional: slightly darker shade for hover effect */
    border-color: #73122e; /* Match hover border */
}
.ld-virtual-instructor-chatbox__message--user {
    background-color: #8a1538 !important;
    border-color: #8a1538 !important;
    color: #ffffff !important; /* Ensures text is readable */
}





.tribe-common.event-tickets section.tribe-tickets__commerce-order {
    max-width: 600px; /* Limit the width */
    width: 100%; /* Ensure responsiveness */
    margin: 0 auto; /* Center the box horizontally */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add a slight shadow for emphasis */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Inner padding */
    background-color: #fff; /* White background */
}






/* Optional: Add a max width and margin for better responsiveness */
.tribe-common.event-tickets section.tribe-tickets__commerce-checkout {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add a slight shadow for emphasis */
    border-radius: 8px; /* Rounded corners */
    padding: 20px; /* Inner padding */
    background-color: #fff; /* White background */
}


/* Target the event page container to ensure changes only apply to event pages */

/* Target the specific container to adjust top margin */


/* Optional: Ensure responsiveness and compatibility */
@media (max-width: 768px) {
    #primary.content-area {
        margin-top: 20px !important; /* Adjust further for smaller screens */
    }
}

#tribe-events-content {
    padding: 0 90px 0 90px !important; /* Add 40px margins inside the main box */
    margin-top: 0 !important; /* Remove unnecessary margin at the top */
}

/* Reduce space above breadcrumbs */
#tribe-events-content .entry-header {
    margin-top: 0px; /* Reduce space above breadcrumbs */
}

/* Reduce space between breadcrumbs and the navigation bar */
#tribe-events-header {
    margin-top: 0px; /* Adjust spacing between breadcrumbs and nav */
}

/* Style for the featured image */
.tribe-events-event-image img {
    width: 100%; /* Full width */
    height: 300px; /* Set a fixed banner height */
    object-fit: cover; /* Crop the image while maintaining proportions */
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .tribe-events-event-image img {
        height: 150px; /* Smaller height for mobile view */
    }
}


/* Optional: Add an overlay to the featured image */
.tribe-events-event-image {
    position: relative;
}

.tribe-events-event-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black overlay */
    z-index: 1; /* Ensure it sits above the image */
}

.tribe-events-event-image img {
    position: relative;
    z-index: 0; /* Ensure the image sits below the overlay */
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
    #tribe-events-content {
        /* Reduce padding for smaller screens */
    }

    .tribe-events-event-image img {
        height: auto; /* Allow natural height on smaller screens */
    }

    #tribe-events-header {
        margin-top: 5px; /* Further reduce spacing on mobile */
    }
}

@media (max-width: 768px) {
  #tribe-events-content {
    padding: 0 10px !important;
  }
}





















/* Scope styles to the Courses Page grid */
.all-courses-post-grid .kt-blocks-post-grid-item header {
    padding-bottom: 0px !important;
    padding-top: 8px !important;
}

.all-courses-post-grid .kt-blocks-post-grid-item header h3 {
    margin: 10px !important;
}

.all-courses-post-grid .kt-blocks-post-grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Makes each grid item fill available height */
    box-sizing: border-box;
}

.all-courses-post-grid .kt-blocks-post-grid-item-inner-wrap {
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures consistency in height */
}

.all-courses-post-grid .kt-blocks-post-grid-item-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.all-courses-post-grid .kt-blocks-post-readmore {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #8a1538;
    color: #fff;
    padding: 10px 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
}

.all-courses-post-grid .kt-blocks-post-readmore:hover {
    background-color: #6e1230;
    color: #fff;
}





/* Default text color for the widget */
.sessions-pullout .tribe-events-widget-events-list {
    color: #ffffff !important; /* Default text color for white */
}

/* Event title styling */
.sessions-pullout .tribe-events-widget-events-list__event-title {
    color: #f0f0f0 !important; /* Light grey for event titles */
}

.sessions-pullout .tribe-events-widget-events-list__event-title a {
    color: #ffffff !important; /* Ensure links in titles are white */
    text-decoration: none !important; /* Remove default underline */
    border-bottom: none !important; /* Remove extra hover underline */
}

.sessions-pullout .tribe-events-widget-events-list__event-title a:hover {
    color: #dcdcdc !important; /* Light grey hover effect for titles */
    text-decoration: underline !important; /* Add a single underline */
    border-bottom: none !important; /* Ensure no double underline */
}

/* Date styling (specifically target time elements with the class) */
.sessions-pullout .tribe-events-widget-events-list__event-date-tag-datetime {
    color: #dcdcdc !important; /* Light grey for date */
}

/* Month and day inside the time element */
.sessions-pullout .tribe-events-widget-events-list__event-date-tag-month,
.sessions-pullout .tribe-events-widget-events-list__event-date-tag-daynum {
    color: #dcdcdc !important; /* Light grey for month and day */
}

/* Time styling (for time inside event details) */
.sessions-pullout .tribe-events-widget-events-list__event-datetime {
    color: #dcdcdc !important; /* Light grey for time */
}

/* "View Calendar" link styling */
.sessions-pullout .tribe-events-widget-events-list__view-more-link {
    color: #b0b0b0 !important; /* Slightly darker grey for the link */
    text-decoration: none !important; /* Remove blue underline */
    border-bottom: none !important; /* Ensure no border styling */
}

.sessions-pullout .tribe-events-widget-events-list__view-more-link:hover {
    color: #dcdcdc !important; /* Light grey on hover */
    text-decoration: underline !important; /* Add hover underline */
    border-bottom: none !important; /* Ensure no border hover */
}
/* Remove top margin above the h3 title only within sessions-pullout */
.sessions-pullout .tribe-events-widget-events-list__event-title {
    margin-top: 0; /* Remove the top margin */
}
/* Remove top margin from the h3 link title in event rows */
.tribe-events-widget-events-list__event-row .tribe-events-widget-events-list__event-title {
    margin-top: 0; /* Remove the top margin */
}


/* Force border-radius for expand/collapse buttons too */
.ld-expand-button,
.ld-expand-button.ld-button-alternate,
.learndash-wrapper .ld-expand-button,
.learndash-wrapper .ld-button-alternate {
    border-radius: 6px !important;
}


/* Kadence Tabs inside LearnDash (desktop side-by-side, mobile stacked, no gaps/scroll) */
.learndash-wrapper .ld-tab-content .wp-block-kadence-tabs{
  max-width:100%;
  overflow-x:hidden;
  margin:0 !important;
}
.learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tabs-title-container{
  margin:0 !important; padding:0 !important; border:0 !important;
}
.learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tabs-content-wrap{
  margin-top:0 !important; /* sit snug on the line */
}

/* Desktop / tablet: side-by-side in one row */
@media (min-width:769px){
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tabs-title-list{
    display:flex !important; flex-wrap:nowrap !important;
    gap:10px; margin:0 !important; padding:0 !important; list-style:none !important;
  }
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tabs-title-list>li{
    flex:0 0 auto !important; width:auto !important; margin:0 !important;
  }
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tab-title{
    white-space:nowrap !important; margin:0 !important;
  }
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tab-accordion-title{
    display:none !important;
  }
}

/* Mobile: show titles stacked (do NOT use accordion) */
@media (max-width:768px){
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tabs-title-list{
    display:flex !important; flex-direction:column !important;
    gap:8px; margin:0 !important; padding:0 !important;
  }
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tabs-title-list>li{
    width:100% !important; margin:0 !important;
  }
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tab-title{
    display:block !important; width:100% !important; white-space:normal !important; margin:0 !important;
  }
  .learndash-wrapper .ld-tab-content .wp-block-kadence-tabs .kt-tab-accordion-title{
    display:none !important; /* prevent Kadence from hiding the list */
  }
}
/** Search cards: hide Kadence's default top category strip for Courses; keep our audience strip */
.search-results article.type-sfwd-courses .entry-header .entry-taxonomies:not(.audience-tax){ display:none; }




/* LearnDash lessons → Kadence Tabs: set 10px top spacing */
.learndash-wrapper .wp-block-kadence-tab.kt-tab-inner-content,
.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner {
  padding-top: 10px !important;
}

.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner > :first-child {
  margin-top: 0 !important;
}

.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner ul {
  margin-top: 0 !important;
}

.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner {
  --wp--style--block-gap: 0 !important;
  gap: 0 !important;
}

/* LD lesson → Kadence Tabs */
.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner{ 
  padding-top:10px !important;          /* your 10px top */
}
.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner ul{
  margin-bottom:10px !important;        /* tighten gap before image/next block */
}
.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner > ul:first-of-type{
  margin-top:0 !important;              /* keep first list tight to top */
}
/* If image still crowds or floats too far, tweak this number */
.learndash-wrapper .wp-block-kadence-tab .kt-tab-inner-content-inner figure{
  margin-top:10px !important;
}
/* 1) Add inner padding to the white card (calendar embed) */
.learndash-wrapper .tribe-events-view--shortcode{
  padding: 24px 28px !important; /* top/bottom, left/right */
}

/* 2) Undo the zero padding you set on TEC container inside lessons */
.learndash-wrapper .tribe-events .tribe-events-l-container{
  padding-top: 16px !important;
  padding-bottom: 24px !important;
}

/* Add a bit more space between course title and the status/certificate pill */
.learndash-wrapper .ld-item-list .ld-course-title {
  margin-right: 12px !important;  /* bump this up/down to taste */
}

.wp-block-instructor-role-wisdm-tabs {
  padding-top:75px !important;
  padding-bottom: 75px !important;
}


/* Hide the raw percentage field completely on 18fdg grading form percentage is being handled by js */
/** Christie: hide raw percentage fields (Form 23) */
#field_23_111,  /* Lung */
#field_23_119,  /* Colorectal */
#field_23_120,  /* Oesophageal */
#field_23_121,  /* Lymphoma */
#field_23_149   /* Head & Neck */
{ display: none !important; }


/* Christie: Force GF radios/checkboxes to Christie red */
body .gform_wrapper input[type="radio"],
body .gform_wrapper input[type="checkbox"] {
  accent-color: #8a1538 !important;
}

/* New GF styling uses CSS variables, override them too */
body .gform_wrapper {
  --gf-ctrl-accent-color: #8a1538 !important;   /* radio/checkbox fill */
  --gf-ctrl-accent-color-checked: #8a1538 !important;
}
/* === LD Profile: Name + Edit left, Stats right (no avatar) ========== */

/* Hide avatar everywhere */
.learndash-wrapper .ld-profile-summary .ld-profile-avatar,
.learndash-wrapper .ld-profile-summary [class*="avatar"],
.learndash-wrapper .ld-profile-card .ld-profile-card-avatar,
.learndash-wrapper .ld-profile .ld-profile-avatar,
.learndash-wrapper .ld-profile-summary img.avatar {
  display: none !important;
  visibility: hidden !important;
}

/* Container: name/edit + stats row */
.learndash-wrapper .ld-profile-summary {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin: 0 !important;
}

/* Left block: name + edit */
.learndash-wrapper .ld-profile-summary .ld-profile-heading {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  margin: 0 !important;
}

.learndash-wrapper .ld-profile-summary .ld-profile-edit-link {
  margin-top: 4px !important;
  text-align: left !important;
}

/* Stats block (right side) */
.learndash-wrapper .ld-profile-summary .ld-profile-stats {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
}

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 !important;
  padding: 0 28px !important;
  border: 0 !important;
  min-width: 110px;
  box-sizing: border-box;
}

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:not(:first-child){
  border-left: 1px solid #e2e7ed !important;
}

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:last-child {
  display: flex !important;
}

.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat * {
  margin: 0;
}


/* === CLZ — Footer tagline + squiggle spacing only === */

/* Kill extra bottom padding/margin on the H3 tagline */
footer #block-46 .wp-block-kadence-advancedheading {
  padding-bottom: 0 !important;
  margin-bottom: 6px !important;   /* tighten gap above squiggle */
}

/* Pull the squiggle up tight under the tagline */
footer #block-77,
footer #block-77 figure {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 0 !important;       /* remove inline gaps */
}

footer #block-77 img {
  display: block;                   /* no extra descender gap */
}
/* CLZ — Footer tagline font */
footer #block-46 .wp-block-kadence-advancedheading {
  font-family: "Ivy Journal", serif !important;
  font-weight: 400;   /* adjust if you use a different weight */
  font-style: normal;
}
/* CLZ — footer tagline SECTION spacing */
footer section#block-46 {
  margin: 8px 0 !important;   /* keep only ~8px top/bottom */
  padding: 0 !important;
}
/* === FINAL-ABSOLUTE FIX: PET-CT Header Login + Logout Buttons === */
html body header .learndash-wrapper a.ld-login.ld-button[style],
html body header .learndash-wrapper a.ld-logout.ld-button[style],
html body header .learndash-wrapper a.ld-login.ld-button,
html body header .learndash-wrapper a.ld-logout.ld-button {
  background-color: #f2ba49 !important; /* yellow */
  color: #8a1538 !important;            /* red */
  border: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
  border-radius: 6px !important;
  padding: 8px 20px !important;
  font-size: .75em !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  line-height: 1.6 !important;
  isolation: isolate !important;
  z-index: 99999 !important;
}

/* Hover state – force darker yellow */
html body header .learndash-wrapper a.ld-login.ld-button[style]:hover,
html body header .learndash-wrapper a.ld-logout.ld-button[style]:hover,
html body header .learndash-wrapper a.ld-login.ld-button:hover,
html body header .learndash-wrapper a.ld-logout.ld-button:hover {
  background-color: #d9a63f !important;
  color: #8a1538 !important;
}



/* --- Mobile tweaks --- */
@media (max-width: 767px){
  .learndash-wrapper .ld-profile-summary {
    display: block !important;
  }
  .learndash-wrapper .ld-profile-summary .ld-profile-stats {
    justify-content: space-between !important;
  }
  .learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat {
    flex: 1 1 33.33%;
    padding: 12px 8px !important;
    min-width: 0;
  }
  .learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat:not(:first-child){
    border-left: 1px solid #e2e7ed !important;
  }
}

/* Tablet Header Breathing Room Fix */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Main header wrapper */
  header.wp-block-kadence-header,
  .wp-block-kadence-header .header-row,
  .wp-block-kadence-header .inner-header-content,
  .wp-block-kadence-header .kb-header-sticky-wrapper {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* Placeholder wrapper Kadence collapses */
  .wp-block-kadence-header .header-placeholder-wrapper {
    height: auto !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
}



