.widget_shopping_cart_content>.elementor-menu-cart__products {
    max-height: calc(100vh - 300px);
}

html[lang="zh-hant"] label[for="passw1"]:before {
    content: "密碼";
    font-size: 16px;
}

html[lang="zh-hans"] label[for="passw1"]:before {
    content: "密码";
    font-size: 16px;
}

html[lang="zh-hant"] label[for="passw1"],
html[lang="zh-hans"] label[for="passw1"] {
    font-size: 0;
}

.single-sfwd-courses .course-thumb .elementor-widget-container {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    background-position: 50% 50%;
    background-size: cover;
}

.single-sfwd-courses .course-thumb .elementor-widget-container img {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
    left: 0;
}

.box-link-menu h2.elementor-heading-title.elementor-size-default {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
}

.box-link-menu h2.elementor-heading-title.elementor-size-default a {
    height: 100%;
    align-items: center;
    display: grid;
}

.box-link-menu>.elementor-widget-wrap.elementor-element-populated {
    padding: 0 !important;
}

.right-my-account li.wppb-form-field.wppb-default-repeat-password input,
.right-my-account li.wppb-form-field.current-password input {
    width: 100%;
    height: 42px;
    padding-left: 17px;
    margin-top: 12px !important;
}

.right-my-account li.wppb-form-field.current-password,
.right-my-account li.wppb-form-field.wppb-default-password,
.right-my-account li.wppb-form-field.wppb-default-repeat-password {
    display: none;
}

h2.woocommerce-loop-product__title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 90px;
}

.product-list-home h2.woocommerce-loop-product__title {
    height: 75px;
}

.single-product .relate-product h2.woocommerce-loop-product__title {
    -webkit-line-clamp: 3;
    height: 85px;
}

.woocommerce table.my_account_orders .button {
    margin: 4px;
    padding: 6px;
}

.slide-course-list .swiper-wrapper .swiper-slide {
    box-sizing: border-box;
    height: auto !important;
}

.item-swiper-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.slide-course-list .swiper-slide .course-list_content .course-list_content__link {
    position: absolute;
    bottom: 40px;
    right: 0;
}

.slide-course-list .swiper-slide .course-list_content {
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 370px);
    padding-bottom: 80px;
}

.slide-course-list .course-list_content__title a {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 70px;
}

.learndash-wrapper .ld-expand-button.ld-compact .ld-icon {
    width: 9px;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    text-align: center;
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    color: #fff;
    background-color: rgba(0, 0, 0, .1);
}

td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a:hover {
    color: rgba(0, 0, 0, 1);
    background-color: #fff;
}

.container-list-courses_related .course-item_content__link a {
    display: inline-block;
}

.single-sfwd-courses .course-meta__link a,
.slide-course-list .course-item_content__link a,
.bt-back-profile a.elementor-button.elementor-button-link,
.container-list-courses form.form_search_course .btn_action_submit button,
.pp-woo-cart-buttons-inline .elementor-menu-cart__footer-buttons a.elementor-button,
.woocommerce-cart-form table.shop_table button.button[name="update_cart"],
.woocommerce-cart-form .coupon.shop_table button.button.e-apply-coupon[name="apply_coupon"] {
    border-radius: 10px;
}

.slide-course-list .slide-course-list-related__wrapper .course-item__img a {
    position: relative;
    overflow: hidden;
    padding-top: 65%;
    background-position: 50% 50%;
    background-size: cover;
    display: block;
}

.slide-course-list .slide-course-list-related__wrapper .course-item__img a img {
    width: 100%;
    height: 100%;
    top: 0;
    position: absolute;
    object-position: 50% 50%;
    object-fit: cover;
}

.ld-expand-button.ld-primary-background.ld-compact.ld-not-mobile:before {
    content: "";
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23ffffff" d="M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 15px;
    height: 15px;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}

.ld-item-list .ld-item-list-item .ld-status-icon.ld-status-complete.ld-secondary-background>span {
    display: none;
}

