.modal
{
	display:none;
}

.modalBox
{
	display:none;
	position:absolute;
	top: 0;
	left: 0;
	width:100%;
	height:100%;
	z-index:100;
	text-align:center;
}

.modalBox .mbOverlay
{
	position: fixed;
	top: 0;
	left: 0;
	width:100%;
	height:100%;
	background:#000 url("patBg2.png");
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity=30);
	-moz-opacity: 0.3;
	-khtml-opacity: 0.3;
	opacity: 0.3;
	z-index:98;

}

.modalBox .mbWrapper
{
	display:inline-block;
	position:relative;
	max-width:80%;
	width:31rem;
	z-index:99;
}

.modalBox  .mbClose
{
	width: 17px;
	height: 17px;
	line-height: 17px;
	font-size: 25px;
	font-weight: bold;
	color: #4a73b4;
	position:absolute;
	z-index: 2;
	right:17px;
	top:17px;
	cursor:pointer;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
}

.modalBox  .mbClose:hover
{
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	-moz-opacity: 1.0;
	-khtml-opacity: 1.0;
	opacity: 1.0;
}

.modalBox .mbWrapper .mbContent
{
	position:relative;
	font-size:1rem;
	color:#717171;
	padding:12% 10%;
	background-color:#fff;
}

.mbContent textarea
{
	color:#717171;
	width:100%;
	border: 0;
	border-bottom: 1px solid #e8e8e8;
	padding:1.3rem 1.3rem 1.3rem 50px;
	box-sizing:border-box;
	margin-bottom:1rem;
	resize:vertical;
}

.mbContent input[type="text"], .mbContent input[type="password"], .mbContent select {
	color: #4d4d4d;
	width: 100%;
	padding: 1.3rem 1.3rem 1.3rem 50px;
	box-sizing: border-box;
	border: 0;
	border-bottom: 1px solid #e8e8e8;
}

.has-error
{
	border-bottom: 1px solid #f01616 !important
}

.mbContent select
{
	height:55px;
}

.mbContent p
{
	font-size: 1.3em;
}

.mbContent label
{
	margin-bottom: 0.1rem;
	text-align: left;
	display: block;
	color: #484848;
	font-weight: bold;
	font-size: 0.9em;
}

.mbContent label span
{
	color: #bdbdbd;
}

.modalBox button {
	margin: 2rem 0 1rem 0;
	color: #fff;
	border: 0;
	width: 100%;
	text-align: center;
	cursor: pointer;
	padding: 1.2rem 0;
}

.modalBox a
{
	color: #b3b3b3;
	display: block;
}

.modalBox a:hover
{
	color: #938ef3;
}

.modalBox a:active
{
	color: #7775d7;
}

.modalBox .mbError
{
	display: none;
	padding-top: 1rem;
	color: #d13f3f;
}

.modalBox .mbError a
{
	display: inline
}
