/* -------------
 * Buttons
 * ------------- */
button {
	margin:0 auto;
	margin-bottom:18px;
	padding:0px;
	border:0;
	background-color: transparent;
	cursor: pointer;
	overflow: visible;
}

button, button:active, button:hover { border:none !important; }

.standard button { margin-left:117px; }

*:first-child+html button[type]{width: 1;} /* IE7 */

button span {
	background: transparent url(../img/form_submit.gif) no-repeat scroll right top;
	display: inline;
	float: left;
	padding: 0px 4px 0px 0px; /* sliding doors padding */
	margin: 0px;
}

button span span {
	background: transparent url(../img/form_submit.gif) no-repeat;
	color: #FFFFFF;
	padding: 1px 4px 0px 8px;
	font-weight: bold;
	color:#fecc35;
	font-size: 10px;
	line-height: 26px;
	display: block;
	text-decoration: none;
	width:100px;
}

.bigger button span span { width:100px; }

/* -------------
 * Inputs
 * ------------- */
.jNiceInputWrapper {
	background: transparent url(../img/form/elements/input_left.gif) no-repeat left top;
	height: 23px;
	padding: 0px;

}

.jNiceInputInner {
	background: transparent url../img/form/elements/input_right.gif) no-repeat right top;
	padding: 2px 4px 2px 0px;
	margin: 0px 0px 0px 4px;
}

.jNiceInputInner div {
	height: 19px;
}

.jNiceInputInner input {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	line-height: 18px;
	vertical-align: middle;
	height: 17px;
	color:#404040;	
	border: 0;
	padding: 0px;
	margin: 0px;
}

.jNiceSafari .jNiceInputInner div {
	position: relative;
	overflow: hidden;
}

.jNiceSafari input {
	background-color: none;
	position: absolute;
	top: -2px;
	left: -4px;
	height: 26px; 
}

/* -------------
 * Radios
 * ------------- */
.jRadioWrapper {float: left;}
.jNiceRadio {
	background: transparent url(../img/form_radio.gif) no-repeat center top;
	vertical-align: middle;
	height: 18px;
	width: 18px;
	display:block;/*display: -moz-inline-block;*/
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: transparent url(../img/form_checkbox.gif) no-repeat center top;
	vertical-align: middle;
	height: 18px;
	width: 18px;
	display:block;/*display: -moz-inline-block;*/
	float:left;
	margin-right:10px;
}

/* -------------
 * Checked - Used for both Radio and Checkbox
 * ------------- */
.jNiceChecked { background-position: center bottom;}


/* -------------
 * Selects
 * ------------- */
.jNiceSelectWrapper {
	float:left; display:inline;
	width: 188px;
	position:relative;
}

.jNiceSelectWrapper div span {
	float: none;
	display:block;
	height: 16px;
	line-height: 15px;
	padding: 1px 3px 1px 3px;
	overflow: hidden;
	border: 1px solid #CCCCCC;
	border-right: none;
	margin-bottom:10px;
	background:url(../img/form_input_bk.gif) repeat-x;
}

.jNiceSelectWrapper div a {
	display: block;
	position: absolute;
	right: 0px; top:0px;
	width: 21px;
	height: 20px;
	background: url(../img/form_select_right.gif) no-repeat center center;
}

.jNiceSelectWrapper ul {
	position: absolute;
	width: 186px;
	top: 20px;
	left: 0px;
	list-style: none;
	background-color: #FFF;
	border: solid 1px #CCC;
	display: none;
	margin: 0px;
	padding: 0px;
	height: auto;
	max-height: 250px;
	overflow: auto;
	overflow-y: auto;
	z-index:100;
}

.jNiceSelectWrapper ul a {
	display: block;
	padding: 5px;
	text-decoration: none;
	background-color: #FFF;
}

.jNiceSelectWrapper ul a:hover { background:#E1F5FF; }
.jNiceSelectWrapper ul a.selected {background: #EDEDED;}

/* -------------
 * Hidden - used to hide the original form elements
 * ------------- */
.jNiceHidden {display: none;}
