﻿﻿@charset "utf-8";
@import "https://fonts.googleapis.com/earlyaccess/notosanstc.css";

html,
body,
main,
#main_cont {
    padding: 0;
    margin: 0 auto;
    height: 100%;
}

body,
main,
#main_cont {
    font-family: "Microsoft JhengHei", "LiHei Pro", "Noto Sans", "Helvetica Neue", Helvetica, Arial, "Noto Sans TC", sans-serif;
    font-size: 1em;
    line-height: 22px;
    position: relative;
    -webkit-text-size-adjust: none;
    text-align: center;
    background: #fff;
}

main {
    display: block;
}

header {
    background: #fff;
    width: 100%;
    height: 71px;
    margin: 0 auto;
}

.footer {
    width: 100%;
    height: 37px;
    border-top: 3px #ff8300 solid;
    background: #fff;
}

.hwrapper {
    width: 900px;
    height: 100%;
    margin: 0 auto;
    text-align: center;
}

.fwrapper {
    width: 900px;
    height: 100%;
    margin: 0 auto;
    text-align: center;
    background: #fff;
}

.wrapper {
    width: 100%;
    /* height: 80%; */
    margin: 0 auto;
    text-align: center;
    display: table;
    /* position: absolute; */
}

.logo {
    background: url(../../Images/logo-oneBrand.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 248px;
    height: 48px;
    margin: 11px;
    display: inline-block;
    float: none;
    margin: 11px auto 0 auto;
}

    .logo.bilingual {
        width: 300px;
        background: url(../../Images/oneBrand-bilingual-logo-b.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .logo a {
        display: inline-block;
        width: 248px;
        height: 48px;
    }

    .logo.bilingual a {
        width: 300px;
    }

.register {
    width: 100%;
    /* height: 100%; */
    background: #e8e8e8;
    text-align: center;
    margin: 0 auto;
}

.copyright {
    font-size: 12px;
    color: #2c2b2b;
    font-weight: 700;
    display: inline-block;
    float: left;
    line-height: 37px;
}

.gamanialogo {
    background: url(../../Images/gamanialogo.png) center center no-repeat;
    width: 77px;
    height: 37px;
    display: inline-block;
    float: right;
    margin: 0 12px 0 auto;
}

.copyright a {
    color: #ff8300;
    text-decoration: none;
    border-bottom: 1px #ff8300 solid;
}

    .copyright a:hover {
        opacity: 0.8;
    }

.copyright span {
    color: #ff8300;
    margin: 0 6px;
}

.title {
    background: #606060;
    width: 100%;
    height: 50px;
    color: #fff;
    margin: 36px auto 0;
    display: inline-block;
    line-height: 51px;
    font-size: 32px;
    font-weight: 700;
}

.title-border {
    background: #ff8300;
    width: 100%;
    height: 5px;
    margin: 4px auto 40px;
}

.register_form {
    width: 500px;
    margin: 0 auto;
    text-align: left;
}

.col-1 {
    display: block;
    width: 500px;
    margin: 40px auto;
    color: #606060;
    font-weight: 700;
    position: relative;
    font-size: 24px;
}

    .col-1 a {
        color: #ff8300;
        text-decoration: underline;
        font-weight: 700;
    }

        .col-1 a:hover {
            opacity: 0.8;
        }

input[type="text"] {
    -webkit-appearance: none;
}

input[type="password"] {
    -webkit-appearance: none;
}

.col-1 input[type="text"] {
    width: 500px;
    height: 60px;
    border: #ff8300 1px solid;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: #606060;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-indent: 12px;
}

.col-1 input[type="password"] {
    width: 500px;
    height: 60px;
    border: #ff8300 1px solid;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color: #606060;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    text-indent: 12px;
}

input[type="checkbox"] {
    visibility: hidden;
}

.checkbox_g {
    width: 30px;
    position: relative;
    margin: 0 12px;
    display: inline-block;
}

    .checkbox_g label {
        cursor: pointer;
        position: absolute;
        width: 30px;
        height: 30px;
        top: 0;
        left: 0;
        background: #fff;
        border: 1px solid #b9b9b9;
    }

        .checkbox_g label:after {
            opacity: 0.2;
            content: "";
            position: absolute;
            width: 15px;
            height: 7px;
            background: transparent;
            top: 6px;
            left: 7px;
            border: 3px solid #ff8300;
            border-top: none;
            border-right: none;
            transform: rotate(-45deg);
        }

        .checkbox_g label:hover::after {
            opacity: 0.5;
        }

    .checkbox_g input[type="checkbox"]:checked + input + label:after {
        opacity: 1;
    }

.col-1 input[type="text"]::-webkit-input-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="text"]::-moz-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="text"]:-ms-input-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="text"]:-moz-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="password"]::-webkit-input-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="password"]::-moz-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="password"]:-ms-input-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-1 input[type="password"]:-moz-placeholder {
    color: #aaa;
    font-size: 24px;
    line-height: 60px;
    font-weight: 700;
}

.col-c {
    text-align: center;
    display: block;
    position: relative;
}

.w290 {
    width: 200px;
}

.w150 {
    width: 120px;
}

.register_button {
    border: 1px #ff8300 solid;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: #ff8300;
    color: #fff;
    height: 48px;
    font-weight: 700;
    text-decoration: none;
    font-size: 24px;
    text-align: center;
    margin: 12px auto;
    display: inline-block;
    line-height: 48px;
}