.ld-item-list .ld-item-list-item .ld-status-icon.ld-status-complete.ld-secondary-background:before {
    content: "";
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="%23ffffff" d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 15px;
    height: 15px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded .ld-progress-heading {
    flex-direction: row;
}

html[lang="zh-hant"] .ld-item-list .ld-item-list-item .ld-status,
html[lang="zh-hans"] .ld-item-list .ld-item-list-item .ld-status {
    font-size: 14px;
}

.ld-item-list .ld-item-list-item .ld-status {
    margin-bottom: 0;
}


.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button {
    position: relative;
}

.ld-expand-button.ld-primary-background.ld-compact.ld-not-mobile.ld-expanded:before {
    transform: translateX(-50%) rotate(180deg);
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button span.ld-icon-arrow-down.ld-icon {
    display: none;
}

.elementor-element-cd07aae.elementor-section-content-middle[data-id="cd07aae"]>.elementor-container.elementor-column-gap-no {
    justify-content: center;
}

.ld-item-list-item-preview .ld-status-icon.ld-status-in-progress.ld-secondary-in-progress-icon,
.ld-item-list-item-preview .ld-status-icon.ld-status-incomplete {
    display: none;
}



/* @media screen and (min-width: 1025px) {
    .slide-course-list .swiper-slide {
        height: 700px;
        display: block;
    }
    
    .slide-course-list .swiper-slide .course-list_content .course-list_content__link {
        position: absolute;
        bottom: 40px;
        right: 0;
    }
    
    .slide-course-list .swiper-slide .course-list_content {
        position: relative;
        padding-bottom: 80px;
        height: 50%;
    }
    
    .slide-course-list .swiper-slide .item-swiper-slide {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
} */

.slide-course-list .course-item_content__title a {
    line-height: 30px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 60px;
}

.cart_item .elementor-menu-cart__product-name.product-name:not(:has(a)),
.cart_item td.product-name:not(:has(a)) {
    color: #000;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-item-list-item.learndash-complete {
    background-color: #fff;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-item-list-item.learndash-complete a.ld-item-name * {
    color: #495255;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-item-list-item.learndash-complete a.ld-item-name p.pause_icon_watch svg {
    display: none;
}

.learndash-wrapper .ld-item-list.ld-lesson-list .ld-item-list-item.learndash-complete a.ld-item-name p.pause_icon_watch:before {
    content: "";
    width: 22px;
    height: 22px;
    display: block;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23019e7c" d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"/></svg>') no-repeat center;
}

.wc-proceed-to-checkout a.checkout-button.button.alt.wc-forward {
    margin-bottom: 20px;
    border-radius: 99px;
}

.woocommerce-view-order mark.order-number,
.woocommerce-view-order mark.order-date,
.woocommerce-view-order mark.order-status {
    background: none;
    color: unset;
}

.elementor-widget-woocommerce-checkout-page > .elementor-widget-container > .woocommerce {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    /* max-width: 750px; */
    /* margin: 0 auto; */
}

.elementor-widget-woocommerce-checkout-page > .elementor-widget-container > .woocommerce section.woocommerce-customer-details {
    margin-bottom: 0;
}

.elementor-widget-woocommerce-checkout-page > .elementor-widget-container > .woocommerce *:not(a) {
    color: #000 !important;
}

.pp-woo-mini-cart-items .elementor-menu-cart__product-price.product-price * {
    color: #262626;
}

.elementor-widget-woocommerce-cart .woocommerce form.woocommerce-cart-form table.cart tr:last-child td button.button[disabled] {
    display: none !important;
}

form.woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item.cart_item:not(:has(td.product-name a)) td.product-quantity .quantity:before {
    content: "1";
    color: #000;
    font-size: 14px;
}

@media screen and (max-width: 1280px) and (min-width:1025px) {
    .row-right-0 {
        margin-left: 30px !important;
    }

    .row-left-0 {
        margin-right: 30px !important;
    }

    .primary-header > .elementor-container.elementor-column-gap-default {
        margin: 0 30px;
    }
    
    .primary-header > .elementor-container.elementor-column-gap-default .elementor-column.elementor-col-50.elementor-top-column:first-child > .elementor-widget-wrap.elementor-element-populated {
        padding-left: 0;
    }
    
    .primary-header > .elementor-container.elementor-column-gap-default .elementor-column.elementor-col-50.elementor-top-column:last-child > .elementor-widget-wrap.elementor-element-populated {
        padding-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .course-item_content__price>span {
        display: block;
    }

    .slide-course-list .course-item_content__title a {
        font-size: 14px;
        line-height: 24px;
        text-overflow: ellipsis;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        height: 48px;
    }

    table.woocommerce-orders-table tr.woocommerce-orders-table__row.order {
        margin-bottom: 30px;
    }
    
    table.woocommerce-orders-table {
        border: none !important;
    }
    
    table.woocommerce-orders-table tr.woocommerce-orders-table__row.order > td:first-child {
        border-top: 1px solid hsla(0,0%,50.2%,.5019607843) !important;
    }
    
    table.woocommerce-orders-table tr.woocommerce-orders-table__row.order > td:not(:first-child) {
        border-top: none;
    }
    
    table.woocommerce-orders-table tr.woocommerce-orders-table__row.order > td::before {
        position: absolute;
        float: none;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    table.woocommerce-orders-table tr.woocommerce-orders-table__row.order > td {
        position: relative;
    }

    form.woocommerce-cart-form tr.woocommerce-cart-form__cart-item.cart_item {
        padding: 0 !important;
    }
    
    form.woocommerce-cart-form tr.woocommerce-cart-form__cart-item.cart_item:first-child td.product-remove {
        padding: 0;
    }
    
    form.woocommerce-cart-form tr.woocommerce-cart-form__cart-item.cart_item td.product-remove {
        padding: 16px 0 0;
    }
    
    form.woocommerce-cart-form tr.woocommerce-cart-form__cart-item.cart_item td {
        padding: 10px 0;
    }
    
    .elementor-widget-woocommerce-cart .woocommerce form.woocommerce-cart-form table.cart tr:last-child {
        display: block !important;
        padding-left: 0;
        padding-right: 0;
    }
    
    .elementor-widget-woocommerce-cart .woocommerce form.woocommerce-cart-form table.cart tr:last-child td{
        display: block;
    }
}

@media screen and (max-width: 767px) {
    .single-product .relate-product h2.woocommerce-loop-product__title {
        height: 50px;
    }
}

@media screen and (max-width: 640px) {
    .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button {
        display: flex !important;
    }
    
    .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-details .ld-expand-button.ld-button-alternate.ld-mobile-only {
        display: none !important;
    }
    
    .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-item-details {
        margin-left: 0 !important;
        width: 100%;
        justify-content: end;
        position: relative;
    }
    
    .ld-item-list .ld-item-list-item .ld-status {
        position: absolute;
        left: 0;
    }
}