* {
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    background: #fbfbfb;
    font-family: "Lato", sans-serif, "微軟正黑體";
    color: #4d4d4d;
    position: relative;
}

body::after {
    display: none;
    content: url("../images/Img_reg.gif"), url("../images/Img-reg-M1.jpg"), url("../images/Img-reg-M2.jpg"), url("../images/Img-reg-M3.jpg"), url("../images/Img-reg-M4.jpg"), url("../images/Img-reg-M5.jpg");
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p,
form,
input {
    margin: 0px;
    padding: 0px;
    outline: none;
    list-style-type: none;
}

h1 {
    font-family: "Lato", sans-serif, "微軟正黑體";
    font-weight: 900;
    font-size: 30px;
}

a {
    text-decoration: none;
    outline: none;
    color: #027fcc;
}

select {
    cursor: pointer;
}

.clearfix {
    clear: both;
    display: block;
    width: 100%;
}

.hide {
    display: none !important;
}

.logo {
    position: absolute;
    top: 20px;
    right: 30px;
}

.logo_m {
    display: none;
}

/* Reg from - Content */
.wrapper {
    width: 100%;
    height: 100%;
    display: none;
}

.reg-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10vh;
}

.model {
    max-width: 560px;
}

.model img {
    width: 100%;
}

.reg-form {
    text-align: left;
    position: relative;
    width: 96%;
    max-width: 350px;
    min-height: 500px;
    margin: 80px 0 0 5vw;
}

/*.reg-form div[data-form-field="looking-for"] .input label input{position: absolute;z-index: -1;opacity: 0;}*/
.reg-form .indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.reg-form div[data-form-field="looking-for"] .input label .indicator {
    border: 1px solid #4d4d4d;
    border-radius: 50%;
}

.reg-form .indicator:after {
    content: "";
    position: absolute;
    display: none;
}

.reg-form div[data-form-field="looking-for"] .input label .indicator:after {
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #4d4d4d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.reg-form div[data-form-field="looking-for"] .input label input:checked ~ .indicator:after {
    display: block;
}

.reg-form div[data-form-field="looking-for"] .input label > span {
    margin-left: 25px;
    text-transform: capitalize;
}

.reg-form .help-block p,
[data-form-field="handle"] .note-block,
[data-form-field="password"] .note-block,
[data-form-field="title"] .note-block {
    height: auto !important;
    text-align: right;
    line-height: 1.5;
    font-size: 12px;
    color: #b8b8b8;
}

.reg-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.reg-form .submit_alert,
.reg_alert {
    color: #f54e57;
    text-align: center;
    width: 100%;
    font-size: 12px;
}

.reg_alert a.close,
.reg_alert p {
    display: inline-block;
}

[data-form-field="handle_confirm"],
[data-form-field="email_confirm"],
[data-form-field="password_confirm"],
.pagination .prev_link,
.grid_row .pagination {
    display: none;
}

.reg-form .note-block,
.reg-form .help-block p span.ok,
.reg-form .error .help-block p,
.reg-form .suggest,
.reg-form .suggest p,
.reg-form .subtitle,
.suggest_handles,
#form-intro .suggest2 {
    line-height: 1.5;
    text-align: right;
    color: #b8b8b8;
    font-size: 12px;
}

.reg-form .suggest {
    display: flex;
    justify-content: flex-end;
}

.reg-form .help-block p span.ok {
    color: #01a2a6;
}

.reg-form .subtitle {
    display: none;
}

.reg-form .help-block p {
    opacity: 0;
}

.reg-form .error .help-block p,
.suggest_handles {
    color: #f54e57;
    opacity: 1;
}

#form-intro-title .intro_title,
#form-intro .suggest2 {
    float: none;
    font-size: 12px;
}

#form-intro .suggest2 .writing_tool {
    display: inline-block;
}

#form-intro .input .suggest {
    display: initial;
}

#form-intro .suggest2 .writing_tool li[data-form-tool="instant_writer"],
#form-intro label[for="form-intro"] p,
.reg_consent_group02 {
    display: none;
}

.help-block.reg_consent_group {
    font-size: 12px;
    color: #b8b8b8;
}

.reg-form .suggest a.zip_check {
    outline: none;
}

