body, body.tree
{
  background-color: #C2C2FF;
  font-size: 10pt;
  font-family: Helvetica, Arial, sans-serif;
}

body.tree
{
  /*background-color: #CACACA;*/
  background: url(images/icons/stripes.jpg) repeat;
}

h4 { font-size: 12pt; }
h3 { font-size: 14pt; }
h2 { font-size: 16pt; }
h1 { font-size: 20pt; }

table
{
  border-width: 2px 1px 1px 2px;
  border-color: black;
  border-style: solid;
}

table.blank, table.blank td, table.blank th
{
  border: none;
}

.arr-dead
{
  font-weight: bold;
  font-size: 12pt;
  color: #FF88FF;
}

.arr-sked
{
  font-weight: bold;
  font-size: 12pt;
  color: black;
}

.cbox
{
  width: 50px;
  font-size: 10px;
  border: 1px solid black;
  clear:left;
}

.wageinfo { font-size:10px; color:#444; }

#calc input { width: 100%; }

td, th
{
  border-width: 0px 1px 1px 0px;
  border-color: black;
  border-style: solid;
  font-size: 10pt;
}

table.expl td
{
	font-size: 8pt;
}

table.expl td.num, table.expl td.total, table.expl td.darknum
{
	font-family: monospace;
	text-align: right;
}

table.expl td.total
{
  font-weight: bold;
}

table.bluetable, table.extbluetable, table.expl
{
  background-color: #DAEFFA;
}

table.bluetable td.mini { font-size: 10px; }

td.middark
{
  background-color: #CADFEA;
}

table.bluetable tr.training-missed td
{
  background-color: #FF8080;
}

table.extbluetable
{
  border-width: 2px 2px 1px 2px;
}

.note
{
	border: 1px solid black;
	background-color: silver;
	margin-bottom: 2ex;
}

.noteheader
{
  margin: 3px 3px 2ex 3px;
  border: 1px solid black;
  background-color: white;
  padding: 3pt;
}

table.bluetable input.reqd
{
  background-color: #FFFF80;
}

.icon
{
  border: 0px;
  color: none;
  text-decoration: none;
}

td.fld
{
  font-weight: bold;
}

td.highlight
{
  font-weight: bold;
  color: red;
}

td.darker, th.darker, td.darknum
{
  background-color: #9AAFBA;
}

th.sorted { background-color:#0d8; }

td.middark, th.middark, td.middark-r, table.resv td.middark
{
  background-color: #9AAFCB;
}

td.white, th.white, td.white-r, table.bluetable td.white
{
  background-color: white;
}

table.expl td.darknum
{
  font-weight: bold;
}

table.extbluetable td
{
  border-bottom: none;
  border-right: 1px dotted #444444;
}

table.extbluetable td.last
{
  border-right: 1px solid black;
}

table.extbluetable td.ctcdetail
{
  font-size: 8pt;
  font-weight: normal;
  color: navy;
  border-top: 1px dotted black;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
}

td.ctcdetail strong
{
  color: maroon;
  font-size: 8pt;
  font-weight: bold;
}

td.ctcdetail em
{
  color: red;
  font-size: 8pt;
  font-weight: normal;
  font-style: normal;
}

th.abitdark
{
  background-color: #BCC2DC;
}

acronym
{
  border-bottom: 1px dotted blue;
  cursor: help;
}

table.budget
{
  background-color: #DAEFFA;
  vertical-align: top;
}

td.obj, td.part, td.actions, td.part-sum, td.obj-sum, td.cost, td.cost-sum
{
  margin-bottom: 0pt;
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  font-family: Helvetica, Arial, sans-serif;
}

td.amaryl, td.amar-prj, td.amar-obj, td.amar-part, td.amar-num, td.pkgitem-amaryl
{
  background-color: yellow;
  font-weight: bold;
  text-align: right;
  vertical-align:top;
}

td.amaryl { color: #FF8000; }
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, table.expl td.obj
{
  color: maroon;
  padding-top: 1ex;
}

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.actions
{
  border-right: none;
}

td.part, td.part-sum, table.expl td.part
{
  color: navy;
}

table.expl td
{
  border-right: 1px solid black;
}

td.cost, td.cost-sum, table.expl td.prj
{
  color: green;
}


td.part-sum, td.num, td.darknum, td.pkgitem-num
{
  text-align: right;
}

td.unit, td.pkgitem-unit
{
  font-weight: normal;
  text-align: center;
}

td.nobottom
{
  border-bottom: none;
}

table.bluetable tr.odd td { background-color:#fff; }
table.bluetable tr.even td { background-color:#f1f1ff; }
table.bluetable tr.partner td { background-color:#bee; }
table.bluetable td.white { background-color:#fff; }

.popup,.cpopup
{
  text-decoration: none;
  cursor: pointer;
}

.popup
{
  color: maroon;
}


span.popup:hover
{
  text-decoration: underline;
}

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;
}

.navbar
{
  background-color: #9AAFBA;
  border: 1px solid black;
  text-align: center;
  width: 90%;
  margin-top: 2ex;
  margin-bottom: 2ex;
  padding: 3pt;
}

.navbar input
{
  text-align: center;
}

input.note
{
  color: blue;
}

input.full
{
  width:100%;
}

input.editnum, input.pkgitem-editnum, input.ltedit-l, input.ltedit-r, input.dwedit, input.ltedit-lb
{
	width: 100%;
	padding: none;
	border: none;
	margin: none;
	background-color: #BACFDA;
	text-align: right;
}

input.ltedit-l, input.ltedit-r, input.dwedit, input.ltedit-lb
{
	background-color: #CADFEA;
}

input.dwedit { width: 90%; text-align:left; color:#666666; font-style:italic; }
input.ltedit-lb { font-weight:bold; width:90%;}

input.wagenum, input.wagenum-l
{
  padding: none;
  border: none;
  margin: none;
  background-color: #CADFEA;
  text-align: right;
}

td.editnum, td.pkgitem-editnum, td.editnum-l, td.editnum-c
{
	padding: none;
	margin: none;
	background-color: #BACFDA;
	text-align: right;
}

td.editnum-c { text-align: center; }
td.editnum-l, input.wagenum-l, input.ltedit-l, input.ltedit-lb { text-align: left; }

td.pkgitem, td.pkgitem-unit, input.pkgitem-editnum, td.pkgitem-editnum, td.pkgitem span.popup,
td.pkgitem-num, td.pkgitem-amaryl
{
	/* background-color: #8A9FAA; */
	background-color: white;
	font-size: 8pt;
	/* font-style: italic; */
}

input.expr
{
}

ul.objs
{
  margin-bottom: 3ex;
}

ul.container
{
  list-style-type: none;
	margin-left: 0pt;
	padding-left: 1em;
	text-indent: -1em;
}

ul.container li { white-space: nowrap; }

.semiheader
{
  font-weight: bold;
  border: solid #DADADA;
  border-width: 0px 0px 1px 0px;
  margin-bottom: -3pt;
}

/* Tree stuff */

span.tree-catg, span.tree-catg-noclick, span.tree-item, span.tree-item-noclick,
span.tree-subitem, span.tree-subitem-noclick, span.tree-leaf, span.tree-budget
{
  text-decoration: none;
  color: maroon;
  cursor: pointer;
}

span.tree-catg, span.tree-catg-noclick
{
  font-weight: bold;
  font-size: 12pt;
  cursor: pointer;
  color: #BD0000;
}

span.tree-item, span.tree-item-noclick
{
  font-weight: bold;
  font-variant: normal;
  font-size: 10pt;
}

.minieur {color:#666;font-weight:normal;font-size:8pt;}

td.obj span.tinytext, td.obj-sum span.tinytext
{
	font-weight: normal;
	font-size: 10pt;
	color: maroon;
}

td.cost span.tinytext, td.cost-sum span.tinytext
{
	font-weight: normal;
	font-size: 10pt;
	color: green;
}

span.tree-subitem, span.tree-subitem-noclick
{
  font-weight: normal;
  font-variant: normal;
  font-size: 9pt;
  color: navy;
}

span.tree-item-noclick, span.tree-catg-noclick, span.tree-subitem-noclick
{
  cursor: auto;
}

span.tree-item:hover, span.tree-subitem:hover, span.tree-catg:hover, span.tree-leaf:hover, span.tree-budget:hover
{
  text-decoration: underline;
}

span.tree-leaf, span.tree-budget
{
  font-style: oblique;
  font-size: 8pt;
	//text-indent: -8px;
	color: #444444;
}

span.tree-budget,a.tree-budget { font-style:normal;font-weight:bold;color:#222;text-decoration:none; }
a.tree-budget:hover { text-decoration:underline; }

a.ext
{
  background: url(images/icons/external.png) center right no-repeat;
	padding-right: 13px;
}

a.sort,a.sort:visited,a.sort:hover
{
  color: #dde;
}

a.sort-asc,a.sort-desc,
a.sort-asc:visited,a.sort-desc:visited
a.sort-asc:hover,a.sort-desc:hover
{
  color: #fff;
}

a.sort-asc
{
  background: url(images/icons/asc.gif) center right no-repeat;
  padding-right: 17px;
}

a.sort-desc
{
  background: url(images/icons/desc.gif) center right no-repeat;
	padding-right: 17px;
}

a.invbox,a.dullbox,a.dsgbox,a.ctcbox { border:1px outset black; padding-left:3px;padding-right:3px;text-decoration:none;font-weight:bold;font-family:cambria,times new roman,serif;margin-right:3px; }
a.dullbox { background-color:#aaa; color:#ddd; }
a.invbox { background-color:#f44; color:#fff; }
a.dsgbox { background-color:#44f; color:#cff; }
a.ctcbox { background-color:#fbfb00; color:#0d0; }

span.tree-new
{
  text-decoration: none;
  color: blue;
  font-size: 10pt;
  cursor: pointer;
}

td.rtoper, td.ltoper, td.rtshaft, td.ltshaft, td.rtshaftend, td.ltshaftend
{
  border-bottom: none;
  background-color: #CCCCCC;
  width: 15px;
  text-align: center;
}

td.ltoper, td.ltshaft, td.ltshaftend
{
  border-right: none;
}

td.rtshaft, td.ltshaft
{
  background-image: url('images/icons/shaft.png');
  background-repeat: repeat-y;
  background-position: center center;
}

td.rtshaftend, td.ltshaftend
{
  background-image: url('images/icons/shaftend.png');
  background-repeat: no-repeat;
  background-position: center center;
}

.grayplate
{
  margin-top: 3ex;
  margin-bottom: 3ex;
  border: 1pt solid #6a6a6a;
  padding: 5pt;
  background: #e2e2e2 url(images/icons/grad.gif) repeat-x;
  width: 100%;
}

.errFrame
{
  border: 2px dotted red;
  width: 60%;
  margin-top: 2ex;
  margin-bottom: 2ex;
  padding: 5pt;
  font-size: 10pt;
  background-color: #FEFCF1;
}

table.wrapper, td.wrapper { border-width: 0px; }

table.sched
{
	border-width: 2px 1px 1px 1px;
}

table.sched td
{
	font-size: 7pt;
	border-width: 0px 1px 1px 0px;
	text-align: center;
	background-color: #FAFAFA;
	padding: 0px; margin: 0px;
}

table.sched td.first
{
	border-left: 1px solid black;
	text-align: left;
}

table.sched td.day, table.sched td.holiday, table.sched td.month, table.sched td.week
{
	border-bottom: none;
}

table.sched td.morn
{
	border-right: 1px solid #888888;
}

table.sched td.aft, table.sched td.morn, table.sched td.day, table.sched td.first
{
	background-color: #9AAFBA;
}

table.sched td.holiday, table.sched td.hslot
{
	background-color: #ff9999;
}

table.sched td.month
{
  background-color: #687D88;
}

table.sched td.week
{
  background-color: #788D98;
}

table.sched td.aft, table.sched td.morn
{
	background-color: #BACFDA;
}

table.sched td.sched
{
	background-color: #11AC11;
}

table.sched td.sched-1 { background-color: #8AEA8A; }
table.sched td.sched-2 { background-color: #EAEA8A; }
table.sched td.sched-3 { background-color: #8A8AEA; }

table.sched td.plan
{
	background-color: #888;
	font-style: italic;
}

table.sched td.coll
{
	background-color: #FE2103;
}

table.sched input
{
	border: 0px;
	background-color: red;
	margin-width: 0px;
}

table.sched td.dl,table.sched td.ndl,table.sched td.sdl
{
  border-right: 1px solid #DDDDDD;
}

table.sched td.sdl,table.sched td.sdl-r,table.sched td.dl,table.sched td.dl-r,table.sched td.ndl,table.sched td.ndl-r
{
  font-size:7pt;
  padding:0px;
  margin:0px;
  border-bottom: 1px solid #DDDDDD;
}

table.sched td.dl,table.sched td.dl-r
{
  background-color: #F0BFF0;
}

table.sched td.ndl,table.sched td.ndl-r
{
  background-color: #FDFDCA;
}

table.sched td.sdl,table.sched td.sdl-r
{
  background-color: #EE44EE;
}


/***** Cover page *****/

.cover { width: 19cm; height: 25cm; background-color: white; padding: 8pt 3pt; border: 1pt solid black; }
.cover td { font-size: 12pt; }
.cover td.catg { font-weight: bold; font-size: 14pt; }
.cover td.side { vertical-align: top; }
.cover td.catgval { font-weight: normal; font-size: 14pt; }
.cover p.header { font-size: 16pt; font-weight: bold; text-align: center; }
.cover p.firms { font-weight: bold; font-size: 12pt; }
.cover hr { height: 1pt; color: black; }
.cover td.fn-r, .cover td.fn-c, .cover td.fn-l { font-size: 8pt; width: 33%; }
.cover td.fn-r { text-align: right; }
.cover td.fn-c { text-align: center; }
.cover td.fn-l { text-align: left; }