/*公共样式*/
body{
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: "微软雅黑";
	font-size: 14px;
	position: relative;
	min-height: 600px;
	/*background: url(../img/body-bg.png) center no-repeat fixed;*/
	background:url(../img/bg.jpg) center no-repeat fixed;
	background-size: cover;
}
*, :after, :before, legend {
    box-sizing: border-box;
}
a{
	text-decoration: none;
}
			
/*头部logo*/
.header-logo{
	width: 100%;	
}
.header-logo>a{
	cursor: pointer;
}
.header-logo a .logo{
	display: inline-block;
    width: 200px;
    height: 65px;
    margin: 27px 0 35px 130px;
    font-size: 0;
    background: url(../img/logo_l.png) no-repeat;
    background-size: 100%;
}

/*注册框*/
.regBox{
    position: relative;
    width: 435px;
    margin:0 auto;
    padding: 35px 30px;
    color: #666;
	-webkit-border-radius:4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
    background: #fff;
    -webkit-box-shadow:1px 1px 4px #767676; 
    -moz-box-shadow:1px 1px 4px #767676; 
    box-shadow: 1px 1px 4px #767676;
}
.reg-form{
	padding-top: 5px;
}
.form-wrapper {
    width: 300px;
    margin-right: 52px;
    margin-left: 38px;
}
.form-wrapper .form-item{
	position: relative;	
}

.form-wrapper .form-item:not(:last-child){
    margin-bottom: 20px;
}


/*验证报错时边框红色显示  input自动添加error类*/
input.error {
    color: #666;
    border-color: #e35b5a;
}
/*验证报错时出现提示语*/
.form-item .form-tips {
    position: absolute;
    top: 100%;
    height:20px ;
    line-height: 20px;
    color: #e35b5a;
    font-size: 12px;
    display: none;
}

.form-item input {
    width: 100%;
}
input {
    font-size: 14px;   
    padding: 12px 20px;
    -webkit-transition: all .2s;
    transition: all .2s;
    color: #666;
    border: 1px solid #dce4e6;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;    
    border-radius: 3px;
    outline: 0;
    background: #f3f6f8;
    height: 48px;
}
/*复选框*/
#accept_term_phone{
	height: 16px;
	vertical-align: middle;
}

/*验证码部分*/
.box .box-aw {
   float: left;
   width: 50%;
}
.form-v-code {
    width: 120px;
    margin-left: 12px;
    height: 48px;
    float: right;
}
.v-code-img{
	display: inline-block;
	height: 100%;
    cursor: pointer;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background: 0 0;
}
.v-code-img img {
    width: 100%;
    height: 100%;
}
/*短信、邮箱验证码*/
.box .phone,.box .email{
	width: 55%;
}
.box .form-phone-code{
	font-size: 16px;
    display: inherit;
    margin-left: 12px;
    width: 40%;
    float: right;
}
.box .form-phone-code input{
	height: 48px;
}
.btn, .btn a {
    padding: 15px 10px;
    cursor: pointer;
    -webkit-transition: all .2s;
    transition: all .2s;
    border: 1px solid transparent;
    -webkit-border-radius: 2px;
    -moz-border-radius:2px;
    border-radius: 2px;
    /*behavior: url(PIE.htc);*/
    outline: 0;
}
.btn-orange {
    color: #fff;
    background: #e35004;
   /*background:#006699;*/
}
.vertical {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-grid-row-align: center;
    -ms-flex-align: center;
    align-items: center;
}

/*单选框 性别*/
.user-gender {
    padding-bottom: 0px;
}
/*将真正的单选框隐藏掉*/
.checkbox-group input {
    display: block;
    opacity: 0;
    height: 0px;
    padding: 0;
    border: none;
    position: absolute;
    left: 5px;
    z-index: 1001;
}

/*自定义单选框*/
#phone-male{
	margin: 3px 3px 0px 5px;
}
.checkbox-group input[type=radio]+label {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    cursor: pointer;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;    
    width:65px;
}

