/*
Theme Name: Zeon E-Learning
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Zeon E-Learning
Version: 1.0.1
Updated: 2026-01-18 09:10:39

*/
html,
body {
    overflow-x: hidden;
}

#head-sticky,
#head-sticky>div {
    transition: all 0.3s ease-out;
}

#head-sticky.head-sticky-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0px 4px 11px 0px rgba(0, 0, 0, 0.24);
}

#head-sticky.head-sticky-active>div {
    padding: 0 !important;
}

#head-sticky .site-logo img {
    transition: all 0.2s ease;
}

#head-sticky.head-sticky-active .site-logo img {
    max-width: 150px !important;
}

a.contact-detail {
    display: inline-block;
    color: inherit;
}

body.page-employee-course header.elementor-location-header,
body.page-employee-course #site-header {
    display: none;
}

body.page-employee-course footer.elementor-location-footer,
body.page-employee-course #site-footer {
    display: none;
}

/* Learnpress */
body.learnpress-profile,
body.page-employee-course {
    background-color: var(--e-global-color-secondary);
}

#learn-press-profile .lp-content-area {
    max-width: 100% !important;
}

#learn-press-profile #profile-sidebar,
body.page-employee-course #profile-sidebar {
    position: relative;
    width: 300px !important;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden auto;
    padding: 20px 20px 60px;
    margin: 0 !important;
    background-color: #fff;
    z-index: 9;
    box-shadow: 0 0 10px #0000000d;
}


#learn-press-profile #profile-sidebar .my-profile img,
body.page-employee-course #profile-sidebar .my-profile img {
    max-width: 80px;
    border-radius: 50%;
}

#learn-press-profile .lp-profile-content,
body.page-employee-course .employee-course-learning {
    width: calc(100% - 330px) !important;
    min-height: 100vh;
    padding: 30px 30px 20px 10px;
    float: right;
}

#learn-press-profile .lp-content-area .lp-user-cover-image_background,
#learn-press-profile .lp-content-area>p {
    display: none !important;
}


.profile-site-header {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-gap: 0 8px;
    align-items: center;
    margin-bottom: 30px;
}

.profile-site-header .site-logo {
    display: flex;
    background-color: #f7f7fb;
    border-radius: 10px;
    padding: 10px 6px;
    align-content: center;
    justify-content: center;
}

#profile-sidebar .my-profile {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--e-global-color-secondary) !important;
    text-align: center;
    margin: 0 0 20px;
}

#profile-sidebar .my-profile .lp-profile-left {
    min-width: 80px;
    max-width: 80px;
    margin: 0 auto 5px;
}

#profile-sidebar .my-profile .lp-profile-right {
    padding-left: 0px;
}

#profile-sidebar .my-profile .user-avatar img {
    border: 1px solid #2563eb;
}

#profile-sidebar .my-profile .profile-details {
    font-size: 14px;
    color: var(--e-global-color-d8700fe);
}

#profile-sidebar .my-summary-profile h4 {
    font-size: 20px;
    margin: 0 0 6px;
}

#profile-sidebar .my-summary-profile .my-summary-course {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

#profile-sidebar .my-summary-profile .my-summary-course li {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    justify-content: space-between;
    margin-bottom: 6px;
}

#profile-sidebar .my-summary-profile .my-summary-course li svg {
    position: relative;
    width: 20px;
    fill: var(--e-global-color-primary);
    margin-right: 8px;
    top: 4px;
}

#profile-content .profile-description {
    font-size: 20px;
    color: var(--e-global-color-d8700fe);
    margin-bottom: 30px;
}

.courses-box-section {
    position: relative;
    overflow: hidden;
    padding: 0 0 30px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header .section-title {
    font-size: 25px;
    border-bottom: 1px solid #e2e2e7;
    padding: 0 0 10px;
}

.courses-box-section .section-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    grid-gap: 15px;
}

.courses-box-section .section-content>p {
    display: none;
}

.courses-box-section .course-box {
    display: block;
    width: 100%;
    padding: 25px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 0 6px #0000000d;
}

.courses-box-section .course-box .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.courses-box-section .course-box .card-header p {
    display: none;
}

.courses-box-section .course-box .card-title {
    display: flex;
    align-items: center;
    gap: 8px
}

.courses-box-section .course-box .card-title svg {
    display: inline-block;
    width: 35px;
    min-width: 35px;
    padding: 4px;
    fill: var(--e-global-color-primary);
    background-color: var(--e-global-color-secondary);
}

.courses-box-section .course-box .course-name {
    font-size: 18px;
    color: var(--e-global-color-primary);
    margin: 0;
}

.courses-box-section .course-box .course-time svg {
    display: inline-block;
    width: 16px;
    fill: var(--e-global-color-accent);
}

.courses-box-section .course-box .card-content .label {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--e-global-color-d8700fe);
    margin-bottom: 6px;
}

.courses-box-section .course-box .card-content .progress-desc {
    font-size: 14px;
    color: var(--e-global-color-d8700fe);
    margin-top: 6px;
}

