/**
Theme Name: IKHLA
Author: Insurance Knowledge Hub
Author URI: https://ik-hub.com
Description: Theme for Insurance Knowledge Hubs Learning Accelerator
Version: 1.5.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ikhla
Template: astra
*/

.wp-block-uagb-container.alignfull.uagb-is-root-container .uagb-container-inner-blocks-wrap {
    margin-top: 12px;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
    border-bottom: 2px solid transparent;
    position: relative;
    overflow: hidden;
    line-height: 20px;
    padding: 10px 5px;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 40%;
    width: 0;
    height: 2px;
    background-color: #127cc4;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item:hover::after {
    width: 100%;
}

a.menu-link {
    font-family: 'Gabarito', Sans-serif;
     font-size: 19px!important;
    color: white!important;
	padding: 10px;
}

.typewriter-container {
    display: flex;
    align-items: center;
}

.typewriter-text {
    font-family: 'Gabarito', Arial, sans-serif;
    font-size: calc(calc(18px * 1.08) * 1.08); 
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold; 
}

.typewriter-cursor {
    display: inline-block;
    width: 4px;
    height: 1.5em;
    background-color: #157DC5;
    margin-left: 2px;
    opacity: 1;
    transition: opacity 0.3s;
}

/* Hide the LearnDash course content section on all single course pages */
body.single-sfwd-courses .learndash-wrapper .ld-item-list.ld-lesson-list {
    display: none;
}

.custom-course-header {
    display: flex;
    flex-direction: row-reverse; 
    align-items: center;
    padding: 20px;
    background-color: #1c1c1c; 
    color: #ffffff;
    gap: 20px;
}

.custom-course-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 20px;
}

.custom-course-content {
    flex: 1;
    max-width: 50%;
}

.custom-course-image {
    flex: 1;
    max-width: 50%;
}

.custom-course-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.custom-course-description {
    color: #d3d3d3;
}

.custom-breadcrumbs {
    margin-top: 10px;
    color: #00aaff;
}

.ld_course_grid .sfwd-lessons .caption{
    display: none!important;
}



img.footer-logo {
    opacity: .1;
}

/* Default padding for larger screens */
.custom-course-header {
    padding: 2em 26em; 
}

/* Adjust padding for medium screens (tablets) */
@media (max-width: 1024px) {
    .custom-course-header {
        padding: 2em 10em; 
    }
}

/* Adjust padding for smaller screens (mobile) */
@media (max-width: 768px) {
    .custom-course-header {
        padding: 2em 0em; 
        flex-direction: column; 
        text-align: center; 
    }
}


.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
    border-bottom: 1px solid var(--ast-border-color);
    margin: 0;
    padding: 2em 2em;
}

@media (min-width: 993px) {
    .ast-separate-container #primary, .ast-separate-container.ast-left-sidebar #primary, .ast-separate-container.ast-right-sidebar #primary {
        margin: 2em 0;
        padding: 0;
    }
}


.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: #2D2D2D !important;
    background-image: url('https://ik-hub.com/wp-content/uploads/2023/11/Insurance_Knowledge_Logo_Mark_Blue_Keyline.svg') !important;
    background-size: 34% !important;
    background-repeat: no-repeat !important;
    background-position: calc(62% - 50vw) center !important;
}

.custom-course-content {
    position: relative; 
    z-index: 1; 
}

