﻿/*=================共用區====================*/
html {
    font-family: Arial, Helvetica, "微軟正黑體",san-serif;
    margin: 0;
    padding: 0;
    height:100%;
}

body, form, #form1 {
    margin: 0;
    padding: 0;
    height:100%;
}

p {
    margin: 0;
    padding: 0;
}

.fc_black {
    color: black;
}

.fc_red {
    color: red;
}

.fc_bold {
    font-weight: bold;
}
.fs_s {
    font-size:12px;
}

.lh_min {
    line-height:20px;
}
.left {
    float: left;
}

.right {
    float: right;
}

.LH_storename {
    line-height: 20px;
}

ul, li {
    margin: 0;
    padding: 0;
}

.color-blue1 {
    color: #29b6ec;
}

a {
    text-decoration: none;
    color: #0a9bff;
}

    a:hover {
        text-decoration: none !important;
    }

.clear {
    clear:both;
}


/*========= Header ========*/
header {
    top: 0;
    position: fixed;
    width: 100%;
    min-height: 60px;
    background-color: white;
    border-bottom: 1px #767676 solid;
    z-index: 20000;
}

#mobile-loginbar {
    background-color: white;
}

.header-wrap {
    padding: 0;
    z-index: 1200;
}

logo {
    float: left;
    margin-top: 15px;
    background-image: url(../images/logo_m.png);
    background-repeat: no-repeat;
    background-position: 5px center;
    width: 215px;
    height: 33px;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
    z-index: 1200;
}

login {
    width: 100%;
    cursor: pointer;
}

.rgs {
    float: right;
    padding-top: 20px;
    padding-right: 10px;
}

    .rgs a {
        color: #4c4c4c;
        text-decoration: none;
        font-size: 18px;
        font-weight: bold;
    }

        .rgs a:hover {
            color: #5ac5ee;
        }

/*====== Footer ======*/
footer {
    width: 100%;
    clear: both;
    
}


.copyright {
    display: none;
}

.mobile-copyright {
    display: block;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
    line-height: 16px;
    background-color: #494949;
    color: #999999;
    clear: both;
}

.mobile-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50px;
    min-height: 50px;
    background-color: #ec3428;
    z-index: 999;
}

footer a {
    text-align: center;
    color: white;
    text-decoration: none;
}

footer .bottom-bt1 a {
    float: left;
    display: block;
    line-height: 50px;
    width: 33%;
}

footer .bottom-bt2 a {
    float: left;
    display: block;
    line-height: 50px;
    width: calc(34% - 2px);
    border-right: 1px #fff solid;
    border-left: 1px #fff solid;
}

footer ul {
    width: 100%;
}

footer li {
    float: left;
}

    footer li a {
        display: block;
        height: 50px;
        text-align: center;
        color: white;
        font-size: 1em;
        text-decoration: none;
    }

        footer li a.bt {
            width: 100%;
        }

        footer li a.bt-ct {
            width: 100%;
            border-right: 1px #fff solid;
            border-left: 1px #fff solid;
        }

