body {
    padding: 0;
    margin: 0;
    font-family: microsoft jhengHei, Apple LiGothic, Arial, PMingLiU, Heiti;
	overflow-x: hidden;
	-webkit-font-size-adjust: none;
    font-size-adjust: none;
	min-height: 100vh;
    height: 100%;
	background-image: url(../img/bg.png);
    background-repeat: repeat-y;
    background-size: 100% auto;
    color: #a1a6aa;
}

html,
body {
    /*	
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;*/
}

* {
    -webkit-font-size-adjust: none;
    font-size-adjust: none;
}

a img {
    border: none;
}

a,
td,
input,
button {
    transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
}

input,
textarea,
button,
select {
    font-family: Arial, microsoft jhengHei, Apple LiGothic, PMingLiU, Heiti;
}

label {
    display: inline-block;
    width: 88px;
    font-size: 14px;
    text-align: right;
    vertical-align: top;
}

.input_error {
    box-shadow: 0 0 10px #f00, inset 0 0 20px rgba(255, 0, 0, 0.1);
    /*    color:#f00 !important;*/
    border-color: #ff8a8a;
    -webkit-animation: showerror 0.5s;
    animation: showerror 0.5s;
}

label.input_error {
    box-shadow: none !important;
    color: #f00 !important;
}

label.input_error input {
    box-shadow: 0 0 10px #f00, inset 0 0 20px rgba(255, 0, 0, 0.1) !important;
}

