body, html {
    line-height: 1.8;
    background-color: white;
}

.ew_container {
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width:1200px) {
    .ew_container {
        max-width: 950px;
    }
}

@media (max-width:992px) {
    .ew_container {
        max-width: 720px;
    }
}

@media (max-width:768px) {
    .ew_container {
        max-width: 550px;
    }
}

.pagetitle_h {
    padding-top: 56px;
}
/*20201214: 新增*/

.ew_po_re {
    position: relative;
}

.ew_button01 {
    padding: 0px 15px;
    background-color: transparent;
    border: none
}

    .ew_button01:hover {
        padding: 10px 28px 10px 28px;
        border: 2px solid #00ABE8;
        background-color: #00ABE8;
        color: #fff
    }

.ew_button {
    border: none;
    background-color: transparent;
}

.ew_btnh_b {
    background-color: #fff;
    color: #000
}

    .ew_btnh_b:hover {
        background-color: #00ABE8;
        color: #fff
    }

.ew_btn_active {
    background-color: #00ABE8;
    color: #fff;
    border-color: #00ABE8
}

.qrborder {
    background-color: #fff;
    border: 1px solid lightgray;
}
/*20201210: border: 5px solid #AA003D;*/

.qrborder2 {
    background-color: #fff;
    /*border: 7px solid #666666;*/
    border-radius: 15px;
}
/*20201210: border: 7px solid #ffd800;*/

.main {
    min-height: 100px;
    background-color: #fff;
    margin-bottom: 15px
}

.main_ch {
    /*border: 4px solid #B4182D;*/ /*部分手機會因新增該邊線寬度導致內容換行*/
    border: 2px solid #B4182D;
    border-bottom: 0px
}
/*20201218: border: 4px solid #AA003D;*/

.w3-modal {
    z-index: 200;
}

.h1_title {
    background-color: white;
    padding: 5px 30px
}
/*20201202: background-color: #FBF7F3;
                padding: 5px 10px
*/

.visibel_h {
    visibility: hidden
}

.minH_60 {
    min-height: 60px
}

/*color*/
.c_red {
    color: #AA003D;
}

.c_gray {
    color: #757575;
}

.c_blue {
    color: #29A9DF;
}

.c_green {
    color: #0ebf0e;
}

.c_white {
    color: #ffffff;
}

.c_darkblue {
    color: #003B6F;
}

.bc_centercover {
    background-position: center;
    background-size: cover
}

.bc_gray {
    background-color: #dddddd;
}

.bc_red {
    background-color: #AA003D;
}

.bc_darkblue {
    background-color: #003B6F;
}

.bc_white {
    background-color: #ffffff;
}

.bc_lowblue {
    background-color: #DBF2FB;
    color: #000
}

