/* channel_home */
.ez_channel_view#grid .ez-card-grid {
    display: block;
}

.ez_channel_view#grid .ez-card-list {
    display: none;
}

.ez_channel_view#list .ez-card-list {
    display: block;
}

.ez_channel_view#list .ez-card-grid {
    display: none;
}

/* 顯示new line characters \n */
.pre-formatted {
    white-space: pre-wrap;
}

.comment-single_body .pre-formatted p {
    margin-bottom: 1rem;
}

.comment-single_body .pre-formatted {
    white-space: normal;
}

.scrollable-menu {
    height: auto;
    max-height: 200px;
    overflow-x: hidden;
}

/* .dropdown-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
} */
.img-inline {
    width: auto;
    display: inline;
    max-width: 100%;
}

.course-iconlist img {
    width: 20px;
    height: 20px;
}

.will_learn img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: inline;
}

.comment-editor img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.my_video {
    left: 50%;
}

.image-upload input {
    display: none;
}

.label-upload {
    cursor: pointer;
}

.mg-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .img-preview img {
    max-width: 400px;
}
 */
.assignment-img .cam-icon {
    width: 20%;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    height: auto;
    opacity: 0;
    transition: 0.3s;
}

.assignment-img:hover .cam-icon {
    opacity: 1;
    top: 50%;
    transition: .3s;
}

.embed-container1 {
    height: 460px;
    width: 100%;
    background-color: black;
    text-align: center;
}

.embed-container {
    position: relative;
    padding-bottom: 63.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.videorow {
    /* margin: 10px auto; */
    background-color: black;
}

img {
    height: auto;
}

.course-info blockquote {
    color: rgba(0, 0, 0, 0.87);
    font-size: 18px;
    letter-spacing: 0.1em;
    margin: 24px 0px;
    padding: 2px 0px 2px 16px;
    border-left: 5px solid rgb(250, 139, 0);
}

/*------------------------------------*\
//$member
\*------------------------------------*/
.member-mycoupon-tab li {
    width: 33%;
}

/* fix wrap-content*/
.wrap-content-mb {
    margin-bottom: 5rem;
    min-height: 500px;
}

/* EZ_wtyle.css for login register */
/* ============ modal ============ */
.section_center {
    padding: 10px 0 0 0;
    text-align: center;
    width: 350px;
    margin: 0px auto;
}

#loginModal .section_center {
    margin-bottom: 0;
}

.modal_left_top_wave {
    width: 70%;
}

.modal_right_bottom_wave {
    position: absolute;
    width: 50%;
    bottom: 0;
    right: 0;
}

.close_modal {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 5px;
}

.close_modal .close {
    font-size: 3rem;
    font-weight: 100;
}

.account_icon,
.password_icon {
    width: 24px;
    display: inline-block;
    margin-right: 10px;
}

.ez_label {
    padding: 2px !important;
    font-size: 16pt;
    vertical-align: top;
}

.ez_input_col {
    padding: 2px;
}

.ez_input {
    background-color: #efefef;
    border: none;
    height: 50px;
    border-radius: 6px;
}

.ez_btn {
    max-width: 300px;
    width: 100%;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
}

.ez_btn_sm {
    padding: 4px 18px;
    border-radius: 40px;
    margin: 6px 0;
}

.ez_btn_md {
    padding: 15px 20px;
    width: 250px;
    border-radius: 40px;
}

/* ============ 登入註冊 ============ */
.account_action {
    text-align: center;
    padding: 10px;
    margin: 10px;
}

.action_btn {
    display: inline-block;
    padding: 0 6px;
    color: #000;
}

.or_line {
    color: #adadad;
    position: relative;
}

.or_line::before {
    content: " ";
    position: absolute;
    border: 1px solid #e0e0e0;
    bottom: 8px;
    left: 0;
    width: 44%;
    height: 0;
}

.or_line::after {
    content: " ";
    position: absolute;
    border: 1px solid #e0e0e0;
    bottom: 8px;
    right: 0;
    width: 44%;
    height: 0;
}

.other_login a,
.other_login {
    padding: 8px 20px;
    border-radius: 25px;
    color: #fff;
    margin: 15px auto;
    text-align: left;
}

.other_login img {
    height: 20px;
    width: auto;
    margin-right: 28px;
    margin-left: 10px;
    display: inline-block;
}

.fb_login {
    background-color: #3b5998;
}

.line_login {
    background-color: #00c300;
}

.google_login {
    background-color: #ffffff;
    color: #2073fa;
    border: solid 1px #e0e0e0;
}

.google_login a {
    color: #2073fa;
}

.ez_btn_primary {
    background: linear-gradient(to bottom, #374bc8, #6f5dd2);
    color: #fff;
    margin: 0 auto;
    border: 0;
    font-size: 20px;
}

.ez_btn_short {
    width: 205px;
    padding: 8px 20px;
    border-radius: 25px;
}

.terms {
    text-align: center;
    padding: 0 0 85px 0;
}

.terms a {
    text-decoration: underline;
    color: #000;
}

.agree_checkbox_div {
    position: relative;
    top: 10px;
}

.agree_checkbox {
    position: absolute;
    visibility: hidden;
}

.agree_checkbox_img {
    background: url(/images/layout/agree_check.png);
    width: 30px;
    height: 30px;
    background-size: cover;
    margin: 0;
    cursor: pointer;
}

.agree_checkbox:checked+.agree_checkbox_img {
    background: url(/images/layout/agree_checked.png);
    width: 30px;
    height: 30px;
    background-size: cover;
}

#ezModal .modal-content,
#ezModal-sm .modal-content {
    border-radius: 0.3rem;
}

.forget_password_section {
    margin: 70px auto;
    margin-bottom: 60px;
}

.forget_word {
    font-size: 14pt;
}

.hover_move {
    transition: transform .3s, box-shadow .3s;
}

.hover_move:hover {
    transform: translateY(-3px);
}

.hover_shadow {
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
}

.hover_shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);
}

.section_center a {
    cursor: pointer;
}

.section_center a:hover {
    text-decoration: none;
}

.ez_input:focus {
    box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.error {
    color: #ef1f1f;
    font-size: 1rem;
    position: relative;
    line-height: 1.5rem;
    display: flex;
}

.px-100 {
    padding: 0 100px;
}

#eventModal .section_center {
    margin-bottom: 85px;
    width: 380px;
}

