/*
 Elearnhere Portal Uncanny Owl custom styling uo-override.css for styling Uncanny Owl elements
 We are using this separately from our theme style.css because not all sites will have Uncanny Owl plugins in
 NOTE functions.php will be different for sites WITH Uncanny Owl (free &/or premium) plugins as they need to enqueue this css
*/

/* ------------------ START MAIN ELEMENT ---------------------------------------- */
/* STYLES the Uncanny Dashboard as used on my-courses page - shortcode [] */

	/* remove border from UO dashboard */
	.ultp-dashboard-box {border:none;}

	/* styles the expand all / collapse all buttons */
	.ultp-dashboard-toolbar .ultp-dashboard-actions .ultp-dashboard-btn:not(:last-child) {color:#fff;background:var(--main-color);border:none;}
	.ultp-dashboard-toolbar .ultp-dashboard-actions .ultp-dashboard-btn:last-child {color:#fff;background:var(--ld-color);border:none;}

	/* add border to individual rows (courses) */
	.ultp-dashboard-course__row {position:relative;margin-top:12px;padding-top:6px;padding-bottom:6px;border:2px solid #e6e6e6;border-radius:4px;}
	.ultp-dashboard-course:first-child .ultp-dashboard-course__row {border:2px solid #e6e6e6;}

	/* manages the expanded lessons / topics boxes */
	.ultp-dashboard-lessons {position:relative;top:-1px;}
	.ultp-dashboard-lesson__row {border-right:1px solid #d9d9d9;}
	.ultp-dashboard-course__lessons, .ultp-dashboard-course__quizzes {border-bottom:1px solid #d9d9d9;}

	/* manages toggle button */
	.ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn {}
	.ultp-dashboard-course--has-lessons .ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn:before, .ultp-dashboard-course--has-quizzes .ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn:before {height:22px;width:22px;padding:4px 6px 6px 6px;color:#fff;background:var(--main-color);border-radius:11px;}
	.ultp-dashboard-course--expanded .ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn, .ultp-dashboard-course--expanding .ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn {background:none;border-right: 1px solid #d9d9d9;}
	.ultp-dashboard-course--expanded .ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn:before, .ultp-dashboard-course--expanding .ultp-dashboard-course__row .ultp-dashboard-course__toggle-btn:before {background:var(--ld-color);}
	
	/* manages course content area when expanded */
	.ultp-dashboard-course--expanded .ultp-dashboard-course__content {position:relative;top:0px;}

	/* keep status button size consistent */
	.ultp-dashboard-btn {width:100px;padding-top:6px;padding-bottom:6px;}

	/* make percentage status bigger */
	.ultp-dashboard-course__row .ultp-dashboard-course__details .ultp-dashboard-course__right .ultp-dashboard-course__progress {width:200px;position:relative;top:4px;}

/* not started row */
.ultp-dashboard-course--not_started .ultp-dashboard-course__row .ultp-dashboard-course__details .ultp-dashboard-course__right .ultp-dashboard-course__action .ultp-dashboard-btn {color:#fff;background:var(--main-color);border:none;}
.ultp-dashboard-course--not_started .ultp-dashboard-course__row .ultp-dashboard-course__details .ultp-dashboard-course__right .ultp-dashboard-course__progress .ultp-dashboard-course__progress-percentage {color:var(--main-color);}

/* in progress row */
.ultp-dashboard-course--in_progress .ultp-dashboard-course__row .ultp-dashboard-course__details .ultp-dashboard-course__right .ultp-dashboard-course__action .ultp-dashboard-btn {color:#fff;background:var(--accent-color);border:none;}
.ultp-dashboard-course--in_progress .ultp-dashboard-course__row .ultp-dashboard-course__details .ultp-dashboard-course__right .ultp-dashboard-course__progress .ultp-dashboard-course__progress-percentage {color:var(--accent-color);}

/* completed row - to follow */

/* ------------------ END MAIN ELEMENT ------------------------------------------ */
/* ------------------ START MAIN ELEMENT ---------------------------------------- */

/* STYLES the Uncanny Groups redemption form - ie where enrollment keys are entered and redeemed by learners */
form.uncanny-learndash-groups fieldset {border:none;}

/*
 Elearnhere Portal LearnDash custom styling ld-override.css for styling LearnDash elements
 We are using this separately from our theme style.css because we have found styles and elements changed, for example between v3.x and v4.x
 NOTE functions.php will need to enqueue this css to load AFTER style.css, especially where this is used for older sites that have learndash styling elements in the style.css still
*/

	/* allows centre positioning of learndash video progression videos */
	body.learndash-cpt.learndash-embed-responsive .ld-video {padding-bottom:0;height:175px;}
	@media screen and (min-width:765px){
	body.learndash-cpt.learndash-embed-responsive .ld-video {height:280px;}
	
	}
	body.learndash-cpt.learndash-embed-responsive .ld-video iframe {position:relative;}
	
/* NEW as of 28/02/24 to control videos being brought in using ELEMENTOR and video progression */
body.learndash-cpt.learndash-embed-responsive div.elementor-widget-container .ld-video {height:0;padding-bottom:56.25%;/*border:2px dashed #99f;*/}
body.learndash-cpt.learndash-embed-responsive div.elementor-widget-container .ld-video iframe {position:absolute;}
	
	/* --- START LearnDash CUSTOM & OVERRIDE styles --- */

	/* styles LD course grid (eg as used on homepage) */
	.ld-course-list-items .ld_course_grid .thumbnail.course img {max-width:200px;width:80%; margin-top:30px;}
	.ld-course-list-items .ld_course_grid .entry-title {min-height:60px;}
	
	/* control styles on My Courses page which uses a LearnDash shortcode - tested and developed in demo.easy2training.co.uk */
	.learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-edit-link {display:none;}
	.learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-avatar {display:none;}
	.learndash-wrapper .ld-profile-summary .ld-profile-card .ld-profile-heading {font-weight:400;}
	.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat {font-family:'poppins',sans-serif;color:var(--heading-color);}
	.learndash-wrapper .ld-profile-summary .ld-profile-stats .ld-profile-stat strong {font-weight:400;font-size:250%;}
	.my-courses-profile .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {font-family:'poppins',sans-serif;color:var(--ld-color);}
	.my-courses-profile .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name span {padding-top:5px;}
	.my-courses-profile .learndash-wrapper .ld-status {color:#fff;background:none;background-color:var(--ld-color);}


	/* CEH edit - NOTE element left as was because --body-color changed to white in admin.css*/ 
	.ld-focus-main {background:var(--body-color);}
	.learndash-wrapper .ld-tab-content {font-size:1.1em;}
	
	.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content h1:first-child {display:block;padding:0;color:var(--dark-color);}
	.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content .learndash_post_sfwd-lessons h1 {color:var(--ld-color);padding-left:0;}
	.ld-focus-main .learndash-wrapper {padding:0.5rem 0;margin-bottom:1.5em;background:none !important;}
	
	/* CEH edit - NEW elements - changes the branding logo size and position in focused mode */
	.learndash-wrapper .ld-focus .ld-focus-header {}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {padding: .2em 1em .5em 3.3em;background:none;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo img {/*height:58px; use these if logo overhand not wanted , and change padding for left above from 3.3em to a higher number (4em) to move the logo right to avoid clash with side menu header  ->  */height:auto;max-height:42px;padding-top:4px;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-progress-wrap {}
	
	/* 2023v2 Nov 2022 edit */
	.learndash-wrapper .ld-focus .ld-focus-header .ld-progress-wrap {max-width:500px;}
	/* CEH edit - NEW elements - changes the nav sidebar colour  */
	.learndash-wrapper .ld-focus .ld-focus-sidebar {background:var(--ld-focused-sidebar-color);}
	@media screen and (max-width: 768px) {
	.learndash-wrapper .ld-focus .ld-focus-sidebar {z-index:10000;}
	/* 2023v2 Nov 2022 edit */
	.learndash-wrapper .ld-content-actions .ld-content-action {padding:0}
	
	}
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item {background:var(--ld-focused-sidebar-color);}
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item.ld-is-current-lesson {width:100%;background:var(--body-color);}
	/* CEH edit */
	.learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-sidebar {background:var(--ld-focused-sidebar-color);}
	/* CEH edit - NEW element - change colour of progress bar as we have had to change font to white - AMENDED only in focus page now */
	.learndash-wrapper .ld-course-status.ld-course-status-enrolled {border-radius:unset;}
	
	/* --- force top action buttons for small screens to display block as they don't fit with inherited flex styling --- */
	@media screen and (max-width: 400px) {
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions {display:block;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action:not(first-child) {border-top:1px solid #fff;}

	}
	
	/* shows the page title in LESSONS - overrides our hide element above */
	body.sfwd-lessons-template-default h1.entry-title {display:block;color:var(--heading-color);}
	body.sfwd-lessons-template-default .ast-post-format-.single-layout-1 {padding:1.25rem;background:#fff;border:1px solid rgba(0,0,0,.125);border-radius:4px;box-shadow:0px 5px 20px rgba(0, 0, 0, 0.05);}
	/* shows the page title in COURSES - overrides our hide element above */
	body.sfwd-courses-template-default h1.entry-title {display:block;text-align:center;margin-bottom:24px;color:var(--ld-color);}
	/* CEH edit */
	body.sfwd-courses-template-default .ast-post-format-.single-layout-1 {padding:1.25rem;/* REMOVE -> background:#fff;border:1px solid rgba(0,0,0,.125);border-radius:4px;box-shadow:0px 5px 20px rgba(0, 0, 0, 0.05);*/}
	
/* Start breadcrumb elements */
	/* 2023v2 Nov 2022 edit */
	.ld-focus-main .learndash-shortcode-wrap {padding:0;}
	.learndash-wrapper .ld-lesson-status {background:none;border-radius:unset;}
	
	/* 2023v2 Nov 2022 edit */
	.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a {font-size:110%;font-weight:500;}
	
	.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a:link {color:var(--heading-color);}
	.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a:visited {color:var(--heading-color);}
	.learndash-wrapper .ld-breadcrumbs .ld-breadcrumbs-segments span a:hover {color:var(--accent-color);}
	.learndash-wrapper .ld-breadcrumbs {background:var(--ld-bar-color);border-radius:unset;}
	
	/* lesson status */
	.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-complete {background:var(--ld-color);margin-top:5px;}
	.learndash-wrapper .ld-breadcrumbs .ld-status.ld-status-progress {background:var(--ld-in-progress-color);margin-top:5px;}
	
	/* lesson list */
	.learndash-wrapper .ld-item-list.ld-course-list .ld-section-heading h2, .learndash-wrapper .ld-item-list.ld-lesson-list .ld-section-heading h2 {color:var(--ld-color);}
	.learndash-wrapper .ld-item-list .ld-item-list-item {}
	.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-status-icon {margin-top:0.4em;}
	.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded:before {width:12px;height:12px;left:65px;}
	.learndash-wrapper .ld-status-icon .ld-icon:before {border:3px solid var(--ld-color);border-radius:15px;}
	.learndash-wrapper .ld-status-icon .ld-icon-quiz:before {border:none;}
	.learndash-wrapper .ld-table-list a.ld-table-list-item-preview:hover {color:var(--dark-color);}
	.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name {color:var(--dark-color);font-family:'poppins', sans-serif;}
	.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-name .ld-item-title {padding-top:9px;font-size:120%;line-height:1.2;}
	.learndash-wrapper .ld-item-list .ld-item-list-item a.ld-item-name:hover {color:var(--main-color);}
	
	/* styles course management elements like ticks, buttons and progress bars etc */
	/* CEH edit */
	.learndash-wrapper .ld-button {position:relative;font-weight:700;font-size:1.2em;border-radius:4px;background-color:var(--ld-in-progress-color);transition:all 0.2s ease;}
	.learndash-wrapper .ld-button:hover {opacity:1;background-color:var(--ld-in-progress-color);transition:all 0.2s ease;}
	
	/* 2023v2 Nov 2022 edit */
	.learndash-wrapper .ld-content-actions .ld-content-action .ld-button .ld-text {font-weight:500;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action .ld-button {padding:1.1em;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action .ld-button .ld-text {font-weight:400;}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_header {font-weight:500;}
	
	/* CEH edit -> managed individual nav buttons so next is orange */
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button {background: var(--accent-color);}
	
	/* CEH edit - NEW element to change arrow style */
	.ld-icon-arrow-left {position:absolute;left:11px;}
	.ld-icon-arrow-left:before {display:inline-block;content:'';width:16px;height:28px;background:url(../_resources/left-arrow-nav.png) no-repeat center;}
	.ld-focus-header .ld-icon-arrow-left {position:absolute;left:8px;}
	.ld-focus-header .ld-icon-arrow-left:before {display:inline-block;content:'';width:12px;height:21px;background:url(../_resources/left-arrow-nav.png) no-repeat center;background-size:12px 21px;}
	.ld-icon-arrow-right {position:absolute;right:11px;}
	.ld-icon-arrow-right:before {display:inline-block;content:'';width:16px;height:28px;background:url(../_resources/right-arrow-nav.png) no-repeat center;}
	
	/* pagination elements for course page */
	.learndash-wrapper .ld-pagination .ld-pages {background:var(--ld-color);color:#fff;border-radius:25px;}
	div.ld-pages .ld-icon-arrow-right, div.ld-pages .ld-icon-arrow-left {position:inherit;}
	
	/* Adjustment due to LearnDash v.3.4.0.8 having updated styling */
	.ld-focus-sidebar-trigger .ld-icon-arrow-right:before {display:inline-block;content:'\e914';height:unset;position:relative;left:5px;background:none;}*/
	
	.ld-focus-header .ld-icon-arrow-right {position:absolute;right:8px;}
	.ld-focus-header .ld-icon-arrow-right:before {display:inline-block;content:'';width:12px;height:21px;background:url(../_resources/right-arrow-nav.png) no-repeat center;background-size:12px 21px;}
	/* fixes for the sidebar menu */
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger .ld-icon-arrow-left{}
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger .ld-icon {width:30px;left:22px;}
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger .ld-icon-arrow-left:before {position:relative;left:5px;background:none;content: '\e914';width:10px;height:10px;}

	
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(1) .ld-button:hover:after  {border-top-left-radius:30px;border-bottom-left-radius:30px;}
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button:hover:after  {border-top-right-radius:30px;border-bottom-right-radius:30px;}
	.learndash-wrapper .ld-focus-header .ld-button:hover:after {display:none;}
	
	.learndash-wrapper .ld-status-complete {background-color:var(--ld-color) !important;}
	.learndash-wrapper .ld-progress .ld-progress-bar {height:12px;box-shadow:inset 2px 2px 2px rgba(0,0,0,0.15);}
	/* CEH edit */
	.learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {height:12px;background:var(--ld-color);}
	/* CEH edit */
	.sfwd-courses .post-thumb-img-content {text-align:center;}
	.sfwd-courses .post-thumb-img-content img {max-width:180px;}
	.learndash-wrapper .ld-course-status .ld-status.ld-status-progress {background:var(--ld-in-progress-color);}
	/* CEH edit */
	.learndash-wrapper .learndash_mark_complete_button, .learndash-wrapper #learndash_mark_complete_button {position:relative;padding-right:12px;/* CHANGE -> font-weight:400;font-size:1em;*/font-weight:700;font-size:1.2em;border-radius:4px;background-color:var(--ld-color);display:inline-block;text-align:center;}
	.learndash-wrapper .learndash_mark_complete_button, .learndash-wrapper #learndash_mark_complete_button {line-height:1.35;}
	.learndash-wrapper .ld-focus-header .learndash_mark_complete_button, .learndash-wrapper .ld-focus-header #learndash_mark_complete_button {line-height:1.0;}
	/* CEH edit */
	.learndash-wrapper .learndash_mark_complete_button:hover, .learndash-wrapper #learndash_mark_complete_button:hover {opacity:1;background-color:var(--footer-color);transition:all 0.2s ease;}
	/* CEH edit */
	.learndash-wrapper .ld-focus .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage {/* CHANGE -> color:var(--ld-color);color:var(--body-color);*/font-weight:500;}
	.learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage {color:var(--ld-color);}
	.learndash-wrapper .ld-course-status .ld-status.ld-status-complete {background:var(--ld-color);}
	/* CEH edit - NEW element */
	.learndash-wrapper .ld-focus .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-steps {/*color:var(--body-color);*/}
	
	.content-box.twocol .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-steps {display:none;}
	.content-box.threecol .learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-steps {display:none;}
	/* CEH edit */
	.learndash-wrapper .ld-button.ld-button-transparent {position:relative;font-weight:400;font-size:1em;color:#fff;border-radius:0px;background-color:var(--ld-in-progress-color);}
	.learndash-wrapper .ld-button.ld-button-transparent:hover {position:relative;font-weight:400;font-size:1em;color:#fff;border-radius:0px;background-color:var(--ld-in-progress-color);}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:nth-child(2) .ld-button.ld-button-transparent {background-color:var(--accent-color);}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:nth-child(2):hover .ld-button.ld-button-transparent {background:var(--footer-color);}
	
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:last-child form.sfwd-mark-complete {margin:0;background-color:var(--ld-color) !important;}
	
		.learndash-wrapper .ld-content-actions {text-align:center;}
	.learndash-wrapper .ld-content-actions .ld-content-action {width:200px;margin:20px auto;}
	.learndash-wrapper .ld-focus-header .ld-content-actions .ld-content-action {min-width:200px;width:auto;}
	.learndash-wrapper .ld-content-actions .ld-content-action form.sfwd-mark-complete {}
	
	/* CEH edit */
	.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back {display:none;margin:0;padding:6px;background:#333;font-size:1em;color:#fff;border-radius:4px;}
	.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back:after {content:' Menu';}
	
	/* Styles LearnDash lesson content */
	body.admin-bar .learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {margin:0px auto;}
	.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {margin:32px auto 0px auto;}
	body.admin-bar .learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-main .ld-focus-content {margin:0px auto;}
	.learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-main .ld-focus-content {margin:32px auto 0px auto;}
	.learndash-wrapper .ld-focus .ld-tab-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery) {list-style:disc outside none;padding-left:0px;width:90%;}
	.learndash-wrapper .ld-focus .ld-tab-content ol:not(.blocks-gallery-grid):not(.wp-block-gallery) {list-style:decimal outside none;padding-left:0px;width:90%;}
	.learndash-wrapper h3{margin-bottom:0.8em;}
	.learndash-wrapper ul, .learndash-wrapper ol {position:relative;color:var(--text-color);}
	.learndash-wrapper ul li, .learndash-wrapper ol li {position:relative;left:20px;line-height:1.3;padding-bottom:12px;font-size:1.2em !important;text-align:left;color:var(--text-color);}
	.learndash-wrapper .wpProQuiz_questionList li {position:relative;left:0px;}
	.learndash-wrapper .end-test-button{text-align:center;padding-top:18px;padding-bottom:18px;}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem {width:96%;}
	
/* Additional styling for "plagiarism" questions march 2022 */
.learndash-wrapper .wpProQuiz_content .wpProQuiz_forms table {display:flex;}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_forms td {padding-right:10px;}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_forms table tr td:first-child {width:unset;display:flex;flex-direction:column;flex:inherit;}

@media screen and (min-width: 412px) {
	/* CEH edit */
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:last-child form.sfwd-mark-complete {border-top:3px solid var(--ld-color);/* border-bottom:3px solid var(--ld-color); CHANGE ->*/border-bottom:3px solid var(--ld-color);}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:last-child form.sfwd-mark-complete:hover {border-top:3px solid var(--dark-color);/* border-bottom:3px solid var(--ld-color); CHANGE ->*/border-bottom:3px solid var(--dark-color);}
	
	}
	/* CEH edit */
	.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button, .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete #learndash_mark_complete_button, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete .learndash_mark_complete_button, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete #learndash_mark_complete_button {color:#fff;border-radius:unset;transition:all 0.2s ease;/* NEW -> used to set header nav buttons back now bottom nav buttons have bold, larger font*/font-size:1em;font-weight:400;}
	/* CEH edit - NEW element -> */ 
	.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button:hover, .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete #learndash_mark_complete_button:hover, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete .learndash_mark_complete_button:hover, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete #learndash_mark_complete_button:hover {background:var(--dark-color) !important;transition:all 0.2s ease;}
	
	@media screen and (min-width: 768px) {
	.learndash-wrapper .ld-content-actions {margin:0 auto;}
	/* CEH edit - NEW element -> overrides learndash bootstrap.css to leave 4 col layout until screen width 1024 */ 
	.ld-course-list-items .col-sm-6 {flex:0 0 50%;max-width:50%;}
	
	/* CEH edit */
	.learndash-wrapper .ld-content-actions .ld-content-action {/* min-width:165px;max-width:165px; CHANGE ->*/min-width:200px;max-width:200px;flex:1;}
	/* CEH edit - NEW element to style buttons in the footer actions area */
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(1) .ld-button {border-top-left-radius:30px;border-bottom-left-radius:30px;}
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(1) .ld-button {padding-left:44px;}
	/* 2023v2 Nov 2022 edit */
	/* override setting above to control header action buttons */
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions {width:unset;flex:unset;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action .ld-button .ld-text {font-size:82%;}
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(1) .ld-button {padding-left:33px;}
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action:nth-child(1) .ld-button {padding-left:26px;}
	
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(1) .ld-button:hover {color:#fff;background:var(--footer-color);}
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button {background:var(--accent-color);border-top-right-radius:30px;border-bottom-right-radius:30px;}
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button {padding-right:50px;}
	.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button:hover {color:#fff;background:var(--footer-color);}
	/* CEH edit - NEW element - controls size of focus neader navigation buttons separately from bottom of page buttons */
	.learndash-wrapper .ld-focus-header .ld-content-actions .ld-content-action {position:relative;min-width:165px;max-width:165px;flex:1;}
	.learndash-wrapper .ld-focus-header .ld-content-actions .ld-content-action:nth-child(1) .ld-button {border-radius:unset;cursor:pointer;}
	.learndash-wrapper .ld-focus-header .ld-content-actions .ld-content-action:nth-child(1) .ld-button:hover:after {position:absolute;width:100%;height:100%;content:' ';opacity:0.15;background-color:#fff;cursor:pointer;}
	
	.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back {margin:6px 0 0 0;}
	/* CEH edit */
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:last-child form.sfwd-mark-complete {/*border-top:2px solid var(--ld-color);border-bottom:4px solid var(--ld-color); CHANGE ->*/border-top:none;border-bottom:none;}
	/* CEH edit - NEW element -> */ 
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action:last-child form.sfwd-mark-complete:hover {border-top:none;border-bottom:none;}
	/* Styles LearnDash lesson content */
	.learndash-wrapper .ld-focus .ld-tab-content ul:not(.blocks-gallery-grid):not(.wp-block-gallery), .learndash-wrapper .ld-focus .ld-tab-content ol:not(.blocks-gallery-grid):not(.wp-block-gallery) {padding-left:24px;}
	/* CEH edit */
	.learndash-wrapper .learndash_mark_complete_button, .learndash-wrapper #learndash_mark_complete_button {text-align:left;}

	/* CEH edit */
	.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button, .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete #learndash_mark_complete_button, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete .learndash_mark_complete_button, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete #learndash_mark_complete_button {color:#fff;/* NEW -> */border-top:2px solid var(--ld-color);border-bottom:4px solid var(--ld-color);}
	/* CEH edit - NEW element -> */
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action {border-right:4px solid #fff;}
	/* 2023v2 Nov 2022 edit */
	.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action {border-right:1px solid #fff;}
	
	.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete .learndash_mark_complete_button:hover, .learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete #learndash_mark_complete_button:hover, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete .learndash_mark_complete_button:hover, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete #learndash_mark_complete_button:hover {background:var(--footer-color) !important;border-top:2px solid var(--footer-color);
    border-bottom: 4px solid var(--footer-color);}

}
	
	.learndash-wrapper .sfwd-mark-complete:after, .learndash-wrapper #sfwd-mark-complete:after {display:none;content:'?';font-family:Arial, Helvetica, sans-serif !important;font-size:120%;color:#fff;}
	.learndash-wrapper .ld-focus .ld-focus-header .sfwd-mark-complete:after, .learndash-wrapper .ld-focus .ld-focus-header #sfwd-mark-complete:after {display:none;content:'?';font-family:Arial, Helvetica, sans-serif !important;font-size:120%;color:#fff;}
	.learndash-wrapper .course_progress .sending_progress_bar{height:12px;box-shadow:inset 2px 2px 2px rgba(0,0,0,0.15);background:var(--ld-color);}
	.learndash-wrapper .ld-table-list .ld-table-list-header {flex-direction:unset !important;background:var(--ld-in-progress-color);max-height:12px;}
	.learndash-wrapper .ld-status-icon.ld-quiz-complete {color:var(--ld-color);}
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list.ld-table-list .ld-table-list-item.learndash-complete .ld-topic-title {color:var(--ld-color);}
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list.ld-table-list .ld-table-list-item.learndash-complete .ld-topic-title:after {display:inline-block;padding-left:2px;content:'- DONE';color:var(--ld-color);font-weight:bold;}
	.learndash-wrapper .ld-item-list.ld-lesson-list .ld-topic-list .ld-table-list-item.learndash-complete .ld-item-title {color:var(--ld-color);}
	.learndash-wrapper .ld-item-list.ld-lesson-list .ld-topic-list .ld-table-list-item.learndash-complete .ld-item-title:after {display:inline-block;padding-left:2px;content:'- DONE';color:var(--ld-color);font-weight:bold;}
	.learndash-wrapper .ld-table-list .ld-table-list-item.learndash-complete .ld-item-title {color:var(--ld-color);}
	.learndash-wrapper .ld-table-list .ld-table-list-item.learndash-complete .ld-item-title:after {display:inline-block;padding-left:2px;content:'- DONE';color:var(--ld-color);font-weight:bold;}
	.learndash-wrapper .ld-expand-button {background:var(--ld-in-progress-color);}
	/* LD error? the input buttons are tiny on mobile because set to 2% */
	.learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList input.wpProQuiz_questionInput {width:auto;}
	
	/* Override for the "Post a comment" link on feedback pages to bring it in open */
	/* Override to reverse the "ld-collapsed" style display none */
	.learndash-wrapper .ld-focus-comments #ld-comments-form.ld-collapsed {display:block;}
	.learndash-wrapper .ld-focus-comments .ld-expand-button.ld-button-alternate {display:none;}
	/*.ld-focus-comments div#ld-comments-post-button span.ld-text {}*/
	
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem label {background:#fff;}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem label.is-selected, .learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem label:focus-within {border-color:var(--ld-color);}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_button, .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2 {background-color:var(--accent-color);font-weight:normal;font-size:1em;margin-right:20px;}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_button:hover, .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2:hover {background-color:var(--dark-color);font-weight:normal;font-size:1em;}
	/* focus mode styling elements */
	/* CEH edit */ 
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {background:none;/* background-color:var(--dark-color); CHANGE -> */background-color:var(--footer-color);}
	/* CEH edit */ 
	.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger {background:none;/* background-color:var(--dark-color); CHANGE -> */background-color:var(--footer-color);}

	/* CEH edit */ 
	.learndash-wrapper .ld-focus .ld-focus-header .ld-mobile-nav span {background-color:var(--main-color)}
	/* CEH edit - NEW elements - puts strapline in focus menu area */ 
	.learndash-wrapper .ld-focus .ld-focus-header .ld-progress {position:relative;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;}
	/* CEH edit - this element shows strapline on both mobile and desktop, so is hidden from desktop further below
	.learndash-wrapper .ld-focus .ld-focus-header .ld-progress:before {content:'Learning made easy';color:#fff;display:inline-block;font-size:120%;position:absolute;left:5px;} */
	
	.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {display:none;}
	.learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-sidebar-trigger:before {content:'Menu';color:#fff;position:relative;top:22px;left:3px;font-size:88%;z-index:999;}
	/* LD error? the arrow symbol doesn't change when minimised */
	.learndash-wrapper .ld-focus.ld-focus-sidebar-collapsed .ld-focus-sidebar-trigger .ld-icon:before {content: '\e913';}
	
	/* displaying answers */
	body .wpProQuiz_content .wpProQuiz_questionList[data-type=multiple] .wpProQuiz_answerCorrect {background:none;}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem.wpProQuiz_answerCorrect label {background:#009900;}
	.learndash-wrapper .wpProQuiz_content .wpProQuiz_response {background:#fff;}
	.learndash-wrapper .wpProQuiz_content a#quiz_continue_link {padding:.4em 1.5em;font-weight:normal;font-size:1em;background:var(--ld-in-progress-color);transition:all 0.2s ease;}
	/* 2023v2 Nov 2022 edit */
	.learndash-wrapper .wpProQuiz_content a#quiz_continue_link {padding:1em 1.5em;}
	
	.learndash-wrapper .wpProQuiz_content a:hover#quiz_continue_link {background:var(--dark-color);transition:all 0.2s ease;}
	.learndash-wrapper .wpProQuiz_graded_points, .learndash-wrapper .wpProQuiz_points {background-color:#fff;}
	
	/* Styles sidebar elements for training-sidebar */
	.learndash-incomplete .learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading {color:var(--ld-in-progress-color);}
	.learndash-complete	.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading {color:var(--ld-color);}
	.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading:hover {color:var(--accent-color);}
	.learndash-wrapper .ld-course-navigation .ld-lesson-item.ld-is-current-lesson .ld-lesson-item-preview-heading, .learndash-wrapper .ld-course-navigation .ld-lesson-item.ld-is-current-lesson .ld-lesson-title {color:var(--ld-color);}
	.learndash-wrapper .ld-course-navigation .ld-lesson-item.ld-is-current-lesson .ld-lesson-item-preview-heading .ld-status-incomplete, .learndash-wrapper .ld-course-navigation .ld-lesson-item.ld-is-current-lesson .ld-lesson-title .ld-status-incomplete {border:2px solid var(--ld-in-progress-color);}
	.learndash-wrapper .ld-expand-button.ld-button-alternate .ld-icon {background:var(--ld-in-progress-color);}
	.learndash-wrapper .ld-expand-button.ld-button-alternate {color:var(--ld-color);font-weight:normal;}

/* Start REVISED styles --- */
/* To handle Learndash Legacy template when active, suggest setting to Learndash 3.0 template */
body .thumbnail.course .ld_course_grid_price, body .thumbnail.course .ld_course_grid_price.ribbon-enrolled, body #learndash_lessons #lesson_heading, body #learndash_profile .learndash_profile_heading, body #learndash_quizzes #quiz_heading, body #learndash_lesson_topics_list div > strong, body .learndash-pager span a, body #learndash_profile .learndash_profile_quiz_heading {background-color:var(--ld-color);}
	
	/* course progress bar */
	body dd.course_progress div.course_progress_blue, body .wpProQuiz_content .wpProQuiz_time_limit .wpProQuiz_progress {background-color:var(--ld-color);}
	
	/* Previous and next lesson buttons */
	#learndash_next_prev_link a:link, #learndash_next_prev_link a:visited {background:var(--accent-color);color:#fff;border-radius:4px;transition:all 0.3s ease;}
	#learndash_next_prev_link a:hover, #learndash_next_prev_link a:focus {background:var(--main-color);color:#fff;border-radius:4px;transition:all 0.3s ease;}
	
/* -- END REVISED styles ------ */
	
	/* styles for LearnDash Course Grid add-on plugin */
	#ld_course_list .attachment-course-thumb {max-width:180px;margin-top:30px;}
	.ld-course-list-items .ld_course_grid .thumbnail.course {box-shadow:0px 5px 20px rgba(0, 0, 0, 0.05);}
	.ld-course-list-items .ld_course_grid .thumbnail.course:hover {box-shadow:0px 5px 20px rgba(0, 0, 0, 0.33);}
	.ld-course-list-items .ld_course_grid .entry-title {font-family:'poppins', sans-serif;color:var(--heading-color);text-align:center;font-size:1.2em;}
	#ld_course_list .entry-title {font-size:2em;}
	.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled {background:var(--main-color);}
	.ld-course-list-items .ld_course_grid .thumbnail.course .ld_course_grid_price.ribbon-enrolled:before {border-top:4px solid var(--accent-color);border-right:4px solid var(--accent-color);}
	.ld-course-list-items .ld_course_grid .btn {font-size:110%;}
	.ld-course-list-items .ld_course_grid .btn-primary, body #ld_course_list .btn {background-color:var(--main-color);border-color:#fff;}
	.ld-course-list-items .ld_course_grid .btn-primary:hover, body #ld_course_list .btn:hover {background-color:var(--accent-color);border-color:var(--accent-color);}
	/* centres the course boxes on tablet screens */
	.ld-course-list-items .col-sm-8 {margin:0 auto 1.5em auto;}
	@media screen and (min-width: 768px) {
	.ld-course-list-items .col-md-4 {flex:0 0 50%;max-width:50%;}
	}
	@media screen and (min-width: 1024px) {
	.ld-course-list-items .col-md-4 {flex:0 0 33.3333333333%;max-width:33.3333333333%;}
	}
/* --- END LearnDash CUSTOM & OVERRIDE styles ----- */

/* =Media queries
-------------------------------------------------------------- */

@media screen and (min-width: 765px) {
/* shows the page title in courses - overrides our hide element above */
body.sfwd-courses-template-default h1.entry-title {text-align:left;}

}

@media screen and (min-width: 921px) {
/* CEH edit */
.sfwd-courses .post-thumb-img-content {text-align:left;padding-left:0px;}
/* CEH edit */
.ld-focus-main .learndash-wrapper {padding:1.25rem;}
/* 2023v2 Nov 2022 edit */
.ld-focus-main .learndash-shortcode-wrap {padding:0;}
.learndash-wrapper .ld-focus .ld-focus-header .ld-content-actions .ld-content-action:nth-child(1) .ld-button {padding-left:16px;}

.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content {padding:2em 5em;}
}
/* Mobile Breakpoint - menu changes from mobile to desktop 
 * This is our override in customise > header > primary menu -> Mobile Menu Menu Breakpoint 
 * from the Astra 921px default
*/
@media screen and (min-width: 1024px) {
	/* moves content box in sidebar up in learndash course and lesson area */
	body.learndash-cpt #secondary .content-box {width:97.6%;margin:0 auto 1.5em auto;}
	
	/* CEH edit - NEW element -> overrides learndash bootstrap.css to leave 4 col layout until now */ 
	.ld-course-list-items .col-sm-6 {flex:0 0 25%;max-width:25%;}
	/* CEH edit - NEW elements - overrides position from mobile setting above */
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress-wrap {/*position:relative;top:75px;*/}
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress:before {display:none;}

}

@media screen and (min-width: 1280px) {
/* CEH edit - NEW element controls width of navigation buttons to centralise them in footer area */
.learndash-wrapper .ld-content-actions {width:75%;}
/* 2023v2 Nov 2022 edit */
/* override setting above to control header action buttons */
.learndash-wrapper .ld-content-actions .ld-content-action {padding:0;}
.learndash-wrapper .ld-content-actions .ld-content-action .ld-button .ld-text {padding:0;}
.learndash-wrapper .ld-button.ld-button-transparent {font-size:unset;}

}


/* Hide the second ld-content-actions div */
.ld-content-actions:nth-of-type(2) {
    display: none;
}
/* Hide the middle "Back to Course" button completely */
.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(2) {
    display: none !important;
}

/* Override the right button (Next Quiz) - now becomes 2nd child after hiding middle */
.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(2) .ld-button:not([disabled]):not(.ld-button-transparent):not(.ld--ignore-inline-css) {
    background-color: #f0844f !important;
}

/* Alternative approach: Target the 3rd child before hiding middle button */
.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button:not([disabled]):not(.ld-button-transparent):not(.ld--ignore-inline-css) {
    background-color: #f0844f !important;
}

/* Hover states for the custom button */
.learndash-wrapper .ld-content-actions .ld-content-action:nth-child(3) .ld-button:hover:not([disabled]):not(.ld-button-transparent):not(.ld--ignore-inline-css) {
    background-color: #e6753e !important; /* Darker shade for hover */
}