.bc_line {
    background-image: url(../image/bg/line_gy.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
/*20201106: line.png->line_gy.png*/

.ch_brown {
    background-color: #7A7A7A;
    color: #fff;
}
/*20201202: background-color: #5F3645;*/
.main_ch > .ch_brown {
    background-color: #B4182D;
    color: #fff
}
/*20201218: background-color: #AA003D;*/


/*------------------------------------------------------------------------------------------------------*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 30;
}

.input_R {
    margin-right: 10px
}

.hr_flavor {
    margin: 10px 0;
    border-top: 2px solid #AA003D
}

.hr_ {
    border: 1px solid #525252
}

.hr_QR {
    border: 1px solid #dbdbdb;
    margin: 10px 0
}

h3 {
    margin: 0px
}

.shopcar_t {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #666666;
    text-align: center;
    display: inline-block;
    padding: 7px 0px;
    margin-right: 10px
}
/*20201207: background-color:#AA003D */

.shopcar_div {
    float: right;
    padding: 10px 15px;
    background-color: #666666;
    color: #fff;
    text-align: center;
    font-size: 16px
}
/*20201225: background-color:#AA003D
                padding: 10px 5px;
                刪除width: 40%;
*/

.icon_coin {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-right: 10px
}

.a_btn {
    border: 1px solid #666666;
    color: #666666;
    border-radius: 8px;
    text-decoration: none;
    padding: 5px;
    cursor: pointer;
}
/*20201207: color:#AA003D;
                border:1px solid #AA003D
                新增 cursor:pointer;
*/

/*menu*/
.w3-bar .w3-button {
    padding: 16px;
}

.menu_img {
    width: auto;
    height: auto;
    padding: 35px 20px;
    box-sizing: content-box;
}
/*20200608: width:60%->auto max-height:3rem->50px*/
.ew_menu_EC {
    position: absolute;
    right: 0;
    top: 0;
}

.ew_nav {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 75%;
    text-align: right;
}

    .ew_nav .w3-button {
        padding: 1.6%;
    }

@media(max-width:600px) {
    .menu_img {
        width: auto;
        padding: 8px 0px 0px 0px;
        /*padding: 10px 0px 0px 0px;*/
        max-height: 50px;
    }
    /*20200601: 調整logo位置 16px->8px, width:60%->auto max-height:3rem->50px*/
    .ew_menu_EC {
        top: auto;
        bottom: 20px;
    }
}

.nav {
    color: #000;
    position: fixed;
    background: white;
    width: 100%;
    overflow-x: auto;
    box-shadow: 0 0px 10px 0 rgba(0,0,0,0.05);
}
    /*20201202: 新增box-shadow:0 0px 10px 0 rgba(0,0,0,0.1)*/

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav ul {
        /*overflow: auto;*/
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /*height: 40px;*/
        /*padding-left: 20px;*/
    }
        /*20201030: 原height:46px*/
        /*20201030: 新增padding-left:20px;*/
        /*20201221: 注解padding-left: 20px;*/
        .nav ul span {
            /*color: #aaa;*/
            color: black;
            text-align: center;
            /*padding-right: 10px;*/
        }
/*20201030: 原padding:4px 24px;*/
/*20201030: 刪除width: 28%;*/
/*20211013: padding-right: 18px;*/

/*margin*/
.m_0 {
    margin: 0
}

.m_16 {
    margin: 16px
}

.m_10_0 {
    margin: 10px 0px
}

.m_5_0 {
    margin: 5px 0
}

.m_b10 {
    margin-bottom: 10px
}

.m_b15 {
    margin-bottom: 15px
}

.m_b20 {
    margin-bottom: 20px
}

.m_b80 {
    margin-bottom: 80px
}

.m_t15 {
    margin-top: 15px
}

.m_t20 {
    margin-top: 20px
}

.m_r_5 {
    margin-right: 5px !important
}

.m_l_10 {
    margin-left: 10px
}

.m_r_10 {
    margin-right: 10px
}

.m_r_15 {
    margin-right: 15px
}

.m_auto {
    margin: 0px auto
}

.f_light {
    font-weight: lighter !important
}

.f_lh1 {
    line-height: 1
}

.f_red {
    color: #AA003D
}

.f_black {
    color: #000000
}

.f_gray {
    color: #484848
}

.f_shadow {
    text-shadow: #797979 0.0em 0.0em 0.35em
}

.f_h25 {
    line-height: 25px
}

.f_s15h50 {
    letter-spacing: 1.5px;
    line-height: 50px
}

.f_s2h30 {
    letter-spacing: 2px;
    line-height: 30px
}

.f_a {
    text-decoration: none;
}

.fw_500 {
    font-weight: 500
}

.f_8 {
    font-size: 8px;
}

.f_10 {
    font-size: 10px
}

.f_13 {
    font-size: 13px;
}
/*20210106: 新增font-size:13px;*/

.f_14 {
    font-size: 14px
}

.f_15 {
    font-size: 15px
}

.f_16 {
    font-size: 16px
}

.f_18 {
    font-size: 18px
}

.f_20 {
    font-size: 20px
}

.f_22 {
    font-size: 22px
}

.f_25 {
    font-size: 25px
}

.f_28 {
    font-size: 28px
}

.f_32 {
    font-size: 32px
}

.f_s2 {
    letter-spacing: 2px;
}

.f_r {
    float: right;
}

.ta_c {
    text-align: center
}

.ta_l {
    text-align: left
}

.ta_r {
    text-align: right
}

.td_n {
    text-decoration: none
}

@media (max-width:601px) {
    .f_8 {
        font-size: 8px
    }

    .f_10 {
        font-size: 15px
    }

    .f_15 {
        font-size: 15px
    }

    .f_32 {
        font-size: 18px
    }

    .f_64 {
        font-size: 50px
    }

    .f_60 {
        font-size: 40px
    }

    .f_25 {
        font-size: 18px
    }

    .f_28 {
        font-size: 20px
    }

    .f_48 {
        font-size: 36px
    }

    .f_s15h50 {
        letter-spacing: 0.5px;
        line-height: 40px
    }
}

/*footer*/
footer {
    position: fixed;
    right: 0px;
    bottom: 0px;
    z-index: 10;
    width: 100%;
    font-size: 18px
}

.footer_f18 {
    font-size: 18px;
}

.footer_f14 {
    font-size: 14px;
}

.footer_p_16 {
    padding: 16px;
}

@media (max-width:1200px) {
    .ew_height {
        height: 65%;
        padding-top: 5%
    }

    .footer_f18 {
        font-size: 14px;
    }

    .footer_f14 {
        font-size: 10px;
    }

    .footer_p_16 {
        padding: 10px;
    }
}

.f_w_130 {
    width: 130px
}

@media (max-width:601px) {
    .f_w_130 {
        width: 68px
    }

    .footer_p_16 {
        padding: 0px;
    }

    .footer_center {
        text-align: center
    }
}

@media (max-width:321px) {
    .f_w_130 {
        width: 64px
    }

    .footer_p_16 {
        padding: 0px;
    }
}


/*padding*/
.p_5 {
    padding: 5px
}

.p_8 {
    padding: 8px
}

.p_10 {
    padding: 10px
}

.p_12 {
    padding: 12px
}

.p_15 {
    padding: 15px
}

.p_16 {
    padding: 16px !important
}

.p_32 {
    padding: 32px !important
}

.p_48 {
    padding: 28px
}

.p_t_90 {
    padding-top: 90px !important
}

.p_t_120 {
    padding-top: 120px !important
}

.p_l_30 {
    padding-left: 30px !important
}

.p_l_10 {
    padding-left: 10px !important
}

.p_r_0 {
    padding-right: 0px !important
}

.p_048 {
    padding: 0px 48px
}

.p_10_0 {
    padding: 10px 0
}

.p_15_0 {
    padding: 15px 0
}

.p_16ch {
    padding: 16px
}

.p_10p {
    padding: 10%
}

.p_10_20 {
    padding: 10px 20px;
}

/*width*/
.w_20 {
    width: 20px
}

.w_30 {
    width: 30px
}

.w_40 {
    width: 40px
}

.w_45 {
    width: 45px
}

.w_50 {
    width: 50px
}

.w_25p {
    width: 25%
}

.w_30p {
    width: 30%
}

.w_40p {
    width: 40%
}

.w_45p {
    width: 45%
}

.w_50p {
    width: 50%
}

.w_60p {
    width: 60%
}

.w_70p {
    width: 70%
}

.w_75p {
    width: 75%
}

.w_100p {
    width: 100%
}

.w_130 {
    width: 130px
}

.w_200 {
    width: 200px
}

.w_400 {
    width: 400px
}

.wh_120 {
    width: 120px;
    height: 120px;
}

/*height*/

.h_50 {
    height: 50px
}

/*border*/
.br_r {
    border-right: 1px solid #2e2e2e
}

textarea {
    height: 150px;
    overflow: auto;
    padding: 7px 10px;
    width: 100%;
    font-size: 14px;
    border: 1px solid #aaa;
}

.show {
    display: none
}


/**/
.dea {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    background-color: transparent;
    border: none
}

.debtn {
    background-color: #666666;
    border-radius: 40px;
    margin: 15px auto;
    max-width: 700px;
}
    /*20201209: background-color: #AA003D;
                    移除width: 80%;
                    新增max-width:700px;
    */

    .debtn:active {
        background-color: #858585;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5)
    }
/*20201209: background-color: #b40041;*/

.select {
    background-color: #fff;
    width: 100%;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    outline: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.submenu {
    display: none;
}

.link {
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

div.open {
    background-color: #858585;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5)
}
/*20201209: background-color: #b40041;*/

/*.navbar-item {
    -webkit-transition: .5s all ease-out;
    -moz-transition: .5s all ease-out;
    transition: .5s all ease-out;
}*/
/*20201030: 刪除->color: #aaa; border-bottom: 3px solid white;width: 4em;text-align: center;*/
.navbar-menu ul /*.navbar-item*/ .active {
    /*border-bottom: 2px solid gray;*/
    /*color: gray;*/
    /*padding: 6px 0;*/
    /*padding-bottom:10px;*/
    /*color:white;*/
    border-bottom: 3px solid;
}
/*20201030: border-bottom: 3px solid #AA003D;
                color: #AA003D;
                新增font-weight:bold*/
/*20201202: 新增padding:7px 0;*/
/*20210910: [del]font-weight: bold;*/
.nav-group {
    padding-left: 20%;
    box-sizing: border-box;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    background-color: #ccc;
}

li {
    list-style: none
}

.tab-inner {
    display: none;
    clear: both;
    color: #000;
    border: 1px #BCBCBC solid;
}

.tab-inner {
    padding: 15px;
    height: 50px;
}

.lh_ {
    line-height: 28px
}

.changeBGC {
    background-color: #b22222
}

@media (min-width:400px) {
    .c_height {
        height: 70px
    }

    .menu_img {
        padding: 10px 0px;
        max-height: 50px;
    }
    /*20200521: 調整logo位置 8px->10px*/
    .navbar-start {
        max-width: 1000px;
        margin: 0 auto;
    }
}

.div_nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.language {
    position: fixed;
    bottom: 0px;
    width: 60%;
    margin-bottom: 10px
}

.member_div {
    background-color: #fff;
    border-radius: 5px;
    padding: 8px;
    margin: 2% 0
}

.input_w {
    background-color: gray;
    font-size: 0.1em;
    border-radius: 5px;
    padding: 4px;
    color: #fff;
    margin-left: 5px;
}
/*20201026: padding:2px->4px, 新增margin-left:5px;, background-color: #c76261->gray*/
