.model_bg{
	display: block;
	position: absolute;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	background:rgba(0,0,0,0.8);
	background-color: black;
	z-index:998;
	-moz-opacity: 0.7;
	opacity:.70;
	filter: alpha(opacity=70);

}
.model{
	position:absolute;
	top:200px;
	left:50%;
	margin:0 auto;
	margin-left:-300px;
	z-index: 999;
	border-radius: 10px;
	box-shadow: 0 0 10px #818181;
	background:#fff;
}


.login_model {
    width: 554px;
    height: 320px;
}


.register_model {
    width: 490px;
    height: 600px;
}

.model h2{
	padding:20px;
	font-size: 18px;
	color:#818181;

}
.model form div{
	height:55px;
	margin:10px 0;
	position:relative;
}
.model .line{
	border-top:1px dashed #818181;
}
.model form{
	float: left;
	width:410px;
	overflow: hidden;
	margin:20px 0 0 30px;
	text-align: center;
}

.model span{
	float: left;
	display: block;
	padding:10px 8px 0 0;
	line-height: 30px;
	font-size: 16px;
}
.model label{
	position:absolute;
	top:46px;
	left:80px;
}
#last_name-error{
	left:190px !important;
}
.model div input{
	 float: right;

 }

.form-control {
	display: block;
	width: 75%;
	height: 30px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.model .btn{
	width:140px;
	margin:16px auto 0;
	line-height: 40px;
	background:#41c8f0;
	border:none;
	color:#fff;
	border-radius:3px;
}

.model .check input{
	margin-top:30px;
}


.quest{
	float: right;
	margin:40px 20px 0 0;
}
.quest a{
	color:#9b5656;
}
.error{
	color:red;
}