body {
    -webkit-font-smoothing: antialiased!important;
}

a {
    text-decoration: none;
}

/* Base styles */
.course-row {
    display: flex;          /* Activate Flexbox */
    flex-wrap: wrap;        /* Allow wrapping */
    margin-bottom: 20px;    /* Space between rows */
}

.course-col {
    box-sizing: border-box; 
    padding: 10px;          
}

/* Desktop and tablet styles */
@media (min-width: 768px) {
    .course-col {
        flex: 1;           
        min-width: 33.33%; 
    }
}

/* Phone styles */
@media (max-width: 767px) {
    .course-col {
        width: 100%;       /* On phones, each column will take full width */
    }
}


/* Parent Grid */
.judi-academy-tag-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;  /* Space between each tag */
    justify-content: flex-start; /* Align items to the start */
}

/* Each column (tag) */
.judi-academy-tag-col {
    flex: 0 0 calc(33% - 16px); /* Width for each tag column */
    margin-bottom: 16px;
}

/* Mobile View */
@media (max-width: 768px) {
    .judi-academy-tag-col {
        flex: 0 0 100%; /* Take the full width on mobile */
        margin-right: 0; /* Remove the right margin on mobile */
    }
}

/* Centering the last row items */
.judi-academy-tag-grid:after {
    content: "";
    flex: auto;
}

.judi-academy-tag-col a {
    display: flex;
    padding: 15px;
}

.judi-academy-tag-col a:hover {
    background-color: #e6f1ef;
    border-radius: 15px;
}

.judi-academy-tag-col img {
    border-radius: 20px;
    height: fit-content;
    max-width: 120px;
    box-shadow: 8px 8px 20px rgba(106,194,157,0.1);
    height: auto;
}

.judi-academy-tag-col .cat-details {
    padding: 0 20px;
}

.judi-academy-tag-col .cat-details .counter {
    color: #8a8a8a;
    font-size: 13px;;
}

.judi-academy-tag-col .cat-details .counter svg {
    width: 12px;
    height: 12px;
}

/* user Menu */

a.avatar-name {
    background: #008f72;
    border-radius: 50%;
    width: 50px!important;
    height: 50px!important;
    padding: 11px 0px!important;
    text-align: center;
    color: #fff!important;
}


/* course path */

.courses-list {
    position: relative;
}

.courses-list::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    border-left: 1px dashed #dede;
    display: block;
    top: 30px;
    left: 35px;
    z-index: -1;
}

.courses-list .path-course {
    display: flex;
    padding: 15px;
    margin: 7px 0;
    transition: all ease 0.3s;
    border-radius: 18px;
    z-index: 2;
}

.courses-list .path-course:hover {
    background-color: #fff;
    box-shadow: 3px 3px 16px rgba(0,0,0,0.1);
}

.courses-list .course-status {
    flex: 60px;
    flex-grow: unset;
    display: flex;
    align-items: center;
    justify-content: start;
}

.courses-list .svg-wrapper {
    background: #e0e0e0;
    color: #616161;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 8px 10px;
    text-align: center;
}

.courses-list .svg-wrapper svg {
    width: 17px;
    height: 17px;
}

.path-course-info {
    flex: 1;
}

.path-course-info .course-name {
    color: #222222;
    display: flex;
}

.path-course-info .course-name .title {
    flex: 1;
}

.path-course-info .course-name .sample {
    display: flex;
    color: #e09a1d;
    align-items: center;
}

.path-course-info .course-name .sample svg {
    height: 15px;
    width: 15px;
    margin-right: 5px;
}

.path-course-info .course-code {
    font-size: 13px;
    color: #848484;
    flex: 110px;
}

.learndash-progress-bar {
    background-color: #f5f5f5;
    border-radius: 15px;
    height: 8px;
    width: 100%;
    display: flex;
    align-items: center;
}

.learndash-progress-bar-inner {
    background-color: #ffd000;
    height: 8px;
    line-height: 16px;
    text-align: center;
    color: white;
    border-radius: 15px;
    font-size: 11px;
}

.learndash-progress-bar-0,
.percentage-0 {
    display: none!important;
}

.course-code-pogress-container {
    display: flex;
    align-items: center;
}

.course-code-pogress-container .percentage {
    flex: 55px;
    font-size: 12px;
    color: #7e7e7e;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.path-header-wrapper {
    display: flex;
    align-items: center;
    background-color: #c39cd9;
    padding: 10px;
    border-radius: 19px;
}

.page-id-1765 .path-header-wrapper {
    background-color: #357896;
}

.path-header-wrapper h2 {
    margin-top: 0!important;
    padding-left: 15px;
    color: #fff;
    font-size: 22px;
}

.path-header-image img {
    border-radius: 12px;
    box-shadow: 3px 3px 16px rgba(0,0,0,0.1);
    width: 60px!important;
    height: auto!important;
}