.custom-course-content::before {
    content: ''; 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2; 
    background-image: url('https://ik-hub.com/wp-content/uploads/2023/11/Insurance_Knowledge_Hub_LetterMark.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    transition: all var(--bde-transition-duration) ease-in-out;
    z-index: -1; 
    pointer-events: none; 
}

/* Learndash */

:root {
	--ld-dark-mode-header-bg: #2d2d2d;
	--ld-dark-mode-sidebar-bg: #262626;
	--ld-dark-mode-content-bg: #262626;
	--ld-dark-mode-content-text: #eeeeee;
	--ld-dark-mode-text-secondary: #eeeeeee;
	--ld-dark-mode-highlight-color: #137dc5;
}


.learndash-wrapper h1,h2,h3,h4,h5,p,a,span,label,div,section,article {
    font-family: 'Gabarito', Arial, sans-serif;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list.ld-table-list {
    background-color: #1c557b;
    border-radius: 0;
    margin: 0;
    padding: 1em;
    position: relative;
}

/* Header Area */
.learndash-wrapper .ld-focus .ld-focus-header,
.learndash-wrapper .ld-focus .ld-focus-header .ld-brand-logo {
	background: var(--ld-dark-mode-header-bg);
}
.learndash-wrapper .ld-focus .ld-focus-header {
	border: 0;
	color: var(--ld-dark-mode-content-text);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-button {
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-focus .ld-focus-header .ld-button:hover,
.learndash-wrapper .ld-focus .ld-focus-header .ld-button:active,
.learndash-wrapper .ld-focus .ld-focus-header .ld-button:focus {
	color: var(--ld-dark-mode-highlight-color);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-progress,
.learndash-wrapper .ld-focus .ld-focus-header .ld-content-action,
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu {
	border-color: rgba(255,255,255,0.1);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items {
	background: var(--ld-dark-mode-header-bg);
}
.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items::before {
	border-bottom-color: var(--ld-dark-mode-header-bg);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a:hover {
	color: var(--ld-dark-mode-highlight-color);
}

.learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-text {
    color: #eeeeee;
    font-size: 1em;
}

.learndash-wrapper .ld-focus .ld-focus-header {
 height: 64px;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar {
    padding-top: 64px;
}

.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-section-heading {
    color: var(--ld-dark-mode-text-secondary);
    border-top: 0px!important;
}

/* Progress Bar */
.learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage {
	color: var(--ld-dark-mode-highlight-color);
}
.learndash-wrapper .ld-focus .ld-focus-header .ld-progress .ld-progress-bar {
	background-color: rgba(255,255,255,0.1);
}
.learndash-wrapper .ld-focus .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
	background-color: var(--ld-dark-mode-highlight-color);
}

/* Main Content Area */
body.ld-in-focus-mode,
body.ld-in-focus-mode div.learndash-wrapper {
	background: var(--ld-dark-mode-content-bg);
}

.ld-focus .ld-focus-content {
	color: var(--ld-dark-mode-content-text);
}

.ld-focus .ld-focus-content h1,
.ld-focus .ld-focus-content h2,
.ld-focus .ld-focus-content h3,
.ld-focus .ld-focus-content h4,
.ld-focus .ld-focus-content h5,
.ld-focus .ld-focus-content h6 {
	color: var(--ld-dark-mode-content-text);
}

.ld-focus .ld-tabs-content a {
	color: var(--ld-dark-mode-content-text);
	text-decoration: underline;
}
.ld-focus .ld-focus-content a:hover {
	color: var(--ld-dark-mode-highlight-color);
}

/* Breadcrumbs */
.learndash-wrapper .ld-topic-status {
	background: transparent;
}
.learndash-wrapper .ld-breadcrumbs {
	background: rgb(45 45 45);
	color: var(--ld-dark-mode-text-secondary);
}

/* Tabs */
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab {
	color: var(--ld-dark-mode-text-secondary);
}
.learndash-wrapper .ld-tabs .ld-tabs-navigation::after {
	background: rgba(255,255,255,0.05);
}
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active,
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab:hover,
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab:active,
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab:focus {
	color: var(--ld-dark-mode-highlight-color)
}
.learndash-wrapper .ld-tabs .ld-tabs-navigation .ld-tab.ld-active::after {
	background: var(--ld-dark-mode-highlight-color);
}

/* Lesson Content */
.learndash-wrapper .ld-table-list .ld-table-list-header {
	background: rgba(255,255,255,0.05);
	border-bottom: 1px solid var(--ld-dark-mode-content-bg);
	color: var(--ld-dark-mode-text-secondary);
}
.learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-lesson-details .ld-lesson-list-progress {
	border-color: var(--ld-dark-mode-text-secondary);
}

.learndash-wrapper .ld-lesson-status {
    background: #2d2d2d;
    border-radius: 6px;
    overflow: hidden;
}

.learndash-wrapper .ld-table-list .ld-table-list-items {
	background: transparent;
	border-color: rgba(255,255,255,0.05);
}
.learndash-wrapper .ld-table-list .ld-table-list-item {
	border-color: rgba(255,255,255,0.05);
}
.learndash-wrapper .ld-table-list a.ld-table-list-item-preview {
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview:hover,
.learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview:active,
.learndash-wrapper .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview:focus {
	background: rgba(255,255,255,0.05);
	color: var(--ld-dark-mode-highlight-color);
}

/* Bottom Navigation */
.learndash-wrapper .ld-content-actions > a,
.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back {
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-content-actions > a:hover,
.learndash-wrapper .ld-content-actions .ld-content-action .ld-course-step-back:hover {
	color: var(--ld-dark-mode-highlight-color);
}

.learndash-wrapper .ld-button,
.learndash-wrapper .ld-content-actions .ld-button,
.learndash-wrapper .ld-focus-comment .ld-comment-reply a.comment-reply-link,
.learndash-wrapper .ld-focus-comments .form-submit #submit {
	background: rgba(255,255,255,0.07);
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-button:hover,
.learndash-wrapper .ld-content-actions .ld-button:hover,
.learndash-wrapper .ld-focus-comment .ld-comment-reply a.comment-reply-link:hover,
.learndash-wrapper .ld-focus-comments .form-submit #submit:hover {
	background: rgba(255,255,255,0.1);
	color: var(--ld-dark-mode-highlight-color);
}

/* Comments */
#cancel-comment-reply-link,
.comment-form-reply-title,
.learndash-wrapper .ld-focus-comments .comment-respond #reply-title,
.ld-comment-body p,
.ld-focus-comments p,
#cancel-comment-reply-link,
.ld-focus-comments .logged-in-as a,
.learndash-wrapper .ld-focus-comment .ld-comment-avatar .ld-comment-avatar-author .ld-comment-author-name,
.learndash-wrapper .ld-focus-comment .ld-comment-avatar .ld-comment-avatar-author a.ld-comment-permalink {
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-focus-comment .ld-comment-avatar .ld-comment-avatar-author a.ld-comment-permalink {
	opacity: 0.5;
}
#cancel-comment-reply-link:hover {
	color: var(--ld-dark-mode-highlight-color);
}

.learndash-wrapper .ld-focus-comments #commentform textarea#comment {
	border: 0;
	background: rgba(255,255,255,0.05);
	color: var(--ld-dark-mode-text-secondary);
}
.learndash-wrapper .ld-focus-comments #commentform textarea#comment:focus {
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
	background: rgba(255,255,255,0.08);
	color: var(--ld-dark-mode-content-text);
}

.ld-focus-comments .ld-comment-wrapper,
.learndash-wrapper .ld-focus-comment.bypostauthor>.ld-comment-wrapper,
.learndash-wrapper .ld-focus-comment.role-group_leader > .ld-comment-wrapper,
.learndash-wrapper .ld-focus-comment.role-administrator > .ld-comment-wrapper {
	background: rgba(255,255,255,0.05);
}

.learndash-wrapper .ld-focus-comment.bypostauthor > .ld-comment-wrapper > .ld-comment-avatar img,
.learndash-wrapper .ld-focus-comment.role-group_leader > .ld-comment-wrapper > .ld-comment-avatar img,
.learndash-wrapper .ld-focus-comment.role-administrator > .ld-comment-wrapper > .ld-comment-avatar img {
	border-color: var(--ld-dark-mode-highlight-color);
}

.learndash-wrapper .ld-expand-button.ld-button-alternate {
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-expand-button.ld-button-alternate .ld-icon {
	background: none;
}
.learndash-wrapper .ld-expand-button.ld-button-alternate:hover,
.learndash-wrapper .ld-expand-button.ld-button-alternate:hover .ld-icon,
.learndash-wrapper .ld-expand-button.ld-button-alternate .ld-icon:hover {
	color: var(--ld-dark-mode-highlight-color);
	background: none;
}

.learndash-wrapper .ld-focus-comments__heading {
	border-color: rgba(255,255,255,0.1);
}

/* Sidebar */
.learndash-wrapper .ld-focus .ld-focus-sidebar,
/* Topics List */
.learndash-wrapper .ld-focus-sidebar .ld-table-list .ld-table-list-items {
	background: var(--ld-dark-mode-sidebar-bg);
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading,
.learndash-wrapper .ld-course-navigation .ld-table-list.ld-topic-list .ld-table-list-item .ld-table-list-title a,
.learndash-wrapper .ld-course-navigation .ld-table-list.ld-topic-list .ld-table-list-item a.ld-table-list-item-preview {
	color: var(--ld-dark-mode-content-text);
}
.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading:hover,
.learndash-wrapper .ld-course-navigation .ld-table-list.ld-topic-list .ld-table-list-item a.ld-table-list-item-preview:hover,
.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading:active,
.learndash-wrapper .ld-course-navigation .ld-table-list.ld-topic-list .ld-table-list-item a.ld-table-list-item-preview:active,
.learndash-wrapper .ld-course-navigation .ld-lesson-item-preview a.ld-lesson-item-preview-heading:focus,
.learndash-wrapper .ld-course-navigation .ld-table-list.ld-topic-list .ld-table-list-item a.ld-table-list-item-preview:focus {
	background: rgb(38 38 38);
	color: #fff;
}

/* Line Separators */
.learndash-wrapper .ld-course-navigation .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item {
	border-color: rgb(34 34 34);
	background: #262626;
	padding: 0.1em;
}

/* topic/quiz sep */
.learndash-wrapper .ld-course-navigation .ld-sep {
	color: rgba(255,255,255,0.2);
}

/* Sidebar: Current Item */
.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,
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview.ld-is-current-item {
	color: var(--ld-dark-mode-highlight-color);
}
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-topic-list.ld-table-list .ld-table-list-item .ld-table-list-item-preview.ld-is-current-item {
	background: rgba(255,255,255,0.1);
}

/* Sidebar: Course Heading */
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading {
	background: var(--ld-dark-mode-sidebar-bg);
	border-bottom: 3px solid rgba(255,255,255,0.1);
}
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading h3 a:hover {
	color: var(--ld-dark-mode-highlight-color);
}
/* Open/Close Icon */
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-focus-sidebar-trigger:hover .ld-icon::before {
	color: var(--ld-dark-mode-highlight-color);
}

/* Sidebar: Section Headings */
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item-section-heading {
	color: var(--ld-dark-mode-text-secondary);
	border-top: 2px solid rgba(255,255,255,0.1);
}

/* Tooltips */
#learndash-tooltips .ld-tooltip {
	background: #eee;
	color: var(--ld-dark-mode-content-bg);
}
#learndash-tooltips .ld-tooltip::after {
	background: #eee;
}

.learndash-wrapper .ld-content-actions {
    border-top: 1px solid #202020;
    clear: both;
    display: flex;
    justify-content: space-between;
    padding: 1em 0;
}
.learndash-wrapper .ld-profile-summary {
    margin: 3.2em 0 2em;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-topic-list .ld-table-list-item {
    margin: 0 1.4em;
}
::-webkit-scrollbar {
    width: auto;
    height: auto;
}
::-webkit-scrollbar-button {
    background-color: #2d2d2d;
}
::-webkit-scrollbar-corner {
    background-color: #2d2d2d;
}
::-webkit-scrollbar-thumb {
    background-color: #424242;
    border-radius: 2px;
}
::-webkit-scrollbar-track {
    background-color: #2d2d2d;
}
::-webkit-scrollbar-track-piece {
    background-color: #262626;
}


.courses_banner {
    position: relative;
    background-color: #2D2D2D !important; /* Ensure the intended color */
    overflow: hidden;
}

.courses_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://ik-hub.com/wp-content/uploads/2023/11/Insurance_Knowledge_Logo_Mark_Blue.svg');
    background-size: 34%;
    background-repeat: no-repeat;
    background-position: calc(62% - 50vw) center;
    opacity: 0.3;
    z-index: 0; /* Adjust to 0 if it overlaps the main content */
    pointer-events: none; /* Ensures it doesn't interfere with other elements */
}


.duration-wrapper {
    display: flex;
    align-items: center;
}

.duration-heading {
    margin-right: 10px;
    display: inline-block;
    font-size: 1em; /* Adjust size if needed */
}

.duration-icon {
    fill: #127CC4; /* Set the clock icon color */
    margin-right: 5px;
}

.uagb-ifb-icon-wrap .duration-icon{
    display: flex;
    align-items: center;
}

.ld_course_grid .course .entry-content {
    min-height: 150px;
}

/* Styling the Input Fields */
.frontend-form {
    background: #f7f7f7 !important;
    border: 1px solid #dcdcdc !important;
    padding: 20px !important;
    border-radius: 5px !important;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1) !important;
    margin-bottom: 20px !important;
}

.frontend-form input[type="text"],
.frontend-form input[type="email"],
.frontend-form input[type="password"],
.frontend-form input[type="file"],
.frontend-form select,
.frontend-form textarea {
    width: 100% !important;
    padding: 10px !important;
    margin-bottom: 15px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
}

.frontend-form .fea-submit-button,
.frontend-form button {
    background-color: #0073e6 !important;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease !important;
}

.frontend-form .fea-submit-button:hover,
.frontend-form button:hover {
    background-color: #005bb5 !important;
}

.frontend-form label {
    font-weight: bold !important;
    display: block !important;
    margin-bottom: 5px !important;
    color: #333 !important;
}

.frontend-form .acf-button {
    background-color: #0073e6 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 5px !important;
    transition: background-color 0.3s ease !important;
}

.frontend-form .acf-button:hover {
    background-color: #005bb5 !important;
}

.acf-fields > .acf-field {
    position: relative;
    margin: 0;
    padding: 10px 16px !important;
}

.acf-field .acf-label {
    vertical-align: top;
    margin: 0 0 0px !important;
}

.ld-focus-main {
    background-color: #f7f7f7;
    background-image: url(https://ik-hub.com/wp-content/uploads/2023/11/Insurance_Knowledge_Logo_Mark_Blue_Keyline.svg);
    background-size: 34%;
    background-repeat: no-repeat;
    background-position: right -25% center;
}

.learndash-wrapper .ld-focus .ld-focus-main .ld-focus-content h1 {
    color: #2d2d2d;
}

.learndash-wrapper .ld-breadcrumbs {
    background: rgb(38 38 38);
    color: var(--ld-dark-mode-text-secondary);
}

body.ld-in-focus-mode, body.ld-in-focus-mode div.learndash-wrapper {
    background: #f7f7f7;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_question {
    padding-bottom: 1em;
    color: #2d2d2d;
}

.wpProQuiz_results {
    color: #2d2d2d;
}

h4.wpProQuiz_header {
    color: #2d2d2d;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_header {
    font-weight: 700;
    margin: .5em 0;
    color: #2d2d2d;
}


body .nf-form-content button, body .nf-form-content input[type=button], body .nf-form-content input[type=submit] {
    background: #127cc4 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: inherit;
}

body .nf-form-content button:hover, body .nf-form-content input[type=button]:hover, body .nf-form-content input[type=submit]:hover {
    background: #127cc4e0 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: inherit;
}

.wp-block-uagb-container.hero .uagb-container-inner-blocks-wrap .typewriter-container .typewriter-text {
    color: #f5f5f5 !important;
}

.wp-block-uagb-container.hero .uagb-container-inner-blocks-wrap .typewriter-container .typewriter-cursor {
    background-color: #2d2d2d !important;
}

span.ld-achievement-tooltip-text {
    min-width: 180px;
    background-color: #2d2d2d !important;
}
.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon {
    background: rgb(1 158 124 / 85%);
    box-shadow: 0 1px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    color: #fff;
    position: absolute;
    font-size: 14px;
    right: -8px;
    top: -8px;
    padding: 3px 10px;
    z-index: 2;
    font-weight: bold;
    bottom: unset !important;
    left: unset !important;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon:before {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled:before {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.courses_banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(https://ik-hub.com/wp-content/uploads/2023/11/Insurance_Knowledge_Logo_Mark_Blue.svg);
    background-size: 42%;
    background-repeat: no-repeat;
    background-position: calc(65% - 50vw) center;
    opacity: 0.1;
    filter: saturate(0);
}

.wp-block-uagb-container.uagb-block-bce0f342 {
    padding-top: 164px;
    padding-bottom: 64px;
    background: #2d2d2d;
}

.learndash-wrapper {
    margin-top: 32px;
}

.notify-me {
    background-color: #ff6600;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}
.notify-me:hover {
    background-color: #cc5200;
}


.notify-me-form {
    margin-top: 15px;
}

.notify-me-form input[type="email"] {
    margin: 15px 0 0;
    padding: 6px;
}

.notify-me-form button {
    padding: 9px 12px;
    background-color: #157dc5;
    color: white;
    border: none;
    cursor: pointer;
}

.nf-field-label {
color: #2d2d2d;
text-transform: capitalize;
}
.nf-form-content input:not([type=button]), .nf-form-content textarea {
background: #e4ecf2;
border: 1px solid #d3e3ed;
border-radius: 3px;
box-shadow: none;
color: #2d2d2d;
transition: all .5s;
}
.nf-form-content input[type=button] {
background: #127cc4;
width:50%;
font-weight: 700;
font-size: 22px;
border-radius: 3px;
}
.nf-form-content input[type=button]:hover {
background: #2ed573;
color:#fff;
text-decoration:none;
}
.nf-error.field-wrap .nf-field-element:after {
background: #7e264d!important;
border-radius: 0 3px 3px 0;
}
.nf-form-fields-required {
margin-bottom: 4px;
color:#7e264d!important;
}
.contact-styled .nf-error .nf-error-msg {
color: #7e264d!important;
}
.nf-error-msg, .nf-error .nf-error-msg, .ninja-forms-req-symbol, .nf-error .ninja-forms-field {
color: #7e264d!important;
border-color:#7e264d!important;
}
.nf-pass.field-wrap .nf-field-element:after {
color: #2ecc71;
content: “\f164”;
}

@media screen and (max-width: 921px) {
    .wp-block-uagb-container.uagb-block-230d2cc2 {
        min-height: 0;
        padding: 200px 10px 100px;
    }

    .ast-button-wrap .main-header-menu-toggle.ast-mobile-menu-trigger-fill {
        background-color: #2d2d2d;
        padding: 14px;
        margin-right: 25px;
    }

    .ast-builder-grid-row {
        padding: 4px 12px;
    }

    [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
        width: 40px;
        height: 40px;
        fill: #f7f7f7;
    }

    .ast-header-break-point .main-navigation ul .menu-item .menu-link {
        padding: 0 50px;
        display: inline-block;
        width: 100%;
        border-bottom: 1px solid #2d2d2d;
    }

    .ast-theme-transparent-header.ast-header-break-point .ast-builder-menu .main-header-menu,
    .ast-header-break-point .ast-builder-menu-1 .main-header-menu .menu-item > .menu-link {
        padding: 0 20px;
        background-color: #127cc4 !important;
        text-align: center;
        margin: 0 auto;
    }

    .ast-primary-header-bar.ast-primary-header {
        background-color: #2d2d2d;
        background-image: none;
    }

    header .custom-logo-link img,
    .ast-header-break-point .site-branding img,
    .ast-header-break-point .custom-logo-link img {
        max-width: 80%;
        width: 80%;
    }
}

@media screen and (max-width: 544px) {
    .ast-button-wrap .main-header-menu-toggle.ast-mobile-menu-trigger-fill {
        background-color: #2d2d2d !important;
        padding: 14px;
        margin-right: 25px;
    }

    [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
        width: 40px;
        height: 40px;
        fill: #f7f7f7;
    }

    header .custom-logo-link img,
    .ast-header-break-point .site-branding img,
    .ast-theme-transparent-header #masthead .site-logo-img .transparent-custom-logo img {
        max-width: 80%;
        width: 80%;
    }
}

.ld-achievements-leaderboard th {
    background: #157dc5;
    color: #f7f7f7;
}

.ld-achievements-leaderboard table tbody tr.odd {
    background-color: rgb(21 125 197 / 10%);
}


.learndash-wrapper .ld-alert-success {
    background-color: #019e7c33;
    border-color: #019e7c;
    color: #ffffff;
}

/* Main container */
.noty_theme__learndash.noty_type__success {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: transparent;
    border-bottom: none;
    color: #f7f7f7;
}

/* Image styling and animation */
.noty_theme__learndash.noty_type__success .image img {
    min-width: 250px; 
    height: auto;
    display: block;
    animation: glowEffect 2s infinite alternate; /* Apply glow animation */
}

/* Close button styling */
.noty_theme__learndash.noty_type__success .noty_close_button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #2d2d2d; 
    font-size: 20px;
    cursor: pointer;
}

/* Hide text elements */
.noty_theme__learndash.noty_type__success .title,
.noty_theme__learndash.noty_type__success .message {
    display: none; 
}

/* Hide progress bar */
.noty_theme__learndash.noty_type__success .noty_progressbar {
    display: none;
}


.ast-theme-transparent-header #masthead .site-logo-img .transparent-custom-logo img {
    max-width: 100%;
    padding: 20px 25px;
}

.ast-left-sidebar.ast-single-post #primary, .ast-right-sidebar.ast-single-post #primary, .ast-separate-container.ast-single-post.ast-right-sidebar #primary, .ast-separate-container.ast-single-post.ast-left-sidebar #primary, .ast-separate-container.ast-single-post #primary, .ast-narrow-container.ast-single-post #primary {
    padding-left: 0px!important;
    padding-right: 0px!important;
}

.custom-course-content {
    flex: 1;
    max-width: 100%;
    padding: 20px 40px;
}

header.entry-header .entry-title {
    font-size: 22px;
    font-size: 1.375rem;
    padding: 20px 0px 0px 24px;
  }
  
  header.entry-header h1.entry-title  {
      padding: 20px 0px 0px 24px;
      border-bottom: 2px solid #127cc4;
      max-width: 150px;
  }
  
  div#content {
      background-color: #f7f7f7;
  }

  /* Tooltip arrow transition */
.ld-achievements-leaderboard .ld-achievement-tooltip .ld-achievement-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    transition: transform 2s ease-in; 
}

.ld-achievements-leaderboard .ld-achievement-image {
    position: relative; 
}

.ld-achievements-leaderboard .ld-achievement-image:hover img {
    position: relative; 
    transform: scale(2.25); 
    transition: transform 0.3s ease;
    z-index: 10;
}

.ld-achievement-items .ld-achievement-image {
    max-width: 82px;
}

.ld-achievements .ld-achievement-items .ld-achievement-image {
    margin-right: 20px;
    margin-bottom: 20px;
}

.ld-achievement-items .ld-achievement-image:hover img {
    position: relative; 
    transform: scale(1.25); 
    transition: transform 0.3s ease;
    z-index: 10;
}

.wp-block-uagb-container.profile-card {
    background-color: #ffffff;
    border-radius: 5px;
    border: 2px solid #e2e7ed;
    padding: 16px 24px;
}

.ld-achievement-tooltip .ld-achievement-tooltip-text {
    background-color: #555;
    border-radius: 6px;
    bottom: 190%;
    color: #fff;
    left: 50%;
    opacity: 0;
    padding: 5px 20px;
    position: absolute;
    text-align: center;
    transform: translateX(-50%);
    transition: opacity .2s;
    visibility: hidden;
    z-index: 1;
    line-height: 16px;
}
span.ld-achievement-tooltip-text {
    min-width: 220px;
    background-color: #2d2d2d !important;
}

/* General Modal Styling */
.groups-plus-modal-content {
    max-width: 700px;
    margin: auto;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    font-family: Arial, sans-serif;
}

.groups-plus-modal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.groups-plus-modal-nav .tabs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.groups-plus-modal-nav .tabs li {
    font-weight: bold;
    color: #333;
}

.groups-plus-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group.section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.form-group.section .col {
    flex: 1;
    min-width: 200px;
}

.form-group.section input[type="text"],
.form-group.section input[type="email"],
.form-group.section select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.form-group.section input[type="text"]:focus,
.form-group.section input[type="email"]:focus,
.form-group.section select:focus {
    border-color: #0073e6;
    outline: none;
}

.form-group.section label {
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
    color: #666;
}

/* Checkbox Styling */
.form-group.section input[type="checkbox"] {
    margin-right: 10px;
}

/* Password Field */
.form-group.section .form_password {
    font-family: monospace;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.action-buttons .btn_groups_plus {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #0073e6;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-buttons .btn_groups_plus:hover {
    background-color: #005bb5;
}

.action-buttons .btn_groups_plus i {
    margin-left: 5px;
}

/* Delete and Remove Buttons */
#edit_groups_plus_team_member_btn_delete,
#edit_groups_plus_team_member_btn_delete_permanently {
    background-color: #e60000;
}

#edit_groups_plus_team_member_btn_delete:hover,
#edit_groups_plus_team_member_btn_delete_permanently:hover {
    background-color: #b50000;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .form-group.section {
        flex-direction: column;
    }
}
.div-table-container {
    text-align: left!important;
}
.div-table-row-header {
    text-align: left!important
}
.div-table-row-header, .div-table-row {
        text-align: left!important;
    padding: 12px 15px!important;
}
.groups_plus_licenses .learndash-groups-plus-user-licenses:before {
    font-family: "Font Awesome 5 Free"; 
    content: "\f0c0"; 
    font-weight: 900; 
    margin-right: 10px; 
  color: #127cc4;
    font-size: 24px;
  line-height: 48px;
}

.groups_plus_remaining_licenses .learndash-groups-plus-user-licenses-remaining:before {
    font-family: "Font Awesome 5 Free";
    content: "\f6c0";
    font-weight: 900;
    margin-right: 10px;
  color: #127cc4;
  font-size: 24px;
  line-height: 48px;
}
.groups_plus_title h5 {
  font-size: 24px!important;
  line-height: 24px;
  background: #faf9f8;
  padding: 5px 12px;
}
.groups_plus_title h5:hover {
  background: #ececec;
}

.learndash-wrapper .ld-login-modal .ld-login-modal-wrapper {
    margin: 0 auto;
    max-width: 350px;
    min-width: 80%;
    padding: 20px;
    overflow-y: auto;
    max-height: 80vh;
}

.learndash-wrapper .ld-login-modal-wrapper form p {
    margin-bottom: 2px; 
}

.learndash-wrapper .ld-login-modal {
    max-height: 80vh; 
    overflow-y: auto; 
}

.learndash-wrapper .ld-login-modal .ld-login-modal-wrapper {
    margin: 0 auto;
    max-width: 90%; /* Allows the modal to be responsive */
    padding: 20px;
}

.learndash-wrapper .ld-login-modal {
    display: flex;
    margin: 45% 50% 20px;
    text-align: center;
}

.learndash-wrapper .ld-login-modal .ld-login-modal-register input[type=email], .learndash-wrapper .ld-login-modal .ld-login-modal-register input[type=password], .learndash-wrapper .ld-login-modal .ld-login-modal-register input[type=text] {
    background-color: #f9f9f9;
    border: 2px solid #fff;
    font-size: 1.2em;
    margin: 0 0 0.1em;
    padding: .5em .5em .5em 2em;
    transition: all .25s ease-in-out;
    width: 100%;
}

p.loginpress-reg-pass-wrap {
    margin-bottom: 0px!important;
}

p.loginpress-reg-pass-2-wrap {
    margin-bottom: 0px;
}

span.show-password-toggle.dashicons.dashicons-visibility {
    display: none!important;
}

div#ld-user-register p {
    margin-bottom: 0px!important;
}

.ld_course_grid article {
   border: 4px solid transparent!important;
   box-sizing: border-box;
}
.ld_course_grid article:hover {
   border: 4px solid #157dc5!important;
   box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); 
   transition: border 0.3s, box-shadow 0.3s; 
}

