#overlay {
	visibility: hidden;
	display: none;
	z-index: 15;
	background: #000;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0px;
	left: 0px;
}

#refform, #sucess {
	visibility: hidden;
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -280px;
	margin-left: -135px;
	z-index: 20;
	width: 270px;
/*	height: 500px; */
	background: #fff;
	color: #006197;
	padding: 20px;
	
	-webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
	border-radius: 3px;

	
	box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.4);
	-moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

#reffrom input {
	display: block;
}

#refform p {
	margin-bottom: 5px;
}

#refform p + p + p {
	margin-bottom: 20px;
}

input[type="submit"] {
	margin-left: 0px;
}

#refform h2 {
	font-size: 14px;
}

.check {
	position: relative;
	width: 80px;
	height: 77px;
	left: 50%;
	margin-left: -40px;
	margin-top: 20px;
	background: url(../img/checked.png) no-repeat;
	border: 1px solid white;
}

.check:hover {
	background: url(../img/checked_hover.png) no-repeat;

}
