/*** rewrite-bootstrap ***/
.form-group {
	margin-bottom: 20px;
	position: relative;
}
.form-group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.help-block {
	clear: both;
}
/*** end-rewrite-bootstrap ***/
.control-label {
	min-width: 120px;
}
.passport {
	width: 800px;
	margin: 20px auto;
	position: relative;
	background: #fff;
	padding-bottom: 20px;
	min-height: 440px;
	border: 1px solid #e9e9e9;
}
a {
	color: #1cadec;
}
header {
	height: 70px;
}
.other-links {
	position: absolute;
	top: 35px;
	right: 30px;
}
.navbar-brand {
	margin: 17px 0 0 30px !important;
}
.navbar-brand img {
    width: 85px;
    height: 35px;
}

footer {
	text-align: center;
	color: #999;
	font-size: 14px;
}
.form-tips {
	position: absolute;
	left: 350px;
	width: 200px;
	color: #666;
	top: 14px;
	font-size: 14px;
}
.form-tips-icon {
	width: 20px;
    height: 20px;
    background: url(../img/findpassword.png) center -40px no-repeat;
    display: inline-block;
    font-family: arial;
    font-style: normal;
    color: #fff;
    text-align: center;
    font-size: 14px;
    margin-right: 6px;
}
.form-tips-body {
	border: 1px solid #eee;
	background: #f7f7f7;
	padding: 15px;
	position: relative;
	margin-top: 15px;
	display: none;
}
.form-tip-arrow {
	position: absolute;
	top: -10px;
	height: 10px;
	width: 17px;
	left: 28px;
	display: block;
	background: url(../img/findpassword.png) center -344px no-repeat;
}

/**** login-form *****/
h1 {
	color: #333;
	font-size: 20px;
	margin-bottom: 30px;
}
.login-form, .signup-form, .findpassword-form, .bind-form {
	width: 340px;
	margin: 20px auto;
}
.username, .password, .captcha, .sms
{
	height: 46px;
	text-indent: 28px;
	border-radius: 3px;
}
.for-username, .for-password {
	display: block;
	width: 50px;
	height: 50px;
	background: url(../img/icons.png) no-repeat -6px -2px;
	position: absolute;
	left: 0;
	top: 0;
}
.for-password {
	background-position: -6px -52px;
}
.captcha {
	background: none;
    text-indent: 0;
    width: 120px;
    float: left;
}
.sms {
	background: none;
    text-indent: 0;
}
.check-code, .js-refresh-check {
	float: left;
	margin-left: 10px;
	display: inline-block;
	height: 40px;
	line-height: 46px;
}
.js-login-btn, .signup-btn, .js-step-btn {
	width: 100%;
	font-size: 18px;
}
.form-group-rememberme, .agreement-group {
	position: relative;
	margin-bottom: 15px;
}
.form-group-rememberme label, .agreement-group label {
	color: #666;
}
.form-group-rememberme .forget,  .agreement-group .forget {
	position: absolute;
	right: 0;
	top: 0;
}
.oauth-logins {
	color: #666;
	border-top: 1px solid #eee;
	padding-top: 10px;
}
.qqlogin {
	background: url(../img/qqlogin.png) 60px 0 no-repeat;
    width: 100px;
    height: 36px;
    display: inline-block;
    color: #666;
    line-height: 26px;
}

/*** signup ***/
.btn-sms {
	position: absolute;
	top: 7px;
	right: 0;
	background: none;
	border-left: 1px solid #eee;
	color: #47c68c;
}

/*** findpassword ***/
.step-progress {
	position: relative;
	height: 38px;
    margin-bottom: 20px;
}
.stepstring {
	background-color: #eee;
	height: 8px;
	width: 100%;
	border-radius: 3px;
	position: absolute;
	top: 7px;
}
.step-progress-1, .step-progress-2, .step-progress-3 {
	width: 33%;
	float: left;
	height: 50px;
}
.step-progress-1 i, .step-progress-2 i, .step-progress-3 i {
	width: 20px;
	height: 20px;
	background: url(../img/findpassword.png) center -40px no-repeat;
	display: block;
	position: absolute;
	font-family: arial;
	font-style: normal;
	color: #fff;
	text-align: center;
	margin-left: -10px;
}
.step-progress-1 label, .step-progress-2 label, .step-progress-3 label {
	position: absolute;
	margin-left: -25px;
	top: 23px;
}
.step-progress-1 i, .step-progress-1 label{
	left: 16%;
}
.step-progress-2 i, .step-progress-2 label {
	left: 50%;
}
.step-progress-3 i, .step-progress-3 label {
	left: 83%;
}
.step-progress-3 label {
    margin-left: -12px;
}
.step-progress label {
	font-size: 12px;
	color: #666;
}
.current-progress i {
	background-position: center -140px;
}
.current-progress label {
	color: #47c68c;
}

.step3 .form-group {
	text-align: center;
}
.step3 p {
	font-size: 24px;
	color: #333;
}
.step3 a {
	color: #666;
}
.findpassword-success {
	background: url(../img/findpassword.png) center -214px no-repeat;
	width: 72px;
	height: 72px;
	display: inline-block;
	margin-top: 20px;
	margin-bottom: 10px;
}

@media screen and ( min-height: 600px ) and (max-height: 700px ) {
    .passport {
        margin-top: 40px;
    }
}
@media screen and ( min-height: 700px ) and (max-height: 900px ){
	.passport {
        margin-top: 80px;
    }
}
@media screen and ( min-height: 900px ){
    .passport {
        margin-top: 150px;
    }
}
@media screen and ( max-width: 720px ) and (min-width: 320px ) {
	html, body{
		width: 100%;
		height:100%;
		min-width:100%;
	}
	.passport {
	  width: 100%;
	  height:100%;
	  margin:auto;
	  position: relative;
	  background: #fff;
	  min-height: 100%;
	  border: none;
	}
    .login {
        width:100%;
    }
    .login-form, .signup-form, .findpassword-form, .bind-form{
		width: 90%;
		padding-bottom:40px;
    }
    .form-group-rememberme, .agreement-group{
    	padding-bottom: 10px;
    }
    .form-group-rememberme .forget, .agreement-group .forget{
    	top:25px;
    	left:17px;
    }
    .other-links{
    	top:25px;
    }
    .form-group{
    }
    .form-tips{
    	top:74px;
    	left:0;
    	z-index: 10;
    }
    .btn-step1{
		margin-top:40px;
    }
    footer{
    	display: none;
    }
}