.forget_word {
    font-size: 14pt;
}

.modal_title {
    color: #312185;
    font-weight: bold;
}

.complete_event_section {
    margin: 50px auto;
    margin-bottom: 100px;
    width: 365px;
}

.select-hide {
    display: none;
}

#confirmModal .modal-content {
    background-color: #F2F4FF;
    border-radius: 0.3rem;
}

/* coupon card*/
.member_coupon_card .btn {
    padding: 0.375rem 0.75rem;
}


#questionModal .section_center {
    margin-bottom: 85px;
}

.question_modal_title {
    padding: 2px;
    font-size: 20pt;
    color: #312185;
    font-weight: bold;
}

.draft_tag {
    width: 50px;
    height: 50px;
    background-color: #e60012;
    border-radius: 50%;
    position: absolute;
    top: -14px;
    right: 10px;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-size: 12px;
}

.scrollable_member_list {
    height: auto;
    max-height: calc(100% - 80px);
    overflow-x: hidden;
}

@media (min-width: 576px) {
    #ezModal .modal-dialog {
        max-width: 570px;
        margin: 0 auto;
    }

    #ezModal-sm .modal-dialog {
        max-width: 470px;
        margin: 60px auto;
    }

    #askEventModal-sm .modal-dialog {
        max-width: 470px;
        margin: 60px auto;
    }

    #eventSuccessModal-sm .modal-dialog {
        max-width: 470px;
        margin: 60px auto;
    }

    .modal-content {
        border-radius: 0;
    }

    #subscribeModal .modal-dialog {
        max-width: 570px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .modal-content {
        border-radius: 0;
    }

    .ez_input_col .form-control {
        width: 90%;
    }

    .section_center {
        padding: 20px;
        width: 100%;
        margin: 20px auto;
        margin-bottom: 0;
    }

    .account_icon,
    .password_icon {
        width: 20px;
    }

    .ez_label {
        font-size: 12pt;
    }

    .terms {
        font-size: 10pt;
        padding: 0 0 100px 0;
    }

}

@media (max-width: 1200px) {
    .px-100 {
        padding: 0;
    }
}

/* slick change image*/
.ez-banner-img {
    display: block;
}

.ez-banner-img-mobile {
    display: none;
}

@media (max-width: 767.98px) {
    .ez-banner-img {
        display: none;
    }

    .ez-banner-img-mobile {
        display: block;
    }
}

.sub-banner-row_inner a{
    display: inline;
}

.new_album_ez-card .card-footer_info {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
    margin: 6px 0;
}

@media (max-width: 575.98px) {
    .new_album_ez-card .card-footer_info {
        min-height: 60px;
    }
}

/* 手機板的圖 */
.imgContainer {
    height: auto;
    display: flex;
    align-items: flex-start;
}

/* playbar 參考https://codepen.io/jamesbarnett/pen/kfmKa  
https://www.w3docs.com/learn-css/animation.html
https://stackoverflow.com/questions/21233033/how-can-i-create-a-marquee-effect*/
.marquee span {
    position: relative;
    overflow: hidden;
    will-change: transform;
    display: inline-block;
    animation: marquee 15s linear 1s infinite;
}

.ez-player_ttl.marquee {
    white-space: nowrap;
    width: 80%;
}