.courses-box-section .course-box .course-time {
    display: inline-flex;
    width: 170px;
    font-size: 14px;
    color: var(--e-global-color-d8700fe);
    align-content: center;
    justify-content: flex-end;
    gap: 4px;
}

.progress {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 10px;
}

.progress-bar {
    height: 100%;
    background: var(--e-global-color-primary);
    border-radius: 10px;
}

/* Popup */
.mfp-content {
    display: inline-block;
    width: 92%;
    max-width: 900px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}


/* page-employee-course */

section.section-emploee-course {
    position: relative;
    display: block;
    background-color: #fff;
    padding: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid #F3F6FD;
    box-shadow: 0 3px 6px #0000000a;
}

section.section-lession {
    margin-bottom: 30px;
}

section.section-lession .section-title {
    font-size: 25px;
    color: var(--e-global-color-primary);
}

section.section-lession ul.lession-item {
    list-style: none;
    padding: 0;
}

section.section-lession ul.lession-item>li {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: space-between;
    border: 1px solid var(--e-global-color-secondary);
    margin-bottom: 7px;
    color: #000;
    padding: 10px 15px;
    border-radius: 6px;
}

section.section-lession ul.lession-item>li.passed .lession-name {
    text-decoration: line-through;
    color: var(--e-global-color-d8700fe);
}

section.section-lession ul.lession-item>li .lession-name-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

section.section-lession ul.lession-item>li .lession-name-wrap svg {
    width: 18px;
}

section.section-lession ul.lession-item>li a.action {
    display: inline-block;
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 8px 25px;
    border-radius: 6px;
    min-width: 130px
}

section.section-lession ul.lession-item>li.passed a.action {
    background-color: #F8FAFC;
    color: var(--e-global-color-d8700fe);
}

section.section-lession ul.lession-item>li a.action>span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.quizzes-test {
    text-align: center;
}

.course-actions {
    display: flex;
    gap: 10px;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.quizzes-test a.popup-big-quizzes,
.course-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #4BB4AB;
    padding: 12px 35px;
    border-radius: 6px;
    background-color: #F5F7FF;
    border: 1px solid #4BB4AB !important;
    line-height: 1;
    transition: all 0.2s ease;
}

.course-actions .button svg {
    width: 18px;
    fill: currentColor;
}

.quizzes-test a.popup-big-quizzes:focus,
.course-actions .button:focus,
.quizzes-test a.popup-big-quizzes:hover,
.course-actions .button:hover {
    background-color: #4BB4AB !important;
    color: #fff !important;
}

.course-actions .button.couse-passed {
    background-color: #78d3cb !important;
    border-color: #78d3cb !important;
    color: #fff !important;
}

.course-actions .button.couse-view-points {
    background-color: #F5F7FF !important;
    border-color: #E4E9F1 !important;
    color: #000 !important;
}

.course-actions .button.couse-view-points:hover {
    border-color: #4BB4AB !important;
    color: #4BB4AB !important;
}

#profile-sidebar ul.profile-menu-sidebar {
    list-style: none;
    border-top: 1px solid #ededed;
    padding: 10px 0 0 0 !important;
}

ul.profile-menu-sidebar a,
#profile-sidebar .logout-item-sidebar a {
    display: flex;
    gap: 8px;
    color: var(--e-global-color-d8700fe);
    padding: 6px 0;
}

ul.profile-menu-sidebar a>br,
#profile-sidebar .logout-item-sidebar br {
    display: none;
}

#profile-sidebar .logout-item-sidebar svg,
ul.profile-menu-sidebar svg {
    width: 18px;
}


#profile-sidebar .logout-item-sidebar {
    position: fixed;
    width: 260px;
    bottom: 0;
    padding: 10px 0;
    border-top: 1px solid #ededed;
    background-color: #fff;
}


li.learn-press-tabs__item.cover-image {
    display: none !important;
}

#popup-course #popup-content #learn-press-quiz-app .quiz-status .submit-quiz {
    display: none !important;
}

a.button.back-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 20px;
    margin-top: 50px;
    color: var(--e-global-color-d8700fe);
    border-top: 1px solid #f7f7f7;
}

a.button.back-profile svg {
    width: 20px;
    fill: currentColor;
}

#course-response .message-box {
    display: block;
    width: 96%;
    max-width: 500px;
    padding: 20px;
    margin: 50px auto;
    color: var(--e-global-color-d8700fe);
}

#course-response .message-box strong {
    display: inline-block;
    width: 100%;
    font-size: 20px;
    color: var(--e-global-color-primary);
}

form.form-button-finish-course {
    display: none;
}

#profile-content-certificates .profile-certificates li.certificate-item {
    background-color: #fff;
    text-align: center;
}

#profile-content-certificates .course-title {
    margin: 15px 0 10px !important;
    color: #000;
}

#profile-content-certificates .course-title a {
    color: inherit;
}

.course-notification-text {
    display: block;
    width: 100%;
    color: #4BB4AB;
    margin: 20px 0 10px;
}

