/* -------------
 * Buttons
 * ------------- */
button {margin:0;padding:0;border:none;background-color:transparent;cursor:pointer;overflow:visible;outline:none;moz-outline:none;}
*:first-child+html button[type]{width:1;} /* IE7 */

button span {
	background: transparent url(jquery/jnice/elements/btn_right.gif) no-repeat scroll right top;
	display: block;
	float: left;
	padding: 0px 4px 0px 0px; /* sliding doors padding */
	margin: 0px;
}

button span span {
	background: transparent url(jquery/jnice/elements/btn_left.gif) no-repeat;
	color: #FFFFFF;
	padding: 1px 4px 0px 8px;
	font-weight: normal;
	font-size: 10px;
	line-height: 13px;
	text-transform: lowercase;
	display: block;
	text-decoration: none;
}

/* -------------
 * Inputs
 * ------------- */
.jNiceInputWrapper {
	background: transparent url(jquery/jnice/elements/input.gif) no-repeat left top;
	float:left;
}


.jNiceInputInner {
	background: transparent url(jquery/jnice/elements/input.gif) no-repeat right top;
}

.jNiceInputInner input {
	border:none;
	outline:none;
}

.jNiceInputWrapper_hover { background-position: left bottom; }
.jNiceInputWrapper_hover .jNiceInputInner { background-position: right bottom; }


/* -------------
 * Radios
 * ------------- */
.jRadioWrapper { float: left; z-index: 2; }
.jNiceRadio {
	background: transparent url(jquery/jnice/elements/radio.gif) no-repeat center top;
	height: 18px;
	width: 18px;
	position:absolute;left:0px;top:0px;cursor:pointer;vertical-align:middle;
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: #F0EFDC url(jquery/jnice/elements/checkbox.gif) no-repeat center top;
	height: 22px;
	width: 20px;
	position:absolute;left:0px;top:0px;z-index:2;cursor:pointer;
}

/* -------------
 * Checked - Used for both Radio and Checkbox
 * ------------- */
.jNiceChecked { background-position: center -21px;}

/* -------------
 * Selects
 * ------------- */
.jNiceWrapper select {border:none;}

.jNiceSelectWrapper {
	left:0px;
	top:1px;
	z-index:3;
	position:absolute;
}

.jNiceWrapper iframe {position:absolute;z-index:1;width:100%;left:0px;top:0px;}

.jNiceSelectWrapper .jNiceSelectText {
	color:#333;
	font-size:13px;
	width:192px !important;
	height:20px;
	padding:6px 4px 4px 4px;
	background:url(../img/bg-input-padrao.png) top repeat-x;
	font-family:"Tahoma", Geneva, sans-serif;
	overflow:hidden;
	position:absolute;
	z-index:100;
}

.jNiceSelectWrapper .jNiceSelectOpen {
	width: 22px;
	height: 22px !important;
	background: url(../img/ico-select.png) no-repeat;
	z-index:100;
	display:block;
	position:absolute;
	right:-4px;
	top:4px;
	cursor:pointer;
}

.jNiceSelectWrapper ul {
	top:28px;
	background-color: #FFF;
	border: solid 1px #CCC;
	height: 160px;
	width:198px !important;
	position:absolute;
	left:0px;
	list-style:none;
	display: none;
	margin:2px 0 0 0 !important;
	padding:0;
	overflow-y:auto;
	z-index:100;
}

.jNiceSelectWrapper ul a {
	color:#999999;
	background-color: #FFF;
	display:block;padding:5px;text-decoration:none;
}

.jNiceSelectWrapper ul a:hover { background:#999; color:#FFFFFF;}
.jNiceSelectWrapper ul a.selected {background: #999; color:#FFFFFF;}
.first {background: #CCCCCC !important; color:#333333 !important;}
.jNiceFocus { border: dotted 1px #666666; }

.jNiceHidden {opacity:0;z-index:-1;position:relative;}
.jNiceWrapper {position:relative;vertical-align:top; float:left;}
.jNiceWrapper input {outline:none;moz-outline:none;}
