body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    position: fixed;
    box-sizing: border-box;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    background: url(../images/login-bg.jpg) no-repeat fixed center center;
    background-size: cover;

}

.loginimg {
    width: 480px;
    height: auto;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;   
    z-index: 999;
    /* background: #fff; */
    
}
.loginbox::after{
    content: "";
    display: inline-block;
    position: absolute;
    top: -1px;
    left: -1px;
    width: 484px;
    height: 535px;
    background: #fff;
    z-index: -1;
    border-radius: 10px;
}
.bgbox {
    display: inline-block;
    width: 60%;
    height: auto;
    padding-left: -50px;
    vertical-align: middle;
}

.bgbox img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.loginbox {
    position: relative;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    vertical-align: middle;
    /* overflow: hidden;     */
    border-radius: 10px;   
    border: #C7423D 3px solid;
}

.loginbox .title {
    padding: 15px 0;
}

.loginbox .title img {
    width: 100%;
}

.logobox {
    /* padding: 0 0 0 0; */
}
.logobox img{
    width: 296px;
}

.inputbox {
    width: 100%;
    vertical-align: middle;
    padding: 0% 0% 6% 0%;
}

.btnbox {
    width: 305px;
    margin: auto;
}

.put {
    color: #000000;
    border: 1px solid #06F;
}

.title_font {
    font-size: 120%;
    color: #fff;
    line-height: 35px;
    text-decoration: none;
    border: 0;
    border-radius: 10px;
    font-weight: normal;
}

.idname {
    padding: 5% 0;
    color: #666666;
}

.top_lne {
    border: 0px dotted #000;
}


.button,
a .button {
    width: 46.5%;
    padding: 10px 0;
    min-width: 100px;
    margin: 10px 0px;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    font-size: 130%;
    border-radius: 3px;
    /*圓角左上 右上 右下 左下 順時針*/
    color: #fff;
    text-decoration: none;
    border: 0px;
    /*background: linear-gradient(-15deg, #1da9b6 50%, #00a0ae 50%);*/
    cursor: pointer;
    font-weight: bold;
}

.btnbox #Login {
    background: #C7423D;
}

.btnbox #clean {
    background: #707070;
}

.btnbox #Login:hover {
    color: #fff;
    text-decoration: none;
    background: #ae3935;
}

.btnbox #clean:hover {
    color: #fff;
    text-decoration: none;
    background-color: #5e5e5e;
}

.form_text {
    border: 0;
    border-radius: 3px;
    padding: 13px 10px 13px 10px;
    width: 268px;
    margin: 5px 0;
    font-size: 20px;
    background-color: #E6E4E1;
    color: rgb(42, 42, 42);
    outline: none;
}

.form_text::placeholder {
    color: #A8A59E;
}


/* == 手機版型區 =============================== */

@media screen and (max-width: 767px) {
    .loginimg {
        width: 338px;        
        height: 405px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 10px;
    }
    .loginbox::after{
        content: "";
        display: inline-block;
        position: absolute;
        top: 0px;
        left: -1px;    
        width: 340px;
        height: 413px;
        background: #fff;
        z-index: -1;
        border-radius: 10px;   
    }
    .loginbox {
        width: 100%;
        margin: auto;
        text-align: center;
        box-sizing: border-box;
        vertical-align: middle;
    }

    .logobox {
        margin: auto;      
    }
    .logobox img{
        width: 60%;
    }
    .inputbox {
        width: 100%;
        vertical-align: middle;
    }

    .btnbox {
        width: 270px;
        margin: auto;
    }

    .form_text {
        border: 0;
        border-radius: 3px;
        padding: 13px 10px 13px 10px;
        width: 235px;
        margin: 5px 0;
        font-size: 20px;
        background-color: #E6E4E1;
        color: rgb(42, 42, 42);
        outline: none;
    }

    .button,
    a .button {
        width: 46.5%;
        padding: 10px 0;
        min-width: 100px;
        margin: 10px 0px;
        font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
        font-size: 130%;
        border-radius: 3px;
        /*圓角左上 右上 右下 左下 順時針*/
        color: #fff;
        text-decoration: none;
        border: 0px;
        /*background: linear-gradient(-15deg, #1da9b6 50%, #00a0ae 50%);*/
        cursor: pointer;
        font-weight: bold;
    }
}