.learndash-wrapper .ld-course-status.ld-course-status-not-enrolled {
  background: #f5f5f5;
  margin-top: -44px;
}

div.ld-course-list-content {
    margin-top: 16px;
}

.learndash-wrapper .ld-button:hover, .learndash-wrapper .ld-content-actions .ld-button:hover, .learndash-wrapper .ld-focus-comment .ld-comment-reply a.comment-reply-link:hover, .learndash-wrapper .ld-focus-comments .form-submit #submit:hover {
    color: white;
}

.ld-tooltip {
    background-color: #127CC4 !important;
    color: white !important;
}

.learndash-wrapper .ld-tooltip {
    background-color: #127CC4 !important;
    color: white !important;
}

.learndash-wrapper .ld-login-modal .ld-login-modal-wrapper {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.learndash-wrapper .ld-login-modal .ld-login-modal-wrapper::-webkit-scrollbar {
    display: none;
}

#ld-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
	margin-top: 45px;
    padding: 20px;
}

#ld-profile .ld-profile-summary {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e2e7ed;
    margin-bottom: 20px;
	border-radius: 5px;
    overflow: hidden;
    margin: 0;
}

#ld-profile .ld-profile-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
}

#ld-profile .ld-profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #127CC4;
    object-fit: cover;
}