.unopen {
    border: 1px #bdbdbd solid;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: -webkit-linear-gradient(#fff, #cfcfcf);
    background: -o-linear-gradient(#fff, #6cfcfcf);
    background: -moz-linear-gradient(#fff, #cfcfcf);
    background: linear-gradient(#fff, #cfcfcf);
    color: #606060;
    font-weight: 700;
    text-decoration: none;
    font-size: 26px;
    text-align: center;
}

.policy {
    display: inline-block;
}

.register_p {
    background: url(../../Images/register_p.png);
    width: 91px;
    height: 79px;
    position: absolute;
    top: -20px;
    left: 45%;
    margin-left: 80px;
    display: none;
}

.errormessage {
    color: #ea0808;
    font-size: 22px;
    font-weight: 700;
    display: none;
}

.center {
    text-align: center;
}

.register > .wrapper h1 {
    color: #ff8300;
    font-size: 32px;
    display: inline-block;
    margin: 12px auto;
    line-height: 32px;
}

.register > .wrapper h2 {
    color: #606060;
    font-size: 24px;
    display: block;
    margin: 12px auto;
    line-height: 24px;
    word-wrap: break-word;
    word-break: break-all;
    padding: 0 30px;
}

.register > .wrapper h1.ac_title {
    margin: 60px auto 0;
}

.m60 {
    margin: 60px auto;
}

.m30 {
    margin: 30px auto;
}

.m12 {
    margin: 12px;
}

.innerwrapper {
    display: table-cell;
    vertical-align: middle;
}

a.normal_link {
    color: #ff8300;
    text-decoration: underline;
    display: block;
}

    a.normal_link:hover {
        opacity: 0.8;
    }

.show {
    display: block;
}

.eyelabel {
    background: url(../../Images/eye.png);
    width: 48px;
    height: 48px;
    display: inline-block;
    position: absolute;
    right: 8px;
    cursor: pointer;
    top: 8px;
}

.eye_on {
    background-position: 0 -48px;
}

.eye_close {
    background-position: 0 0;
}

select {
    vertical-align: middle;
    background-color: rgba(229, 241, 205, 0.45);
    border: thin solid rgba(101, 149, 0, 0.45);
    display: inline-block;
    font: inherit;
    line-height: 1.5em;
    padding: 0.5em 3.5em 0.5em 1em;
    color: #000;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    select:-moz-focusring {
        color: transparent;
        text-shadow: 0 0 0 #e7e7e7;
    }

.sort-select {
    width: 500px;
    background-image: linear-gradient(45deg, transparent 50%, #659500 50%), linear-gradient(135deg, #659500 50%, transparent 50%), linear-gradient(to right, #659500, #659500);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
}

select.sort-select:focus {
    background-image: linear-gradient(45deg, #659500 50%, transparent 50%), linear-gradient(135deg, transparent 50%, #659500 50%), linear-gradient(to right, #659500, #659500);
    background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    border-color: #e5f1cd;
    outline: 0;
}

@media (max-width: 767px) {
    header {
        height: 50px;
        background-size: contain;
    }

    .logo {
        width: 152px;
        height: 38px;
        background-size: contain;
        float: none;
        margin: 8px auto 0;
    }

        .logo.bilingual {
            width: 200px;
        }


        .logo a {
            width: 152px;
            height: 38px;
        }

        .logo.bilingual a {
            width: 200px;
        }

    .hwrapper {
        width: 100%;
    }

    .fwrapper {
        width: 100%;
    }

    .wrapper {
        width: 100%;
    }

    .register_form {
        width: 95%;
    }

    .title {
        width: 100%;
        margin: 18px auto 0;
        font-size: 20px;
    }

    .title-border {
        width: 100%;
        margin: 4px auto 20px;
    }

    .col-1 {
        width: 90%;
        margin: 20px auto;
        font-size: 18px;
        line-height: 32px;
    }

        .col-1 input[type="text"] {
            width: 100%;
            margin: 0;
            padding: 0;
            height: 48px;
            line-height: 48px;
            font-size: 18px;
        }

        .col-1 input[type="password"] {
            width: 100%;
            margin: 0;
            padding: 0;
            height: 48px;
            line-height: 48px;
            font-size: 18px;
        }

    .policy {
        display: none;
    }

    .gamanialogo {
        display: none;
    }

    .copyright {
        float: none;
        margin: 0 auto;
        font-size: 11px;
    }

    .errormessage {
        font-size: 16px;
        margin: 8px 0 0;
    }

    .col-1 input[type="text"]::-webkit-input-placeholder {
        line-height: 48px;
    }

    .col-1 input[type="text"]::-moz-placeholder {
        line-height: 48px;
    }

    .col-1 input[type="text"]:-ms-input-placeholder {
        line-height: 48px;
    }

    .col-1 input[type="text"]:-moz-placeholder {
        line-height: 48px;
    }

    .eyelabel {
        top: 0;
    }

    .col-1 input[type="text"]::-webkit-input-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="text"]::-moz-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="text"]:-ms-input-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="text"]:-moz-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="password"]::-webkit-input-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="password"]::-moz-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="password"]:-ms-input-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .col-1 input[type="password"]:-moz-placeholder {
        color: #aaa;
        font-size: 18px;
        line-height: 48px;
        font-weight: 700;
    }

    .register > .wrapper h1 {
        font-size: 24px;
    }

    .sort-select {
        width: 100%;
    }
}

.contract {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    display: none;
    z-index: 9999;
}

    .contract iframe {
        width: 100%;
        height: 100%;
    }

.close-btn {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 10px;
    right: 10px;
    background: url("../img/close.png") left top no-repeat;
    background-size: cover;
}

/* 20181102 PLUS */
@media screen and (orientation: landscape) {
    .register {
        height: auto;
    }

    .wrapper {
        height: auto;
        position: relative;
    }
}