form.lp_avatar__form.lp-hidden {
    display: block !important;
}

.learnpress_avatar__form__upload {
    flex-wrap: wrap;
}

#learnpress-avatar-upload .lp_avatar__form>label {
    position: relative;
}

#learnpress-avatar-upload .lp_avatar__form .lp-avatar-image,
#learnpress-avatar-upload .lp_avatar__form .cropper-bg {
    position: absolute;
    top: 0;
    left: 0;
}

.popup-inner.view-point-course-popup {
    display: flex;
    flex-direction: column;
    text-align: center;
    min-height: 200px;
    justify-content: center;
    font-size: 18px;
}

.popup-inner.view-point-course-popup .view-point-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--e-global-color-primary);
}

button.mfp-close {
    font-size: 20px;
    background: transparent !important;
    padding: 15px 20px !important;
    border: 0 !important;
    line-height: 1 !important;
}

.message-box-all-finished {
    width: 96%;
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
    padding: 30px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: 0 0 6px #0000000d;
}

.message-box-all-finished .message-box-title {
    font-size: 22px;
    color: var(--e-global-color-primary);
    margin: 0 0 10px;
}

.message-box-all-finished .message {
    margin-bottom: 15px;
}

.message-box-all-finished .button {
    background-color: #4BB4AB !important;
    color: #fff !important;
}

.certificates-custom-area {
    width: 96%;
    width: 800px;
    height: 565px;
    background-color: #fff;
    border: 3px solid var(--e-global-color-primary);
    margin-left: auto;
    margin-right: auto;
    border-radius: 9px;
    box-shadow: 0 0 8px #00000045;
    padding: 30px;
    text-align: center;
    color: var(--e-global-color-accent);
}

.logo-certificate {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-weight: 700;
    color: #000;
}

.logo-certificate span.icon {
    border-radius: 8px;
    background-color: #f3f6fd;
    padding: 8px 8px 5px;
    line-height: 1;
}

.logo-certificate svg {
    width: 30px;
}

.header-certificate {
    font-size: 30px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin: 20px 0;
}

.content-certificate {
    margin: 20px 0;
}

.employee-name {
    font-size: 28px;
    font-weight: 700;
    color: #4BB4AB;
    margin: 40px;
}

.row-signature {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    margin-top: 100px;
}

.row-signature>p {
    display: none !important;
}

.btn-group-certificate {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}

.btn-group-certificate>br {
    display: none;
}

.btn-group-certificate .button {
    display: inline-flex;
    align-items: center;
    color: #000 !important;
    background: transparent !important;
    border: 1px solid #c5c5c5;
    border-radius: 8px 8px 8px 8px;
    padding: 10px;
}

.btn-group-certificate .button:hover {
    border-color: #2563eb;
}

.btn-group-certificate .button svg {
    width: 20px;
    color: inherit;
}

.btn-group-certificate .btn-primary {
    color: #fff !important;
}

.toggle-profile-menu {
    display: none;
    padding: 10px;
    line-height: 0;
    background-color: #ededed;
    position: fixed;
    top: 0;
    left: 0px;
    z-index: 222;
}

.toggle-profile-menu.active {
    left: 300px;
}

.toggle-profile-menu svg {
    width: 20px;
}

button.lp-button {
    color: rgb(231, 238, 253) !important;
    background-color: rgb(56, 94, 220) !important;
}

.swal2-styled[type=button]:focus,
.swal2-styled[type=button]:hover,
.swal2-styled[type=submit]:focus,
.swal2-styled[type=submit]:hover,
button.swal2-styled:focus,
button.swal2-styled:hover {
    background-color: var(--e-global-color-primary);
    color: #fff;
    text-decoration: none;
}

.certificates-custom-area-wrap {
    overflow-x: auto;
}

button.btn-show-hint {
    border: 0 !important;
}

@media screen and (min-width: 1024px) {
    .learnpress>.learn-press-message {
        width: calc(100% - 300px) !important;
        float: right;
    }
}

@media screen and (max-width: 1023px) {
    .toggle-profile-menu {
        display: inline-block;
    }

    #learn-press-profile #profile-sidebar,
    body.page-employee-course #profile-sidebar {
        left: -300px;
    }

    #learn-press-profile #profile-sidebar.active,
    body.page-employee-course #profile-sidebar.active {
        left: 0px;
    }

    #learn-press-profile .lp-profile-content,
    body.page-employee-course .employee-course-learning {
        width: calc(100% - 30px) !important;
    }
}

@media screen and (max-width: 768px) {
    .courses-box-section .section-content {
        grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    }

    section.section-lession ul.lession-item>li {
        flex-wrap: wrap;
    }

    section.section-lession ul.lession-item>li .lession-name-wrap {
        width: 100%;
    }

    #profile-content h1 {
        font-size: 20px;
    }

    #profile-content .profile-description {
        font-size: 16px;
    }

    section.section-lession .section-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 479px) {
    .courses-box-section .section-content {
        grid-template-columns: repeat(1, 1fr);
    }
}