@import url(font.css);
body {
    margin-left: auto;
    margin-right: auto;
    width: 820px;
    font-family: "Yu-Gothic";
}
.header-login {
    height: 60px;
    text-align: center;
    position: relative;
    margin-top: 40px;
}
.btn-back {
    position: absolute;
    left: 0px;
    top: 10px;
    cursor: pointer;
    width: 40px;
}
.btn-back img {
    width: 100%;
    height: auto;
}
.header-logo {
    height: 100%;
}

.header-logo img {
    height: 100%;
    width: auto;
}
.auth-title {
    height: 30px;
    color: #FFFFFF;
    background-color: #f3ce56;
    border: 1px solid #f3ce56;
    margin-top: 10px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}
.auth-text {
    text-align: center;
    margin-top: 6px;
    color: #5e5e5e;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}
.form {
    padding-left: 20px;
    padding-right: 20px;
}
.form label {
    color: #333333;
}
.form .form_control {
    width: 100%;
    height: 38px;
    padding-left: 18px;
    background: #f3f3f3;
    border: 1px solid #d5d5d5;
    box-sizing: border-box;
    border-radius: 6px;
    margin-top: 2px;
    margin-bottom: 20px;
    font-size: 15px;
}
.btn-submit {
    width: 100%;
    height: 40px;
    color: #FFFFFF;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}
/* login  */
.forgot_pass_box {
    margin-top: 30px;
    margin-bottom: 30px;
}
.forgot_pass_tag {
    color: #f3ce56;
    font-style: normal;
    font-weight: normal;
    line-height: 20px;
    height: 20px;
    text-decoration: none;
    font-size: 16px;
}
.forgot_pass_logo {
    margin-right: 10px;
    vertical-align: bottom;
}
.login_help {
    margin-top: 20px;
    font-size: 16px;
    color: #000000;
    text-align: center;
}
.login_help span a{
    color: #f3ce56;
    text-decoration: none;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 250px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, .4);
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    border: 1px solid #888;
    max-width: 400px;
    border-radius: 6px;
    text-align: center;
}

.modal-content .title {
    font-weight: bold;
    margin-top: 20px;
}

.modal-content #error {
    margin-top: 10px;
    padding: 0px 20px 20px 20px;
    border-bottom: 1px solid #d5d5d5;
}

.modal-content .modal-close-btn {
    color: #0E7BFC;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.modal .modal-content .text-success {
    margin-top: 10px;
    padding: 0px 20px 20px 20px;
    border-bottom: 1px solid #d5d5d5;
}

.modal .modal-content .close-btn-success {
    color: #0E7BFC;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* register */
.register_note_allow {
    font-size: 12px;
    text-align: center;
}
.text_agree_policy {
    margin-top: 20px;
    font-size: 16px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.text_agree_policy span a{
    color: #f3ce56;
    text-decoration: none;
    cursor: pointer;
}

.text_agree_policy input[id="cb1"] + label {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #f3ce56;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 10px;
}
.text_agree_policy input[id="cb1"]:checked + label {
    background-color: #f3ce56;
}
.text_agree_policy input[id="cb1"]:checked + label:after {
    position: relative;
    top: -4px;
    left: 2px;
    content: '\2714';
    font-size: 20px;
    color: #FFFFFF;
}
.text_agree_policy input[id="cb1"] {
    display: none;
}

/* ipad */
@media screen and (max-width: 1024px) and (min-width:768px) {
    body {
        width:90vw;
    }
    .btn-back {
        left: 0px;
        width: 35px;
    }
    .header-logo {
        height: 80%;
    }
}

/* mobile */
@media screen and (max-width: 768px) {
    body {
        width:85vw;
    }
    .btn-back {
        left: 0px;
        width: 30px;
        top: 28px;
    }
    .header-logo {
        height: 60%;
        padding-top: 24px;
    }
    .form {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }
    .auth-title {
        font-size: 14px;
    }
    .auth-text {
        font-size: 14px;
    }
    .forgot_pass_tag {
        font-size: 14px;
    }
    .btn-submit {
        font-size: 14px;
    }
    .login_help {
        font-size: 12px;
    }
    .modal-content {
        max-width: 250px;
    }
    .text_agree_policy {
        font-size: 12px;
    }
    .text_agree_policy input[id="cb1"] + label {
        width: 14px;
        height: 14px; 
    }
    .text_agree_policy input[id="cb1"]:checked + label:after {
        font-size: 14px;
    }
    .register_note_allow {
        font-size: 10px;
        text-align: center;
    }
    .forgot_pass_box {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}