/*##########################################
Name: Default styling for Niceforms v.1.0
Author: Lucian Slatineanu
URL: http://www.badboy.ro/
##########################################*/

/*General styles - NOT really related to the forms*/

/*Forms defaults - change as needed*/
input, textarea {
	font-family:Arial;
	color:#555555;
	font-size:1em;
}

/*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/form/radio.gif) no-repeat left top;}
.radioAreaChecked {background:url(../images/form/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/form/checkbox.gif) no-repeat left top;}
.checkboxAreaChecked {background:url(../images/form/checkbox.gif) no-repeat left bottom;}
.focused {border:1px dotted #ddd;}

/*Text inputs*/
.textinput, .textinputHovered {
	height:20px;
	background:url(../images/form/input_bg.gif) repeat-x left top;
	border:none;
	padding:4px 0px;
	vertical-align:middle;
	line-height:20px;
}
.textinputHovered {background-position:left bottom;}
.inputCorner {
	padding-bottom:0;
	vertical-align:middle;
	width:12px;
	height:28px;
}

/*Text areas*/
.txtarea .tr, .txtarea .tr_xon {background:url(../images/form/txtarea_tr.gif) no-repeat top right;}
.txtarea .tr_xon {background:url(../images/form/txtarea_tr_xon.gif) no-repeat top right;}
.txtarea img.txt_corner {
	width:12px;
	height:14px;
	display:block;
}
.txtarea .br, .txtarea .br_xon {height:14px; background:url(../images/form/txtarea_br.gif) no-repeat bottom right;}
.txtarea .br_xon {background:url(../images/form/txtarea_br_xon.gif) no-repeat top right;}
.txtarea .cntr {background:url(../images/form/txtarea_cntr.gif) repeat-y right top;}
.txtarea .cntr_xon {background:url(../images/form/txtarea_cntr_xon.gif) repeat-y right top;}
.txtarea .cntr_l, .txtarea .cntr_l_xon {
	width:4px;
	background:url(../images/form/txtarea_l.gif) repeat-y left top;
	float:left;
}
.txtarea .cntr_l_xon {background:url(../images/form/txtarea_l_xon.gif) repeat-y left top;}
.txtarea textarea {
	border:0;
	background:none;
	padding:0;
	margin:5px;
}

/*Selects*/
.selectArea {
	width:200px;
	height:28px;
	background:url(../images/form/select_bg.gif) repeat-x left top;
}
.selectArea .left {
	width:12px;
	height:28px;
	float:left;
	background:url(../images/form/select_left.gif) no-repeat left top;
}
.selectArea .right {
	width:22px;
	height:28px;
	float:right;
	background:url(../images/form/select_right.gif) no-repeat left top;
}
.selectArea .right a {
	display:block;
	width:200px;
	height:21px;
	margin-left:-179px;
	position:absolute;
}
.selectArea .right i {display:none;}
.selectArea .center {
	width:200px;
	color:#555555;
	padding-top:7px;
	overflow:hidden;
	white-space:nowrap;
}

/*Selects drop-down*/
.optionsDivInvisible, .optionsDivVisible {
	position:absolute;
	margin-top:-1px;
	margin-left:3px;
	width:172px;
	/*background:#ffffff;*/
	padding:2px;
	z-index:20;
}
.optionsDivInvisible {display:none;}
.optionsDivVisible {display:block; margin-left:4px;padding-top:0;padding-bottom:0;}
.optionsDivVisible p {
	margin:0;
	padding:0;
}
.optionsDivVisible .optionsDivVisible_inn {
	position:relative;
	z-index:100;
	padding:4px 3px;
}
.optionsDivVisible a {
	color:#555555;
	text-decoration:none;
	display:block;
	padding:2px 4px;
	background:none;
	margin:0;
}
.optionsDivVisible a:hover {
	color:#555555;
	background:#e5e5e5;
}

.optionsDivVisible .optionsDiv_bg1{
	background:url(../images/form/sel-b-l.png) no-repeat 0 100%;
	position:absolute;
  top:11px;
  left:0;
  right:12px;
  bottom:0;
  z-index:10;
  text-indent:-999px;
  }

.optionsDivVisible .optionsDiv_bg2{
	background:url(../images/form/sel-b-r.png) no-repeat 100% 100%;
	position:absolute;
  top:11px;
  left:0;
  right:0;
  bottom:0;
  z-index:20;
  text-indent:-999px;
  }
.optionsDivVisible .optionsDiv_bg3{
	background:url(../images/form/sel-t-l.png) no-repeat 0 0;
	position:absolute;
  top:0;
  left:0;
  right:12px;
  bottom:0;
  z-index:30;
  text-indent:-999px;
  }

.optionsDivVisible .optionsDiv_bg4{
	background:url(../images/form/sel-t-r.png) no-repeat 100% 0;
	position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  z-index:40;
  text-indent:-999px;
  }



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