#ld-profile .ld-profile-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.ld-profile-stat {
    background: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.ld-profile-stat strong {
    font-size: 24px;
    color: #127CC4;
    display: block;
    margin-bottom: 5px;
}

.ld-profile-stat span {
    font-size: 13px;
    color: #666;
}

@media screen and (max-width: 768px) {
    #ld-profile {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }

    #ld-profile .ld-profile-summary {
        margin-bottom: 15px;
    }
    
    #ld-profile .ld-profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .ld-profile-stat {
        padding: 10px;
    }
}

.wp-container-core-columns-is-layout-1 {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
}

.ld-achievements-leaderboard,
.wp-block-uagb-container.profile-card {
    background-color: #ffffff;
    border-radius: 5px;
    border: 2px solid #e2e7ed;
    padding: 16px 24px;
    margin-bottom: 15px; 
}

.wp-block-column {
    margin: 0;
}

.profile-card h3,
.typewriter-container {
    padding-left: 0;
    margin: 0 0 15px 0;
}

.wp-block-uagb-container.profile-card {
    padding: 16px; 
}

.profile-card p {
    margin: 0;
}

.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-1.wp-block-columns-is-layout-flex {
    padding: 20px;
}

.wp-block-column.is-layout-flow.wp-container-core-column-is-layout-2.wp-block-column-is-layout-flow {padding-top: 0;
    padding-right: 0!important;
    padding-bottom: 0;
    padding-left: 0!important;
}