.wrap {
    margin: 0 auto;
    padding-top:60px;
    width: 100vw;
    max-width: 100vw;
    height: 100%;
}
@media (max-width: 640px) {


    /*================= layout ====================*/


    /*================= 活動說明頁 ====================*/
    .box_login {
        width: 100vw;
        height: 66vw;
        background-size: contain;
        background-image: url(../images/kv_01.jpg);
        background-repeat: no-repeat;
    }

    .box_join {
        width: 100vw;
        height: 64vw;
        background-size: contain;
        background-image: url(../images/kv_m-01_02.jpg);
        background-repeat: no-repeat;
    }

    .wrap_resevation {
        background: #ffc700;
    }

    .box_resevation {
        width: 100vw;
        height: 66vw;
        background-size: contain;
        background-image: url(../images/kv_m-01_03.jpg);
        background-repeat: no-repeat;
    }

    .note_resevation {
        padding: 0 10px 10px 10px;
        background: #ffc700;
    }

    .wrap_upload {
        background: #31c8cf;
    }

    .note_upload {
        padding: 0 10px 10px 10px;
        background: #31c8cf;
    }

    .note_openbox {
        margin: 0 auto;
        width: 100%;
        background: #fff;
    }

    .box_upload {
        width: 100vw;
        height: 67vw;
        background-size: contain;
        background-image: url(../images/kv_m-01_04.jpg);
        background-repeat: no-repeat;
    }

    .box_upload_bottom {
        width: 100vw;
        height: 10vw;
        background-size: contain;
        background-image: url(../images/upload_bottom.jpg);
        background-repeat: no-repeat;
    }

    .openBox {
        padding: 10px;
        background: #fff;
        line-height: 30px;
        word-break: break-all;
    }

        .openBox .boxNote {
            padding-top: 10px;
            font-size: 15px;
            color: red;
            line-height: 20px;
        }

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        -webkit-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

        nav ul li {
            padding: 0 !important;
            border-radius: 0 !important;
            border-left: none !important;
            border-right: none !important;
        }

            nav ul li i {
                -webkit-transition: all 0.3s linear;
                transition: all 0.3s linear;
            }

            nav ul li a {
                color: #0097ff;
            }

                nav ul li a:hover {
                    text-decoration: none;
                }

                nav ul li a.Item {
                    text-align: center;
                    font-weight: bold;
                    font-size: 18px;
                    line-height: 30px;
                    display: block;
                    line-height: 40px;
                }

            nav ul li.dd-menu > ul {
                margin: 0;
                max-height: 0;
                transition: max-height 0.15s ease-out;
                overflow: hidden;
            }

                nav ul li.dd-menu > ul > li {
                    background-color: #ccc;
                }

            nav ul li.opened > a i {
                -webkit-transform: rotate(180deg);
                transform: rotate(180deg);
            }

            nav ul li.opened > ul {
                max-height: 100vh;
                transition: max-height 0.25s ease-in;
            }

    .box_eventnote {
        background: #ebebdb;
        padding: 10px 0 50px 0;
        
    }

    .title_eventnote {
        margin: 0 auto;
        width: 100vw;
        height: 11vw;
        background-size: contain;
        background-image: url(../images/kv_m-01_06.png);
        background-repeat: no-repeat;
        
    }

    .eventnote_con {
        padding: 20px;
        line-height: 30px;
    }

    .itembox {
        float: left;
        display: block;
        margin-right: 8px;
        padding: 0 15px;
        line-height: 35px;
        color: #fff;
        background: #4d4d4d;
        border-radius: 50px;
    }

    .item_H {
        padding: 8px 0;
    }

    .box_eventnote ul {
        padding-top: 10px;
        padding-left: 30px;
        list-style-position: outside;
        list-style-type: disc;
        clear: both;
    }

    .box_eventnote li {
        color: #4d4d4d;
    }

    /*================= 活動登錄頁 ====================*/
    .box_form {
        background: #f0fcff;
        padding:20px 20px;
    }
    .form_toptext {
        line-height:30px;
        margin-bottom:15px;
    }
    .form_input {
        line-height:40px;
        border-top: 1px #b0b0b0 solid;
        border-bottom: 1px #b0b0b0 solid;
    }
        .form_input table {
            margin:15px auto;
            text-align:center;
        }
        .form_input td {
            padding:5px 0;
        }
        .form_input .title {
            width: 40%;
            min-width: 140px;
            text-align: right;
        }
        .form_input .in {
            padding-left:5px;
            width:calc(60% - 5px);
        }
        .form_input input {
            width: 95%;
            height: 35px;
            line-height: 35px;
            border: 1px #e2e2e2 solid;
            background: #fff;
            border-radius: 0;
        }
        .form_input select {
            width: 100%;
            padding: 0 5px;
            height: 45px;
            line-height: 45px;
            border: 1px #e2e2e2 solid;
            background: #fff;
            border-radius: 0;
        }
            .agreeblock {
        padding:0 15px 15px 15px;
        font-size:14px;
    }
    .checkbox {
        float: left;
        width: 25px;
        padding-top:2px;
    }

    .checkbox input {
        width:18px;
        height:18px;
    }
    .checktext {
        float:left;
        width:calc(100% - 25px);
        line-height:25px;
    }
    .btbox {
        margin:0 auto;
        padding:20px 0;
        width:300px;
        clear:both;
    }

    .bt_submit {
        width:300px;
        height:40px;
        background-size:cover;
        background-image: url(../images/btn_05.png);
    }
    .btbox input {
        border: none;
    }
    /*================= 送出結果 ====================*/
    .result_box {
        margin-top:150px;
        line-height:30px;
        text-align:center;
    }
}


