/* CSS Document */

html, body {margin: 0; padding: 0; border: 0;}

body {
color:#012B4D;
background: #FFFFFF; 
font-family: Verdana, arial, helvetica, sans-serif; 
font-size: 90%; 
font-weight: normal;
text-align: center;
margin: 5px 0;
}

p, h2, h3, h4  {margin: 6px 0; padding: 0 6px;}

.container-right p,.container-left p {
color:#012B4D;
font-size:0.7em;
font-family:Verdana, Arial, Helvetica, sans-serif;
}

.center p, .center h3 {
margin:0 16px 0 16px;
}

h2 {
font-size: 1.4em; 
text-align: center; 
}

h3 {font-size: 1.2em;}

.clear { clear: both; }

a {text-decoration: underline; font-weight: bold; color: #000;}

.alignright {margin-top: 0; text-align: right; clear: both;}

.small {font-size: 75%;}

.wide {
background: #FFFFFF;    /* header and footer colours */
width: 100%; 
color:#782d7d;
text-align: center;
}

.wide p {margin: 0; padding: 5px; position: relative;}

.top {padding: 0; margin: 0; height:103px;}

.top a {position: absolute; right: 20px; text-align: right; font-weight: bold; font-size: .7em; color: #fff;}

.bottom {border-top: 1px solid #000; position: relative;}

.testfloat {width: 50px; border: 2px solid #f90; background: #ffd; font-size: .7em;}

.to-right {float: right;}

.to-left {float: left;}

.ap-test {
position: absolute; 
top: -102px; 
font-size: .6em; 
width: 158px; 
height: 100px; 
border-top: 1px solid #000; 
background: #5b5; 
color: yellow;
}


.ap-left {left: 0;}

.ap-right {right: 0;}


/*XXXXXXXXXXXXXXXXX Primary layout rules XXXXXXXXXXXXXXXX*/

/******************************************************************************** 
To adjust the side col widths, or the vertical col dividers, a certain set of values must be changed
all at the same time and by exact amounts or problems will result. Each of these group's member values
have been marked off with comments that start with "Critical...". For example, if the left col width needs
to be changed then all the values marked "Critical left col dimension value" MUST have their pixel values
altered by the same amount. Certain of these left col width values are marked "(moves inversly)", and 
these get changed by the same pixel amount but inversly to the other values. So if margin-left on .outer
is increased by 10px, then the width of .outer must decrease by 10px, and so on.

To change the width of the entire layout, .wrapper, .outer, .float-wrap, and .center all get changed together,
and only after that is it safe to change col or divider widths. Remember, even one small mistake will degrade or 
even break the layout, so be very careful! it's possible to "loosen" the layout so small errors aren't so messy,
but then it becomes hard to finely control text spacing. 

For spacing within the cols, it's best to apply margins on content elements inserted into the cols, 
because padding directly on those col elements will change their widths, breaking the layout. 

Certain hiding hacks have been used extensively in this layout, so here is a quick explaination of them.

The Tan hack:

* html .anyelement {rules read only by IE/Win and IE/Mac}

The Mac-hack:  (first the active comment you are reading now must be closed...) */

/* \*/

/* */

/*...Back in comment mode now. Anything between those two comment lines will be hidden from 
IE/Mac. Don't use any comments within this hack or it will close prematurely and IE/Mac will begin 
reading before it should.

The above two hacks are combined so as to feed rules only to IE/Win. Proper use of backslash escape 
characters inside property names used in the Holly hack can further segregate rules to be read by only 
IE6 from rules for IE5.x/Win. 

These hiding hacks, along with several other fixes, make possible this formerly impossible layout.
It is highly unlikely that new browsers will have any problem with these valid hiding hacks, and 
Microsoft does not plan any browser changes soon that would alter the proper operation of the layout.
********************************************************************************/


.wrapper {
margin: 0 auto;
width: 800px;
text-align: left;
background: url(../grad.gif) repeat-y;
border: 2px solid #c9d9d2;
}

.outer {
position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
margin-left: 159px;    /*** Critical left col dimension value ***/
width: 484px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
background: #ffffff;  /*** Sets background of center col***/
}


.float-wrap {
float: left;
width: 482px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
margin-right: -1px;   /*** Static fix ***/
border-left:1px solid #c9d9d2;
}

.center {
float: right;
width: 482px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
margin-bottom: -1px;   /*** Fixes a variance in IE/win for the green AP bottom boxes ***/
/* \*/
margin-left: -1px; 
/* Hidden from IE-mac */
background-color:#ffffff;
}

.left {
position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
width: 160px;    /*** Critical left col/divider dimension value ***/
margin-left: -159px;    /*** Critical left col/divider dimension value ***/
}


*>html .left {width:159px;}   /*** Fix only for IE/Mac ***/

.container-left {
width: 158px;    /*** Critical left col dimension value ***/
padding-bottom: 110px;   /*** To keep content from going underneath the AP bottom boxes ***/ 
}

.right {
float: left; 
position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
width: 160px;    /*** Critical right col/divider dimension value ***/
margin-right: -158px;    /*** Critical right col/divider dimension value ***/
margin-left: -1px;   /*** Static fix ***/
}


/*** These commented-out rules below are there to explain the "Critical" info 
	for the rules above, because comments must not appear within the Mac-hack.
	The "rules" below are not active, they are just for teaching purposes. ***/

/*
* html .right {
margin-left: 0px;    *** Critical right divider dimension value ***
margin-right: -500px;    *** IE5.x/win fix, must be above a critical number, but very high values appear okay ***
mar\gin-right: -152px;    *** Critical right col/divider dimension value ***
}
*/


.container-right { 
/* \*/width: 158px;/* Hidden from IE-Mac */   /*** Critical right col dimension value ***/
margin-left: 3px;    /*** Critical right divider dimension value ***/
padding-bottom: 0px;   /*** To keep content from going underneath the AP bottom boxes ***/
border-left:1px solid #c9d9d2;
}



.italics-test, .italics-test-side {
font-style: italic; 
text-align: justify; 
background: #ccd;
border: 1px solid red;
}

	
	p.item {
padding:4px 4px 12px 8px;
background-color:#f6fafe;
color:#012B4D;
border-top: 2px solid #c9d9d2;
margin-bottom:2px;
	}
	
	.itemname {
	font-weight: bold;
	}
	.itemauthor {
	font-weight: normal;
	font-size:.75em;
	}
	.itemdesc {
	font-weight: normal;
	font-style: italic;
	font-size: .65em;
	}
	.item a {
	color:#6f9686;
	font-size:.75em;
	font-weight: bold;
	text-decoration:underline;
}


.searchbox {
border: 1px solid #cdcdcd;
margin:0px 2px 12px 2px;
padding:4px;
font-size:9px;
}


