/**
 * Calculator (Myriad Page)
 */

#calculators H2 {
  color: #8ca2a2;
  margin-top: -4px;
}

#calculators .overview {
  background: url('../images/bgs/calculators/overview.jpg') left bottom no-repeat;
  padding: 0px 20px 10px 20px;
}

#calculators .overview .teaser {
  background: url('../images/icons/calculator.gif') left center no-repeat;
  color: #cc3300;
  font-weight: bold;
  margin: 16px 0px;
  padding-left: 26px;
}

#calculators .overview .content {
  width: 430px;
}

#calculators .column {
  float: left;
  width: 355px;
  background: url('../images/bgs/calculators/column.jpg') 0px 33px no-repeat;
}

#calculators .column .item {
  border-bottom: 1px solid #e4e1d4;
  padding: 10px 10px 10px 20px;
}

#calculators .column .item A.help {
  float: right;
}

#calculators .column .item A.link {
  position: relative;
  left: -10px;
  background: url('../images/bgs/calculators/arrow.gif') left center no-repeat;
  color: #cc3300;
  font-weight: bold;
  line-height: 16px;
  padding-left: 10px;
  text-decoration: none;
}

#calculators .column .item A.calculator {
  background: url('../images/bgs/calculators/calculator.gif') left center no-repeat;
  padding-left: 12px;
}

#calculators .column .item .calculator-description {
  padding-right: 36px;
}


/**
 * Calculator
 */

td {
  padding: 0;
  vertical-align: top;
  font-size: 11px;
}

td.content {
  padding: 20px 25px;
  padding-top: 5px;
  color: #333;
}

td.content div.right {
  padding: 0px 0px;
  padding-top: 5px;
  color: #333;
  text-align: right;
}

td.content a {
  color: #333;
}

td.content div.right a {
  color: #F65D00;
  text-decoration: none;
}

div.hr {
  background: url(../images/aux06.gif) left center repeat;
  height: 1px;
  overflow: hidden;
  margin: 15px 0;
}


/* Headers for the three tables: input table, results table and schedule table. */

div.table-caption {
  text-align: left;
  color: white;
  background: #999;
  font-size: 15px;
  font-weight: bold;
  padding: 6px 10px;
  margin-top: 15px;
}

div.inputinfo {
  background: #285050;
}

div.analysis {
  background: #cc3300;
}

div.analysis A {
  font-size: 12px;
  color: #ffffff;
  padding: 0px 4px; 
}

div.schedule {
  background: #878787;
}


/* Input table */

table.calc {
  background: #f7f6f0;
  width: 100%;
  margin-bottom: 15px;
  border-bottom: 1px #e4e1d4 solid;
}

/* Each td in input table */
table.calc td {
  padding: 6px 12px;
  border-bottom: 1px white solid;
}

/* Each td with width of 25% */
table.calc td.td25 {
  padding: 6px 10px;
  text-align: left;
  border-right: 1px #f7f6f0 solid;
  border-bottom: 1px white solid;
  width: 25%;
}

table.calc td.lefttext {
  text-align: left;
}

table.calc td.righttext {
  padding: 6px 0px;
  text-align: right;
}

/* Last td in the row. Must reflect right and bottom borders */
table.calc td.last {
  text-align: left;
  border-bottom: 1px white solid;
  border-right: 1px #e4e1d4 solid;
}

/* First td in the row. Must reflect left border */
table.calc td.first {
  text-align: right;
  padding-top: 7px;
  padding-right: 0;
  border-left: 1px #e4e1d4 solid;
  border-right: none;  
}

table.calc td.td50 {
  width: 49%;
}

table.calc td.chapter {
  text-align: center;
  background: #f7f6f0;
  padding-top: 7px;
  padding-right: 0;
  font-weight: bolder;

  border-left: 1px #e4e1d4 solid;
  border-right: 1px #e4e1d4 solid;
}

table.calc td.chapter25 {
  text-align: center;
  background: #f7f6f0;
  padding-top: 7px;
  padding-right: 0;
  font-weight: bolder;
  width: 25%;
}

table.calc td.chapter50 {
  text-align: center;
  background: #f7f6f0;
  padding-top: 7px;
  padding-right: 0;
  font-weight: bolder;
  width: 50%;
}


/* Text fields */
table.calc input.text {
  font-size: 10px;  
}

/* Radio-buttons */
table.calc select {
  width: 40px;
  font-size: 10px;
}

/* Radio-button labels */
table.calc span.radio input {
  position: relative;
  top: 3px;
  width: 12px;
}

table.calc span.radio input.second {
  margin-left: 8px;
}

/* Submit button cell */
table.calc td.button {
  border-left: 1px #e4e1d4 solid;
  border-right: 1px #e4e1d4 solid;
  border-bottom: none;
  text-align: center;
}

/* Submit button style */
table.calc td.button input {
  width: 100px;
  font-size: 11px;
}


/* Analysis result table */
table.results {
  background: #f7f6f0;
  width: 100%;
  margin-bottom: 15px;
  border-bottom: 1px #e4e1d4 solid;
}

/* Total row. Must diffs from the regular row. */
table.results tr.total {
  font-weight: bold;
}

/* Results cell */
table.results td {
  padding: 8px 10px;
  border-bottom: 1px white solid;
  width: 50%;
  border-right: 1px white solid;
}

/* Result cell with 25% width */
table.results td.td25 {
  padding: 8px 10px;
  border-bottom: 1px white solid;
  width: 25%;
  text-align: center;
  border-right: 1px white solid;
}

/* Last cell in the result row. Must reflect the right border. */
table.results td.last {
  padding: 8px 10px;
  border-bottom: 1px white solid;
  border-right: 1px #e4e1d4 solid;
}

/* Last row in the result table. Must not display bottom border, since it is already defined in the table's class. */
table.results tr.last td {
  border-bottom: none;
}

/* First cell in the results table. Must reflect left border. */
table.results td.first {
  border-right: 1px #ffffff solid;
  border-left: 1px #e4e1d4 solid;
}

table.results td.only {
  border-right: 1px #e4e1d4 solid;
  border-left: 1px #e4e1d4 solid;
}


/* Schedule table */
table.schedule {
  width: 100%;
  color: #333;
  font-size: 10px;
}

/* Header of the schedule table */
table.schedule th {
  text-align: right;
  background: #BABABA;
  border-left: 1px white solid;
  padding: 2px 5px 3px 8px;
}

table.schedule th.first {
  border-left: none;
}

/* Cell of te schedule table */
table.schedule td {
  background: #f7f6f0;
  border-bottom: 1px white solid;
  border-left: 1px white solid; 
  text-align: right;
  padding: 2px 5px 3px 8px;
  font-size: 10px;  
}

table.schedule tr.last td {
  border-bottom: 1px #e4e1d4 solid;  
}

table.schedule td.first {
  border-left: 1px #e4e1d4 solid;
  text-align: right;
}

table.schedule td.last {
  border-right: 1px #e4e1d4 solid;  
}

/* Subtotal cells. Must differs from the regular cells. */
table.schedule td.subtotal {
  text-align: right;
  font-weight: bolder;
  vertical-align: bottom;
}

/* Total cells. Must differs from the regular cells. */
table.schedule td.total {
  text-align: right;
  font-weight: bolder;
}
