/* Warning this style must stay the first!!! */
/* Page structure */
* { 
	margin:0;
	padding:0
}

/* mac hide \*/
html, body{
	height:100%;
	width:100%;
	}
/* end hide */

#outer {
	height:100%;
	width:100%;
	display:table;
	vertical-align:middle;
}

#defaultcontainer {
	display:table-cell;
	vertical-align: top;
}

#inner {
	text-align: center;
	width: 99%; /* use 50% to get a center page */
	margin-left:auto;
	margin-right:auto;
}

#footerarea {
	text-align: center;
	background: #84AD23; 
	color: #fff;
	padding: 2px;
}

.footerdatacenter {
	text-align: center;
}

#contentarea {
	width: 100%;
}

td.nameitem {
	text-align: right;
}

.cardowner {
	width: 180px;
	margin: 5px 15px 5px 15px;
}

.scroll {
	height: 320px;
	overflow: auto;
}

/* Default behavior */
body {
	font-size: 70%;
	background-color: #FFF;
	margin: 0px;
	padding: 0px;
	color: #444;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
}

.mainarea { /*height: 100%;*/
	padding: 0px;
	vertical-align: top;
}

input,select,button {
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
	color: #444;
	padding: 2px;
	margin-right: 5px;
}

h1 {
	font-size: 125%;
	margin: 0;
	padding: 5px;
	border-bottom: 3px solid #D8F062;
	text-indent: -9999px;
	background: #BBE20D;
}

h1 a {
	text-decoration: none;
	width: 223px;
	display: block;
}

h2 {
	font-size: 115%;
	color: #2192F0;
	font-weight: bold;
	margin: 10px 0 7px 0;
}

h3 {
	font-size: 110%;
	color: #2192F0;
	font-weight: bold;
	margin: 10px 0 7px 25px;
}

hr {
	border: 1px solid #809999;
}

p {
	margin: 0px 5px 5px 5px;
}

ul {
	list-style-image: url(images/arrow.gif);
	text-align: left;
	padding-left: 17px;
	margin-left: 0px;
}

em {
	text-indent: 2em;
}

table {
	margin: 0px;
	padding: 0px;
}

pre {
	font-family: "Courier New", Courier, mono, monospace;
	text-align: left;
}


/* Style */
.headerdataleft {
	font-weight: bold;
	text-align: left;
}

.errormessage {
	color: red;
	font-weight: bold;
	text-align: center;
	font-size: 100%;
}

.servicemessage {
	text-align: center;
	font-size: 110%;
	border: 1px solid #BBE20D;
}

.helpmessage {
	font-weight: bold;
	color: green;
}

/* small items style */
.mandatoryfield {
	font-weight: bold;
	color: red;
}

/* conteneur général : */
div#container {
	background: #FFF;
	margin: 0 auto;
	text-align: left;
}

/* titre et pied du formulaire */
#titleForm, .footerForm {
	text-indent: -9999px;
	font-weight: bold;
	background: #fff;
	margin: 0;
	padding: 5px;
	text-align: right;
}

#titleForm {
	text-indent: 10px;
	font-size: 200%;
}

.footerForm {
	text-align: right;
}

.footerForm a {
	text-decoration: none;
	display: inline;
}

.footerForm input {
	font-weight: bold;
	text-transform: uppercase;
}

#bodyForm {
	margin: 0;
	background: #f5f5f5;
}

#bodyForm .inputRadio {
	background: transparent;
	border: none;
	padding: 3px;
	margin-right: 5px;
}

#bodyForm fieldset {
	margin: 0;
	font-style: normal;
	padding: 0;
	border: none;
}

#bodyForm legend {
	text-indent: -9999px
}

#bodyForm p {
	padding: .2em 0;
	margin: 5px 10px 3px 10px
}

#bodyForm fieldset#simulationData label {
	float: left;
	text-align: right;
	margin: 0;
	padding: 0 .5em 0 0;
	line-height: 1.8em;
	width: 35%;
}

#bodyForm label:hover, .footerForm input {
	cursor: pointer;
}

.resulttable td {
	font-size: 70%;
}

#bodyForm label.oblig {
	font-weight: bold;
}

/* legends right of fields : */
#bodyForm .legende {
	margin: 0;
	padding: 0;
}

/* focused fields */
#bodyForm .focus {
	color: #444;
	border-color: #fff
}

#bodyForm .titre {
	font-weight: bold;
}

/* alternated colored text blocks : */
#bodyForm .a {
	margin: 0;
	background: #fff;
}

#bodyForm .b {
	margin: 0;
	background: #f5f5f5;
}

#bodyForm td {
	padding: 3px
}

table.amortization {
	border-collapse: collapse;
	width: 95%;
	margin-left: 20px;
}

table.amortization td, table.amortization th {
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	font-size: 80%;
	padding-left: 5px;
	text-align: center;
}

table.amortization th {
	font-weight: bold;
}
table.amortization tr {
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
}

.printtext {
	display: none;
}

/* "Please wait" popup */
#waiting {
	display: none;
	position: absolute;
	left: 50%;
	top: 50%;
	width: 200px;
	height: 200px;
	margin-left: -50px; /* half of width */
	margin-top: -50px; /* half of height */
}

#waiting p {
	text-align: center;
	border: 1px solid black;
	font-size: 115%;
	font-weight: bold;
	background-color: #fff;
	padding: 4px;
}

/* CSS for printing */
@media print {
	.footerarea {
		display: none;
	}
	h1 {
		display: none;
	}
	body {
		margin: 0;
		padding-right: 1px;
	}
	.mainarea {
		padding: 0px;
		vertical-align: top;
	}
	.printtext {
		display: block;
	}
	.printer_invisible {
		display: none;
	}
	h1 {
		display: none;
	}
	hr {
		border: 1px solid #809999;
	}
	p {
		margin: 0px 5px 5px 5px;
		text-align: left;
	}
	em {
		text-indent: 2em;
	}
	table {
		margin: 0px;
		padding: 0px;
	}
	pre {
		font-family: "Courier New", Courier, mono, monospace;
		font-size: 80%;
		text-align: left;
	}
	/* titre et pied du formulaire */
	#titleForm {
		text-indent: 10px;
		font: 16px bold;
		color: black;
		background: #fff;
		margin: 0;
		padding: 5px;
		text-align: left;
		border-bottom: 3px solid black;
		border-left: 0px;
		border-right: 0px;
		border-top: 0px;
		padding-right: 10px;
		padding-bottom: 10px;
	}
	.footerForm {
		display: none;
	}
	#bodyForm {
		background-color: gray;
		margin: 0;
	}
	/* alternated colored text blocks : */
	#bodyForm .a {
		margin: 3px;
		background: #fff
	}
	#bodyForm .b {
		margin: 3px;
		background: #f5f5f5;
	}
	body,p,td,th,ul,a {
		background-color: #fff;
		color: #000;
		font-family: 'Trebuchet MS', Verdana, Arial, sans-serif;
	}
	#waiting {
		display: none;
	}
}