.input {
    position: relative;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 16px;
}

[data-form-group="looking_for"] .input {
    width: 74%;
    display: inline-block;
}

.grid_row [data-form-group="looking_for"] > label {
    width: 25%;
    display: inline-block;
    vertical-align: top;
    line-height: 1.2;
    margin-top: 6px;
}

body[step="2"] .reg-form .birth-input .help-block p {
    display: none !important;
}

body[step="2"] .reg-form .error .birth-input .help-block p {
    display: block !important;
}

.reg-form .loading {
    position: absolute;
    top: 12px;
    right: 40px;
    background: url("../images/loading.gif") no-repeat;
    background-repeat: no-repeat;
    background-size: contain;
    height: 20px;
    width: 20px;
}

[data-form-field="email"] .loading,
[data-form-field="handle"] .loading {
    right: 12px;
    top: 12px;
}

.actions {
    position: relative;
}

.actions .loading {
    right: 10px;
    top: 0px;
}

.grid_row label {
    width: 100%;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    text-align: left;
    position: relative;
}

.grid_row label b {
    font-weight: normal;
}

.reg-form select,
.reg-form input[type="email"],
.reg-form input[type="text"],
.reg-form input[type="password"],
.reg-form textarea {
    padding-left: 10px;
    width: 100%;
    height: 45px;
    display: block;
    font-size: 14px;
    border: 1px solid #d9d9d9;
    outline: none;
    margin: 0 auto;
    font-family: "Lato", sans-serif, "微軟正黑體";
    color: #4d4d4d;
    border-radius: 5px;
}

.error .input input,
.error .input select {
    border: 1px solid #ff8284;
    background-color: #fff2ed;
}

.reg-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("../images/arrow_down.svg") no-repeat right 5px center #fff;
    padding-right: 30px;
}

@media screen\0 {
    .reg-form select {
        background-image: url("../images/arrow_down.svg");
        background-size: auto;
    }
}

.reg-form select::-ms-expand {
    display: none;
}

.reg-form select#bday_month,
.reg-form select#bday_month2 {
    width: 39%;
    display: inline-block;
}

.reg-form select#bday_day,
.reg-form select#bday_day2 {
    width: calc(29% - 2px);
    display: inline-block;
    margin-left: 2px;
}

.reg-form select#bday_year,
.reg-form select#bday_year2 {
    width: calc(29% - 2px);
    display: inline-block;
    margin-left: 2px;
}

.reg-form .suggest a.username_check {
    display: none;
    position: relative;
}

.reg-form .grid_row[data-form-page="5"] textarea {
    height: 190px;
}

.reg-form button.next_link,
.reg-form button.prev_link,
.reg-form button[type="submit"] {
    width: calc(49% - 2px);
    height: 48px;
    background: #ffd400;
    font-size: 16px;
    color: #000;
    border: none;
    cursor: pointer;
    outline: none;
    margin: 0 auto;
    margin-top: 25px;
    font-family: "Lato", sans-serif, "微軟正黑體";
    font-weight: 900;
    border-radius: 5px;
}

.reg-form button.next_link:after,
.reg-form button[type="submit"]:after {
    content: "";
    display: inline-block;
    background: url("../images/arrow_next.png") no-repeat center;
    width: 16px;
    height: 16px;
    transform: translateY(2px);
}

.reg-form button.prev_link:before {
    content: "";
    display: inline-block;
    background: url("../images/arrow_prev.png") no-repeat center;
    width: 16px;
    height: 16px;
    transform: translateY(2px);
}

.reg-form button.prev_link {
    background: #cecece;
    margin-right: 1%;
}

.reg-form button.prev_link:hover {
    background: #ebebeb;
}

.reg-form button.next_link:hover,
.reg-form button[type="submit"]:hover {
    background: #d6d6d6;
}

body[step="1"] .reg-form button.prev_link,
.reg-form button.link_no,
.reg-form button.link_skip {
    display: none;
}

body[step="1"] .reg-form button.next_link {
    width: 100%;
}

#form-intro-title label p {
    display: none;
}

.pagination {
    margin: 30px auto;
}

.pagination .pages {
    display: table;
    margin: 0 auto;
}

.pagination .pages li {
    float: left;
    margin-right: 10px;
}

