﻿@charset "utf-8";

/*Reset*/

* {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

*html,
*html body
/* 修正IE6振动bug */

{
    background-image: url(about:blank);
    background-attachment: fixed;
}

a,
img {
    border: none;
    text-decoration: none;
}

a {
    color: #333;
    blr: expression(this.onFocus=this.blur());
}


/*去掉a标签的虚线框，避免出现奇怪的选中区域*/


/*a:active {test:expression(target="_blank");}*/

a:hover,
a:focus {
    text-decoration: none;
}

:focus {
    outline: 0;
}

label {
    cursor: pointer;
}

img {
    vertical-align: middle;
}

table {
    empty-cells: show;
    border-collapse: collapse;
    border-spacing: 0;
}

h1 {
    font-size: 1.6em;
}

h2,
h3,
h4 {
    font-size: 1.4em;
}

h5,
h6 {
    font-size: 1.2em;
}

input {
    border: none;
}

textarea {
    overflow: scroll;
}

a,
input,
textarea,
.hover-delay,
button {
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

input.none-radius {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

::-ms-clear {
    display: none;
}

::-ms-reveal {
    display: none;
}



/*input[type=text],input[type=tel],input[type=email], input[type=button], button{
	-webkit-appearance: none;
	box-shadow: none;
}*/

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    box-shadow: 0 0 0 60px #fff inset;
    -webkit-text-fill-color: #676767;
    background-color: #f9f9f9;
}




/*Reset end*/

.form_body img {
    width: 100%;
    max-width: 100%;
}

.form_body {
    width: 100%;
    height: auto;
    padding: 0;
    float: left;
    position: relative;
    z-index: 99;
    padding-bottom: 40px;
}

.form-wrap {
    width: 100%;
    z-index: 99999;
    margin: auto;
    padding: 0;
    text-align: center;
    color: #333;
}

.form-wrap label {
    display: block;
    margin: 0;
    font-weight: normal;
}


.form-wrap p {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin: 10px 0 20px 0;
}

.form-ul {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.form-ul li {
    float: left;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    /*width: 49%;*/
    height: 55px;
    *height: 60px;
}

.form-input {
    float: left;
    width: 100%;
    *width: 93.5%;
    color: #999;
    background-color: #f9f9f9;
    height: 45px;
    line-height: 45px;
    font-size: 15px;
    overflow: hidden;
    padding: 3px 20px;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.form-wrap .form-ul li p:hover,
.form-wrap .form-ul li p:focus {
    color: #000;
    box-shadow: 0 0 5px #999;
}

.form-input:hover,
.form-input:focus {
    background-color: #E6EEF7;
}

.form-wrap .form-ul li .meg-error {
    color: #FA0417;
    position: absolute;
    top: 14px;
    right: 15px;
    font-size: 15px;
    background-color: #F9F9F9;
}

.form-wrap .form-ul li .meg-border-error {
    border: 1px solid #f65662;
}

.form-wrap .form-ul li p {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    border: solid 1px #696969;
    background-color: #fff;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    overflow: hidden;
    *overflow: none;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
}

.popUp .form-wrap .form-ul li p {
    overflow: visible;
    background: none;
}
.popUp .form-wrap .form-ul li p input.form-input{
    background: none;
    float: none;
}

.popUp .form-wrap ul li.mar_l, .popUp .form-wrap ul li.mar_r{
    vertical-align: top;
}

.popUp .form-wrap .form-ul li .meg-error{
    bottom: -22px;
    background: none;
    top: auto;
    width: 100%;
    right: 0;
    font-size: 14px;
}

.popUp .form-wrap .form-ul li .meg-border-error{
    border: 2px solid #f65662;
}
.form-wrap .form-ul li .fn {
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    overflow: hidden;
    padding: 3px 20px;
    text-align: right;
   	color: #333;
}

.form-wrap .form-ul li .meg-error-color {
    color: #FA0417;
}

.form-wrap .form-ul li .meg-border-okay {
    border: 1px solid #6ac451;
}

.form-wrap .form-private {
    font-size: 14px;
    color: #333;
    line-height: 24px;
    height: auto;
    margin: 20px 0;
    text-align: center;
}

.form-wrap .form-private input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 7px;
    vertical-align: -5px;
}

.form-wrap .form-private a {
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    text-decoration: underline;
    color: #333;
}

.form-wrap .form-private i {
    background: url(../images/locked.png) no-repeat left center;
    background-image: -webkit-image-set(url(../images/locked.png) 1x,
    url(../images/locked@2x.png) 2x);
    background-image: -moz-image-set(url(../images/locked.png) 1x,
    url(../images/locked@2x.png) 2x);
    background-image: -o-image-set(url(../images/locked.png) 1x,
    url(../images/locked@2x.png) 2x);
    background-image: -ms-image-set(url(../images/locked.png) 1x,
    url(../images/locked@2x.png) 2x);
    padding-left: 15px;
    margin-right: 5px;
    width: 13px;
    height: 15px;
}

.form-submit, .form-submitb {
    display: block;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    height: 50px;
    line-height: 50px;
    letter-spacing: 1px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    background-color: #445ee0;
    cursor: pointer;
    margin-top: 5px;
    border: 0;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    -webkit-animation: flipInX 1s 1;
    animation: flipInX 1s 1; 
}

.form-submit:hover, .form-submitb:hover {
    background-color: ##990043;
}

button {
    width: 100%;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border: 0;
    height: 45px;
    line-height: 45px;
    font-size: 15px;
    color: #fff;
    background-color: #313131;
}

button:hover {
    background-color: #666;
}

input[type="button"]{
    width: 100%;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    border: 0;
    height: 45px;
    line-height: 45px;
    font-size: 18px;
    color: #fff;
    background-color: #6814d8;
    font-weight: normal;
}

/*input[type="button"]:hover{
    background-color: #12216b;
}*/

input.getOtp[type="button"]{
    font-size: 14px;
}

input.getOtp_off[type="button"]{
    font-size: 14px;
    background-color: #999;
    cursor: wait;
}

.form-ul .mar_r {
    float: right;
}

.form-ul .mar_l {
    float: left;
}

.form-ul .w100 {
    width: 100%;
}

.w30 {
    width: 20%;
}

.w70 {
    width: 80%
}

.w50 {
    width: 60%
}

.w20 {
    width: 18%
}

.input_o{
    width: 90%;
    margin: 10px auto 0 15px;
}

.oops{
    font-size: 14px;
    color: #f00;
    padding: 2px;
    margin: 0 0 10px 24%;
    clear: both;
    text-align: left;
}


.moveleft{
    margin-right: -45px;
    clear: both;
}

.content-wrap section p.gage{
    width: 100%;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    position: absolute;
    bottom: 5px;
    margin: 0;
}

.formGift{
    padding: 0 0 30px 0;
    margin-top: 20px;
}

.formGift input[type="radio"] {
    display: none;
}

.formGift input[type="radio"]+label {
    width: 35%;
    height: 180px;
    display: inline-block;
    cursor: pointer;
    padding: 10px 0 20px 0;
    border: 2px solid #eee;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    margin: 0 10px;
    position: relative;
    padding-bottom: 45px;
}

.formGift input[type="radio"]+label.abcbg {
    background: url(../img/abcgift.png) no-repeat #def9f9;
    background-size: contain;
    background-position: right 0 top 20px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

.formGift input[type="radio"]+label.jrbg {
    background: url(../img/jrgift.png) no-repeat #fff7ed;
    background-size: contain;
    background-position: right 0 top 20px;
    transition: 0.5s;
    -webkit-transition: 0.5s;
}

.formGift input[type="radio"]+label:hover{
    border: 2px solid #c28bec;
    -webkit-animation: pulse 1s infinite linear;
    animation: pulse 1s infinite linear;
}

.formGift input[type="radio"]:checked+label {
    border: 3px solid #8b55d6;
    color: #fff;
}



/*info*/

.content-wrap .info {
    clear: both;
    width: 95%;
    max-width: 600px;

    text-align: left;
    padding: 40px 0;
    margin: 0 auto;
}

.content-wrap .info h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.content-wrap .info p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 10px;
    color: #333;
}

.content-wrap .info p a {
    display: inline;
    font-size: 14px;
    margin: 0;
    text-align: left;
    text-decoration: none;
    font-weight: normal;
    padding-right: 0;
    color: #0000ff;
}

.content-wrap .info p a:hover {
    text-decoration: underline;
}



/*密碼*/

.mar_r ._icon {
    left: auto;
    right: 15px;
}
.mar_r .icon:hover {
    cursor: pointer;
}
.mar_r ._icon {
    position: absolute;
    /*left: 15px;*/
    top: 12px;
}
.mar_r .icon.icon_hidden {
    background-position: 0 0;
}

.mar_r .icon.icon_display{
    background-position: -18px 0;
}

.mar_r .icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 1px 3px 0 0;
    background: url(https://passport.tutorabc.com/images/icon.png) no-repeat;
}




/*--- radio 美化 ---*/

.free-form-sex {
    width: 40%;
    margin: 0;
    float: left;
}

.free-form-sex dt,
.free-form-sex dd {
    float: left;
    margin: 0 3px 0 0;
    width: 48%;
    *width: 47.9%;
}

.free-form-sex dd.right {
    float: right;
    margin: 0;
}

.free-form-sex dt {
    padding: 0 10px;
    text-align: left;
    line-height: 33px;
    color: #a0a0a0;
    font-size: 15px;
}

label.sex-wrap {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    color: #676767;
    font-size: 17px;
    text-align: center;
    text-indent: 0;
    font-weight: 100;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
}

.radio_wrap {
    display: inline-block;
    width: 100%;
    height: 45px;
    border: solid 1px #E0E0E0;
    color: #999;
    background-color: #f9f9f9;
    text-align: center;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
}

.radio_on_wrap {
    color: #000;
    background-color: #B2B2B2;
    border-color: #B2B2B2;
}

.radio_on_wrap label.sex-wrap {
    color: #fff;
    background-color: #524c84;
}

.radio_wrap input {
    display: none;
    width: 100%;
    height: 45px;
    filter: alpha(opacity=0);
    opacity: 0;
    -moz-opacity: 0;
    cursor: pointer;
    vertical-align: -4px;
}


/*--- radio 美化 //end ---*/


/* 下拉菜單樣式 */

.select_wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 47px;
    line-height: 47px;
    cursor: pointer;
    text-align: left;
    *z-index: 200;
    /*border:solid 1px #E0E0E0;*/
    /*box-shadow:inset 0px 2px 3px rgba(200,200,200,0.6);*/
    background-color: #f9f9f9;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
}

.select_wrap:hover,
.select_wrap:focus {
    color: #000;
    border-color: #D8D8D8;
    box-shadow: 0 0 5px #999;
}

.select_wrap select {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: none;
    cursor: pointer;
}

.select_list {
    display: none;
    position: absolute;
    /*display: inline-block;*/
    width: 99%;
    max-height: 350px;
    top: 35px;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
    border: solid 1px #dcdcdc;
    border-top: none;
    background-color: #fff;
}

.select_list dl,
.select_list dl dt,
.select_list dl dd {
    float: left;
    width: 100%;
    background-color: #fff;
    padding: 0;
    margin: 0;
}

.select_list dl dt,
.select_list dl dd {
    line-height: 27px;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 15px;
}

.select_list dl dt {
    border-top: solid 1px #fff;
    border-bottom: solid 1px #fff;
    background-color: #dcdcdc;
    text-indent: 5px;
}

.select_list dl dd {
    text-indent: 20px;
}

.select_list dl dd.selected {
    color: #fff;
    background-color: #8e8f8f;
}

.select_list dl dd:hover {
    color: #fff;
    background-color: #8e8f8f;
}

.select_current {
    float: left;
    display: inline-block;
    width: 100%;
    height: 42px;
    text-indent: 18px;
    *text-indent: 18px;
    color: #676767;
    ;
    font-size: 15px;
}

span.select_current.act {
    background-color: #C9C9C9;
}

.select_btn {
    position: absolute;
    display: inline-block;
    width: 31px;
    height: 31px;
    top: 5px;
    right: 0;
    margin: 1px;
    color: #fff;
    background: url(../images/form-arrow.png) no-repeat center center;
    background-image: -webkit-image-set(url(../images/form-arrow.png) 1x,
    url(../images/form-arrow@2x.png) 2x);
    background-image: -moz-image-set(url(../images/form-arrow.png) 1x,
    url(../images/form-arrow@2x.png) 2x);
    background-image: -o-image-set(url(../images/form-arrow.png) 1x,
    url(../images/form-arrow@2x.png) 2x);
    background-image: -ms-image-set(url(../images/form-arrow.png) 1x,
    url(../images/form-arrow@2x.png) 2x);
    cursor: pointer;
}

.select_btn_on {
    background: url(../images/form-arrow-on.png) no-repeat center center;
    background-image: -webkit-image-set(url(../images/form-arrow-on.png) 1x,
    url(../images/form-arrow-on@2x.png) 2x);
    background-image: -moz-image-set(url(../images/form-arrow-on.png) 1x,
    url(../images/form-arrow-on@2x.png) 2x);
    background-image: -o-image-set(url(../images/form-arrow-on.png) 1x,
    url(../images/form-arrow-on@2x.png) 2x);
    background-image: -ms-image-set(url(../images/form-arrow-on.png) 1x,
    url(../images/form-arrow-on@2x.png) 2x);
}

@media all and (max-width:1366px) {
    .form_body {
        margin: 0;
    }
}

@media all and (max-width:650px) {
    .form-wrap {
        width: 95%;
        height: auto;
    }
    .form-ul {
        width: 95%;
        margin-left: 2.5%;
        *margin-left: 3.5%;
        margin-bottom: 30px;
    }
    .form-ul li {
        float: left;
        width: 100%;
    }
    .form-input {
        width: 100%;
        *width: 96%;
    }
    .select_list {
        width: 99.5%;
    }
    .form-wrap .form-ul li p {
        width: 99.7%;
    }
    .form_title {
        width: 100%;
        margin-left: 0;
        left: 0;
        text-align: center;
    }
    .form-submit {
        font-size: 22px;
    }

    .form-wrap .form-ul li .fn{
    	text-align: left;
    	font-size: 16px;
        margin-top: 10px;
        padding-left: 10px;
    }
    .input_o{
        margin: 0 auto;
    }
    button{
    	width: 45%;
    }
    .oops{
        margin: 0 0 10px 4%;
        font-size: 12px;
    }
    .moveleft{
        margin-right: 0;
    }
    .w50{ width: 63% !important;}
    .w20{ width: 34% !important;}
    .w30{margin-top: -15px;}
}


@media all and (max-width:490px) {
    .form-wrap h4 {
        font-size: 20px;
        letter-spacing: 10px;
    }
    .form-wrap h3 {
        font-size: 34px;
    }
}

@media all and (max-width:450px) {
    .form-wrap .fpm {
        width: 90%;
        float: none;
        padding-top: 20px;
        text-align: left;
        text-indent: -28px;
        margin-left: 40px;
    }
}