html, body {
	margin: 0;
	padding: 0;
	background: white url(fond-barre-deg.png) 0px 0px no-repeat;
	background-color: #bcd4ea;
	font-family: sans-serif;
}

a {
	color: #c60;
}

div#header {
	background: #173e9d url(fond-barre-deg.png) 0px 0px no-repeat;
	height: 74px;
}

div#header span {
	display: none;
}

div#main-content {
	margin: 50px 0px 20px 30px;
	padding: 10px 30px 20px 10px;
	background: white;
}

form {
	margin-right: 100px;
}

h1 {
	color: #cc6600;
	margin-bottom: 30px;
}

h2 {
	text-transform: uppercase;
	margin-top: 30px;
	font-size: 120%;
	border: 1px solid black;
	text-align: center;
	letter-spacing: 0.2ex;
	background: #bcd4ea;
	padding: 2px 0;
}

h3 {
	margin-top: 2em;
}

p.explanation {
	font-style: italic;
}

div.payment {
	border: 3px double red;
	padding: 5px;
}


/* forms with label and widget below */

.field {
	background-color: #ffffcc;
	top: 0;
	left: 0;
	margin: 0 1em 1em 1em;
}

.xforms-group .xforms-group {
	margin: 1em 0 0 0;
}

.xforms-group label {
}

.xforms-help {
	font-size: 90%;
	font-style: italic;
	color: gray;
	display: block;
}

.xforms-help a {
	text-decoration: underline;
}

.formHelp:hover {
	cursor: default;
}

.formControls {
	margin: 1em 0 0 0; 
}

.error {
	padding: 1em;
	margin: 0 0 1em 0;
	width: 68% !important;
}

div.xforms-group-error-message {
	font-weight: bold;
	font-size: 90%;
	color: red;
}

.xforms-groupRequired {
	display: none;
}

.xforms-secret,
.xforms-input,
.xforms-textarea {
	display: block;
	margin-left: 10px;
	margin-top: 2px;
}

.xforms-input input,
.xforms-secret input,
.xforms-textarea textarea {
	border: 1px solid black;
}

.xforms-select ul,
.xforms-select1 ul {
	list-style: none;
	margin: 0;
}

/* logo table (I hate this) */

table#logos {
	margin-left: 50px;
}

table#logos td {
	text-align: center;
	vertical-align: middle;
}

table#logos img {
	border: 0;
	padding: 10px 40px;
}

table#logos a {
	text-decoration: none;
	color: black;
	font-size: 80%;
}

/* back to form elements */ 

table.hz, table.vt {
	margin-left: 30px;
	margin-top: 10px;
}

table.hz td {
	padding-right: 20px;
}

td.others .xforms-input {
	display: inline;
}

table.vt th {
	width: 100px;
	text-align: center;
	border: 1px solid black;
}

table.vt .xforms-input {
	margin: 0;
}

table.vt th {
	font-weight: normal;
}

div.number-then-text .xforms-input {
	display: inline;
}

div.number-then-text textarea {
	display: block;
	margin-bottom: 1em;
}

input.button {
	background: #ccc;
	color: black;
	border-width: 1px;
}

a label {
	cursor: pointer;
}

.xforms-alert {
	padding-left: 1em;
	color: red;
	font-weight: bold;
}

div.buttons-bar span {
	margin-right: 1em;
}