.pagination .pages li a {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    display: block;
    background-color: #e3e3e3;
}

.pagination .pages li.current a {
    background-color: #ffd400;
}

.pagination .current ~ .pagination_item a,
.pagination .current ~ .pagination_item {
    pointer-events: none;
}

.select_wrap {
    height: 365px;
    overflow-y: auto;
    width: 100%;
    padding-right: 5px;
    margin-top: 40px;
}

.select_wrap::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    border-radius: 10px;
}

.select_wrap::-webkit-scrollbar {
    width: 7px;
}

.select_wrap::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    background-color: #ededed;
}

@media only screen and (max-width: 768px) {
    body {
        background: url("../images/Img-reg-M1.jpg") center top no-repeat;
        background-size: cover;
        height: 100%;
        min-height: 100vh;
        color: #fff;
    }

    body[step="2"] {
        background-image: url("../images/Img-reg-M2.jpg");
    }

    body[step="3"] {
        background-image: url("../images/Img-reg-M3.jpg");
    }

    body[step="4"] {
        background-image: url("../images/Img-reg-M4.jpg");
    }

    body[step="5"] {
        background-image: url("../images/Img-reg-M5.jpg");
    }

    .logo {
        /* right: 50%;
        transform: translateX(50%); */
    }

    .logo_m {
        display: block;
    }

    .logo_d,
    .model {
        display: none;
    }

    .reg-form {
        margin: 0 auto;
    }

    .reg-form div[data-form-field="looking-for"] .input label .indicator {
        border-color: #fff;
    }

    .reg-form div[data-form-field="looking-for"] .input label .indicator:after {
        background-color: #fff;
    }

    .grid_row [data-form-group="looking_for"] > label,
    [data-form-group="looking_for"] .input {
        width: 100%;
        line-height: 30px;
        margin-top: 0;
    }

    /*    .reg-form button.next_link,
        .reg-form button[type="submit"] {
            background: #cc1c0c;
            color: #fff;
        }*/
    /*    .reg-form button.prev_link {
            background: #525252;
            color: #fff;
        }*/
    /*.reg-form button.next_link:after,
    .reg-form button[type="submit"]:after {
        background-image: url("../images/arrow_next_m.svg");
    }
    .reg-form button.prev_link:before {
        background-image: url("../images/arrow_prev_m.svg");
    }*/
    /*   .reg-form button.next_link:hover,
       .reg-form button[type="submit"]:hover {
           background: #f22225;
       }*/
    .reg-form button.prev_link:hover {
        background: #8a8a8a;
    }

    .pagination {
        margin: 15px auto;
    }

    /*    .pagination .pages li a {
            background-color: #000000;
        }*/
    /*    .pagination .pages li.current a {
            background-color: #e3e3e3;
        }*/
    .reg-form select,
    .reg-form input[type="text"],
    .reg-form input[type="password"],
    .reg-form textarea {
        background-color: #fff;
        color: #000;
    }

    .error .input input,
    .error .input select {
        background-color: #000;
    }

    .reg-form .submit_alert {
        position: absolute;
        bottom: 50px;
    }

    .select_wrap {
        height: auto;
        overflow-y: initial;
    }

    .reg-form .note-block,
    .reg-form .suggest,
    .help-block.reg_consent_group {
        color: #fff;
    }
}

