/* -------------------------------------------------------------- 

   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. 
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
html { font-size:100.01%; }


/* Headings
-------------------------------------------------------------- */


#content h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
#content h2 { font-size: 2em; margin-bottom: 0.75em; }
#content h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
#content h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
#content h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
#content h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img, 
h4 img, h5 img, h6 img {
  margin: 0;
}


/* Text elements
-------------------------------------------------------------- */

#content p           { margin: 0 0 1.5em; }
#content p img.left  { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
#content p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }


#content blockquote  { margin: 1.5em; color: #666; font-style: italic; }
#content strong      { font-weight: bold; }
#content em,#content dfn      { font-style: italic; }
#content dfn         { font-weight: bold; }
#content sup,#content  sub    { line-height: 0; }

#content abbr, 
#content acronym     { border-bottom: 1px dotted #666; }
#content address     { margin: 0 0 1.5em; font-style: italic; }
#content del         { color:#666; }

#content pre 				{ margin: 1.5em 0; white-space: pre; }
#content pre,#content code,#content tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }


/* Lists
-------------------------------------------------------------- */

#content li ul,
#content li ol       { margin: 0; }
#content ul,#content  ol      { margin: 0 1.5em 1.5em 0; padding-left: 3.333em; }

#content ul          { list-style-type: disc; }
#content ol          { list-style-type: decimal; }

#content dl          { margin: 0 0 1.5em 0; }
#content dl dt       { font-weight: bold; }
#content dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

#content table       { margin-bottom: 1.4em; width:100%; }
#content th          { font-weight: bold; }
#content thead th 		{ background: #c3d9ff; }
#content th,#content td,#content caption { padding: 4px 10px 4px 5px; }
#content tr.even td  { background: #e5ecf9; }
#content tfoot       { font-style: italic; }
#content caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

#content .small      { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
#content .large      { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
#content .hide       { display: none; }

#content .quiet      { color: #666; }
#content .loud       { color: #000; }
#content .highlight  { background:#ff0; }
#content .added      { background:#060; color: #fff; }
#content .removed    { background:#900; color: #fff; }

#content .first      { margin-left:0; padding-left:0; }
#content .last       { margin-right:0; padding-right:0; }
#content .top        { margin-top:0; padding-top:0; }
#content .bottom     { margin-bottom:0; padding-bottom:0; }
