﻿/*日期：2016.12.22*/
/*更新日期：2018.08.20*/


#cover {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(62,58,57,0.8); /*遮罩-背景色*/
    z-index: 10;
    display: none;
}
    /*cover 結束*/


    #cover #alert {
        font-family: Arial, Helvetica, "微軟正黑體", "Microsoft JhengHei", sans-serif;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        margin: auto;
        width: 550px;
        background-color: #fff;
        text-align: center;
        font-size: 14px;
        border-radius: 0 30px 0 0;
        transition: all .5s ease-out;
    }

        #cover #alert a {
            display: inline-block;
            padding: 8px 40px;
            background-color: #b54627;
            color: #EEE;
            font-size: 1.3em;
            border-radius: 20px;
            margin: 4px;
        }

        #cover #alert img {
            margin-top: -80px;
            border-radius: 50%; /*圓型-消除邊緣鋸齒*/
        }

        #cover #alert #massage {
            color: #b84627;
            font-size: 1.3em;
            margin: 0;
            padding: 20px 0 30px;
            background: url(../images/login_alert_bgA.png)left bottom repeat-x;
            line-height: 25px;
        }

        #cover #alert #button_a {
            margin: 0;
            padding: 10px 0 15px;
            background: url(../images/login_alert_bgB.png) #999;
        }

        #cover #alert #button_b {
            margin: 0;
            padding: 27px 0;
            background: url(../images/login_alert_bgB.png);
        }

@media screen and (max-width: 600px) {
    #cover #alert {
        max-width: 90%;
    }

        #cover #alert img {
            width: 50%;
        }
}
/*alert 結束*/


#cover .terms {
    height: 70%;
}

    #cover .terms #terms { /*內容框*/
        text-align: left;
        position: absolute;
        /*top: 50%;
        transform: translateY(-50%);*/ /*當內容較少時，可設定置中，高度調整*/
        height: 86%;
        overflow-x: hidden;
        overflow-y: auto;
    }

/*滾動軸樣式*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-button {
}

::-webkit-scrollbar-corner {
}

#cover .terms .btn_close { /*關閉按鈕*/
    display: inline-block;
    color: #666;
    font-size: 1.2em;
    cursor: pointer;
    margin: 0.3em 0.8em 0 0;
}

#cover .terms h3 {
    text-align: center;
    padding-top: 2%;
    margin: 0;
}

#cover #terms ol {
    margin-right: 5%;
    line-height: 30px;
    list-style-type: decimal-leading-zero;
}

@media screen and (max-width: 600px) {
    #cover .terms {
    }
}
/*terms 結束*/


section {
    font-family: Arial, Helvetica, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    font-size: 14px;
    width: 1000px;
    min-height: 700px;
    max-height: 800px;
    overflow: hidden;
    margin: auto;
    padding: 0;
    background: url(../images/login_bg.jpg) center top no-repeat;
}

    section a {
        color: #333;
        text-decoration: none;
    }

#flipWrapper {
    width: 360px;
    margin: 100px auto;
}

.boxWrapper {
    box-sizing: border-box;
    color: #333;
}

    .boxWrapper .title {
        padding: 10px 20px;
        box-sizing: border-box;
        color: #FFF;
        background: #999;
        font-size: 20px;
        border-radius: 0 50px 0 0;
    }

    .boxWrapper .content {
        padding: 10px 20px 20px;
        box-sizing: border-box;
        background: url(../images/login_bgTransparent.png);
    }

        .boxWrapper .content .inputWrapper {
            margin-top: 15px;
            border-bottom: 1px #8e8e8e solid;
        }

            .boxWrapper .content .inputWrapper img {
                width: 36px;
            }

            .boxWrapper .content .inputWrapper .inputicon {
                float: left;
            }

            .boxWrapper .content .inputWrapper input[name=email_nibico],
            .boxWrapper .content .inputWrapper input[name=email_forget],
            .boxWrapper .content .inputWrapper input[name=email_add],
            .boxWrapper .content .inputWrapper input[name=pass_login],
            .boxWrapper .content .inputWrapper input[name=pass],
            .boxWrapper .content .inputWrapper input[name=pass2] {
                display: block;
                padding: 10px 0 10px 10px;
                min-width: 85%;
                box-sizing: border-box;
                border: none;
                outline: none;
                background: transparent;
            }

            .boxWrapper .content .inputWrapper input[name=code] {
                display: inline-block;
                padding: 10px;
                margin-left: 0;
                box-sizing: border-box;
                border: none;
                outline: none;
                background: transparent;
            }

input {
    font-size: 14px;
}

#confirmImage {
    vertical-align: middle;
}

/*remove chrome autofill*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
}

/* 忘記密碼, 加入會員一開始隱藏 */
.forget, .add {
    display: none;
}

.boxWrapper .content .msgWrapper {
    min-height: 30px;
    color: #C00;
    line-height: 24px;
    padding: 10px 0;
}

.boxWrapper .content .links {
    text-align: right;
    margin: 10px 0;
}

    .boxWrapper .content .links img {
        width: 18px;
    }

    .boxWrapper .content .links.left {
        text-align: left;
    }

    .boxWrapper .content .links img {
        vertical-align: middle;
        border: none;
    }

    .boxWrapper .content .links #btnFbSubmit {
        color: #3c579e;
        float: right;
    }

.boxWrapper .content .txt {
    text-align: center;
    line-height: 26px;
}

.boxWrapper .content button {
    display: inline-block;
    width: 80px;
    padding: 30px 0;
    box-sizing: border-box;
}

    .boxWrapper .content button[type=submit] {
        color: #FFF;
        background: #999;
        border: none;
        cursor: pointer;
        border-radius: 50%;
    }

.boxWrapper .btnReturn {
    float: right;
    margin-top: 5px;
    font-size: 14px;
}

    .boxWrapper .btnReturn img {
        width: 16px;
        vertical-align: middle;
    }

/*發票歸戶字*/
#tokenbigtext {
    color:#000;
    font-size:16px;   
}
#tokenbigtext2 {
    color:#6BC1C1;
    font-size:14px;
    padding-top:5px;
}


.center {
    text-align: center;
}



@media screen and (max-width: 1000px) {

    section.mobile {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    section.mobile #flipWrapper {
        width: 90%;
        margin: 20% auto;
    }

    section.mobile .boxWrapper .content button {
        font-size: 14px;
        width: 80px;
        padding: 30px 5px;
    }
}