* {
    -webkit-overflow-scrolling: touch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
p,
form,
input {
    margin: 0px;
    padding: 0px;
    outline: none;
    list-style-type: none;
}

a {
    text-decoration: none;
    outline: none;
    display: block;
    cursor: pointer;
}

body {
    background: linear-gradient(#fcfcfc, #ebebeb);
    font-family: "Roboto", serif, "微軟正黑體";
    color: #4d4d4d;
    padding: 0;
    margin: 0;
    position: relative;
}

body::after {
    display: none;
    content: url("../images/model_1.png") url("../images/model_2.png") url("../images/model_3.png") url("../images/model_4.png") url("../images/model_5.png") url("../images/Img_1.png") url("../images/Img_2.png") url("../images/Img_3.png") url("../images/Img_4.png") url("../images/Img_5.png");
}

.logo {
    position: absolute;
    top: 20px;
    right: 0;
    left: 0;
    text-align: center;
    color: #FFF;
    font-size: 26px;
    font-weight: bold;
    margin-top: 20px;
}

.container {
    background: url("../images/model_1.png") top left no-repeat;
    background-size: cover;
    min-height: 100vh;
    /*max-width: 1500px;*/
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* padding-right: 10%;*/
}

.container[model="1"] {
    background-image: url("../images/model_1.png");
}

.container[model="2"] {
    background-image: url("../images/model_2.png");
}

.container[model="3"] {
    background-image: url("../images/model_3.png");
}

.container[model="4"] {
    background-image: url("../images/model_4.png");
}

.container[model="5"] {
    background-image: url("../images/model_5.png");
}

.dialog {
    width: 96%;
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    /*box-shadow: 0px 1px 31px #e5e5e5;*/
    padding: 30px;
    background: rgba(255, 255, 255, 0.4);
}

.dialog .title {
    font-size: 30px;
    font-weight: bold;
    color: white;
    background: #000000a6;
}

.dialog .dialog_box {
    background: url("../images/dialog.svg") top center no-repeat;
    font-size: 16px;
    font-weight: bold;
    padding: 0 100px 0 140px;
    background-size: contain;
    line-height: 1.5;
    margin: 30px 0;
    width: 100%;
    height: 195px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog .dialog_box .face {
    vertical-align: text-bottom;
}

.dialog .dialog_box .chat {
    display: none;
    font-size: 22px;
}

.dialog .dialog_box .chat1 {
    display: block;
}

.cta {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -85px;
    width: 100%;
}

.cta button {
    min-width: 120px;
    height: 50px;
    border-radius: 56px;
    background-color: #fff;
    border: 0;
    font-size: 16px;
    font-weight: bold;
    font-family: "Roboto", serif, "微軟正黑體";
    cursor: pointer;
    margin: 0 5px;
    outline: none;
    width: auto;
    padding: 15px;
    box-shadow: 0px 1px 31px #e5e5e5;
}

.cta button.yes {
    color: #000;
    background-color: #ffd400;
}

.cta button.go_reg {
    padding: 0 20px;
}

.dialog .cta button:hover {
    background-color: #000;
    color: #fcfcfc;
}

.timer {
    font-size: 16px;
    font-weight: bold;
    margin-top: 130px;
    min-height: 71px;
}

.timer .clock {
    font-size: 30px;
    margin-top: 15px;
}

@media only screen and (max-width: 1300px) {
    .container {
        background-size: contain;
        background-position: center;
    }
    .logo {
        color: #000;
    }
}

@media only screen and (max-width: 880px) {

    .container[model="1"] {
        background-image: url("../images/Img_1.png");
    }

    .container[model="2"] {
        background-image: url("../images/Img_2.png");
    }

    .container[model="3"] {
        background-image: url("../images/Img_3.png");
    }

    .container[model="4"] {
        background-image: url("../images/Img_4.png");
    }

    .container[model="5"] {
        background-image: url("../images/Img_5.png");
    }
    .page_title, .select_wrap label {
        color: #fff;
    }

    .span7, .page_title.black, .select_wrap label {
        color: #000;
    }

    .logo {
        position: static;
        display: inline-block;
        width: 100%;
        padding: 10px 0 0 0;
    }

    .container {
        padding: 0;
        background-size: 70vw;
        background-position: bottom 22vh center;
    }

    /*    .container[model="5"] {
            background-size: contain;
        }*/
    .dialog {
        max-width: initial;
        margin: 0 auto;
        background: none;
        box-shadow: none;
        padding: 0;
        width: 100%;
    }

    .dialog .title {
        font-size: 4vw;
        margin: 5vh auto 32vh;
        width: 60%;
    }

    .dialog .dialog_box {
        padding: 20px 20vw 30px 25vw;
        height: fit-content;
        min-height: 150px;
        line-height: initial;
        font-size: 14px;
    }

    .cta {
        bottom: -150px;
        width: 100vw;
        background-color: #ebebeb;
        padding: 25px 0;
    }

    .cta button {
        margin: 0 0 4px 0;
        font-size: 12px;
    }

    .timer {
        padding-bottom: 20px;
        margin-top: 150px;
        background-color: #ebebeb;
    }
}
