/* -------------
 * Inputs
 * ------------- */
 
 td form{
 	float: left;
	width:20px;
	vertical-align: top;
 }
.jNiceInputWrapper {
	background: transparent url(elements/input_left.gif) no-repeat left top;
	height: 23px;
	padding: 0px;

}

.jNiceInputInner {
	background: transparent url(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: none;
	position: absolute;
	top: -2px;
	left: -4px;
	height: 26px; 
}

/* -------------
 * Radios
 * ------------- */
.jRadioWrapper {float: left; width: 20px;}
.jNiceRadio {
	background: transparent url(img/radio.gif) no-repeat center top;
	vertical-align: bottom;
	height: 12px;
	width: 12px!important;
	display:block;/*display: -moz-inline-block;*/
	margin: 1px 10px 0 0;
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: transparent url(img/checkbox.gif) no-repeat center top;
	vertical-align: top;
	height: 16px;
	float: left;
	margin: 0 5px 0 0;
	width: 16px;
	display:block;/*display: -moz-inline-block;*/
}
.jNiceCheckbox:hover { background-position: center center;}
.jNiceChecked { background-position: center bottom;}


/* -------------
 * Selects
 * ------------- */
.jNiceSelectWrapper {
	width: 280px;
	position:relative;
	height: 26px;
	float: left;
	border: none !important;
}

.jNiceSelectWrapper div span {
	float: none;
	position: absolute;
	width: 250px;
	height: 17px;
	line-height: 1em;
	color: #646464;
	padding: 7px 7px 0;
	overflow: hidden;
	border: 1px solid #ccc;
	border-right: none;
	background: #fff;
}
.jNiceSelectWrapper div a {
	display: block;
	position: absolute;
	right: 0px;
	width: 30px;
	border: none;
	height: 26px;
	background: url(img/select_right.gif) no-repeat center center;
}
.jNiceSelectWrapper div a:hover {
	background: #fff url(img/select_right_hover.gif) no-repeat center center;
}
.jNiceSelectWrapper ul {
	position: absolute;
	width: 277px !important;
	top: 26px;
	left: 0px;
	list-style: none;
	background: #fff;
	display: none;
	margin: 0px;
	padding: 0px;
	border: 1px solid #ccc;
	max-height: 99px;
	overflow: auto;
	z-index:100;
}

.jNiceSelectWrapper ul li { width: auto !important; }


.jNiceSelectWrapper ul a {
	display: block;
	padding: 7px 7px;
	text-decoration: none;
	color: #666;
	background-color: #FFF;
	line-height: 1.1em;
}

.jNiceSelectWrapper ul a:hover { background:#eee; }
.jNiceSelectWrapper ul a.selected { background: #3366FF; color: #fff; }

/* -------------
 * Hidden - used to hide the original form elements
 * ------------- */
.jNiceHidden {display: none;}