.checkbox-group input[type=checkbox]+label:before,
.checkbox-group input[type=radio]+label:before {
    line-height: 1;
    display: inline-block;
    width:18px;
    height: 18px;
    margin-right: 8px;
    content: '';
    -webkit-transition: all .2s;
    transition: all .2s;
    color: #fff;
    border: 1px solid #dce4e6;
    background-color: #f3f6f8;
    /*圆角*/
    border-radius: 50%;
	-webkit-border-radius:50%;
	-moz-border-radius:50%;
	
}
.checkbox-group input[type=checkbox]:checked+label:before,
.checkbox-group input[type=radio]:checked+label:before {
    text-align: center;
    color: #fff;
    border-color: #e35004;
    /*border-color:  #006699;*/
}
.checkbox-group input[type=radio]:checked+label:before{
    border-width:7px;
    background: #fff;
} 
.user-gender .checkbox-group input+label:before {
    position: relative;
    width: 24px;
    height: 24px;
    border: none;
    background: #c9c9c9;
    vertical-align: middle;
} 
.user-gender .checkbox-group input:checked+label:before {
    background: #e35004;
   /*background: #006699;*/
    vertical-align: middle;
    /*圆角*/
    border-radius: 50%;
	-webkit-border-radius:50%;
	-moz-border-radius:50%;				
}
.user-gender .checkbox-group .ic-svg {
    position: absolute;
    z-index: 1;
    top: 5px;  
    left: 5px;
    width: 16px;
    height: 16px;
    font-size: 14px;    
}
.ic-svg {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.ic-male {
	color: #fff;
	font-weight: lighter;	
}
.ic-female {
	color: #fff;
	font-weight: lighter;
}
#phone-female:checked+label:before {
    background: #e957fb;
}

/*阅读服务条款*/
.osc-checkbox-accept-term {
    font-size: 16px;
    line-height: 15px;
    position: relative;
    display: inline-block;
    min-width: 17px;
    min-height: 17px;
    vertical-align: middle;
    outline: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
/*复选框*/
#accept_term_phone{
	width: auto;
	border: none;
	margin: 3px 4px;
	padding: 0;
}

/*注册按钮*/
.btn a.block, .btn.block{
	display: block;
	width: 100%;
	font-size: 20px;
}

/*用span代替placeholder（只在ie9及以下有效）*/
span.ie-placeholder{
	display: none;
	position: absolute;
	top: 12px;
	left: 20px;
	color: #000;
}

.waitTime{
	color: #ccc;
	border-color:#eee;
	background: #f8f8f8;
}



.toLogin{
	float: right;
	font-size: 15px;
	color: #e35004;
}






/*注册页*/
.backIndex{
	display: none;
}

@media (max-width:640px){
	body{
		background: #fff;
	}
	
    .header-logo{
	    display: none;
	}
	
	.backIndex{
		display: block;
		width: 100%;
		position: relative;
	    height: 50px;
	    background: #e35004
		
	}
	.backIndex a{
		display: inline-block;
		font-size: 24px;
		width:60px;
		height: 50px;
		color: #fff;
		padding: 8px 20px;
		vertical-align: middle;
	}
	.backIndex span.logo_m{
	    float: right;
	    width: 125px;
	    height: 50px;
	    margin-right: 20px;
	    vertical-align: middle;
	}
	
	.backIndex span.logo_m img{
		display: block;
    	width: 100%;
    	border: none;
	}
	
	
	.regBox{
		max-width:640px;
		width: 100%;
		margin: 0 auto;
		padding: 18px 25px;
		border-radius: 0;
		box-shadow: none;
	}
	.regBox input,.box .form-phone-code input{
		height:36px;
		padding: 10px 15px;
	}
	.box .form-phone-code input{
		padding: 8px 15px;
	}
	.form-v-code{
		height: 36px;
	}
	.form-wrapper{
		width: 100%;
		margin: 0;
	}
	.btn.block{
		font-size: 18px;
		padding:12px 10px;
	}
	
	.footer{
		margin:15px 0;
		color: #000;
		font-size: 14px;
		padding: 0 25px;
	}
}
