fieldset {
	margin: 1.5em 0; 
	border: none;
}
form {
	max-width: 400px;
}

input {
	display: block;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #777; 
	border-radius: 2px;
	margin: 0 0 10px 0; 
	padding: .75em;
	color: #999; 
	background-color: #fff;
	outline: none;
	font-family: Helvetica, Arial, sans-serif; font-size: .85em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
input:focus, 
textarea:focus {
	border: 1px solid #333;
	color: #444;
}
	

.formfield-text, 
.formfield-texteara,
.formfield-select, 
.formfield-checkbox, 
.formfield-radio {
	position: relative;
}

.formfield-select--container {
	position: relative; 
	overflow: hidden; /* Le select natif pourra dépasser sans être vu */
	background-color: #fff;
	border: #777 1px solid;
	margin: 0 0 1.5em 0;
}

.formfield-select--container::after { 
	/* Le pointeur du select */
	content: '';
	position: absolute;
	top: 50%; 
	margin-top: -3px;
	right: .75em;  
	display: block; 
	width: 0; height: 0;
	border-color: transparent;
	border-top-color: #444; 
	border-width: 6px;
	border-style: solid;
	pointer-events: none;
}

.formfield-select--container select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;

	width: 110%; 
	/* 
		On est sûr de ne plus voir
		la flèche native 
	*/
	
	height: auto;
	border: 0; 
	margin: 0;
	padding: .75em;
	border-radius: 0;
	

	overflow: hidden;
	text-overflow: ellipsis;
	/* 
		On empêche le texte d'aller
		jusqu'au bout s'il est trop long
	*/

}

.formfield-select--container select::-ms-expand {
    display: none; /* cacher la flèche pour IE */
}


label, 
legend {
	display: block;
	font-weight: normal;
	font-size: .85em;
	margin: 0 0 5px 0;
	font-family: 'ocr', Helvetica, Arial, sans-serif; font-size: .85em;
}
legend {
	color: #999; 
	margin: 0 0 10px 0;
}