@keyframes marquee {

    /* 100% { left: 0; }
    0% { left: 90%; } */
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.ez-playersidebar_list-item.unpreview {
    background-color: #F2F4FF;
}

.ez-player_box-article {
    position: relative;
    height: auto;
}

.ez-playersidebar-collapse_btn:hover {
    opacity: 1;
}

.vimeo_player {
    padding: 56.25% 0 0 0;
    position: relative;
}

.vimeo_player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 錨點 位置調整 (浮動導覽列遮住錨點位置的問題) */
/* https://stackoverflow.com/questions/4086107/fixed-page-header-overlaps-in-page-anchors */
:target::before {
    content: "";
    display: block;
    height: 90px;
    /* fixed header height*/
    margin: -90px 0 0;
    /* negative fixed header height */
}

.ez-tag-badge-search {
    /* background-color: #FFD000; */
    color: #343434;
    font-size: 0.75rem;
    padding: 0.1rem 0.3rem 0.1rem;
}

.article-info {
    font-size: 0.8rem;
}

.ez-tag-badge-search a {
    color: #343434;
}

.thumbnail:after {
    cursor: pointer;
}

.video_modal .card-footer_info {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    min-height: 25px;
    max-height: 70px;
    overflow: hidden;
    margin: 0;
}

.such_as_image .btn-outline-primary:before {
    content: none;
}

.such_as_image .btn-outline-primary {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-width: 2px;
    border-color: #5E52F6;
    border-style: solid;
    border-radius: 2rem;
}

.such_as_image label {
    margin-bottom: 0%;
}

/*------------------------------------*\
//purchaxe plan: bundle, three people
\*------------------------------------*/
/* .bundleblock-plan {
    display: flex;
} */
.bundleblock-body {
    font-size: 14px;
}

.bundle_course-cover {
    width: 100px;
    padding-top: 62px;
    flex: 0 0 100px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.bundle_course-cover-img {
    background-image: url(/images/img/img_course.png);
}

.bundle-item {
    flex-basis: 320px;
}

@media (max-width: 576px) {
    .bundle-item {
        width: 100%;
        flex: initial;
        margin-bottom: 0.5rem;
    }
}

.bundle_plus {
    font-size: 40px;
    color: darkgray;
}

.bundle_product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bundle_product-price {
    color: red;
    text-decoration: line-through;
    font-size: 13px;
}

.bundle-price {
    color: red;
}

.product-total {
    text-decoration: line-through;
    font-size: 13px;
}

.bundleblock-body>hr {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.bundleblock {
    padding: 0.75rem 1rem;
}

/* 3人合購 */
/* .group_buy input[type="radio"]{
    width: 0;
    height: 0;
    line-height: 1.5;
} */

.group_block {
    padding: 0.75rem 0.75rem;
    border-color: gray;
    min-width: 145px;
    border-width: 2px;
}

@media (max-width: 1180px) {
    .group_block {
        padding: 0.75rem 0.5rem;
        min-width: 125px;
        border-width: 2px;
    }
    .sales_plan .group_buy{
        padding-right: 2px !important;
        padding-left: 8px !important;
    }
}
.group_block:hover {
    opacity: 0.7;
}

.group_buy input[type="radio"]:checked+label,
.group_buy input[type="radio"]:not(:checked)+label {
    line-height: 1.5;
    width: 45%;
    padding-left: 0.75rem;
}

.group_buy input[type="radio"]:checked+label:before,
.group_buy input[type="radio"]:checked+label:after,
.group_buy input[type="radio"]:not(:checked)+label:before,
.group_buy input[type="radio"]:not(:checked)+label:after {
    content: none;
}

.group_buy input[type="radio"]:checked+label {
    border-color: #5E52F6;
    color: white;
    background-color: #5E52F6;
    /* background-color: transparent; */
}

.group_buy input[type="radio"]:checked+label .group_product-price {
    color: white;
}

.group_buy label {
    margin-bottom: 0;
}

.group_product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.group_product-price {
    color: red;
    font-weight: bold;
}

.group_product-footer {
    font-size: 14px;
    margin-top: 0.5rem;
}

.orderblock-suborder-group {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .orderblock-suborder-group {
        border-right: 0px;
    }
}

.sales_plan input[type="radio"]:checked+label,
.sales_plan input[type="radio"]:not(:checked)+label {
    line-height: 1.5;
    width: 95%;
    padding-left: 0.75rem;
}

/* 
@media (max-width: 374.98px) {
    .orderblock-suborder-group h5{
        font-size: 0.75rem;
    }
} */

.open_list{
    position: relative;
    animation: hide_button 15s;
    animation-iteration-count: 1;
    left: 110px;
}

.open_list span {
    padding-left: 0.5rem;
}

@keyframes hide_button{
    from {left: 110px;}
    to {left: 0px;}
}

/*------------------------------------*\
//贈品計數器
\*------------------------------------*/
.myImg {
    width:100%;
    max-width: 120px;
    cursor: pointer;
    transition: 0.3s;
}

.myImg:hover {
    opacity: 0.7;
}

.giveaway-item-more .myImg{
    max-width: 150px;
}

.giveaway-item {
    padding: 1rem;
}

.giveaway-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.giveaway-qty {
    color: red;
}

.giveaway-qty-more {
    color: red;
    font-weight: bold;
    font-size: 0.9rem;
    padding-left: 1.5rem;
}

.giveaway-title-more {
    font-size: 1.25rem;
    font-weight: bold;
    padding-bottom: 0.5rem;
}

.giveaway-item-more {
    padding-bottom: 0.5rem;
}

.plan-title {
    font-weight: bold;
    padding-left: 1.5rem;
    background-image: url(/images/icon/hand-right.svg);
    background-repeat: no-repeat;
    background-size: 1.25rem;
}

.giveaway-plan {
    font-size: 1rem;
    padding-left: 1.5rem;
}

/* .giveaway-more {
} */

/* The Modal (background) */
.modal_giveaway {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* overflow: auto; */
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.modal_giveaway-container {
    padding: 20px 0;
    height: 90vh;
    width: 90%;
    margin: auto;
    /* background-color: white; */
    position: relative;
}

/* Modal Content (Image) */
.modal_giveaway-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 300px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#img_caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 300px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal_giveaway-content,
#img_caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close_giveaway {
    z-index: 1;
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close_giveaway:hover,
.close_giveaway:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal_giveaway-content {
        width: 100%;
    }
}
/* 贈品計數器 end */

/*------------------------------------*\
//course practice question
\*------------------------------------*/
.question_inner {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;

}

.course_question-content blockquote {
    border-left: 8px solid #FECA29;
}

.question_inner_group {
    align-items: center;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 0.5rem;
    border-width: 1px;
    border-style: solid;
    border-color: #D8D8D8;
}

.question_no_inline {
    width: 1.25rem;
}

.question_result_inner {
    border-radius: 0.5rem;
    /* border-color: #d8d8d8;
    border-style: solid;
    border-width: 1px; */
    padding: 2rem;
    margin: 2rem 0;
    background-color: white;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
}

.finish_question {
    font-weight: bold;
    font-size: 1.5rem;
    font-family: "Lucida Console", "Times New Roman", monospace;
    height: 50px;
    min-width: 45px;
}
@media (max-width: 575.98px) {
    .finish_question {
        min-width: 40px;
    }
}

.quiz_image {
    width: auto;
    max-width: 100%;
    padding-bottom: 1rem;
}

.ez-player_box-article {
    background-color: #F2F4FF;
}

.quiz_wrong {
    background-image: url(/images/icon/course-wrong.svg);
    background-position: center center;
    background-repeat: no-repeat;
}

.quiz-check-label {
    margin-bottom: 0;
    display: contents;
}

.quiz-choice_check {
    margin-right: 0.5rem;
    float: left;
    color: #dc3545;
}

.quiz-choice_checked {
    margin-right: 0.5rem;
    float: left;
    color: #9058F5;
}

.quiz-choice_error {
    margin-right: 0.5rem;
    float: left;
    color: #adb5bd;
}

.quiz-choice_unchecked {
    margin-right: 0.5rem;
    float: left;
    color: #adb5bd;
}

.quiz-correct_answer {
    padding-left: 1.25rem;
    color: #9058F5;
}

.quiz-label-choice_check {
    color: #dc3545;
}

.analyze_title {
    color: #9058F5;
}

.quiz_analyze_response ul {
    list-style-type: square;
}

.quiz_analyze_response ol {
    padding: 0;
}

.course_question-content p {
    margin-bottom: 1rem;
}

.ez-playersidebar-collapse_quiz_btn {
    position: relative;
    text-align: left;
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    /* background-color: #F2F4FF; */
    border-bottom: 1px solid #D8D8D8;
    border-radius: 0;
    cursor: pointer;
}

.ez-playersidebar-collapse_quiz_btn.collapsed .icon-off {
    display: none;
}

.ez-playersidebar-collapse_quiz_btn.collapsed .icon-on {
    display: block;
}

.ez-playersidebar-collapse_quiz_btn:not(.collapsed) .icon-off {
    display: block;
}

.ez-playersidebar-collapse_quiz_btn:not(.collapsed) .icon-on {
    display: none;
}

.feedback_body {
    padding-left: 64px;
}

.feedback_ez-card .card-body {
    border-radius: 0.5rem 0.5rem 0 0;
}

.feedback-course {
    vertical-align: middle;
    font-size: 0.9rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: 20px;
    max-height: 20px;
    overflow: hidden;
}

.feedback_ez-card .comment-content {
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    min-height: 75px;
    max-height: 215px;
    overflow: hidden;
    margin: 0;
}

@media (max-width: 575.98px) {
    /* .feedback_ez-card .comment-content {
        min-height: 200px;
    } */
}

/*------------------------------------*\
//member external
\*------------------------------------*/
.member-external-tab li {
    width: 50%;
}

.proof_image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    padding-top: calc(87.5px);
    text-align: center;
    align-items: center;
    color: rgba(0, 0, 0, 0.43);
    background-color: rgba(0, 0, 0, 0.12);
    background-image: url('');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease 0s;		
}

.proof_image:hover {
    /* color: white; */
    opacity: 0.5;
}

.cloud_upload {
    display: block;
    height: calc(50%);
    background-image: url('/images/icon/cloud-upload.svg');
    background-repeat: no-repeat;
    background-position: center;

}

/*------------------------------------*\
//add book
\*------------------------------------*/
.cart-area-title {
    border-bottom: 2px solid #0071ed;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5px;
    padding-top: 20px;
}

.cart-area-title h5 {
    display: inline;
    padding: 5px 15px 3px 15px;
    float: left;
    border-radius: 4px 4px 0px 0px;
    border-top: 1px solid #0071ed;
    border-left: 1px solid #0071ed;
    background-color: #0071ed;
    min-width: 110px;
    text-align: center;
    position: relative;
    font-size: 1rem;
    line-height: 1.25;
    color: #fff;
}

.cart-area-title .notice-text {
    padding: 5px 15px;
}

.add-products-container {
    align-items: center;
    padding: 1rem;
    border-width: 1px;
    border-style: solid;
    border-color: #D8D8D8;
    border-radius: 4px;
}

.add-products-item {
    padding: 0px 30px 10px !important;
}
@media (max-width: 575.98px) {
    .add-products-item {
        padding: 0px 15px 15px !important;
    }
}

.book-img {
    /* width: 90%;
    display: flex;
    flex-direction: row; */
    max-width: 80%;
    padding-top: 110%;
    background-image: url(/images/img/img-albumcover.jpg);
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}

.book-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 45px;
    min-height: 45px;
    overflow: hidden;
    margin: 15px 0px 10px;
    font-size: 0.9rem;
}

.number-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.select-quantity {
    display: inline-block;
    vertical-align: middle;
    align-items: center;
    width: 92%;
    border: 1px solid #cccccc;
    border-radius: 3px;
}

.select-quantity a.disabled {
    color: #d0d0d0;
    cursor: auto;
}

.select-quantity .minus, .select-quantity .plus {
    background-color: #f2f2f2;
    color: #959595;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 35px;
    text-decoration: none;
}

.select-quantity .minus, .select-quantity .plus, .select-quantity input {
    display: block;
    float: left;
    width: 30px;
}

.select-quantity .minus {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.select-quantity .plus {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.select-quantity input {
    width: calc(100% - 60px);
    height: 35px;
    text-align: center;
    background-color: #fff;
    border: 0;
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
    color: #5a5a5a;
    font-size: 15px;
    vertical-align: middle;
    outline: none;
}

.products-price {
    color: #838383;
    font-size: 0.9rem;
}

.products-price-lg {
    color: red;
    font-weight: bold;
    font-size: 1.2rem;
}

.add-products-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

#productModal {
    overflow-x: hidden;
    overflow-y: auto;
}

#productModal .section_center {
    width: 90%;
    margin-bottom: 30px;
}

.product-detail {
    display: flex;
    margin-bottom: 2rem;
}

@media (min-width: 992px) {
    .book-img-container {
        float: left;
        width: 440px;
    }

    .product-info {
        width: calc(100% - 465px);
        float: right;
    }
}

.product-info-name {
    margin: 15px 0px 10px;
    font-size: 1rem;
}

.product-content {
    text-align: left;
    padding-bottom: 2rem;;
}

.product-btn {
    display: flex;
    justify-content: center;
    padding-bottom: 2rem;
}

.product-btn .ez-btn-sm{
    width: 30%;
}

@media (max-width: 575.98px) {
    .product-btn .ez-btn-sm{
        width: 70%;
    }
}

.cart-book-img {
    width: 70px;
    height: 96px;
    display: flex;
    flex-direction: row;
}

.cart-book-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.td-group-5 .qty-title {
    display: none;
}

@media(max-width:1024px) {
    .td-group-5.td-1 {
        width: 50%;
    }

    .td-group-5 .qty-title {
        display: inline-block;
    }
    .td-group-5 .course-qty {
        text-align: right;
    }
}

.popup-book-img {
    width: 100px;
    height: 100px;
    display: inline-block;
    vertical-align: top;
}

.popup-book-img img {
    width: 75%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.popup-book-name {
    height: 72px;
}

.overflow-ellipsis-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.free-shipping {
    text-align: left;
}

@media (min-width: 768px) {
    #confirmModal .modal-xl {
        max-width: 700px;
    }
}

@media (min-width: 992px) {
    #confirmModal .modal-xl {
        max-width: 900px;
    }
}

