.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;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
	z-index:98;

}

.modalBox .mbWrapper
{
	display:inline-block;
	position:relative;
	max-width:80%;
	width: 450px;
	z-index:99;
	text-align: left;
}

.modalBox  .mbClose
{
	color: #c5c5c5;
	width: 39px;
	height: 39px;
	line-height: 39px;
	font-size: 25px;
	position:absolute;
	z-index: 2;
	right:15px;
	top:15px;
	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: 4rem 2rem 2rem 2rem;
	background-color: #fff;
	border-radius: 5px;
}

.mbContent textarea
{
	font-size:0.9rem;
	color:#717171;
	width:100%;
	height:9rem;
	border: 1px dashed #d2d2d2;
	padding: .7rem;
	box-sizing:border-box;
	margin-bottom:1rem;
	resize:vertical;
}

.mbContent input[type="text"],.mbContent input[type="password"],.mbContent select
{
	font-size: 0.9rem;
	color: #717171;
	width: 100%;
	border: 1px dashed #d2d2d2;
	padding: .7rem;
	box-sizing: border-box;
	margin-bottom: 1rem;
	border-radius: 5px;
}

.has-error
{
	border:1px solid #f01616 !important
}

.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: 0.5rem .5rem 1rem 0;
	background-color: #fda670;
	color: #fff;
	border: 0;
	text-align: center;
	cursor: pointer;
	border-radius: 2px;
	padding: .6rem 2rem;

}

.modalBox button:hover
{
	color: #bf4a1e;
}

.modalBox button:active
{
	opacity: .7;
}

.modalBox a.forgot
{
	color: #b3b3b3;
}

.modalBox a.forgot:hover
{
	color: #fda670;
}

.modalBox a.forgot:active
{
	opacity: .7;
}

.modalBox .mbError
{
	padding-top: 1rem;
	color: #d13f3f;
}

.modalBox .terms
{
	max-height: 100%;
	height: 500px;
	overflow-y: scroll;
	font-size: 0.8em;
	line-height: 1.8em;
	text-align: left;
}

.modalBox .terms h1
{
	text-transform: uppercase;
	text-align: center;
}

.modalBox .terms p
{
	margin: 0 0 1.5em 0;
}

.modalBox .terms h2
{
	margin: 0 0 0.5em 0;
	text-align: center;
	color: #fda670
}

.modalBox .terms a
{
	color: #fda670;
}