label.input_error::before {
    box-shadow: 0 0 10px #f00;
    border-color: #ff8a8a !important;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Safari and Chrome */

@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes showerror {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes showerror {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

.script_error {
    position: absolute;
    text-align: center;
    z-index: 5;
    color: red;
    background: rgba(255, 255, 255, 0.7);
    top: 375px;
    left: 0;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.script_error h1 {
    padding: 0;
    margin: 0;
    line-height: 90px;
}

.all {
    display: block;
    width: 100%;
    max-width: 1200px;
    /*	min-height:100vh;*/
    box-sizing: border-box;
    /* padding:0 0 50px 0; */
    padding: 0px;
    margin: 0 auto;
    /*	background:no-repeat bottom left url("../images/bottom_banner_d.jpg");
	background-size:1024px auto;*/
    margin-bottom: 20px;
}

.index_content {
    display: block;
    width: 750px;
    height: 1334px;
    margin: auto;
    background: #eee no-repeat url("../images/01.jpg") center;
}

.all_content {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.all_content h1 {
    text-align: center;
    color: #c30e2f;
}

.all_content a {
    color: #3966d0;
}

.btn1 {
    display: block;
    padding: 8px 30px;
    color: #fff;
    background: #ae2030;
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
    max-width: 120px;
    font-size: 24px;
    border-radius: 10px;
    text-decoration: none;
}

.btn1:hover {
    background: #e93044;
}

.btn1.disabled_btn {
    cursor: not-allowed;
}

.login_div {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 200;
    /*    background: rgba(0,0,0,0.5);*/
    text-align: center;
}

.form_list {
    list-style: none;
    padding: 20px 0 0 0;
    margin: 0;
    font-size: 15px;
}

.form_list li {
    display: block;
    padding: 5px 0 5px 0;
}

.form_list li>b {
    display: inline-block;
    /* width:30%; */
    vertical-align: top;
    font-weight: normal;
    line-height: 2;
}

.form_list li>p {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 70%;
    min-height: 62px;
}

.form_list li>p span {
    font-size: 15px;
    color: #e31d1a;
    display: none;
}

.form_list li input,
.form_list li textarea {
    display: block;
    width: 100%;
    border: 1px solid #999;
    padding: 5px;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 25px;
}

.form_list li input[type="text"]:disabled {
    background: #dddddd;
}

.form_list li select {
    display: block;
    width: 100%;
    border: 1px solid #999;
    padding: 5px;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 25px;
    min-height: 36px;
}

.form_list li select:disabled {
    background: #dddddd;
}

.error_msg {
    position: fixed;
    top: 600px;
    left: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 15px 20px;
    width: 320px;
    height: 120px;
    box-sizing: border-box;
    text-align: center;
    margin: 0 0 0 -160px;
    border-radius: 10px;
    font-size: 18px;
    display: none;
}

.error_msg>span {
    display: block;
    position: absolute;
    width: 100%;
    margin: -20px -15px;
    text-align: right;
}

.error_msg>span b {
    display: inline-block;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 25px;
    font-size: 18px;
    background: #eee;
    border-radius: 25px;
    color: #333;
    font-family: arial;
    cursor: pointer;
    border: 1px solid #333;
}

.error_msg p {
    padding: 0;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.error_msg p span {
    display: block;
}

.error_msg::after {
    content: '';
    width: 0;
    height: 100%;
    display: inline-block;
    position: relative;
    vertical-align: middle;
}

.top_banner {
    display: block;
    padding: 0;
}

.main_banner {
    display: block;
    width: 100%;
    max-width: 750px;
    margin: 0 auto 15px auto;
}

.main_banner>img {
    display: block;
    width: 100%;
}

.description_text {
    display: block;
    text-align: center;
    font-size: 20px;
    line-height: 1.7;
}

.description_text .s_text {
    font-size: 16px;
}

.description_text p {
    display: block;
    margin: 0;
    padding: 0;
}

.description_text span {
    display: inline-block;
}

.tnc_checkbox_text {
    display: block;
    padding: 15px 0;
    font-size: 16px;
}

.tnc_checkbox_text p {
    display: block;
    padding: 2px 0 2px 30px;
    margin: 0;
    min-height: 42px;
}

.tnc_checkbox_text p label {
    display: block;
}

.tnc_checkbox_text p span {
    font-size: 15px;
    color: #e31d1a;
    display: none;
}

.tnc_checkbox_text p input[type=checkbox] {
    width: 25px;
    height: 25px;
    position: absolute;
    margin: 0 0 0 -30px;
}

.tnc_checkbox_text p b {
    font-weight: normal;
    padding: 7px 0;
    display: block;
}

.loading {
    position: fixed;
    background: no-repeat url("../images/loading3.gif") center 25% rgba(245, 245, 245, 0.7);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    display: none;
}

.loading.index_loading {
    background: no-repeat url("../images/loading3.gif") center 300px rgba(245, 245, 245, 0.7);
}

.img_banner {
    display: block;
    margin-top: -15px;
    margin-top: -5vw;
    margin-bottom: 20px;
}

.img_banner img.desktop {
    display: block;
    width: 100%;
}

.img_banner img.mobile {
    display: none;
    width: 100%;
}

.bottom_text {
    display: block;
    background: #c30e2f;
    font-size: 15px;
    padding: 5px 10px;
    box-sizing: border-box;
    color: #fff;
}

.bottom_text span {
    cursor: pointer;
    display: inline-block;
}

.tnc_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
    padding: 50px 5%;
    display: none;
    z-index: 5;
}

.tnc_box {
    display: block;
    margin: auto;
    max-width: 800px;
}

.tnc_box h1 {
    display: block;
    font-size: 23px;
    padding: 5px 0 10px 0;
    margin: 5px 0 10px 0;
    font-weight: normal;
    border-bottom: 1px solid #c30e2f;
}

.tnc_box h2 {
    display: block;
    font-size: 18px;
    padding: 0;
    margin: 20px 0 0 0;
    font-weight: normal;
}

.tnc_box p {
    padding: 0;
    margin: 0;
}

.tnc_box p span {
    float: right;
    width: 35px;
    height: 35px;
    display: block;
    padding: 5px;
    box-sizing: border-box;
    cursor: pointer;
}

.tnc_box p span img {
    width: 100%;
    height: 100%;
    display: block;
}

.tnc_content {
    overflow: auto;
    max-height: 100%;
    max-height: 650px;
    display: block;
    line-height: 1.6;
    font-size: 15px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.tnc_content ol {
    padding: 0 0 0 25px;
    margin: 5px 0;
}

.end_popup {
    position: fixed;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 5;
}

.end_popup_content {
    width: 480px;
    top: 300px;
    left: 50%;
    height: 250px;
    margin: 0 0 0 -240px;
    position: fixed;
    z-index: 10;
    background: #fff;
    box-sizing: border-box;
    border: 1px solid #c30e2f;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 15px;
    line-height: 1.7;
}

.end_popup_content p {
    border-bottom: 1px solid #c30e2f;
    color: #c30e2f;
    margin: 0 0 10px 0;
    padding: 0 0 10px 0;
}

.end_popup_content p b {
    color: #c30e2f;
    display: block;
    font-size: 21px;
}

.left_s_text {
    display: block;
    position: absolute;
    left: 15px;
    height: 400px;
    top: 670px;
}

.left_s_text {
    max-height: 45vw;
    top: 65vw;
}

.testing_popup {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    z-index: 5;
}

.testing_popup div {
    display: inline-block;
    margin-top: 100px;
    padding: 0;
}

.testing_popup h1 {
    color: #c30e2f;
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 55px;
}

.testing_popup input {
    margin: 0 0 15px 0;
    height: 30px;
    line-height: 30px;
    border: 1px solid #999;
    line-height: 30px;
    padding: 0;
    min-width: 70px;
    box-sizing: border-box;
    vertical-align: bottom;
    text-align: center;
}

.testing_popup input[type=submit] {
    cursor: pointer;
    background: #c30e2f;
    color: #fff;
    -webkit-appearance: none;
}

div.disabled_div {
    opacity: 0.5;
}

@media screen and (max-width: 800px) {
    .tnc_box {
        /*  max-width: 90%;*/
    }
    .tnc_content {
        /*	max-height:650px;*/
    }
}

@media screen and (max-width: 768px) {
    .all {
        /*	padding:0 0 80vw 0;
	background:no-repeat bottom left url("../images/bottom_banner_m.jpg");
	background-size:100% auto;*/
    }
    .description_text {
        font-size: 15px;
    }
    .description_text .s_text {
        font-size: 13px;
    }
    .description_text span {
        display: block;
    }
    .tnc_popup {
        padding: 10px;
    }
    .tnc_box {
        height: 100%;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #c30e2f;
        padding: 8px;
        background: #fff;
        border-radius: 5px;
        font-size: 13px;
    }
    .tnc_box h1 {
        font-size: 20px;
        padding: 0 0 5px 0;
    }
    .tnc_content {
        max-height: 90%;
    }
}
#salesforce_pop {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgb(0,0,0);
    background: rgba(0,0,0,.7);
    filter: alpha(opacity=70);
    z-index: 9999;
}

#salesforce_pop div {
    width: 300px;
    height: 200px;
    margin: auto;
    border: 5px #BBD8F5 solid;
    background: #FFF;
    text-align: center;
}

#salesforce_pop table {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 480px) {
    .all_content {
        padding: 0px 15px;
    }
    .description_text {
        font-size: 12px;
    }
    .top_banner {
        padding: 0;
    }
    .form_list li>b {
        display: block;
        width: 100%;
        line-height: 1.3;
        margin: 0;
        padding: 0 0 2px 0;
    }
    .form_list li>p {
        display: block;
        width: 100%;
        min-height: 56px;
        line-height: 1;
    }
    .form_list li>p span {
        font-size: 12px;
    }
    .tnc_checkbox_text {
        font-size: 13px;
    }
    .error_msg {
        top: 150px;
    }
    .loading,
    .loading.index_loading {
        background: no-repeat url("../images/loading3.gif") center rgba(245, 245, 245, 0.7);
    }
    .img_banner img.desktop {
        display: none;
    }
    .img_banner img.mobile {
        display: block;
    }
    .end_popup_content p b {
        font-size: 18px;
    }
    .end_popup_content {
        width: 90%;
        top: 50%;
        left: 50%;
        min-height: 240px;
        margin: -160px 0 0 -45%;
        font-size: 13px;
        line-height: 1.7;
        box-sizing: border-box;
    }
    .left_s_text {
        display: block;
        position: absolute;
        left: 10px;
        height: 45vw;
        top: 70vw;
    }
}
