.mod_form {
	position: relative;
}
.mod_form-row {
	clear: both;
	margin: 3px -10px;
	padding: 5px 10px;
	position:relative;
}

/* Clearfix */
.mod_form-row:after{
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  font-size: 0;
}
/* float clearing for IE6 */
* html .mod_form-row { height: 1%; overflow: visible; }
/* float clearing for IE7 */
*+html .mod_form-row { min-height: 1%; }


.mod_form-row.active { 
	background-color: #FFFCAE; 
	-moz-border-radius: 7px;
}
.mod_form-row.invalid { 
	outline: 3px solid red;
	-moz-outline-radius: 13px;
	-webkit-outline-radius: 13px;
}

.mod_form-row>label {
	float:left;
	width:160px;
	margin: 0 10px 0 0;
}
.mod_form-row.invalid>label { color: red !important; } 
/* for marking just the input as invalid - used by server-side validation */
.mod_form-row input.invalid, .mod_form-row textarea.invalid, .mod_form-row select.invalid {
	background-image:url("/images/icons/exclamation.png") !important;
	background-repeat: no-repeat !important;
	background-position: right center !important;
	border-color:red !important;
}

.mod_form .msg, .mod_form .msg p {
	color: red;
	font-weight: bold;
	float: none !important;
}

.mod_form-row>input, .mod_form-row>textarea, .mod_form-row>select { vertical-align: top; }

.mod_form span.mod_form-req { color: red; white-space: nowrap; }
.mod_form p.mod_form-req { font-size:80%; }

.mod_form-notes { 
	-moz-border-radius:5px 5px 5px 5px;
	-webkit-border-radius:5px;
	border-radius:5px 5px 5px 5px;
	background-color:#fff;
	border:1px solid #666;
	color: #000;
	font-size:9px;
	margin:5px 0 0;
	padding:5px;
	right:0;
	top:0;
	opacity:0.95;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=95)"; /* IE8 */
	filter: alpha(opacity=95);					/* IE <8 */
}
/* Applied by JavaScript */
.mod_form-notes.floating { 
	-moz-border-radius:13px 13px 13px 0;
	-webkit-border-top-left-radius: 13px;
	-webkit-border-top-right-radius: 13px;
	-webkit-border-bottom-left-radius: 0;
	-webkit-border-bottom-right-radius: 13px;
	border-radius:13px 13px 13px 0;
	-moz-box-shadow:3px 2px 3px rgba(0, 0, 0, 0.45);
	-webkit-box-shadow:3px 2px 3px rgba(0, 0, 0, 0.45);
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(color=#888888,direction=135,strength=2)"; /* IE8+ */  
	filter: progid:DXImageTransform.Microsoft.Shadow(color=#888888,direction=135,strength=2); /* IE7 and lower */  
	padding:5px 10px;
	position:absolute;
	z-index:2;
	right: auto;
	margin: 5px 0 0 -15px;
}


.mod_form-forget {
	position: absolute;
	right: 10px;
	top: 10px;
	background: #FFFCEF;
	border: 1px solid #666;
	padding: 2px 7px;
	font-size: 9px;
	color: #333;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	text-decoration:none;
}
.mod_form-forget:hover {
	border-color: #000;
	background-color: #fff;
	color: #000;
	text-decoration:none;
}
.recaptcha_icon {
	margin: 0 0 0 5px;
	float: left;
}
.recaptcha_icon, .recaptcha_icon a {
	width: 16px;
	height: 16px;
	display: inline-block;
}


/* NumberBox */
input.numberBox { display:inline-block !important; float: left; }
.numberBoxWrap {
	float:left;
	display:inline-block; 
	vertical-align:top;
	/*width: 20px;*/
}
.numberBoxArrows { 
	/*display:inline-block;*/
	float: left;
	height:20px;
	margin:0 3px 0 2px;
	overflow:hidden;
	position:relative;
	top:3px;
	vertical-align:top;
	width:8px;
}
.numberBoxUp, .numberBoxDown { 
	cursor:pointer;
	height:9px;
	position:absolute;
	width:8px;
	opacity: 0.5;
}
.numberBoxUp:hover, .numberBoxDown:hover { opacity:1; }
.numberBoxUp { top:0;left:0; background:url(/images/icons/bullet_arrow_up.png) center -6px no-repeat; }
.numberBoxDown { bottom:4px;left:0; background:url(/images/icons/bullet_arrow_down.png) center center no-repeat; }



.niceCheckBox {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url(/images/niceCheckBox.png) 0 0 no-repeat;
}
.niceCheckBox.checked {
	background-position: -16px 0;
}
