@charset "iso-8859-1";

/*
 * kangguru2.css - secondary style sheet for kangguru.org
 *
 * this style sheet is for 'new-scheme' only rules
 * it is always transcluded after the original one
 * and appears only in .html files that have been revisited
 *
 * this is only used for rules that will break old code
 * if possible, a new rule should be in the main style sheet, not here
 *
 */

/*
 * automagic borders on images in content region;
 * override locally where inappropriate (class="i0")
 *
 */
table#tblContent img
{
 border-width: 1px 2px 2px 1px;    /* t r b l */
 border-top-style: solid;
 border-left-style: solid;
/* only looks good on very light backgrounds */
 border-bottom-style: groove;
 border-right-style: groove;
 border-color: #666;
}

/*
 * better look for paragraphs
 *
 * here primarily because some pages may have
 * body-text outside of paragraph elements;
 * this would introduce significant variations.
 * also often interferes with deprecated centering.
 *
 * line-height crunches p-elements w/embedded spans that format them into psuedo-'headers'
 */
p
{
 margin: .5em 0 .6em 0;
 line-height: 1.3em;
 text-align: justify;

/*
 * add padding-on-right to deal with
 * IE clipping italic text in tables w/cellspacing="0" cellpadding="0"
 * padding-on-left is just to keep things balanced
 *
 */
 padding-right: 3px;
 padding-left: 3px;
}
/* Houston, we have an exception */
li p
{
 margin-top: .2em;     /* while we're tweakin' */
 padding-right: 0;
 padding-left: 0;
}

h1, h2, h3, h4, h5, h6
{
/*
 * pro; makes headers consistent w/p-elements and lists in tblLayout cells
 * (which center by default - useful for images and blocks of links)
 * con: rqrs explicit center in headers when desired
 *
 */
 text-align: left;
}
ol,ul
{
/*
 text-align: justify;
 */
 text-align: left;
}

h1, h2, h3, h4, h5, h6
{
/*
 * add padding-on-right to deal with
 * IE clipping italic text in tables w/cellspacing="0" cellpadding="0"
 * padding-on-left is just to keep things balanced
 *
 */
 padding-right: 3px;
 padding-left: 3px;
}
/* may have to do a bunch! */
table.tblBasic
{
/*
 * add padding-on-right to deal with
 * IE clipping italic text in tables w/cellspacing="0" cellpadding="0"
 * padding-on-left keeps things balanced, and also *aligned* with block-level elements done above!
 */
/*
 padding-right: 3px;
 padding-left: 3px !important;
 IE6 is not on the same page again... likely have to do right, too... */
 margin-right: 3px !important;
 margin-left: 3px !important;
}
/* for larger pieces...
table#tblContent p.pCite.noindent,
table#tblContent div.divCite.noindent - invalid but 'works'
table#tblContent div[class~=divCite][class~=noindent],
table#tblContent div[class~=divCite][class~=noindent] - IE6 dumb */
table#tblContent p.noindent,
table#tblContent div.noindent
{
 padding-left: 3px !important;
 padding-right: 3px !important;
}

/*
 * not working in all contexts
 *
 * misses case where parent uses text-align: center; instead of class .center ...
 *
 */
.center h1, .center h2, .center h3, .center h4, .center h5, .center h6, 
.center p
{
 text-align: center !important;
}

/* this may not work on dumb browsers...
 * as expected, IE6 doesn't get it
 */
/* out for rendering consistency
div[align="center"]
{
 text-align: center !important;
}
div[align="center"] p
{
 text-align: center !important;
}
p[align="center"]
{
 text-align: center !important;
}
 */

/* poorly supported - misusing cite-element instead */

/* Specify pairs of quotes for two levels */
/* quotes: '"' '"' "'" "'";
q
{
 quotes: none;
}
 */
/* insert quotes before and after q-element content
q:before
{
 content: open-quote;
}
q:after
{
 content: close-quote;
}
 */

/* could use q-element wo/generated quotes - since IE6 doesn't anyway
   risky

   <p>
    John said, <q>"I saw Lucy at lunch, she told me <q>'Mary wants you to get some
      ice cream on your way home.'</q> I think I will get some at Ben and Jerry's,
     on Gloucester Road."</q>
   </p>
 */

/*
 * *extremely* problematic
 * bold/strong as euphemism for goosing color
 *
 * effect on existing code-base is massive!
 *
 */
p b,
p strong
{
/* font-weight: normal; restore if global-bold ever removed
 color: #c00; */
/*
 * this will have heavy impact on pages that have just been upgraded to include kangguru2.css!!!
 *
 */
}
