body {
    font-family: 'DBHeaventRounded', sans-serif;
    background-color: white;
    height: 100vh;
    width: 100vw;
}

.sec_topback {
    background-color: #fff;
    padding: 15px 0;
    margin-bottom: 20px;
}

.sec_topback p {
    margin: 0;
    color: #0080FF;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.sec_topback i.fa-solid.fa-chevron-left {
    font-size: 13px;
    margin-right: 5px;
}

.sec_sitemain {
    padding: 20px 0;
}

.sec_sitemain .container-xl {
    display: flex;
    gap: 30px;
    margin: 0 auto;
    width: 100%;
}

.left-section {
    flex: 0 0 70%;
}

.right-section {
    flex: 0 0 27%;
}

.name-dowonload {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.name-dowonload h1 {
    text-align: left;
    font-weight: 400;
    color: #2e2325;
    font-size: 30px;
    margin: 0;
}

.name-dowonload h4 {
    text-align: right;
    font-weight: lighter;
    color: #595959;
    font-size: 18px;
    margin: 0;
    cursor: pointer;
}

.name-dowonload h4.disabled {
    pointer-events: none;
    opacity: 0;
}

.name-dowonload i.fa-solid.fa-chevron-right {
    font-size: 13px;
    color: #888787;
}

.name-dowonload i.fa-solid.fa-chevron-left {
    font-size: 13px;
    color: #888787;
}

.content-box {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #dadada;
    padding: 20px;
    margin: 30px 0;
}

.section-title h2 {
    font-size: 26px;
    font-weight: lighter;
    margin-bottom: 20px;
    color: #333;
}

.step-image {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-image img {
    width: 100%;
}

.box-tab {
    background-color: #eef6ff;
    margin-top: 30px;
}

.content-box .nav-pills .nav-link.active,
.content-box .nav-pills .nav-link:hover,
.content-box .nav-pills .show>.nav-link {
    background-color: #00aeef;
    color: #fff;
    padding: 10px 20px;
    min-width: 12rem;
}

.content-box .nav-link {
    color: #231f20;
    text-align: left;
    padding: 10px 20px;
    font-size: 22px;
}

.content-box .nav-pills {
    text-align: left;
    font-size: 20px;
    font-weight: lighter;
}

.content-box .nav-pills .nav-link {
    border-radius: 0;
}

.content-box .tab-content {
    padding: 20px;
}

.content-box .tab-content p {
    font-size: 22px;
    color: #929497;
    margin-bottom: 0px;
}

.content-box .tab-content ul {
    margin: 0 0 15px 0;
    font-weight: lighter;
    padding-left: 15px;
}

.content-box .tab-content ul li {
    margin-bottom: -10px;
    font-size: 22px;
}

.content-box .tab-content ul li a {
    font-size: 22px;
    color: #0078e7;
    text-decoration: none;
}

.content-box .tab-content ul li a:hover {
    color: #39bdff;
}

/* Right Sidebar Styles */

.sidebar-card {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgb(0 0 0 / 3%);
    margin-bottom: 20px;
    border: 1px solid #dadada;
}

.sidebar-title {
    font-weight: lighter;
    margin-bottom: 10px;
    font-size: 26px;
    color: #333;
    line-height: 1;
}

.sidebar-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 5px;
}

.progress-bar {
    background-color: #eef6ff;
    height: 5px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-persent {
    font-weight: lighter;
    text-align: right;
    color: #2782e8;
}

.progress-fill {
    background-color: #0080ff;
    height: 100%;
    width: 0%;
    transition: width 0.3s;
}

.ad-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.section-group {
    margin-top: 20px;
    border: 1px solid #dadada;
    border-radius: 5px;
    max-height: 39.5rem;
    overflow-y: auto;
}

.section-group::-webkit-scrollbar {
    width: 0.5rem;
}

.section-group::-webkit-scrollbar-track {
    background: #fff7e8;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #FFBE35;
    border-radius: 5px;
}

.section-item {
    padding: 12px 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.section-item.has-dropdown {
    padding-right: 40px;
}

.section-item.active {
    background-color: #fff;
}

.section-item.selected .section-item-title {
    color: #0080ff;
}

.section-item.selected.has-dropdown {
    border-left: 4px solid #07b8ff;
    padding-left: 15px;
}

.section-item.selected {
    background-color: #e3f2fd;
}

.section-item.selected .dropdown-list-item {
    background-color: #e3f2fd;
}

.section-item-title {
    font-weight: lighter;
    margin-bottom: 5px;
    color: #333;
    font-size: 22px;
}

.section-item-progress {
    color: #07b8ff;
    font-size: 20px;
    background: #e3f2fd;
    width: auto;
    display: inline-block;
    padding: 0px 12px;
    border-radius: 100px;
    margin-bottom: 10px;
}

.section-item.selected .section-item-progress {
    background: #06aeee;
    color: #fff;
}

.dropdown-arrow {
    position: absolute;
    right: 15px;
    top: 12px;
    transition: transform 0.3s ease;
    font-size: 11px;
    color: #1b9aff;
}

.section-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

.section-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
    margin-left: -15px;
    padding-left: 0;
}

.section-dropdown.show {
    max-height: 10000rem;
    transition: max-height 0.3s ease;
}

.section-item.selected .section-dropdown {
    margin-left: -15px;
    margin-right: -40px;
}

.dropdown-list-item .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
}

.dropdown-list-item svg {
    color: #00aeef;
}

.dropdown-list-item.active svg {
    color: #fff;
}

.dropdown-list-item {
    padding: 7px;
    padding-left: 17px;
    margin: 0;
    color: #333;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 20px;
}

.section-item.selected .dropdown-list-item.active {
    background: #07b8ff !important;
    color: white !important;
}

.section-item.selected .dropdown-list-item:hover {
    background: #b8dcff;
}

.consult-btn {
    display: block;
    text-align: center;
    background: #0080ff;
    color: white;
    padding: 5px 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: lighter;
    transition: all 0.3s ease;
    font-size: 18px;
}

.consult-btn svg {
    width: 20px;
    margin-top: -3px;
}

.consult-btn:hover {
    background: #39bdff;
    color: white;
}

.lesson-content-section h3 {
    color: rgb(146, 148, 151);
}

.a-tag-style {
    font-size: 1.1rem;
    color: #0080FF;
    text-decoration: none;
}

.a-tag-style:hover {
    color: #00b5ff;
    transition: color 0.3s;
}

.p-tag-style {
    margin: 0 0 1em 0;
    font-size: 1rem;
    line-height: 1.6;
}

.ul-tag-style,
.ol-tag-style {
    padding-left: 1.2em;
}

.li-tag-style {
    margin-bottom: 0.5em;
    font-size: 22px;
}

.p-tag-style .strong-tag-style {
    color: rgb(146, 148, 151);
    font-weight: normal;
}

.a-tag-style .strong-tag-style {
    color: #0080FF;
    font-weight: normal;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s;
}

.a-tag-style .strong-tag-style:hover {
    color: #00b5ff;
    transition: color 0.3s;
}

.em-tag-style,
.i-tag-style {
    font-style: italic;
    color: #555;
}

.b-tag-style {
    font-weight: bold;
    color: #333;
}

.u-tag-style {
    text-decoration: underline;
}

.span-tag-style {
    display: inline;
}

.course-nav-m {
    display: none;
}

.footer-right-section {
    margin-top: 20px;
}

.nav-mb-action-section {
    display: none;
}

.nav-mb-action-section a {
    display: flex;
    align-items: center;
    color: #222;
    background-color: rgb(238, 246, 255);
    border: 1px solid #39bdff;
    border-radius: 5em;
    padding: 0.3em 1em;
    gap: 0.3em;
    text-decoration: none;
}

.navigation-unit a.disabled {
    pointer-events: none;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
}

.nav-mb-action-section button {
    color: #39bdff;
    background: none;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}

.navigation-unit {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
}

.description-box.assist-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 5px;
    border: 1px solid #dadada;
    padding: 20px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.description-box.assist-list .list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.description-box.assist-list .list a {
    color: #0078e7;
    text-decoration: none;
    cursor: pointer;
    font-size: 22px;
}

.description-box.assist-list .list a:hover {
    color: #39bdff;
}

/* tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .course-nav-m {
        display: flex;
    }
}

/* mobile */
@media (max-width: 767px) and (orientation: portrait) {
    body {
        padding-bottom: 120px;
    }

    .sec_sitemain .container-xl {
        flex-direction: column;
        padding: 10px;
    }

    .left-section,
    .right-section {
        flex: 0 0 100%;
    }

    .right-section {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: white;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
        padding: 15px;
        border-radius: 15px 15px 0 0;
        height: 4rem;
        transition: height 0.4s ease-in-out;
    }

    @keyframes right-section-animation-open {
        from {
            height: 4rem;
        }

        to {
            height: 85vh;
        }
    }

    @keyframes right-section-animation-close {
        from {
            height: 85vh;
        }

        to {
            height: 4rem;
        }
    }

    .right-section.show {
        height: 85vh;
        overflow-y: scroll;
        transition: height 0.4s ease-in-out;
        animation: right-section-animation-open 0.4s ease-in-out;
    }

    .right-section.hide {
        transition: height 0.4s ease-in-out;
        animation: right-section-animation-close 0.4s ease-in-out;
    }

    .content-box {
        padding: 15px;
    }

    .section-title h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .step-image {
        height: fit-content;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .box-tab {
        margin-top: 20px;
    }

    .content-box .tab-content p {
        font-size: 22px;
    }

    .content-box .tab-content ul li a {
        font-size: 20px;
    }

    .content-box .tab-content ul li {
        margin-bottom: 0px;
        font-size: 20px;
    }

    .right-section .ad-banner,
    .right-section .section-group {
        display: none;
    }

    .right-section .section-group.show {
        display: block;
    }

    .sidebar-card {
        margin-bottom: 0;
    }

    .d-flex.align-items-start {
        flex-direction: column;
    }

    .nav.flex-column {
        width: 100%;
        margin-bottom: 12px;
    }

    .content-box .tab-content {
        padding: 10px 20px;
    }

    .course-nav-m {
        display: flex;
    }

    .sidebar-card {
        display: none !important;
    }

    .sidebar-card.show {
        display: block !important;
    }

    .footer-right-section {
        display: none !important;
    }

    .footer-right-section.show {
        display: block !important;
        margin-top: 2rem;
    }

    .nav-mb-action-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .right-section.show .nav-mb-action-section {
        margin-top: 2rem;
    }
}

/* ipad mini */
@media (min-width: 744px) and (max-width: 1023px) and (min-height: 1000px) and (orientation: portrait) {
    .course-nav-m {
        display: flex;
    }
}