/*##########################################
Name: Default styling for Protoforms v.1.0
Author: Lucian Slatineanu
Modified: Diego Rin Martin
URL: http://www.badboy.ro/
##########################################*/

/*General styles - NOT really related to the forms*/
* {
	
	margin:0;
	padding:0;
}
body {
	
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#404040;
	background:#ebebec;
}
img {
	
	border:0;
}

#form-container {
	
	padding:10px;
}

/*Forms defaults - change as needed*/
input, textarea {
	
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#404040;
}

label {
	
	color:#999;
	cursor:pointer;
	padding-left:2px;
	line-height:16px;
	font-size: 12px;
}

label.chosen {
	
	color:#333;
}

/*Transparent items*/
.outtaHere {
	
	position:absolute;
	left:-3000px;
}

/*Radio buttons*/
.radioArea, .radioAreaChecked {
	
	display:block;
	float:left;
	clear:left;
	width:15px;
	height:14px;
	font-size:0;
	cursor:pointer;
}
.radioArea {
	
	background:url(../../images/niceforms/radio.gif) no-repeat left top;
}
.radioAreaChecked {
	
	background:url(../../images/niceforms/radio.gif) no-repeat left bottom;
}


/*Checkboxes*/
.checkboxArea, .checkboxAreaChecked {
	
	display:block;
	float:left;
	clear:left;
	width:13px;
	height:13px;
	font-size:0;
	padding:0;
	margin:0;
	cursor:pointer;
}
.checkboxArea {
		
	background:url(../../images/niceforms/checkbox.gif) no-repeat left top;
}

.checkboxAreaChecked {
	
	background:url(../../images/niceforms/checkbox.gif) no-repeat left bottom;
}

.focused {
	
	border:1px dotted #ddd;
}
.disabled {
	
	-moz-opacity:.50 ;
	filter:alpha(opacity=50);
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50);
	opacity: .50;
}

/*Text inputs*/
.textinput, .textinputHovered, .textinputError {
	
	height:23px;
	background:url(../../images/niceforms/input_bg.gif) repeat-x left top;
	border:none;
	padding:4px 0;
	vertical-align:middle;
}

.textinputHovered {
	
	background-position:left bottom;
}

.textinputError {
	
	background-position:left bottom;
}

.inputCorner {
	
	padding-bottom:0;
	vertical-align:middle;
}

/*Text areas*/
.txtarea .tr, .txtarea .tr_xon, .txtarea .tr_err {
	
	background:url(../../images/niceforms/txtarea_tr.gif) no-repeat top right;
}
.txtarea .tr_xon {
	
	background:url(../../images/niceforms/txtarea_tr_xon.gif) no-repeat top right;
}
.txtarea .tr_err {
	
	background:url(../../images/niceforms/txtarea_tr_err.gif) no-repeat top right;
}
.txtarea img.txt_corner {
	
	width:5px;
	height:5px;
	display:block;
}
.txtarea .br, .txtarea .br_xon, .txtarea .br_err {
	
	background:url(../../images/niceforms/txtarea_br.gif) no-repeat top right;
}
.txtarea .br_xon {
	
	background:url(../../images/niceforms/txtarea_br_xon.gif) no-repeat top right;
}
.txtarea .br_err {
	
	background:url(../../images/niceforms/txtarea_br_err.gif) no-repeat top right;
}
.txtarea .cntr {
	
	background:url(../../images/niceforms/txtarea_cntr.gif) repeat-y right top;
}
.txtarea .cntr_xon {
	
	background:url(../../images/niceforms/txtarea_cntr_xon.gif) repeat-y right top;
}
.txtarea .cntr_err {
	
	background:url(../../images/niceforms/txtarea_cntr_err.gif) repeat-y right top;
}
.txtarea .cntr_l, .txtarea .cntr_l_xon, .txtarea .cntr_l_err {
	
	width:5px;
	background:url(../../images/niceforms/txtarea_l.gif) repeat-y left top;
	float:left;
}
.txtarea .cntr_l_xon {
	
	background:url(../../images/niceforms/txtarea_l_xon.gif) repeat-y left top;
}
.txtarea .cntr_l_err {
	
	background:url(../../images/niceforms/txtarea_l_err.gif) repeat-y left top;
}
.txtarea textarea {
	
	border:0;
	background:none;
	padding:0;
	margin:5px;
}

/*Selects*/
.selectArea {
	
	width:199px;
	height:23px;
	background:url(../../images/niceforms/input_bg.gif) repeat-x left top;
}

.selectArea .left {
	
	width:8px;
	height:23px;
	float:left;
	background:url(../../images/niceforms/input_left.gif) no-repeat left top;
}

.selectArea .right {
	
	width:31px;
	height:23px;
	float:right;
	background:url(../../images/niceforms/select_right_button.png) no-repeat left top;
}

.selectArea .rightHovered {
	
	width:31px;
	height:23px;
	float:right;
	background:url(../../images/niceforms/select_right_button_xon.png) no-repeat left top;
}

.selectArea .center {
	
	width:160px;
	color:#404040;
	padding-top:4px;
	overflow:hidden;
	white-space:nowrap;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	background:url(../../images/niceforms/input_bg.gif) repeat-x left top;
}

.selectArea .right a {
	
	display:block;
	width:199px;
	height:21px;
	margin-left:-168px;
	position:absolute;
}

.selectArea .right i {
	
	display:none;
}


/*Selects drop-down*/
.optionsDivInvisible, .optionsDivVisible {
	
	position:absolute;
	margin-top:3px;
	margin-left:3px;
	width:165px;
	background:#FFF;
	padding:2px;
	font-size:12px;
	z-index:20;
	border: 1px solid #C0BEAF;
}
.optionsDivInvisible {
	
	display:none;
}
.optionsDivVisible {
	
	display:block;
}
.optionsDivVisible p {
	
	margin:0;
	padding:0;
}
.optionsDivVisible a {
	
	color:#404040;
	text-decoration:none;
	display:block;
	padding:1px 4px;
	border:1px solid #FFF;
}
.optionsDivVisible a:hover {
	
	color:#47A7E2;
	/* background:#5F6062; */
	border-color:#47A7E2;
}

/*File inputs */

.fileinput {
	
	position: relative;
	left: 2px;
	text-align: left;
	-moz-opacity:0 ;
	filter:alpha(opacity: 0);
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	opacity: 0;
	z-index: 2;
}


/*Button*/
.buttonSubmit, .buttonSubmitHovered {
	
	width:auto;
	height:26px;
	color:#FFF;
	font-weight:bold;
	padding:2px;
	background:url(../../images/niceforms/button_bg.gif) repeat-x left top;
	cursor:pointer;
	border:none;
}
.buttonSubmitHovered {
	
	background-position:left bottom;
}
.buttonImg {
	
	vertical-align:bottom;
}

.fileButton, .fileButtonHovered {
	
	width:auto;
	height:26px;
	color:#FFF;
	font-weight:bold;
	padding:2px;
	background:url(../../images/niceforms/button_bg.gif) repeat-x left top;
	cursor:pointer;
	border:none;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	position: relative;
	top: 1px;
}

.fileButtonHovered {
	
	background-position:left bottom;
}

.errorcontainer {
	
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	color:#8F080E;
	background:#fff;
}
