h1.pageName { text-align: center; }
h2.pageSubHeader { text-align: center; }

.clear:after { clear: both; height: 0; line-height: 0; content: "."; visibility: none; display: block; }

#calculator { margin: 0px 30px; }
#input div { clear: both; }
#input div label { display: block; width: 8em; float: left; text-align: right; padding: 0 1em; }

#dosages { table-cell-spacing: 0px; margin: 10px; width: 100%; }
#dosages td { border-bottom: 1px solid #666; padding: 2px 10px; }
#dosages .strength { color: #666; font-size: 80%; padding: 0px; margin: 0px; }

#print { text-align: center; }
#print a { font-size: 150%; }

#footer {  background-color: #006685; color: #fff; font-size: 80%; padding: 5px; text-align: center; margin-top: 20em;}
#footer a { color: #99cc66; }
@media screen {
  .printonly { display: none; }

}
#products { table-cell-spacing: 0px; }
#products td { border-bottom: 1px solid #444; }

p { clear: both; }
@media print {	
  h1, h2, p  { text-align: center; }
  h3 { margin: 0px; }
  #dosages p { text-align: left; }
  #input input,#input select { font-weight: bold;≈width: auto; font-family: inherit; font-size: 100%; border: 0px; }
  #input div { float: left; clear: none; }
  #input div label { display: inline; width: auto; }
  #input .submit { display: none ; }
  #dosages { clear: left; }
  .noprint { display: none; }
  #footer { display: none; }
  #printdate span { border-left: 1px solid #444; }
}

#input .submit { text-align: center; }
.submit input { font-size: 120%; font-weight: bold; border: 1px solid #930; color: 1px solid #930 }
#dosages strong { color: #930; }


#dosages td { color: #000; }
span.age { white-space: nowrap; }
.delete { white-space: nowrap; }