/* -------------
 * 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 {
	background: transparent url(http://www.phares-balises.fr/_img/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(http://www.phares-balises.fr/_img/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(http://www.phares-balises.fr/_img/input_left.gif) no-repeat left top;
	height: 23px;
	padding: 0px;

}

.jNiceInputInner {
	background: transparent url(http://www.phares-balises.fr/_img/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(http://www.phares-balises.fr/_img/radio.gif) no-repeat center top;
	vertical-align: middle;
	height: 18px;
	width: 18px;
	display:block;/*display: -moz-inline-block;*/
}


/* -------------
 * Checkboxes
 * ------------- */
.jNiceCheckbox {
	background: transparent url(http://www.phares-balises.fr/_img/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 {
	position:relative;
	height: 22px;
	font-size:12px;
}

.jNiceSelectWrapper div span {
	float: none;
	position: absolute;
	height: 20px;
	line-height: 20px;
	padding: 0px 3px;
	overflow: hidden;
	background:#FFFFFF;/* url(http://www.phares-balises.fr/img/bg_select.gif) repeat-x 0px 0px;*/
	border:0px solid #FFFFFF;
	border-right: none;
	font-size:12px;
	color:#797979;
}

.jNiceSelectWrapper div a {
	display: block;
	position: absolute;
	left:130px;
	right: 0px;
	width: 23px;
	height: 20px;
	background: url(../_img/select_right.gif) no-repeat center 0px;
}


*+html .jNiceSelectWrapper div a {
	display: block;
	position: absolute;
	right: 0px;
	left:130px;
	top:0px;
	width: 23px;
	height: 20px;
}

*html .jNiceSelectWrapper div a {
	display: block;
	float:right;
	right: 0px;
	left:130px;
	top:0px;
	width: 23px;
	height: 20px;
	clear:rigth;
}



.jNiceSelectWrapper ul {
	position: absolute;
	top: 20px;
	left: 0px;
	list-style: none;
	background-color: #ffffff;
	border: solid 1px #FFFFFF;
	display: none;
	margin: 0px;
	padding: 0px;
	height: 200px;
	overflow: auto;
	overflow-y: auto;
	z-index:100;
}

.jNiceSelectWrapper ul a {
	display: block;
	padding: 2px 5px;
	text-decoration: none;
		color:#404040;	
	background-color: #ffffff;
}

.jNiceSelectWrapper ul a:hover { background:#797979;color:#FFFFFF; }
.jNiceSelectWrapper ul a.selected {background: #797979;color:#FFFFFF;}

/* -------------
 * Hidden - used to hide the original form elements
 * ------------- */
.jNiceHidden {display: none;}

/*****/

.jNiceSelectWrapper {
width:150px
}
.jNiceSelectWrapper ul {
width:140px
}
.jNiceSelectWrapper div span {
width:148px
}

#trier .jNiceSelectWrapper {
width:150px; float:left; margin-right:13px;
}
#trier .jNiceSelectWrapper ul {
width:140px
}
#trier .jNiceSelectWrapper div span {
width:148px
}

#trier{ float:right; margin-right:16px; margin-top:-30px;}
*html #trier{ float:right; margin-right:0px; margin-top:-30px;}
*+html #trier{ float:right; margin-right:16px; margin-top:-30px;}