/* .page-id-859 .kadence-thumbnail-position-behind:after {
    display: none;
}

.page-id-859 .article-post-thumbnail {
    margin-bottom: -7.3em;
}

.page-id-859 h1.entry-title {
    color: #fff;
}

.page-id-859 .post-thumbnail-inner img {
    border-radius: 23px;
} */

.login-message {
    background: #fcebeb;
    padding: 26px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-gap: 10px;
}


/* header */
#masthead {
    position: relative;
    z-index: 1000;
}

#masthead .kadence-sticky-header.item-is-fixed {
    z-index: 1200;
}

#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start),
#masthead .kadence-sticky-header.item-is-stuck {
    box-shadow: 0 8px 24px rgba(17, 41, 36, 0.12);
}

.site-branding a.brand img {
    transition: max-width 0.2s ease, max-height 0.2s ease;
}

#masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) .site-branding a.brand img {
    max-width: 132px;
}

.page-hero-section .entry-hero-container-inner {
    background-color: var(--global-palette8, #f7f7f7);
}

.page-hero-section .entry-header {
    padding-top: 32px;
    padding-bottom: 32px;
}
.header-navigation .menu > li.menu-item > a,
.mobile-navigation .menu > li.menu-item > a,
.header-navigation .sub-menu > li.menu-item > a,
#mobile-drawer .menu > li.menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
}

.header-navigation .feather,
.mobile-navigation .feather,
#mobile-drawer .feather,
.header-navigation .judi-nav-icon,
.mobile-navigation .judi-nav-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex: 0 0 16px;
}

.main-navigation .primary-menu-container > ul {
    gap: 2px;
}

.main-navigation .primary-menu-container > ul > li.menu-item > a {
    border-radius: 8px;
}

.main-navigation .primary-menu-container > ul > li.menu-item:not(.judi-nav-login) > a:hover,
.main-navigation .primary-menu-container > ul > li.menu-item:not(.judi-nav-login) > a:focus,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item:not(.judi-nav-login) > a,
.main-navigation .primary-menu-container > ul > li.menu-item.current-page-item:not(.judi-nav-login) > a,
.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-ancestor:not(.judi-nav-login) > a,
.mobile-navigation .menu > li.menu-item.current-menu-item > a,
#mobile-drawer .menu > li.menu-item.current-menu-item > a {
    background: #e9f6f2;
    color: #008f72;
    font-weight: 700;
}

.main-navigation .primary-menu-container > ul {
    justify-content: center;
}

.header-navigation .judi-nav-login > a,
#mobile-drawer .judi-nav-login > a {
    background: #049f82;
    color: #fff !important;
    border-radius: 999px;
    padding: 0.55em 1.15em !important;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(4, 159, 130, 0.18);
}

.header-navigation .judi-nav-login > a:hover,
.header-navigation .judi-nav-login > a:focus,
#mobile-drawer .judi-nav-login > a:hover,
#mobile-drawer .judi-nav-login > a:focus {
    background: #008f72;
    color: #fff !important;
}

#mobile-drawer .judi-nav-login > a {
    justify-content: center;
    margin: 10px 12px 4px;
    width: calc(100% - 24px);
    border-radius: 10px;
}

#mobile-drawer .menu > li.menu-item > a {
    width: 100%;
}

.mobile-header-button {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4em;
}

.mobile-header-button .feather {
    width: 16px;
    height: 16px;
}

.widget_nav_menu a {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
}

.site-footer .widget_nav_menu a {
    display: inline-block;
    padding: 5px 0;
    gap: 0;
}

.site-footer .widget_nav_menu .judi-nav-icon,
.site-footer .widget_nav_menu .feather {
    display: none;
}

.site-footer .widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer .widget_nav_menu li {
    margin: 0;
}

.site-footer .widget_nav_menu a:hover,
.site-footer .widget_nav_menu .current-menu-item > a {
    color: #2fbb6d;
}

.site-footer .footer-social .social-button {
    width: 2em;
    height: 2em;
}

.site-footer .footer-social .kadence-svg-icon,
.site-footer .footer-social svg {
    width: 14px;
    height: 14px;
}

.site-footer .widget-title {
    margin-bottom: 12px;
}

/* contact */
body.page-id-930 .content-area {
    margin-top: 2.25rem;
}

.judi-contact__grid {
    align-items: start;
    gap: 36px;
}

.judi-contact__lead {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--global-palette5, #454545);
    margin: 0 0 8px;
}