.ld-achievements-leaderboard {
    background: white;
    border: 2px solid #e2e7ed;
    border-radius: 5px;
    overflow: hidden;
    margin: 0;
}

.ld-achievements-leaderboard table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.ld-achievements-leaderboard th {
    background: white !important;  /* Override the blue */
    color: #333 !important;
    font-weight: 600;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 2px solid #e2e7ed;
}

.ld-achievements-leaderboard td {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e7ed;
    color: #333;
}

/* Clean up alternating rows */
.ld-achievements-leaderboard tr.odd {
    background: #f8f9fa !important;  /* Very subtle grey */
}

.ld-achievements-leaderboard tr:hover {
    background: #f1f3f5;
}

.ld-achievements-leaderboard {
    background: white;
    border: 2px solid #e2e7ed;
    border-radius: 5px;
    overflow: hidden;
    margin: 0;
}

.ld-achievements-leaderboard table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.ld-achievements-leaderboard th {
    background: white !important;  /* Override the blue */
    color: #333 !important;
    font-weight: 600;
    padding: 16px 24px;
    text-align: left;
    border-bottom: 2px solid #e2e7ed;
}

.ld-achievements-leaderboard td {
    padding: 16px 24px;
    border-bottom: 1px solid #e2e7ed;
    color: #333;
}

