dl { display:inline-block; position:relative; }
.dozenal { padding-left:1.5em; }
.equals { position:absolute; left:.25em; }

#dec, #decimal, #inc { height:1.75em; border:1px solid #888; background-color:#fff; color:#333; }
#dec, #inc { width:1.5em; }
#inc { right:1px; border-left:none;
 border-radius:0 .875em .875em 0; -moz-border-radius:0 .875em .875em 0; -webkit-border-radius:0 .875em .875em 0; }
#decimal { padding:0 .375em; line-height:1.75em;
 box-shadow:inset 1px 2px 4px #ddd; -moz-box-shadow:inset 1px 2px 4px #ddd; -webkit-box-shadow:inset 1px 2px 4px #ddd;
}
#dec { left:1px; border-right:none;
 border-radius:.875em 0 0 .875em; -moz-border-radius:.875em 0 0 .875em; -webkit-border-radius:.875em 0 0 .875em; }

#dozenal { line-height:24px; }
.calculator, .calculator div, .calculator span { background:#fff url('images/box.jpg') repeat-x scroll 0 0; height:24px; }
.calculator { display:inline-block; padding-left:12px; }
.calculator div { padding-right:12px; background-position:right -48px; }
.calculator span { display:block; background-position:0 -24px; width:138px; line-height:24px; }
.calculator input { font-size:16px; border:none; width:128px; background-color:transparent; color:#555;
 padding-left:12px; position:relative; left:-12px; }

table { border-collapse:collapse; margin:0; }
caption { caption-side:bottom; text-align:left; }
th, td { width:2em; height:2em; text-align:center; vertical-align:middle; }
th { font-weight:normal; }

table.number td { text-align:left; }

.number { font-family:Verdana,sans-serif; }
.number i { font-style:normal; border-bottom:2px solid #e00; color:#e00; }
.number b { font-weight:normal; color:#093; }
.number em { font-style:normal; font-weight:normal; color:#000; }

table.chart { display:inline-block; margin:.75em 1.5em .75em 0; }
table.chart caption { caption-side:bottom; text-align:center; }
table.chart th { opacity:.25; }

div.addition { display:inline-block; position:relative; }
div.addition span.number { display:block; width:4em; text-align:right; }
div.addition span.operator { position:absolute; left:1em; }
div.addition { border-bottom:1px solid black; }

.minor { opacity:.25; }

p.summary { font-style:italic; }