@media print
{
  @page { size: landscape; margin: 2.5cm; }
}

h4 { font-size: 12pt; }
h3 { font-size: 14pt; }
h2 { font-size: 16pt; }
h1 { font-size: 20pt; }

body, table.budget td, td.darknum, td.editnum, td.editnum-l
{
  background-color: white;
  font-size: 8pt;
  font-family: Helvetica, sans-serif;
}

td.darknum, td.editnum, input.wagenum
{
	text-align: right;
}

table
{
  border-width: 2px 1px 1px 2px;
  border-color: black;
  border-style: solid;
}

table.blank, table.blank td, table.blank th, table.prjheader, table.prjheader td
{
  border: none;
}

table.budget
{
  border-width: 0px;
  font-size: 8pt;
}

table.budget th
{
  font-size: 8pt;
}

td, th
{
  border-width: 0px 1px 1px 0px;
  border-color: black;
  border-style: solid;
  font-size: 8pt;
}

td.first { border-top: 1px solid black; }

.wageinfo { font-size:10px; }

.pgbreak
{
	visibility: hidden;
	page-break-before: always;
	margin-top: 5pt;
}

#pageno
{
  position: fixed; width: 5cm; text-align: center; background-color: red;
}

.icon
{
  border: 0px;
  color: none;
  text-decoration: none;
}

td.fld
{
  font-weight: bold;
}

td.darker, th.darker
{
  background-color: #DDDDDD;
  border-top: 1px solid black;
}

acronym
{
  cursor: help;
}

td.cost,td.obj,td.part { border-left: 2px solid black; }

td.amaryl, td.amar-prj, td.amar-obj, td.amar-part, td.amar-num, td.pkgitem-amaryl
{
  background-color: yellow;
  color: #FF8000;
  font-weight: bold;
  text-align: right;
  vertical-align:top;
}

td.amar-prj { color: green; }
td.amar-obj { color: maroon; }
td.amar-part { color: navy; }
td.amar-num { color: black; }

td.obj, td.obj-sum, td.cost, td.cost-sum
{
  color: maroon;
}

td.obj, td.cost
{
  border-bottom: none;
  border-right: none;
}

td.obj-sum, td.cost-sum
{
  text-align: right;
  border-bottom: none;
}

td.part, td.part-sum
{
  color: navy;
}

td.cost, td.cost-sum
{
  color: green;
}

td.part-sum, td.num, td.pkgitem-num
{
  text-align: right;
}

td.part, td.actions
{
  border-right: none;
}

.minieur {color:#777;font-weight:normal;font-size:8pt;}


td.obj span.tinytext, td.obj-sum span.tinytext
{
	font-weight: normal;
	font-size: 8pt;
	color: maroon;
}

td.cost span.tinytext, td.cost-sum span.tinytext
{
	font-weight: normal;
	font-size: 8pt;
	color: green;
}

td.title
{
}

td.unit, td.pkgitem-unit
{
  font-weight: normal;
  text-align: center;
}

td.nobottom
{
  border-bottom: none;
}


.note
{
	border: 2px solid black;
	background-color: white;
	margin-bottom: 2ex;
	font-size: 8pt;
}

.noteheader
{
  margin: 3px 3px 2ex 3px;
  border: 1px solid black;
  border-width: 0px 0px 1px 0px;
  background-color: white;
  padding: 3pt;
	font-size: 8pt;
}

.noteheader strong
{
  font-size: 8pt;
  font-weight: bold;
}

span.expr, span.nonexpr
{
  font-family: monospace;
  font-size: 8pt;
  margin-left: 2em;
  font-weight: bold;
}

span.nonexpr
{
	color: blue;
  font-style: italic;
  font-weight: normal;
}

input
{
  border: none;
  font-size: 8pt;
}

table.prjheader
{
	margin-bottom: 10pt;
	border-bottom: 2px solid black;
}

table.budget td.pkgitem, table.budget td.pkgitem-unit, table.budget td.pkgitem-num,
table.budget td.pkgitem-amaryl, table.budget td.pkgitem span.popup,
{
	background-color: white;
	font-size: 8pt;
	color: black;
}

table.budget td.obj, table.budget td.part, table.budget td.actions, table.budget td.part-sum,
table.budget td.obj-sum, table.budget td.cost, table.budget td.cost-sum
{
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  font-family: Helvetica, Arial, sans-serif;
}

table.budget td.part-sum,
table.budget td.obj-sum, table.budget td.cost-sum
{
  text-align: right;
}


/***** Cover page *****/

.cover { width: 19cm; height: 25cm; }
.cover td { font-size: 10pt; }
.cover td.catg, cover td.side { font-size: 10pt; width: 30%; vertical-align: top;}
.cover td.catg { font-weight: bold;  }
.cover td.catgval { font-weight: normal; font-size: 10pt; }
.cover p.header { font-size: 16pt; font-weight: bold; text-align: center; }
.cover p.firms { font-weight: bold; font-size: 10pt; }
.cover hr { height: 1pt; color: black; }
.cover td.fn-r, .cover td.fn-c, .cover td.fn-l { font-size: 8pt; width: 33%; vertical-align: bottom; }
.cover td.fn-r { text-align: right; }
.cover td.fn-c { text-align: center; }
.cover td.fn-l { text-align: left; }