/*================= PC ====================*/
@media (min-width: 641px) {
    /*================= layout ====================*/
    .wrap {
        margin: 0 auto;
        width: 640px;
        max-width: 640px;
        height: 100%;
    }

    /*================= 活動說明頁 ====================*/
    .box_login {
        width: 640px;
        height: 424px;
        background-size: contain;
        background-image: url(../images/kv_01.jpg);
        background-repeat: no-repeat;
    }

    .box_join {
        width: 640px;
        height: 408px;
        background-size: contain;
        background-image: url(../images/kv_m-01_02.jpg);
        background-repeat: no-repeat;
    }

    .wrap_resevation {
        background: #ffc700;
    }

    .box_resevation {
        width: 640px;
        height: 421px;
        background-size: contain;
        background-image: url(../images/kv_m-01_03.jpg);
        background-repeat: no-repeat;
    }

    .note_resevation {
        padding: 0 10px 10px 10px;
        background: #ffc700;
    }

    .wrap_upload {
        background: #31c8cf;
    }

    .note_upload {
        padding: 0 10px 10px 10px;
        background: #31c8cf;
    }

    .note_openbox {
        margin: 0 auto;
        width: 100%;
        background: #fff;
    }

    .box_upload {
        width: 640px;
        height: 427px;
        background-size: contain;
        background-image: url(../images/kv_m-01_04.jpg);
        background-repeat: no-repeat;
    }

    .box_upload_bottom {
        width: 640px;
        height: 64px;
        background-size: contain;
        background-image: url(../images/upload_bottom.jpg);
        background-repeat: no-repeat;
    }

    .openBox {
        padding: 10px;
        background: #fff;
        line-height: 30px;
        word-break: break-all;
    }

        .openBox .boxNote {
            padding-top: 10px;
            font-size: 15px;
            color: red;
            line-height: 20px;
        }

    nav ul {
        margin: 0;
        padding: 0;
        list-style: none;
        -webkit-transition: all 0.3s linear;
        transition: all 0.3s linear;
    }

        nav ul li {
            padding: 0 !important;
            border-radius: 0 !important;
            border-left: none !important;
            border-right: none !important;
        }

            nav ul li i {
                -webkit-transition: all 0.3s linear;
                transition: all 0.3s linear;
            }

            nav ul li a {
                color: #0097ff;
            }

                nav ul li a:hover {
                    text-decoration: none;
                }

                nav ul li a.Item {
                    text-align: center;
                    font-weight: bold;
                    font-size: 18px;
                    line-height: 30px;
                    display: block;
                    line-height: 40px;
                }

            nav ul li.dd-menu > ul {
                margin: 0;
                max-height: 0;
                transition: max-height 0.15s ease-out;
                overflow: hidden;
            }

                nav ul li.dd-menu > ul > li {
                    background-color: #ccc;
                }

            nav ul li.opened > a i {
                -webkit-transform: rotate(180deg);
                transform: rotate(180deg);
            }

            nav ul li.opened > ul {
                max-height: 100vh;
                transition: max-height 0.25s ease-in;
            }

    .box_eventnote {
        background: #ebebdb;
        padding: 10px 0 50px 0;
    }

    .title_eventnote {
        margin: 0 auto;
        width: 640px;
        height: 70px;
        background-size: contain;
        background-image: url(../images/kv_m-01_06.png);
        background-repeat: no-repeat;
    }

    .eventnote_con {
        padding: 20px;
        line-height: 30px;
    }

    .itembox {
        float: left;
        display: block;
        margin-right: 8px;
        padding: 0 15px;
        line-height: 35px;
        color: #fff;
        background: #4d4d4d;
        border-radius: 50px;
    }

    .item_H {
        padding: 8px 0;
    }

    .box_eventnote ul {
        padding-top: 10px;
        padding-left: 30px;
        list-style-position: outside;
        list-style-type: disc;
        clear: both;
    }

    .box_eventnote li {
        color: #4d4d4d;
    }
    /*================= 活動登錄頁 ====================*/

    .box_form {
        background: #f0fcff;
        padding: 20px 20px;
        
    }

    .form_toptext {
        line-height: 30px;
        margin-bottom: 15px;
    }

    .form_input {
        line-height: 40px;
        border-top: 1px #b0b0b0 solid;
        border-bottom: 1px #b0b0b0 solid;
    }

        .form_input table {
            margin: 15px auto;
            text-align: center;
        }

        .form_input td {
            padding: 5px 0;
        }

        .form_input .title {
            width: 40%;
            min-width: 140px;
            text-align: right;
        }

        .form_input .in {
            padding-left: 5px;
            width: calc(60% - 5px);
        }

        .form_input input, select {
            width: 100%;
            height: 35px;
            line-height: 35px;
            border: 1px #e2e2e2 solid;
        }

    .agreeblock {
        padding: 0 15px 15px 15px;
        font-size: 14px;
    }

    .checkbox {
        float: left;
        width: 25px;
        padding-top: 2px;
    }

        .checkbox input {
            width: 18px;
            height: 18px;
        }

    .checktext {
        float: left;
        width: calc(100% - 25px);
        line-height: 25px;
    }

    .btbox {
        margin: 0 auto;
        padding: 20px 0;
        width: 300px;
        clear: both;
    }

    .bt_submit {
        width: 300px;
        height: 40px;
        background-size: cover;
        background-image: url(../images/btn_05.png);
    }

    .btbox input {
        border: none;
    }
    /*================= 送出結果 ====================*/
    .result_box {
        margin-top: 150px;
        line-height: 30px;
        text-align: center;
    }
}