/* -------------
 * Buttons
 * ------------- */
button {
	margin: 0px;
	padding: 0px;
	border: none;
	background-color: transparent;
	cursor: pointer;
	overflow: visible;
}

*:first-child+html button[type]{width: 1;} /* IE7 */

button span {
	display: block;
	/*float: left;*/
	padding: 0px 4px 0px 0px; /* sliding doors padding */
	margin: 0px;
	background-attachment: scroll;
	background-color: transparent;
	background-image: url(../images/elements/btn_right.gif);
	background-repeat: no-repeat;
	background-position: right top;
}

button span span {
	background: transparent url(../images/elements/btn_left.gif) no-repeat;
	color: #FFFFFF;
	padding: 1px 4px 0px 8px;
	font-weight: normal;
	font-size: .9em;
	line-height: 21px;
	/*text-transform: lowercase;*/
	display: block;
	text-decoration: none;
	text-align:right;
}

.searchbutton, .sendbutton {
text-align: right;
/*padding-right: 15px;*/
}
/* -------------
 * Inputs
 * ------------- */
.jNiceInputWrapper {
	background: transparent url(../images/elements/input_left.gif) no-repeat left top;
	height: 19px;
	padding: 0px;
}

.jNiceInputInner {
	background: transparent url(../images/elements/input_right.gif) no-repeat right top;
	padding: 2px 4px 2px 0px;
	margin: 0px 0px 0px 4px;
}

.jNiceInputInner div {
	height: 15px;
}

.jNiceInputInner input {
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	line-height: 10px;
	vertical-align: middle;
	height: 10px;
	color:#404040;	
	border: 0;
	padding: 0px;
	margin: 0px;
	width: 124px;
}

.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(../images/elements/radio.gif) no-repeat center top;
	vertical-align: middle;
	height: 18px;
	width: 18px;
	display:block;/*display: -moz-inline-block;*/
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: transparent url(../images/elements/checkbox.gif) no-repeat center top;
	vertical-align: middle;
	height: 18px;
	width: 18px;
	display:block;/*display: -moz-inline-block;*/
}

/* -------------
 * Checked - Used for both Radio and Checkbox
 * ------------- */
.jNiceChecked { background-position: center bottom;}


/* -------------
 * Selects
 * ------------- */
.jNiceSelectWrapper {
	width: 134px;
	position:relative;
	height: 17px;
	font-size: 0.7em;
	padding-bottom: 5px;
}

.jNiceSelectWrapper div span {
	float: none;
	position: absolute;
	width: 114px;
	height: 16px;
	line-height: 15px;
	padding: 0px 3px;
	overflow: hidden;
	border: 1px solid #686868;
	border-right: none;
	background-color:#ECECEC;
	color:#484848; /*Dark Gray text*/
}

.jNiceSelectWrapper div a {
	display: block;
	position: absolute;
	right: 0px;
	width: 21px;
	height: 18px;
	background-image: url(../images/elements/select_right.jpg);
	background-repeat: no-repeat;
	background-position: center center;
}

.jNiceSelectWrapper ul {
	position: absolute;
	width: 130px;
	top: 16px;
	left: 0px;
	list-style: none;
	background-color: #FFF;
	border: solid 1px #CCC;
	display: none;
	margin: 0px;
	padding: 0px;
	height: 150px;
	overflow: auto;
	overflow-y: auto;
	z-index:100;
}

.jNiceSelectWrapper ul a {
	display: block;
	padding: 5px;
	text-decoration: none;
	color:#000000; /*Color of options in drop down*/
	background-color: #FFF;
}

.jNiceSelectWrapper ul a:hover { background:#f5f0d7; }
.jNiceSelectWrapper ul a.selected {background: #EDEDED;}

/* -------------
 * Hidden - used to hide the original form elements
 * ------------- */
.jNiceHidden {display: none;}
