/* Reset */

a img {
	border: none;
}

fieldset {
	border: none;
	padding: 0;
}

/* Clearfix */

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	position: relative; /* to have the same offsetParent in Firefox and IE */
}

/*
There is another technique for clearfix, but it doesn't work when a contained element (like a popup)
is taller that the containing element:

.clearfix {
	overflow: hidden;
}
*/

/* Notice and error messages */

#flash, .errormessage {
    color: white;
    padding: 0.7em;
    text-align: left;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	margin-bottom: 2em;
}

#flash {
	background: #EEAA44;
	display: none;
}

.errormessage {
    background: #c00;
}

#flash a, .errormessage a {
	color: white;
	text-decoration: underline;
}

/* Forms */

form .loading {
	display: none;
}

div.field, div.help {
	padding-bottom: 1.5em;
}

div.columns div.field {
	float: left;
	margin-right: 1em;
}

label.description {
	display: block;
	color: #555;
	font-weight: bold;
	font-size: 95%;
	margin-bottom: 2px; /* XXX en pixels ? */
}

span.required {
	color: red;
}

div.upload-list a {
	margin-left: 0.4em;
}

ul.choices {
	float: left;
	list-style: none;
	margin: 0;
	padding: 0;
	margin-right: 1em;
}

ul.choices li {
	margin: 0.4em 0;
}

ul.choices input {
	vertical-align: middle;
	margin: 0;
	margin-right: 0.2em;
}

div.form-actions {
	margin: 2em 0 0;
}

div.form-actions * {
	vertical-align: middle;
}

div.form-actions span {
	margin: 0 0.3em 0 0.4em;
}

p.legal {
	margin-top: 2em;
	font-size: 80%;
}
