/* body */
.home-body {
    background-color: #FFFFFF;
}
/* header */
.login-btn {
    width: 160px;
    height: 48px;
    border-radius: 16px;
    background-color: #2A8F75 !important;
    color: #FFFFFF;
    padding: 0px;
    border: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-btn:hover {
    color: #FFFFFF;
}

.header-search {
    width: 0px;
    height: 0px;
    border-radius: 16px;
    background-color: #F0F7F5;
    border: 0px;
    padding: 0 40px;
    transition: width 0.5s linear;
    outline: none;
}

.home-search {
    width: 0px;
    height: 0px;
    border-radius: 16px;
    background-color: #F0F7F5;
    border: 0px;
    padding: 0 40px;
    transition: width 0.5s linear;
    outline: none;
}

.mobile-header-search {
    width: 95px;
    height: 48px;
    border-radius: 16px;
    background-color: #F0F7F5;
    border: 0px;
    padding: 0 30px 0 0;
    outline: none;
}

.mobile-search-icon {
    position: absolute;
    right: 3px;
    top: 11px;
}

.container-search {
    position: relative;
}

.search-icon {
    text-align: left;
    margin-top: 20px;
}

.search-icon-header {
    position: absolute;
    top: 11px;
    right: 10px
}

.search-icon-home {
    position: absolute;
    top: 11px;
    right: 11px
}



/* footer */
@media (max-width: 998px) {
    .container-footer {
        margin-bottom: 50px;
    }
}
.container-footer {
    border-top: 4px solid #2A8F75;
}

.container-footer-links {
    margin-top: 32px;
}

.footer-link {
    list-style-type: none;
}


.container-footer-link a {
    font-weight: 600;
    font-size: 16px;
    color: #2A8F75;
}

.text-footer {
    color: #150007;
    opacity: 70%;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
}

.footer-icon-link {
    margin-left: 24px;
}

.container-footer-icons {
    list-style-type: none;
}

/* content home page */

.home-time-text {
    color: #150007;
    opacity: 64%;
    font-weight: 400;
    font-size: 14px;
    text-align: left;
    margin-top: 17px;
}

.container-content-text-image {
    margin-bottom: 32px;
}

.home-box-text {
    background-color: #F0F7F5;
    padding: 60px 40px;
    border-radius: 24px;
    margin-left: 30px;
}

.home-box-image {
    background-color: #F0F7F5;
    border-radius: 24px;
    padding: 11px 80px;
    display: flex;
    align-items: center;
}

.home-box-text-header {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 48px;
}

.home-box-text-body {
    font-weight: 400;
    font-size: 22px;
}

/* slider */
.swiper-button-next {
    color: #fff !important;
    background-color: #682038;
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    left: 20px !important;
}

.swiper-button-prev {
    color: #fff !important;
    background-color: #682038;
    border-radius: 50%;
    width: 30px !important;
    height: 30px !important;
    right: 30px !important;
}

.swiper-pagination-bullet-active {
width: 32px !important;
border-radius: 20px !important;
}
.swiper-pagination-bullet {
transition: all 200ms !important;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
margin:0 var(--swiper-pagination-bullet-horizontal-gap, 2px) !important;
}

.autoplay-progress {
position: absolute;
left: 16px;
top: 16px;
z-index: 10;
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: #fff;
}

.autoplay-progress svg {
--progress: 0;
position: absolute;
left: 0;
top: 0px;
z-index: 10;
width: 100%;
height: 100%;
stroke-width: 4px;
stroke: #fff;
fill: none;
stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
stroke-dasharray: 125.6;
transform: rotate(-90deg);
}
.swiper-pagination-bullet {
border-radius: 3px !important;
}

.button-next-slider.swiper-button-disabled, .button-prev-slider.swiper-button-disabled {
display:none;
}

.button-next-slider {
width: 40px;
height: 40px;
background-color: #FFFFFF;
opacity: 57%;
border-radius: 12px;
}
.button-prev-slider {
width: 40px;
height: 40px;
background-color: #FFFFFF;
opacity: 57%;
border-radius: 12px;
}

.swiper-button-next:after {
font-size: 19px !important;
font-weight: 500px;
}
.swiper-button-prev:after {
font-size: 19px !important;
font-weight: 500px;
}

.button-next-slider:after, .button-prev-slider:after {
color: #3BA186;
font-size: 14px !important;
}

.swiper-button-next, .swiper-button-prev {
top: var(--swiper-navigation-top-offset, 46%) !important;
}

@media (max-width: 768px) {
.button-prev-slider, .button-next-slider {
    display: none !important;
}
.scroll-banner-pagination {
    bottom: 26px !important;
}
.autoplay-progress svg {
    width: 50%;
    height: 50%;
}
}

.slider-image {
border-radius: 20px;
}

.swiper-pagination-bullet {
background-color: #3BA186 !important;
}
.swiper-header {
color: #682038;
font-weight: bold;
border-bottom: 1px solid #FBBA20;
white-space: nowrap;
padding: 0 5px;
display: inline-block;
}
.color-header-new {
color: #682038 !important;
}

.color-second-new {
color: #FBBA20 !important;
}

/* grade */

.grade-title {
    font-weight: 700;
    font-size: 22px;
    color: black;
    margin-bottom: 24px;
}

.container-section-grade {
    margin-bottom: 32px;
}

.container-grade {
    border-radius: 24px;
    box-shadow: 0px 1px 3px 0px #00000008;
    box-shadow: 0px 0px 8px 3px #0000000D;
}

.grade-text {
    font-weight: 600;
    font-size: 18px;
    padding: 24px;
    color: #150007;
    text-wrap: wrap;
}

.grade-text-color {
    color: #150007;
}

.grade-text-color:hover {
    color: #150007;
}

.container-grade-image {
    width: 50%;
}

/* monthly */

.container-month {
    margin-bottom: 48px;
}

.month-box {
    font-weight: 600;
    font-size: 16px;
    padding: 37px 22px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.month-box a {
    color: #150007;
}

@media (max-width: 998px) {
    .home-box-text-header {
        font-weight: 500;
        font-size: 18px;
        margin-bottom: 8px;
    }

    .home-box-text {
        padding: 16px;
        margin-left: 0px;
    }

    .home-box-text-body {
        font-weight: 400;
        font-size: 14px;
    }

    .container-content-text-image {
        flex-direction: column;


    }

    .container-home-box-text {
        margin-bottom: 11px;
    }

    .container-grade-image {
        width: 100%;
    }

    .grade-text-mobile {
        font-weight: 500;
        font-size: 14px;
        margin-top: 8px;
    }

    .container-grade-box {
        margin-bottom: 50px;
        text-align: center;
    }
    .container-footer-link {
        margin-bottom: 16px;
    }

    .footer-icons {
        margin-top: 0px;
    }

    .container-footer-icons {
        padding: 0px !important;
    }

    .text-footer {
        text-align: center;
    }

}

@media (max-width: 400px) {
    .text-footer {
        font-weight: 600;
        font-size: 12px;
        margin-bottom: 40px;
    }
}

.header-footer-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    height: 60px;
    background-color: white;
    box-shadow: 0px -2px 12px 0px #1500071C;
    display: none;
}

.home-text-footer-mobile {
    font-weight: 400;
    font-size: 12px;
    color: #150007;
    opacity: 64%;
}

.home-text-footer-mobile {
    font-weight: 400;
    font-size: 12px;
    color: #2A8F75;
}

.account-text-footer-mobile {
    font-weight: 400;
    font-size: 12px;
    color: #150007;
    opacity: 64%;
}

@media (max-width: 998px) {
    .header-footer-mobile {
        display: inline;
    }

    .container-content-text-image {
        margin-bottom: 16px !important;
    }
}

/* timer */


.timer-button, .timer-button:hover {
    color: #3BA186;
    border: 0px !important;
    font-size: 16px;
    font-weight: 600;
 }

 .timer-button.active {
     border: 0px !important;
     color: #3BA186 !important;
     background-color: transparent !important;
     border-bottom: 2px solid #3BA186 !important;
 }

 .nav-tab-timer {
     border-bottom: 2px solid #dbede7;
     display: flex;
     flex-wrap: nowrap;
     overflow-x: auto;
     overflow-y: hidden;
     text-wrap: nowrap;
     scrollbar-width: none;
 }

 .container-timer {
     display: flex;
     align-items: center;
     justify-content: end;
     width: 100%;
 }

 .widget-timer {
     display: flex;
     justify-content: left;
 }

 .timer-text {
     color: black;
     font-weight: 600;
     font-size: 32px;
     position: relative;
     padding: 1px;
     line-height: 63px;
     text-align: right;
 }

 .timer-link {
     text-align: right;
     display: flex;
     align-items: center;
 }

 .arrow-timer {
     margin-right: 5px;
     color: #56162C;
 }

 .timer-link a {
     color: #2A8F75;
     font-weight: 600;
     font-size: 16px;
     line-height: 24px;
 }

 .timer-nav-item-margin {
     margin-left: -11px;
 }

 .title-course {
    color: #150007;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.container-time-parent {
    position: relative;
    margin-right: 5px;
    margin-left: 5px;
}

.time-parent {
    font-size: 42px;
    font-weight: 600;
    line-height: 63px;
    width: 136px;
    height: 136px;
    border-radius: 24px;
    border: 2px solid #3BA186;
    display: flex;
    justify-content: center;
    align-items: center;
}

.time-seperator {
    font-size: 6vh;
    color: #FFC63B;;
}

.time-child {
    position: absolute;
    top: 155px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: 400;
    color: black;
}

.course-link, .course-link:hover {
    color: black;
}

.container-see-all {
    height: 17px;
}

.container-tab {
    margin-top: 13px;
}
.container-register-mobile {
    display: none;
}

.card-body-timer {
    margin: 20px 0 20px 0;
    padding-right: 0px;
    padding-left: 0px;
}

 @media (max-width: 990px) {
    .container-timer-text {
        display: none;
    }
    .container-timer {
        justify-content: center;
    }
    .text-timer-register-mobile {
        font-size: 16px;
        font-weight: 500;
        line-height: 24px;
    }
    .text-timer-register-mobile p {
        margin: 0px !important;
    }
    .card-body-timer {
        padding-top: 30px;
        position: relative;
    }

    .card-body-timer-timer {
        padding-top: 50px;
    }

    .container-register-mobile {
        display: inline;
        position: absolute;
        top: 10px;
        left: 0px;
        right: 0px;
    }
    .widget-timer {
        justify-content: center !important;
    }
    .timer-button.active {
        background-color: #2A8F75 !important;
        border-radius: 36px !important;
        border: 0px !important;
        color: white !important;
    }
    .timer-button {
        background-color: #f7f9f8 !important;
        margin-left: 5px;
        border-radius: 36px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
    }

    .timer-button:hover {
        font-size: 12px !important;
        font-weight: 400 !important;
    }
    .nav-tab-timer {
        border: 0px !important;
    }
}
@media (max-width: 767.98px) {
    .time-parent {
        width: 116px;
        height: 116px;
    }
    .time-child {
        top: 117px;
        font-size: 17px;
    }
}
@media (max-width: 550px) {
    .time-parent {
        width: 100px;
        height: 100px;
    }
}
@media (max-width: 440px) {
    .time-parent {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    .time-child {
        top: 96px;
        font-size: 16px;
    }
    .time-parent {
        font-size: 22px;
    }
}
@media (max-width: 330px) {
    .time-parent {
        width: 60px;
        height: 60px;
    }

    .time-child {
        top: 76px;
    }

}


.swiper-story-wraper {
    width: 189px !important;
}

.container-story {
    width: 189px;
    height: 246px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.story-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 0px;
    color: black;
}

.arrow-category-widget {
    color: #3BA186;
    font-size: 13px;
    padding-right: 10px;
}

.color-primary {
    color: #3BA186;
}

.color-primary:hover {
    color: #3BA186;
}

@media (max-width: 768px) {
    .see-all-category-widget span, .see-all-category-widget span:hover {
        font-size: 16px;
        font-weight: 600 !important;
        line-height: 24px;
    }
    .see-all-category-widget {
        position: absolute;
        top: 0px;
        left: 20px;
    }
    .container-see-all {
        height: 0px !important;
    }
    .arrow-category-widget {
        padding-right: 5px !important;
    }
}

@media (max-width: 768px) {
    .close {
        top: -20px;
        right: 10px;
    }
    .container-story {
        width: 128px !important;
        height: 158px !important;
    }
    .show-story-img {
        width: 100%;
    }
    .story-card {
        width: 128px;
        height: 213px;
    }


    .story-title {
        font-size: 13px !important;
    }

    .story-second-title {
        font-size: 12px;
    }

    .swiper-story-slide {
        width: 128px !important;
        margin-left: 12px !important;
    }
}

.container-news-widget {
    position: relative;
}


.swiper-button-next-category-widget {
    background-color: transparent;
    color: #2A8F75 !important;
    left: -40px !important;
    right: auto !important;
    transform: scale(-1, 1) !important;
}
.swiper-button-prev-category-widget {
    background-color: transparent;
    color: #2A8F75 !important;
    right: -40px !important;
    left: auto !important;
    transform: scale(-1, 1) !important;
}
.currency-price {
    font-size: 14px;
}

@media (max-width: 992px) {
    .swiper-button-next-category-widget {
        display: none !important;
    }
    .swiper-button-prev-category-widget {
        display: none !important;
    }
    .container-see-all {
        height: 10px;
        margin-left: 15px;
    }
    .nav-item-category-widget {
        font-size: 14px;
        font-weight: 500;
        background-color: #F9F7F8;
        border-radius: 8px;
        margin: 0 0 0 5px;

    }
    .nav-link-category-widget {
        font-size: 16px;
        font-weight: 600;
    }
    .nav-tabs-category-widget .nav-item-category-widget .active {
        border: 0px !important;
        background-color: #FFD8DC !important;
        border-radius: 8px !important;
    }
    .nav-tabs-category-widget {
        border: 0px !important;
    }
    .container-tab {
        margin: 20px 0px 60px 0px !important;
    }
}
