

.form{
	width:500px;
}
.form label{
	display:block;
	margin-bottom:10px;
	color:#993333;
	font-weight: bold;
	min-height:30px;
}
.form label>input[type=text],
.form label>input[type=email],
.form label>input[type=file],
.form label>input[type=phone],
.form label>select
{
	width:320px;
	float:right;
}
.form label>textarea
{
	width:320px;
	height:100px;
	float:right;
}
.form label.agree{
	float:right;
	color:white;
}
.form hr+input[type=submit]{
	margin-top:-15px;
	margin-bottom:15px;
}
.form input[type=submit]{
	color:#eee;
	padding:5px;
	background: #993333;
	box-shadow:0 0 5px black;
	float:right;
	border:none;

}
label{cursor:pointer;}
input[type=text],
input[type=email],
input[type=phone],
textarea,
select
{
	background-color:#151515;
	box-shadow:0 0 20px black inset,0 1px 3px -1px rgba(255,255,255,0.4);
	color:#eee;
	border:none;
	padding:2px 10px;
}
input[type=text]:focus,input[type=email]:focus,textarea:focus{
	outline:none;
	box-shadow:0 0 20px black inset,0 1px 3px -1px rgba(255,255,255,0.4),0 0 10px rgba(255,255,255,0.3) inset,0 0 10px rgba(255,255,255,0.3);
}
input[type=checkbox],input[type=radio]{
	-webkit-appearance: none;
	width: 30px;
	height: 30px;
	background: url("../images/img/prettyCheckable-red.png") top left no-repeat;
	display: block;
	float: right;
	cursor: pointer;
	margin: 0;
	margin-right:150px;
}
.agree input[type=checkbox]{
	margin-right:10px;

}
input[type=checkbox]:active,input[type=checkbox]:hover{
	background-position: 0 -30px;
}
input[type=checkbox]:checked{
	background-position: 0 -60px;
}
input[type=checkbox][disabled]:checked,input[type=checkbox][disabled]:checked:hover{
	background-position: 0 -240px;
}

input[type=checkbox]:checked:active,input[type=checkbox]:checked:hover{
	background-position: 0 -90px;
}


input[type=radio]{
	background-position: 0 -120px;
}
input[type=radio]:active,input[type=radio]:hover{
	background-position: 0 -150px;
}
input[type=radio]:checked{
	background-position: 0 -180px;
}
input[type=radio][disabled]:checked,input[type=radio][disabled]:checked:hover{
	background-position: 0 -270px;
}

input[type=radio]:checked:active,input[type=radio]:checked:hover{
	background-position: 0 -90px;
}

input[type=radio]:checked:active,input[type=radio]:checked:hover{
	background-position: 0 -210px;
}


.form input.btn-register[type=submit]{
	background: url("../images/img/regist.png") no-repeat;
	color:transparent;
	box-shadow: none;
	border:none;
	width:74px;
	height:39px;
}

.visibleWhen{display:none;}

.form legend{font-weight: bold;}
