﻿html, body, select, input, div, h1, h2, h3, h4, p, span, ul, li, div, form {
    margin: 0;
    padding: 0;
}

body {
    font: 15px/1.5 微軟正黑體,Arial;
    color: #333;
    letter-spacing: 1px;
}

textarea {
    font: 1em/1.5 微軟正黑體,Arial;
}

img {
    border: 0;
}

.clear {
    clear: both;
}

.float-L {
    float: left;
}

.float-R {
    float: right;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}



.clearfix {
    display: inline-block;
}



html[xmlns] .clearfix {
    display: block;
}



* html .clearfix {
    height: 1%;
}


select {
    font: 15px/1.5 微軟正黑體,Arial;
    color: #333333;
    padding: 4px;
}

input {
    font: 15px/1.5 微軟正黑體,Arial;
    color: #333333;
    padding: 4px;
}

.weight {
    font-weight: bold;
}

.right {
    text-align: right;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.red {
    color: #cc0000;
}
/*---英文、數字、符號鍵盤切換: 限IE使用---*/
.ime:focus, #IDNO:focus, #id:focus, #account:focus, #Hidden1:focus, #id01:focus, #phoneDayExt:focus, #email:focus, #email1:focus, #email2:focus, #InpTEL:focus {
    ime-mode: disabled \9; /*IE7-10*/
}

@media all and (-ms-high-contrast:none) {
    .ime:focus, #IDNO:focus, #id:focus, #account:focus, #Hidden1:focus, #id01:focus, #phoneDayExt:focus, #email:focus, #email1:focus, #email2:focus, #InpTEL:focus {
        ime-mode: disabled; /*IE10-11*/
    }
}



/*圖形驗證碼*/
#imgVerifyCode {
    vertical-align: middle;
}

#imgCode {
    vertical-align: middle;
    height: 34px;
}

@media all and (-ms-high-contrast:none) {
    #imgCode {
        vertical-align: middle;
        height: 30px;
    }
}

#refreshImgCode {
    color: #c6000f;
}

/* pop 小視窗*/
.wlsModalopen {
    max-height: 100vh;
    min-height: 100vh;
    overflow: hidden !important;
}

#wlsModal.open {
    display: flex !important;
}

/* PC 或未登入的手機 */
body:not(.eManager) #wlsModal {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    top: 0;
    /*bottom: 0;
    left: 0;
    right: 0;*/
    background-color: rgba(0,0,0,.3);
    z-index: 1;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body:not(.eManager) #wlsModal_wrapper {
    width: 400px;
    min-width: 320px;
    max-width: 80vw;
   /*margin: calc((100vh - 300px) / 2) auto;*/
    max-height: 300px;
    overflow: hidden;
    background-color: #fff;
    flex-direction: column;
    position: relative;
    z-index: 2;
    border-radius: .5em;
}

body:not(.eManager) #wlsModal_title {
    text-align: center;
    padding: .8em .5em .5em .5em;
    font-size: 1.5rem;
    color: #c6000f;
    font-weight: bold;
}

body:not(.eManager) #wlsModal_body {
    flex: 1;
    min-height: 120px;
    text-align: center;
    padding: 0 1em;
    overflow-y: auto;
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom:0;
}

body:not(.eManager) #wlsModal_footer {
    display: flex;
    padding: 1em 0;
    justify-content: center;
    margin:0 1em;
}

    body:not(.eManager) #wlsModal_footer > * {
        border: 0;
        background-color: #ccc;
        color: #333;
        min-width: 6em;
        border-radius: .2em;
        padding: .2em;
    }

body:not(.eManager) #wlsModal_wrapper .footer {
    text-align: center;
    padding: 1em 0;
}

body:not(.eManager) #wlsModal_btngo {
    border: 0;
    background-color: #c6000f;
    color: #fff;
    margin-left: .5em;
}

/* 手機: in eManager*/
body.eManager #wlsModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,.3);
    z-index: 2
}



body.eManager #wlsModal_wrapper {
    /*  flex: 1;*/
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 80vw;
    min-width: 290px;
    max-height: 80vh;
    border-radius: .5em;
}

body.eManager #wlsModal_title {
    text-align: center;
    padding: .75em .5em .5em .5em;
    background: #fff;
    font-weight: 600;
    font-size: 1.25rem;
}

    body.eManager #wlsModal_title::before {
        display: block;
        margin: .5em auto;
        width: 1.5em;
        height: 1.5em;
        line-height: 1.5em;
        border-radius: 10em;
        content: "!";
        background: #f96564;
        color: #fff;
        margin-bottom: .2em;
    }


body.eManager #wlsModal_body {
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    min-height: 0 !important;
    height: 100%;
    padding: 0 1em .5em 1em;
    font-size: .75em;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

    body.eManager #wlsModal_body > span {
        display: inline-block;
        text-align: left;
    }


body.eManager #wlsModal_footer {
    display: flex;

}

    body.eManager #wlsModal_footer > * {
        flex: 1;
        
    }

        body.eManager #wlsModal_footer > *:not(:first-child) {
            border-left: 1px solid #ccc;
        }

body.eManager #wlsModal_close,
body.eManager #wlsModal_btngo {
    width: 100%;
    text-decoration: none;
    border: 0;
    background: #fff;
    text-align: center;
    padding: .5em .75em;
    font-weight: 600;
    color: #f96564;
    font-size: 1em;
}



body.eManager .shifter-page {
    min-height: 100vh;
}
