/* -------------------------------------------------------------- 
   
   typography.css
   * Sets up some sensible default typography.
   
-------------------------------------------------------------- */

/* Default font settings. */
	 
#UbcContent             { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; color: #333; }

/* Headings
-------------------------------------------------------------- */

#UbcContent h1, #UbcContent h2, #UbcContent h3, #UbcContent h4, #UbcContent h5,
#UbcContent h6                        { font-weight:normal; color: #333; }
#UbcContent h1                        { text-shadow: 0px 1px #ccc;  }
#UbcContent h1 a                      { color:#333; }
#UbcContent h1 a:hover                { text-decoration:none; }
#UbcContent h1 a, 
#UbcContent h2 a, 
#UbcContent h3 a, 
#UbcContent h4 a, 
#UbcContent h5 a,
#UbcContent h6 a                      { text-decoration:none; }
#UbcContent h1, #UbcContent .h1       { font-size: 2.5em; line-height: 1.3; margin-bottom: 0.5em; }
#UbcContent h2, #UbcContent .h2       { font-size: 2.0em; margin-bottom: 0.75em; line-height:1.0em;}
/*#UbcContent h1, #UbcContent .h1     { font-size: 2.1em; line-height: 1.3; margin-bottom: 0.5em; }
#UbcContent h2, #UbcContent .h2       { font-size: 1.7em; margin-bottom: 0.75em;} */
#UbcContent h3, #UbcContent .h3       { font-size: 1.5em; line-height: 1; margin-bottom: 0.8em; }
#UbcContent h4, #UbcContent .h4       { font-size: 1.3em; font-weight:bold; line-height: 1; margin-bottom: 1em; }
#UbcContent h5, #UbcContent .h5       { font-size: 1.2em; font-weight:bold; margin-bottom: 0.8em; }
#UbcContent h6, #UbcContent .h6       { font-size: 1.1em; font-weight:bold; margin-bottom: 0.5em;}
                                               
#UbcContent h1 img,
#UbcContent h2 img,
#UbcContent h3 img,
#UbcContent h4 img,
#UbcContent h5 img,
#UbcContent h6 img                  { margin: 0; }


/* Text elements
-------------------------------------------------------------- */

p                       { margin: 1.5em 0; line-height:1.5em; }
p img.left              { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
p img.right             { float: right; margin: 1.5em 0 1.5em 1.5em; }

a                       { text-decoration: none; color: #009; }
a:hover                 { text-decoration: underline; }

#UbcContent blockquote              { margin: 1.5em; }
#UbcContent strong                  { font-weight: bold; }
#UbcContent em,
#UbcContent dfn { font-style: italic; }
#UbcContent dfn { font-style: bold; }
#UbcContent sup, 
#UbcContent sub                     { line-height: 0; }

#UbcContent abbr, 
#UbcContent acronym                 { border-bottom: 1px dotted #666; }
#UbcContent address                 { margin: 0 0 1.5em; font-style: italic; }
#UbcContent del                     { color:#666; }

#UbcContent pre                     { margin: 1.5em 0; white-space: pre; }
#UbcContent pre,
#UbcContent code,
#UbcContent tt                      { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }

#UbcContent hr                      { height: 1px; border: none; background-color:#ccc; margin: 1.5em 0;}

/* Lists
-------------------------------------------------------------- */

#UbcContent li ul, 
#UbcContent li ol       { margin: 0 1.5em; }
#UbcContent ul, ol      { margin: 0 1.5em 1.5em 1.5em; line-height: 1.5;}
#UbcContent .message li	{ margin-left: 1.5em; }

#UbcContent ul          { list-style-type: square; }
#UbcContent ol          { list-style-type: decimal; }

#UbcContent dl                      { margin: 0 0 1.5em 0; }
#UbcContent dl dt                   { font-weight: bold;  margin: 0 6px 6px 0; }
#UbcContent dd                      { margin-left: 20px; }

/* Tables
-------------------------------------------------------------- */

table                   { }
th                      { font-weight: bold; }
thead th                { background: #c3d9ff; }
th, 
td, 
caption                 { padding: 0px 5px;}
tr.even td              { background: #e5ecf9; }
tfoot                   { font-style: italic; }
caption                 { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

/*#UbcContent .small    { font-size: .8em; line-height: 1.275em; }*/
#UbcContent .small      { font-size: 75%; line-height: 1.275em; }
/*#UbcContent .large    { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }*/
#UbcContent .hide       { display: none; }

#UbcContent .quiet      { color: #777; }
#UbcContent .message    { padding: 15px; background:#eee; border: 1px solid #ccc; }
#UbcContent .note				{ background:#ffb; border: 1px solid #bb9; }
#UbcContent .tip        { background:#bfb; border: 1px solid #9b9; }
#UbcContent .warning    { background:#fbb; border: 1px solid #b99; }

#UbcContent .center     { text-align:center; }


/* CLF Migration Fixes from Old CLF
-------------------------------------------------------------- */

/* Code below for fixing the various deviations of last modified dates (removed #LibraryContent div font i 9-Aug-12) */
#LibraryContent div i font                      { font-size:60%; font-style:normal; color:#ccc; margin: 3px;} /* Last modified non-semantic hook */
                                               
#UbcContent div font[size="-2"] i ,
#UbcContent div i font[size="-2"]               { text-align:right; display:block; } /* Fail safe for browsers that can interpret attribute selectors */

#UbcContent td[align="right"] font[size="-2"] i,
#UbcContent td[align="right"] font[size="-2"],
#UbcContent td[align="right"] i font[size="-2"] { font-size:60%; font-style:normal; color:#ccc; margin: 3px; text-align:right; } /* accomodate toby deviation */