.judi-contact__note {
    color: var(--global-palette6, #676767);
    font-size: 0.95rem;
    margin: 0 0 22px;
}

.judi-contact__cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.judi-contact__card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 14px;
    text-decoration: none;
    color: var(--global-palette3, #222);
    box-shadow: 0 8px 22px rgba(4, 159, 130, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.judi-contact__card:hover,
.judi-contact__card:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(4, 159, 130, 0.1);
    color: var(--global-palette2, #008f72);
}

.judi-contact__card .feather,
.judi-contact__card .judi-nav-icon {
    width: 20px;
    height: 20px;
    color: #049f82;
    flex: 0 0 20px;
}

.judi-contact__card strong {
    display: block;
    font-size: 15px;
    line-height: 1.3;
}

.judi-contact__card span {
    display: block;
    color: var(--global-palette6, #676767);
    font-size: 14px;
}

body.page-id-930 .wpforms-container {
    background: #fff;
    border: 1px solid #e4eeeb;
    border-radius: 16px;
    padding: 28px 28px 18px;
    box-shadow: 0 10px 32px rgba(4, 159, 130, 0.08);
}

body.page-id-930 .wpforms-container .wpforms-field {
    padding-top: 0;
    padding-bottom: 16px;
}

body.page-id-930 .wpforms-container .wpforms-field-label,
body.page-id-930 .wpforms-container legend.wpforms-field-label {
    font-weight: 600;
    color: var(--global-palette4, #353535);
    margin-bottom: 8px;
}

body.page-id-930 .wpforms-container input[type="text"],
body.page-id-930 .wpforms-container input[type="email"],
body.page-id-930 .wpforms-container textarea {
    border: 1px solid #d5e4e0 !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.page-id-930 .wpforms-container input[type="text"]:focus,
body.page-id-930 .wpforms-container input[type="email"]:focus,
body.page-id-930 .wpforms-container textarea:focus {
    border-color: #049f82 !important;
    box-shadow: 0 0 0 3px rgba(4, 159, 130, 0.15) !important;
}

body.page-id-930 .wpforms-container textarea {
    min-height: 140px;
}

body.page-id-930 .wpforms-container .wpforms-submit {
    background: #049f82 !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-weight: 700 !important;
    padding: 12px 22px !important;
    min-width: 140px;
}

body.page-id-930 .wpforms-container .wpforms-submit:hover,
body.page-id-930 .wpforms-container .wpforms-submit:focus {
    background: #008f72 !important;
}

@media (max-width: 781px) {
    .judi-contact__grid {
        gap: 24px;
    }

    body.page-id-930 .wpforms-container {
        padding: 22px 18px 14px;
    }
}

/* home */

.get-started-block .wp-block-columns {
    margin-bottom: 0!important;
}

.get-started-block img {
    width: 210px;
    margin: -70px 0 0 0;
    opacity: 0.5;
}

.get-started-block .kt-typed-text {
    color: #c1f780;
}

/* youtube samples */

.video-sample-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-sample-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* login and notification profile

/* Custom styles for login page */
body.login {
    background-color: #fcfcfc; /* Change the background color */
}

.login h1 a {
    background-image: url('/wp-content/uploads/2023/12/the-judi-logo.png'); /* Change logo */
    padding-bottom: 0;
    width: 200px;
    background-size: 200px;
}

.login label {
    font-weight: bold; /* Example style */
}

body.login {
    background-color: #049f82;
    display: flex;
}

#login {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 3px 3px 6px rgba(0,0,0,0.1);
}

.login form {
    background-color: transparent;
    border: 0;
}

input[type=checkbox]:focus, input[type=color]:focus, input[type=date]:focus, input[type=datetime-local]:focus, input[type=datetime]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=radio]:focus, input[type=search]:focus, input[type=tel]:focus, input[type=text]:focus, input[type=time]:focus, input[type=url]:focus, input[type=week]:focus, select:focus, textarea:focus {
    border-color: #00a083;
    box-shadow: 0 0 0 1px #88e2d1;
}

/* input.input {
    background-color: #daefec!important;
} */

.wp-core-ui .button, .wp-core-ui .button-secondary {
    color: #049f82;
}

.wp-core-ui .button-primary {
    background-color: #00a083;
    color: #fff;
    display: block;
    width: 100%;
    border: 0;
    border-radius: 5px;
}

.login label {
    font-weight: normal;
}

/* profile */

.profile-completion-note {
    position: fixed;
    border-radius: 10px;
    bottom: 0;
    width: 350px;
    background: #ffa423;
    align-items: center;
    padding: 30px;
    color: #000;
    z-index: 11;
    right: 10px;
    bottom: 10px;
}

.bottom-note-blank {
    height: 100px;
}

.profile-completion-note a {
    color: #fff;
}

.profile-completion-note a:hover,
.profile-completion-note a:focus  {
    color: #fff47d;
}


/* precourse */

.custom-accordion {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 20px 0;
}

.custom-accordion .accordion-header {
    background: #f5f5f5;
    cursor: pointer;
    padding: 15px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
}

.custom-accordion .accordion-content {
    padding: 15px;
    background: #fff;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #ddd;
}


#myModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

#myModal .modal-content {
    position: relative;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 0;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 800px;
    height: 450px;
    background-color: #000;
    border-radius: 10px;
}