#confirmModal .rwd-table td{
    white-space: nowrap;
}

#confirmModal .rwd-table td:first-child{
    white-space: normal;
}

.suborder_price-pay {
    white-space: nowrap;
}

.suborder_book-cover {
    width: 100px;
    padding-top: 136px;
    flex: 0 0 100px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.suborder_course-cover-img {
    background-image: url(/images/img/img_course.png);
}

.add_product_panel {
    background-color: #c4bdf9;
    padding: 0.5rem 0 0.5rem 0.75rem;
    font-size: 0.9rem;
}

.add_product_ttl {
    border-style: solid;
    border-color: #9058f5;
    border-width: 1px;
    padding: 0.1rem 0.25rem;
    margin-right: 0.5rem;
    color: #9058f5;
    font-weight: 700;
}

.add_product_preview {
    color: #9058f5;
    font-weight: 700;
}

.add_products_container {
    background-color: #fff;
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.tooltip-inner  {
    background-color: #555;
}

.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #555 !important;
}
  
.tooltip.bs-tooltip-left .arrow:before {
   border-left-color: #555 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #555 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
    border-top-color: #555 !important;
}

.exam-inner_ttl{
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #D8D8D8;
}

.exam-subject-list {
    margin-top: 2rem;
    margin-bottom: 2rem;
    /* border: 1px solid #D8D8D8; */
    /* border-radius: 1rem; */
}

.exam-subject-list-inner {
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.exam-subject-list-inner .ez-playersidebar-collapse_btn {
    background-color: #b3a8ff;
    color: #fff;
    /* border-bottom: 0px; */
}

.exam_question-content p {
    margin-bottom: 0.5em;
}

.exam_question-content blockquote {
    border-left: 8px solid #FECA29;
}

.exam-quiz-badge-blue{
    display: inline-block;
    border: 1px solid #2276d2;
    border-radius: 5px;
    padding: 0px 4px;
    margin: 1px 1px;
    color: #2276d2;
}

.exam-quiz-badge-grey{
    display: inline-block;
    border: 1px solid #6c757d;
    border-radius: 5px;
    padding: 0px 4px;
    margin: 1px 1px;
    color: #6c757d;
}

.exam-quiz-table{
    border: 1px solid #333;
    padding: 1rem;
}

.exam-quiz-translation-image {
    max-width: 600px;
}

.home-banner-row .slick-slide {
    opacity: 0;
}

.home-banner-row .slick-slide.slick-active {
    opacity: 1;
}

.home-banner-row {
    padding-left: 0px;
    padding-right: 0px;
}

/*------------------------------------*\
//$Live Streaming
\*------------------------------------*/

@media (max-width: 767.98px) {
}

@media (max-width: 575.98px) {
}


.live-banner-row {
    position: relative;
}

@media (max-width: 575.98px) {
    .live-banner-row_inner .container {
        padding-left: 0;
        padding-right: 0;
    }
}

.ez-banner_single-live {
    position: relative;
    min-width: 720px;
    max-width: 720px;
}

@media (max-width: 767.98px) {
    .ez-banner_single-live {
        width: 100%;
        min-width: 540px;
        max-width: 540px;
    }
}

@media (max-width: 575.98px) {
    .ez-banner_single-live {
        min-width: 0;
    }
}

.ez-banner_single-live-img {
    display: block;
    padding-top: 74.13%;
    background-image: url(/images/img/banner-lg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.live-banner-row .container {
    max-width: 720px;
}

.live-banner-row .slick-slide {
    opacity: 0.2;
}

.live-banner-row .slick-slide.slick-active {
    opacity: 1;
}
  
/* main_wall */
.main_wall-card .card-inner {
    display: grid;
    grid-template-areas: 'cover' 'body';
    overflow: hidden;
    border-radius: 0.5rem;
}

@media (min-width: 991.98px) {
    /* fr 份數 */
    .main_wall-container-0 {
        grid-template-columns: auto 1fr;    
        grid-template-areas: 'cover body' !important;
    }

    .main_wall-container-1 {
        grid-template-columns: 1fr auto;    
        grid-template-areas: 'body cover' !important;
    }
}

.main_wall-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 70px;
    min-height: 70px;
    margin: 0;
    font-weight: 700;
}
  
@media (max-width: 575.98px) {
    .main_wall-card .card-title {
        max-height: 60px;
        min-height: 60px;
    }
}

.main_wall-card .card-info {
    position: relative;
    background-color: #fff;
    /* flex-grow: 1; */
    grid-area: body;
}

@media (max-width: 991.98px) {
    .main_wall-card .card-info {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0.5rem;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0.5rem;
    }
}

.main_wall-card .main_wall-card-img {
    position: relative;
    background-image: url(/images/img/banner-lg-m.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 56.25%;
    grid-area: cover;
}

@media (min-width: 992px) {
    .main_wall-card .main_wall-card-img {
        width: 600px;
    }
}

@media (min-width: 1200px) {
    .main_wall-card .main_wall-card-img {
        width: 760px;
    }
}

.main_wall-card .card-footer {
    padding: 0;
    padding-top: 2rem;
}

.main_wall-card .card-footer_info {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    min-height: 120px;
    max-height: 120px;
    overflow: hidden;
    margin-bottom: 1rem;
}

@media (max-width: 1199.98px) {
    .main_wall-card .card-footer_info {
        -webkit-line-clamp: 3;
        min-height: 72px;
        max-height: 72px;
    }
}

.playback-card .card-time {
    font-size: 12px;
}

.main_wall-card .card-time,
.playback-card .card-time {
    margin-bottom: 1rem;
    color: rgba(0,0,0,.8);
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 15px;
}

.main_wall-card .card-time-logo,
.playback-card .card-time-logo {
    background-color: #9058f5;
    border: 1px solid #9058f5;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
    color: #fff;
    padding: 4px 8px;
    position: relative;
    white-space: nowrap;
    font-weight: 700;
}

.main_wall-card .count-down,
.playback-card .count-down {
    color: rgba(0,0,0,.6);
    border: 1px solid #9058f5;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    background-color: hsla(0,0%,100%,.8);
    padding: 4px 8px;
    white-space: nowrap;
}

/* live streaming page */
.live-video {
    position: relative;
}
  
.live-thumbnail {
    width: 100%;
    padding-bottom: 56.25%;
    background-image: url();
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.playback-img {
    background-image: url();
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background-size: cover;
    background-position: center center;
  }

.playback-card .card-footer_price {
    position: relative;
    min-height: 0px;
}

.playback-video-in {
    padding-top: 56.25%;
}

.live-end-container {
    padding-top: 56.25%;
    min-width: 287px;
    position: absolute;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.live-end-inner {
    position: absolute;
    left: 40%;
    top: 33%;
    color: white;
}

.live-end-title {
    font-size: 0.8rem;
}

.live-end-text {
    font-size: 0.8rem;
}

.live-end {
    padding-top: 56.25%;
    width: 100%;
    position: absolute;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .live-end-title {
        font-size: 1.2rem;
    }

    .live-end-container {
        width: 466px;
    }
    .live-end-inner {
        left: 42%;
        top: 40%;
    }
}

.live-mask {
    width: 100%;
    padding-bottom: 56.25%;
    background-image: url();
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    /* background: no-repeat 50%/cover; */
    filter: blur(5px) brightness(0.5);
    z-index: -1;
}

/* #zmmtg-root {
    margin-top: 66px;
} */

.live-btn {
    display: block;
}

.live-btn-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .live-btn {
        display: none;
    }

    .live-btn-mobile {
        display: block;
    }
}

/* menu highlight */
body.course .category_course,
body.album .category_album,
body.article .category_article,
body.channel .category_channel,
body.video .category_video,
body.live .category_live {
    color: #6010f1;
    font-weight: bold;
}

.ez-nav {
    background-color: #fff;
}

.article-inner_content {
    line-height: 2;
}

.ez-nav .dropdown-item {
  font-size: 90%;
}

.menu-ezp a{
    position: relative;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

.menu-ezp a .ezp-icon{
    width: 30px;
    height: 30px;
    margin-right: 6px;
}

.menu-ezp .ezp-container{
    display: flex;
}

.menu-ezp .ezp-more{
    margin-left: 6px;
}

/* .menu-ezp a .ezp-text{
    font-weight: bolder;
} */

.ezp-text{
    font-weight: bolder;
}

.siderbar-ezp {
    display: flex;
    align-items: center;
}

.siderbar-ezp a{
    position: relative;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

.siderbar-ezp a .ezp-icon{
    width: 30px;
    height: 30px;
    margin-right: 6px;
}

.ezp-info{
    margin-left: 6px;
}

/* points table */
.points-table {
    display: table;
    width: 100%;
}

.points-thead {
    display: table-header-group;
    font-weight: bold;
    font-size: 16px;
}

.points-td, .points-th {
    display: table-cell;
    padding: 10px;
    text-align: justify;
    border-bottom: 1px solid #dee2e6;
}

.points-tr {
    display: table-row;
    border-bottom: 1px solid #dee2e6;
}

.points-tbody {
    display: table-row-group;
}

.points-qty {
    order: 0;
}

.points-detail {
    display: contents;
    order: 1;
}

.points-mb {
    display: none;
}

@media(max-width:767.98px) {
    .points-thead {
        display: none;
    }

    .points-tr {
        display: flex;
        padding: 10px 0px;
    }

    .points-td, .points-th {
        display: inline-block;
    }

    .points-qty {
        order: 1;
        border-bottom: 0px;
    }
    
    .points-detail {
        order: 0;
        display: flex;
        flex-direction: column;
    }

    .points-td {
        border-bottom: 0px;
        padding-top: 0px;
        padding-bottom: 3px;
    }

    .points-name {
        font-weight: 900;
    }

    .points-expiry {
        font-size: 0.8rem;
    }

    .points-used {
        display: none;
    }

    .points-mb {
        display: inline-block;
    }
        
}

/* referral */
.referral-text {
    display: inline-block;
    color: #6c757d;
}

.referral-title {
    font-size: 1.5rem;
    color: #003354;
    line-height: 1.5;
    font-weight: bold;

}

.referral-code {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: bold;
}

.referral-share {
    display: flex;
    position: relative;
    width: 100%;
    align-items: stretch;
    border-width: 1px;
    border-style: solid;
    border-color: #D8D8D8;
    padding: 1rem 2rem;
}

@media (max-width: 767.98px) {
    .referral-share {
        padding: 1rem 1rem;
    }
}

.share-btn {
    width: 25px;
    margin-left: 10px;
}

.referral-section {
    /* background: #f7f7f8; */
    background: #fff;
    font-size: 0;
    text-align: center;
    /* min-width: 1000px; */
    margin-top: 40px;
}

.g-wrap-expand {
    max-width: 855px;
    /* min-width: 1000px; */
    width: 100%;
    margin: 0 auto;
    padding: 10px 24px;
    box-sizing: border-box;
}

.referral-section .value-block {
    padding: 25px 0;
    text-align: center;
    box-sizing: border-box;
    /* margin-right: 60px; */
    display: inline-block;
    vertical-align: top;
}

@media (max-width: 767.98px) {
    .referral-section .value-block{
        padding: 20px 0;
        margin: 0px 20px;
    }
}

.referral-section .value-block .image{
    display: inline-block;
    /* width: 100%; */
    position: relative;
    margin-left: auto;
    margin-right: auto;
    /* padding-bottom: 65%; */
}

.referral-section .value-block .image img{
    max-width: 220px;
    width: 100%;
    /* position: absolute; */
    top: 0;
    left: 0;
}

.referral-section .value-block .title{
    color: #39393e;
    font-weight: 700;
    display: block;
    margin: 14px 0 0;
    font-size: 16px;
    line-height: 1.4;
}

.referral-section .value-block .text{
    color: #39393e;
    font-weight: 400;
    display: block;
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
}

.referral-accordion .card{
    border: 0;
    text-align: left;
}

.referral-accordion .card-body{
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem;
    background-color: #F2F4FF;
}

.referral-accordion .card-header:first-child{
    border-radius: 0;
}

.referral-accordion .card-header{
    /* background-color: #b3a8ff; */
    color: #fff;
}

/* .referral-accordion .card-header a{
    color: #9058F5;
} */

.referral-accordion .card:first-child{
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.referral-content .fb_share{
    background-color: #1877f2;
    border-radius: 6px;
    max-width: 260px;
    /* color: #fff;
    margin: 15px auto;
    text-align: left; */
}

/*------------------------------------*\
//points ruler page 
\*------------------------------------*/
.points-content {
    background-image: url(/images/ezpoints/BG.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center top;
    margin-top: 66px;
}

.points-about-img{
    background-image: url(/images/ezpoints/about-title-all.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    max-width: 800px;
}

.points-about-inner_1 {
    padding: 100px 40px 20px 30px;
    min-height: 300px;
}
@media (max-width: 767.98px) {
    .points-about-img{
        background-image: url(/images/ezpoints/about-title-all_m.png);
        max-width: 450px;
    }
    .points-about-inner_1 {
        padding: 100px 40px 20px 30px;
        min-height: 580px;
    }
}

.bee-top {
    margin-top: 400px;
    width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.bee-text-color {
    color: #ff9c00;
}

.bee-top img{
    display: inline-block;
    position: relative;
    text-align: center;
}

.ez-points {
    /* margin-top: 10px; */
    padding: 10px 100px;
}
@media (max-width: 991.98px) {
    .ez-points {
        padding: 30px 10px;
    }
}

.ez-points .card {
    border: 0;
    width: 85%;
}
@media (max-width: 1199.98px) {
    .ez-points .card {
        width: 100%;
    }
}

.ez-points .card-img-top {
    position: relative;
    z-index: 1;
}

.ez-points .card-img-overlay {
    z-index: 1;
}

.points-about-inner {
    padding: 100px 30px 20px 30px;
}
@media (max-width: 1199.98px) {
    .points-about-inner {
        padding: 70px 30px 20px 30px;
    }
    .points-about-inner_1 {
        padding: 70px 40px 20px 30px;
    }
}
@media (max-width: 991.98px) {
    .points-about-inner {
        padding: 60px 20px 20px 20px;
    }
    .points-about-inner_1 {
        padding: 60px 40px 20px 30px;
    }
}

.about-bee img{
    max-width: 290px;
}

.about-bee {
    padding-right: 20px;
    padding-bottom: 50px;
}
@media (max-width: 767.98px) {
    .about-bee {
        padding-bottom: 10px;
    }
}

.points-about-text {
    padding: 0 30px 0px 20px;
}

.percent-text {
    font-size: 40pt;
    font-weight: bolder;
    color: #fcd538;
    text-align: center;
}

.points-about-title {
    /* font-size: 24pt; */
    color: #ff9c00;
}

.points-how {
    position: relative;
}

.points-how .ez-points {
    padding-top: 200px;
}

.points-how-title{
    width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    top: 75px;
    left: calc(50% - 250px);
}

.points-how-title img{
    position: relative;
    text-align: center;
}

.points-img {
    display: inline-block;
}

.points-img-mobile {
    display: none;
}

.points-how-img {
    transition: transform .3s;
}

.points-how-img:hover {
    transform: translateY(-0.25rem);
    cursor: pointer;
}

.points-use-title {
    color: #1c1855;
}

.points-use-title::after {
    background-color: #746af8;
    content: "";
    display: block;
    height: 5px;
    margin: 5px auto 10px;
    width: 280px;
    border-radius: 0.25rem;
}

.ez-points p{
    color: #3b3b3b;
    font-size: 1.1rem;
    font-weight: bolder;
}

.points-use-section {
    padding-top: 0rem;
    padding-bottom: 2rem;
    margin-top: 4rem;
}

.bg_square_2 {
    padding-top: 3rem;
}

.btn-ezbee {
    color: #291b02;
    background-color: #fcf3c4;
    border: 4px solid #000;
    border-radius: 2rem;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.75rem 4rem;
}

.btn-ezbee-event {
    color: #fff;
    background-image: linear-gradient(30deg,#8b82f9,#5e52f6);
    border: none;
    border-radius: 2rem;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 0.75rem 4rem;
}

.button-jittery {
	animation: jittery 3s infinite;
}

@keyframes jittery {
	5%,
	50% {
		transform: scale(1);
	}
	10% {
		transform: scale(0.9);
	}
	15% {
		transform: scale(1.15);
	}
	/* 20% {
		transform: scale(1.15) ;
	}
	25% {
		transform: scale(1.15) ;
	}
	30% {
		transform: scale(1.15) ;
	}
	35% {
		transform: scale(1.15) ;
	}
	40% {
		transform: scale(1.15);
	} */
}

.points-col {
    margin-top: 2rem;
}

@media (max-width: 1199.98px) {
    .points-use-text {
        padding-top: 150px;
    }
}

@media (max-width: 991.98px) {
    .points-how .ez-points {
        padding-top: 230px;
        padding-bottom: 100px;
    }

    .points-use-section {
        padding-top: 0rem;
        margin-top: 2rem;
    }
        
    .points-use-text {
        padding-top: 40px;
    }

    .bg_square_2 {
        padding-top: 0rem;
    }
}
  
@media (max-width: 767.98px) {

    .bee-top {
        margin-top: 300px;
        width: 200px;
    }

    .ez-points {
        padding: 16px 16px;
    }

    .about-bee img {
        max-width: 200px;
        display: inline;
    }

    .points-col {
        margin-top: 2rem;
    }

    .ez-points p {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .points-about-text {
        padding: 0 0 0 20px;
    }

    .points-about-title {
        font-size: 2rem;
        padding-bottom: 0.5rem;
    }
    
    .points-about-text p {
        font-size: 24px;
    }

    .points-how-title {
        width: 360px;
        left: calc(50% - 180px);
    }

    .points-img {
        display: none;
    }

    .points-img-mobile {
        display: inline-block;
    }

    .points-how .ez-points {
        padding-left: 26px;
        padding-right: 24px;
    }
    
    .points-content {
        background-image: url(/images/ezpoints/BG_m.jpg);
        background-size: cover;
    }

    .btn-ezbee-event {
        font-size: 1.2rem;
        padding: 0.75rem 3.5rem;
    }
    
}

@media (max-width: 575.98px) {
    .bee-top {
        margin-top: 150px;
        width: 200px;
    }

    .bg_square_2 {
        display: none;
    }
}

@media (max-width: 539.98px) {
    .points-content {
        background-image: url(/images/ezpoints/BG_m.jpg);
        background-size: cover;
    }

    .bee-top {
        margin-top: 100px;
        width: 200px;
    }

    .ez-points {
        padding: 0px 16px;
    }

    .ez-points p {
        font-size: 0.9rem;
        margin-bottom: 0rem;
    }

    .points-col {
        margin-top: 0rem;
    }
    
    .points-how-title{
        top: 170px;
    }

    .points-how .ez-points {
        padding-bottom: 30px;
        padding-top: 340px;
    }

    .points-about-inner {
        padding: 40px 10px 10px 10px;
    }
    .points-about-inner_1 {
        padding: 70px 40px 20px 30px;
    }

    .about-bee img {
        max-width: 160px;
    }

    .points-about-title {
        font-size: 1.25rem;
        padding-bottom: 0.25rem;
    }

    .points-about-text {
        padding: 0px;
    }

    .points-about-text p {
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .percent-text {
        font-size: 30pt;
    }

    .points-use-title {
        font-size: 1.5rem;
    }
    
    .points-use-text {
        padding-top: 90px;
    }

    .points-use-section {
        padding-top: 0rem;
        margin-top: 0rem;
        padding-bottom: 0rem;
        position: relative;
        z-index: 1;
    }
    
}

@media (max-width: 300px) {
    .bee-top {
        margin-top: 130px;
        width: 150px;
    }

    .ez-points {
        padding: 0px 16px;
    }

    .ez-points p {
        font-size: 0.8rem;
        margin-bottom: 0rem;
    }

    .points-col {
        margin-top: 0rem;
    }
    
    .points-how-title{
        top: 120px;
        width: 260px;
        left: calc(50% - 130px);
    }

    .points-how .ez-points {
        padding-bottom: 30px;
        padding-top: 340px;
    }

    .points-about-inner_1 {
        padding: 60px 30px 20px 30px;
        min-height: auto;
    }

    .about-bee img {
        max-width: 120px;
    }

    .points-about-title {
        font-size: 1.25rem;
        padding-bottom: 0.25rem;
    }

    .points-about-text {
        padding: 0px;
    }

    .points-about-text p {
        font-size: 14px;
        margin-bottom: 1rem;
    }

    .percent-text {
        font-size: 25pt;
    }

    .points-use-title {
        font-size: 1.25rem;
    }

    .points-use-title::after {
        width: 200px;
    }
    
    .points-use-text {
        padding-top: 90px;
    }

    .points-use-section {
        padding-top: 5rem;
        margin-top: 0rem;
        padding-bottom: 0rem;
        position: relative;
        z-index: 1;
    }

    .btn-ezbee {
        font-size: 1.25rem;
        padding: 0.75rem 2rem;
    }
    
}

/* 動態 */
.bee img {
    max-width: 290px;
}

.bee{
    padding-top: 5rem;
    animation-name: bee-move;
    animation-duration:4s;
    position: relative;
    animation-iteration-count: infinite;
    animation-timing-function:ease;
}
@media (max-width: 575.98px) {
    .bee{
        padding-top: 0rem;
    }
}

@keyframes bee-move {
    0% {
        left: -600px;
    }

    20% {
        left: 1000px;
    }

    90% {
        left: 1010px;
    }

    100% {
        left: 3000px;
    }
}

@keyframes bee-move-mobile {
    0% {
        left: -600px;
    }

    20% {
        left: 150px;
    }

    90% {
        left: 250px;
    }

    100% {
        left: 1000px;
    }
}

.square {
    position: absolute;
    animation: center-animate 2s ease infinite alternate;
    background-image: url(/images/ezpoints/BG_honey_01.png);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center top;
    height: 800px;
    width: 100%;
}

@keyframes center-animate {
    0% {
        transform: scaleY(1.1);
    }
    100% {
        transform: scaleY(1);
        pause:1s;
    }
}

@media (max-width: 767.98px) {
    .bee img {
        max-width: 200px;
    }
    .bee{
        animation-name: bee-move-mobile;
    }
}


@media (max-width: 575.98px) {
    .square {
        height: 700px;

    }
}

.article_ez-card-img {
    padding-top: 64.58%;
}

.card-inner-new .card-intro {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
}

.article_ez-card .card-body {
    color: #000;
    padding: 0.5rem 1rem 1rem 1rem;
}

.ez-slick-prev {
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 1;
}

.ez-slick-next {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
}

.event-main-header {
    background-image: url(/images/event-2022/header1.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 155px;
    height: 40px;
    position: relative;
    top: 3px;
}

.event-main-header:hover {
    background-image: url(/images/event-2022/header2.png);
}

.event-main-header.limited {
    width: 200px;
    background-image: url(/images/img/header1-1130.png);
}

.event-main-header:hover.limited {
    background-image: url(/images/img/header2-1130.png);
}

.event-notice-container {
    position: fixed;
    z-index: 1;
}

.event-notice-inner {
    position: relative;
    display: inline-block;
}

.event-notice-inner:hover {
    cursor: pointer;
}

.event-notice-banner-img {
    width: 100%;
}

.event-notice-symbol-img {
    position: absolute;
    left: 36px;
    bottom: 8px;
}

.event-notice-close-button {
    position: absolute;
    height: 24px;
    width: 24px;
    top: 0px;
    right: 0px;
}


@media screen and (max-width:992px) {
    .event-notice-container {
        width: 100%;
        background-image: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 14%, rgba(125, 129, 157, .45) 57%, rgba(34, 43, 92, .8))
    }

    .event-notice-inner {
        left: 50%;
        transform: translateX(-50%)
    }
    
    .event-notice-close-button {
        height: 20px;
        width: 20px;
        top: 0;
        right: 0
    }
}

.ez-btn_icon {
    width: 100px;
    margin-right: 1rem;
  }
  
  @media (max-width: 767.98px) {
    .ez-btn_icon {
      width: 100%;
      margin-right: 0;
      margin-bottom: 1rem;
    }
}

.album_sidbar-img-wrap {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-right: 0.5rem;
    width: 4rem;
    height: 5.5rem;
    flex: 0 0 4rem;
}

.album_sidbar-text {
    vertical-align: top;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.album_sidebar {
    padding-top: calc(100px + 7rem);
    margin-top: calc(-100px - 5rem);
}
@media (max-width: 991.98px) {
    .album_sidebar {
        padding-top: 3rem;
        margin-top: 0;
    }
}

.sidebar_inner_course .col {
    padding-left: 0;
    padding-right: 0;
}

.article_video-card .card-inner {
    background-color: #fff;
  }
  
.article_video-card .card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
    margin: 0;
    font-weight: 700;
}

.article_video-card .ez-video_badge {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    min-height: auto;
    overflow: hidden;
}

.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    left: 4px !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

.course-block {
    /* 修購物車 popup 高度被撐開問題 */
    position: absolute;
    top: 5px;
    width: 100px; /* 可調整觸發範圍寬度， */
    height: 100%;
    cursor: pointer;
    padding: 30px 0; /* 可調整觸發範圍高度， */
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;    /* add by winnie */
}

.course-sub {
    background-color: #ffffff;
    position: absolute;
    border-radius: 0 0 11px 11px;
    left: 0px;
    top: 53px;
    display: none;
    cursor: pointer;
}

.course-sub.open {
    display: block;
}

.course-sub ul {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 6px 12px 0px;
    border: 1px solid rgba(0,0,0,.1);
}

.course-sub li {
    min-width: 220px;
    padding: 8px 24px;
}

/* login section */
.privacySecurity_section {
    padding: 20px 0px;
    width: 80%;
    margin: 40px auto;
    margin-bottom: 100px;
}

#privacySecurityModal p {
    display: inline-block;
    width: calc(100% - 35px);
    margin-top: 0;
    margin-bottom: 1rem;
}

.ez_purple {
    color: #312185;
}

.p_diamond {
    width: 25px;
    display: inline-block;
}

.p_circle {
    width: 25px;
    display: inline-block;
}

.vertical_top {
    vertical-align: top;
}

.ml_p {
    margin-left: 30px;
}