/**
 *  Styles for the on-line grant application.
 */

button, input, select, textarea {
  border: solid #666 1px;
}

dd, dt, li {
  margin-bottom: 0.5em;
}

dd {
  margin-left: 1.5em;
}

h3.landing {
  width: 100%;
  background-color: #7F7F7F;
  color: white;
}

h3.landing a { color: white; }

ol, ul {
  margin-left: 0;
  padding-left: 30px;
}

ol li ol li {
  font-size: 0.9em;
}

table.box {
  margin-top: 1em;
}

table.line_item {
  width: 100%;
}

table.line_item tr {
  vertical-align: top;
}

td.line_item_amt {
  text-align: right;
  white-space: nowrap;
}

td.line_item_desc {
  border: solid #666 1px;
}

input.line_item_amount {
  padding-right: 2px;
  text-align: right;
}

input.total {
  padding-right: 2px;
  text-align: right;
  background-color: #FF6;
  color: black;
}

tr.evenrow {
  background-color: #EDEDED;
}

tr.chklstitem {
  vertical-align: top;
}

.continue_app {
  margin-left: 1em;
  border: solid #9CC 1px;
  padding: 0.5em;
  background-color: #CCE5E5;
}

.edit_section {
  margin-left: 1em;
  padding-left: 0.5em;
}

table.ledger {
  width: 100%;
  border-collapse: collapse;
}

table.ledger th {
  width: 20%;
}

table.ledger th, table.ledger td {
  font-size: 0.85em;
}

table.ledger td.line_item_amt {
  border: solid #666 1px;
}

tr.row_label td {
  border-top: solid #666 1px;
  font-family: Verdana, Arial, sans-serif;
  font-size: 0.7em;
}

tr.row_data td {
  padding: 0.25em 1em 0.25em 1em;
}

tr.total_row td{
  font-weight: bold;
}

tr.total_row td input {
  font-weight: bold;
}

td.datacell {
  border: solid #666 1px;
  padding: 0 2px 0 2px;
}

td.checkmark {
  width: 1.5em;
  text-align: center;
  text-decoration: underline;
}

#content {
  border-top: solid #B2B2B2 1px;
}

#dump_spacer {
  height: 2em;
}

#footer {
  margin-top: 9pt;
  border-top: solid #B2B2B2 1pt;
}

#footer.preview {
  text-align: right;
}

/* P R E V I E W ================================================== */

div.preview {
  margin: 0 auto;
  width: 7.5in;
  font-size: 10pt;
  line-height: 12pt;
  font-family: Arial, sans-serif;
  color: black;
}

#preview_logo {
	height: 42pt;
	padding-left: 0.5em;
}

#preview_nav {
  position: absolute;
  top: 0;
  width: 750px;
  text-align: right;
}

#content.preview {
  border-top: solid black 1pt;
  min-height: 682pt;
}

div.preview h2 {
  margin: 3pt 0;
  font-size: 16pt;
  line-height: 19pt;
}

div.preview h3 {
  margin: 6pt 0 3pt 0;
  font-size: 12pt;
  line-height: 14pt;
}

table.preview {
  margin-bottom: 6pt;
  border-collapse: collapse;
  border: solid #666 1px;
  width: 100%;
}

table.preview td {
  border-right: solid #666 1px;
  vertical-align: top;
  overflow: hidden;
}

table.preview tr.row_label td {
  border-top: solid black 1pt;
  font-size: 8pt;
  line-height: 9pt;
}

table.preview tr.row_data td {
  padding-top: 3pt;
  padding-bottom: 3pt;
  height: 17pt;
  font-size: 10pt;
  line-height: 12pt;
}

.one_line {
  height: 12pt;
}

.two_lines {
  height: 24pt;
}

.three_lines {
  height: 36pt;
}

/* Section E narrative */
table.preview #narrative {
  height: 624pt;
}

/* rev and exp page tables */
#preview td.line_item_desc {
  padding-left: 2pt;
}

#preview td.line_item_amt {
  border: solid #666 1pt;
  padding-right: 2pt;
  width: 62pt;
  vertical-align: bottom;
}

/* P R I N T   R U L E S ========================================== */

@media print {
  a:link, a:visited {
    color: black;
  }

  body {
    width: 7.5in;
    font-size: 10pt;
    line-height: 12pt;
    font-family: Arial, sans-serif;
    color: black;
  }

  input, select, option {
    font-size: 8pt;
  }

  table.line_item {
    border-collapse: collapse;
  }

  #dump_spacer {
    display: none;
  }

  #dump_div {
    display: none;
  }

  #narrative {
    font-size: 10pt;
  }

  #preview_nav {
    visibility: hidden;
  }

  #maincol {
    height: auto;
  }

  #scancol {
    height: auto;
  }
}