/* Clean up alternating rows */
.ld-achievements-leaderboard tr.odd {
    background: #f8f9fa !important;  /* Very subtle grey */
}

.ld-achievements-leaderboard tr:hover {
    background: #f1f3f5;
}

.wp-block-columns.is-layout-flex .wp-block-column:nth-child(2),
.wp-container-core-columns-is-layout-1 .wp-block-column:nth-child(2) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;  /* or flex-start if you prefer left alignment */
}

/* If you need to adjust the inner containers too */
.wp-block-uagb-container.profile-card {
    width: 100%;  /* ensure cards take full width of parent */
}

.wp-block-uagb-container.uagb-block-0ec635b8 {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

.uagb-tm__text-wrap {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    margin-left: 20px;
    margin-right: 20px;
    order: initial;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-color: inherit;
    background-color: var(--ast-global-color-5);
}

.wp-block-uagb-testimonial {
    margin-top: -12px!important;
}

.wpProQuiz_resultsList h4 {
    font-weight: 700;
    font-size: 1.8em;
    color: #137dc5!important;
    margin-bottom: 12px;
}

.wpProQuiz_resultsList p, .wpProQuiz_resultsList div, .wpProQuiz_resultsList a, .wpProQuiz_resultsList span {
    color: #262626;
    margin-bottom: 12px;
    font-weight: 400;
}

/* JobsOhio 100% Message */

.jobsohio_completion-container {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    border: 2px solid #ececec;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.jobsohio_logo {
    margin-bottom: 20px;
}

.jobsohio_logo img {
    max-width: 220px;
}

.jobsohio_message {
    margin-bottom: 20px;
}

.jobsohio_message h1 {
    font-size: 24px;
    color: #000;
}

.jobsohio_message p {
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

.jobsohio_button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.jobsohio_button-container a {
    text-decoration: none;
    background: #dd3c31;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.jobsohio_button-container a:hover {
    background: #000;
    color: #fff !important;
}

/* insurtech gateway 100% message */

        .ig_completion-container {
            text-align: center;
            background: #fff;
            border-radius: 10px;
            border: 2px solid #ececec;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            padding: 40px;
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
        }

        .ig_logo {
            margin-bottom: 20px;
        }

        .ig_logo img {
            max-width: 220px;
        }

        .ig_message {
            margin-bottom: 20px;
        }

        .ig_message h1 {
            font-size: 24px;
            color: #000;
        }

        .ig_message p {
            font-size: 16px;
            line-height: 1.5;
            color: #000;
        }

        .ig_button-container {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 20px;
        }

        .ig_button-container a {
            text-decoration: none;
            background: #ffd700;
            color: #000;
            padding: 10px 20px;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            transition: background 0.3s ease;
        }

        .ig_button-container a:hover {
            background: #000;
            color:#fff!important;
        }

.wpProQuiz_header {
	color:#2d2d2d;
}

.learndash-wrapper .wpProQuiz_quiz_time {
    color: #137dc5;
    font-size: .9em;
    font-weight: 500;
    margin-top: -22px;
}

/* Target specific quizzes by their unique data attributes */
[data-quiz-meta*='"quiz_post_id":28289'] .wpProQuiz_results > h4,
[data-quiz-meta*='"quiz_post_id":28289'] .wpProQuiz_results > p,
[data-quiz-meta*='"quiz_post_id":28026'] .wpProQuiz_results > h4,
[data-quiz-meta*='"quiz_post_id":28026'] .wpProQuiz_results > p {
    display: none;
}

/* Hide the "Next Lesson" button 
.ld-content-action a[href*="/lessons/"] {
    display: none !important;
}

.sfwd-mark-complete,
.learndash_mark_complete_button,
.ld-content-action .sfwd-mark-complete {
    display: none !important;
}*/

/* Full-width container stays at 100vw */
.custom-course-header {
    width: 100vw;
    background-color: #1c1c1c;
    color: #ffffff;
    padding: 2em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Inner container keeps content aligned with other sections */
.custom-course-container {
    width: 80vw; /* Matches other content */
    max-width: 1200px;
    display: flex;
    flex-direction: row-reverse; /* Image on the left */
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
}

/* Ensure text has a proper width */
.custom-course-content {
    flex: 1;
    min-width: 400px; /* Prevent text from being too narrow */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Image should always remain visible and scale properly */
.custom-course-image {
    flex: 1;
    min-width: 350px; /* Prevent disappearing */
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-course-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-height: 300px;
    max-height: 600px;
}

/* Tablet Fix - Keep within 80vw */
@media (max-width: 1024px) {
    .custom-course-container {
        width: 80vw;
        max-width: 95%;
        flex-direction: row-reverse;
        gap: 15px;
    }

    .custom-course-content {
        flex: 1;
        min-width: 420px; /* Keeps readable width */
    }

    .custom-course-image {
        flex: 1;
        min-width: 350px;
    }

    .custom-course-image img {
        min-height: 320px;
        max-height: 550px;
    }
}

/* Smaller Tablets (MacBooks, iPads) */
@media (max-width: 850px) {
    .custom-course-container {
        flex-direction: column;
        text-align: center;
        width: 80vw;
    }

    .custom-course-content {
        max-width: 100%;
    }

    .custom-course-image {
        max-width: 100%;
    }

    .custom-course-image img {
        min-height: 350px;
        height: auto;
    }
}

/* Mobile - Keep Full Width */
@media (max-width: 768px) {
    .custom-course-container {
        flex-direction: column;
        width: 90vw;
    }

    .custom-course-content,
    .custom-course-image {
        max-width: 100%;
    }

    .custom-course-image img {
        height: auto;
        max-height: 400px;
    }
}

.wp-block-button .wp-block-button__link, .wp-block-search .wp-block-search__button, body .wp-block-file .wp-block-file__button {
    background: transparent !important;
    color: white !important;
    border: 2px solid #d81e5b;
}

.wp-block-button .wp-block-button__link:hover, .wp-block-search .wp-block-search__button:hover, body .wp-block-file .wp-block-file__button:hover {
    background: #d81e5b !important;
    color: white !important;
    border: 2px solid #d81e5b!important;
}

.wp-block-uagb-container.uagb-block-230d2cc2::before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: -0px;
    left: -0px;
    width: calc(100% + 0px + 0px);
    height: calc(100% + 0px + 0px);
    border-color: inherit;
    background-image: linear-gradient(70deg, #157dc5 46%, #d81e5b 100%);
    opacity: 0.9;
}

.home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://courses.ik-hub.com/wp-content/uploads/2025/04/ikh-left-flare-t.png'),
        url('https://courses.ik-hub.com/wp-content/uploads/2025/04/ikh-right-flare-t.png');
    background-position: 
        left center,
        right center;
    background-repeat: no-repeat;
    background-size: 
        400px 100%,
        400px 100%;
    z-index: 1;
}


/* Desktop/Larger Screens */
.home .wp-block-uagb-container.uagb-block-230d2cc2::after {
  display: block !important;
  visibility: visible !important;
  z-index: 1 !important;
  opacity: 1 !important;
}

/* Large tablets and smaller desktops */
@media screen and (max-width: 1024px) {
  html body.home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    background-size: 250px 100% !important;
    display: block !important;
    visibility: visible !important;
  }
}

/* Small tablets and large phones */
@media screen and (max-width: 767px) {
  html body.home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    background-size: 150px 100% !important;
    display: block !important;
    visibility: visible !important;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  html body.home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    background-size: 100px 100% !important;
    display: block !important;
    visibility: visible !important;
  }
}

body.home .entry-content.clear {
    margin-top: 132px;
	} 

@media screen and (max-width: 921px) {
  body.home .entry-content.clear {
    margin-top: 0px !important;
  }
}

.ld_course_grid {
    display: flex;
    margin-bottom: 30px;
}

.ld_course_grid article.thumbnail {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100%;
}

.ld_course_grid .caption {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.ld_course_grid .entry-content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 120px !important; 
}

.ld_course_grid .entry-content .notify-me-form {
    margin-top: auto !important;
}

.ld_course_grid .ld_course_grid_button,
.ld_course_grid .notify-me-form button[type="submit"] {
    margin-top: auto !important;
}

.ld_course_grid .learndash-wrapper {
    margin-top: auto !important;
}
.learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage {
    color: #d81e5b;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon {
    background: rgb(216 30 91);
}

.learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
    background: #157ec5;
    height: 7px;
}

.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon {
    background: rgb(21 126 195);
}

.learndash-wrapper .ld-status-complete {
    background-color: #137dc5;
}

.learndash-wrapper .ld-status-in-progress {
    border-color: #137dc5 #e2e7ed #e2e7ed #137dc5;
}

.home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url('https://courses.ik-hub.com/wp-content/uploads/2025/04/ikh-left-flare-t.png'),
        url('https://courses.ik-hub.com/wp-content/uploads/2025/04/ikh-right-flare-t.png');
    background-position:
        left center,
        right center;
    background-repeat: no-repeat;
    background-size:
        400px 100%,
        400px 100%;
    z-index: 1;
    opacity: 1; /* Ensure it's visible */
}

/* Large tablets and smaller desktops */
@media screen and (max-width: 1024px) {
  .home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    background-size: 250px 100%;
  }
}

/* Small tablets and large phones */
@media screen and (max-width: 767px) {
  .home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    background-size: 150px 100%;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  .home .wp-block-uagb-container.uagb-block-230d2cc2::after {
    background-size: 100px 100%;
  }
}