/*  
Theme Name: Radical Congruency 2005
Theme URI: http://www.radicalcongruency.com/theme
Description: A 1024x768, 3-column, center-first template. Includes CG-Amazon support.
Version: 2.0
Author: Justin Baeder
Author URI: http://www.radicalcongruency.com/
The CSS, XHTML and design is released to the public domain. Three-column, center-first layout adapted from http://www.positioniseverything.net/piefecta-rigid.html
Images: To use your own images, upload them into the /wp-content/themes/rc2005/images/ folder. The header image needs to be 980x200px, and named header.jpg (or you can change the name below).
Default header image from http://sxc.hu/browse.phtml?f=download&id=335829
Have fun, and don't be afraid to contact me if you have questions.
E mail me at justin at baederresources dot com
*/
/* Page Layout & General Styling */


html, body {
	margin: 0; 
	padding: 0; 
	border: 0;
}
body {
	text-align: center;
	margin: 0;
	/*background-image:url("./images/bg.jpg");*/
	/*background: #000033;*/
	background: #000033 url(images/darkbacksmall.jpg) repeat-x top center;
	/*background-repeat:repeat;*/
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #C2C2C2;
	/*font-family: trebuchet, verdana, arial, sans-serif;
	line-height: 1.5;
	font-size: 62.5%; /* Resets 1em to 10px */
}
p  { 
margin:0;padding:0;
	/* Never, ever set padding or text size for the p tag, or else a lot of your text that for some 
	reason doesn't get enclosed in p tags will be different. Ick. */
}
/*a {
	text-decoration: none; 
	font-weight: bold; 
	color: #0033FF;
}*/

a:link, a:visited{
	color: #05a2f4; /*azz link colour*/
	text-decoration: underline;
	/*text-decoration: none;*/
}
a:hover{
	color: #f1f405;/*azz hover link colour*/
	text-decoration: underline;
}
code {
	font-family: "courier new", courier, monospace;
	color: #882500;
}
h2 {
	/*font-size: 1.4em; */
	font-size: 18px
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: /*#f40505*/#99CCFF;
	font-weight: bold;
	padding: 5px 0 0 0;
	margin-bottom: 1em;
	/*color: #882500;
	font-weight: bold;*/
}
h2 a {
	color: #882500;
}

h3 {
	font-size: 1.2em;
	margin: 20px 10px 5px;
}
textarea {
	font-size: 1.2em;
	background-color: #000000;
	color: #ffffff;
}
blockquote {
	background: url('images/blockquote.gif') no-repeat left top;
	margin: 0 0 5px 10px;
	padding: 0 0 0 30px;
	min-height: 30px;
}
#header {
	height: 200px;
	text-align: center;
	background:url("./images/logo.jpg") bottom center no-repeat #FFFFFF;
	padding: 0;
}
#header h1, #header div.description, .hidden {
	display: none;
}
#header/*, #footer */{
	border: 1px solid #05a2f4;
	width: 100%; 
	font-weight: bold;
	text-align: center;
}

#footer {
	text-align: center;
}

/*#footer {
	background: #cccccc;
	text-align: center;
	font-color: #000000;
	height: 3em;
}*/
#footer p {
	padding-top: 10px;
	margin-top: -6px;
}

.footerText {
	font-size: 10px;
	color: #ffffff;
	}

.leftBarTitle{
	border-bottom: 1px solid #FFFFFF;/*azz line under Site Navigation*/

	letter-spacing: 2px;

	text-align: right;
	padding: 2px;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: /*#f40505*/#99CCFF;
	font-weight: bold;

}
.rightBarTitle{
	border-bottom: 1px solid #FFFFFF;/*azz underlines under post headings*/

	letter-spacing: 1px;

	text-align: left;
	padding: 2px;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	color: /*#f40505*/#99CCFF;
	font-weight: bold;
}

.rightBarSubTitle{

	border-bottom: 1px solid #3f3f3f;
	margin: 5px 0px 5px 0px;
	
	letter-spacing: 2px;
	text-transform: lowercase;
	letter-spacing: 1px;

	font-size: 10px;

	padding: 2px;
	color: #78CEFC;
}

ul{
	list-style-image: url(images/ul.gif);
  	padding-left:20px;
 	margin-left: 10px; 
	line-height: 18px;
	color: #FFFFFF;/*???*/
}

input,select{
	padding: 2px;
	background-color: #000000; /*#a82828;*//*azz search and dropdown colour, and buttons*/
	border: 1px solid #FFFFFF;/*azz as aboove outline colours*/
	color: #FFFFFF;/*as above text colour*/
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size:10px;
	margin: 2px 2px 5px 2px;
}
	
#topbar a, #topbar a:active, #topbar a:active, #topbar a:visited, #bottom a, #bottom a:active, #bottom a:active, #bottom a:visited {
	color: #cccccc;
	}

#topbar a:hover, #bottom a:hover {
	color: #dddddd;
}

a:hover {
	text-decoration: underline;
}

#topbar ul.horizontallist li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#topbar ul.horizontallist li form#searchform {
	display: inline;
}

input#s {
	height: 1.1em;
	font-size: .9em;
}

.grabtext {
	display: inline;
	height: 5px;
	font-size: 5px;
}
#topbar {
	height: 3.5em; /* So it scales with changes in font size */
	background: #666666;
	color: #cccccc;
	text-align: right;
	min-width: 980px;
}
#bottom {
	border: solid #990000 1px;
	background: #666666;
	color: #cccccc;
	min-width: 980px;
	margin-bottom: 0px;
}
/*.container-left ul li, 
.container-right ul li {
	list-style-position: outside;
	list-style-type: square;
	margin-left: -22px;
}
.container-left ul li h2,
.container-right ul li h2 {
	list-style-type: none;
	margin-left: -22px;
	list-style-position: outside;
}*/
#content {
	padding: 0px -15px 0px 15px; /* was padding: 0px 20px 0px 15px; */
	margin: 0 10px 5px 11px;
	/*background-color: #FFFFFF;*/
	overflow: hidden;

}
div.img-link a {
	display: block;
	height: 200px;
	text-decoration: none;
}
#outerwrapper {
	width: 1000px;
	/*background-image:url("./images/outerwrapperbg.jpg"); */
	/*background: #FFFFFF;*/
	margin: 0 auto;
}
#topbar ul.horizontallist {
	font-size: 1.3em; /* Makes text and topbar scale beautifully! */
	position: absolute;
	top: 15px;
	margin-top: -6px;
	right: 50px;
}
.clear { 
	clear: both; 
}
acronym, abbr {
	border-bottom:1px dashed #0033FF;
}
img {
	border: 0;
}
.alignright {
	margin-top: 0;
	text-align: right;
	clear: both;
}

.small {
	font-size: .8em;
}
/* Sidebars */

.pagelayout {
	width: 95%;
	margin:0 auto;
}
/* Posts & Comments */
.post {
	/*background-color: #33FFCC;*/
	float: left;
	width: 250px;
/*height: 350px;*/
	margin: 0px 14px 5px 14px;
	display: inline;
}

.posttitle {
	/*background: #FFFFFF url(./images/posttitlebg.jpg) left top;*/
	margin: 20px 0 0 0;
}
.posttitle h2 {
	padding: 0 5px 0 5px;
	margin: 8px 0 0 0;
}
.postHeading {
	margin: /*10px 0 0 0*/ 0 0 3px 0;
	padding : 0 5px 0 5px;
}
.meta {
	font-size: 10px;
	
	/*padding: 1px 3px 1px 3px;*/
}

.dateText {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 9px;
	color: #C2C2C2;
	margin-top: 3px;
}

h1,h2,h3,h4,h5,h6, .meta, .storycontent{
    margin-bottom: 0px;
    padding-bottom: 0px;
	margin-top: 0px;
    padding-bottom: 0px;
}

/* \*/
* html .ap-test {
top: -101px; 
t\op: -102px; 
}

/*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: 980px;
text-align: left;
/*border: 1px solid #000000; */
font-size: 1.2em;
/*background: #FFFFFF;*/
/*background-image:url("./images/wrapperbg.jpg");*/
/*background:#000033;*/
}

* html .wrapper {   /*** IE5.x/win box model fix ***/
width: 782px;
wid\th: 980px;
/*border: solid 1px;*/
}

.outer {
position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
margin-left: 200px;    /*** Critical left col dimension value ***/
width: 578px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
/*background: #fff url(images/brownswirl.gif);  /*** Sets background of center col***/
/*border-left: 1px solid #000;   /*** Critical left divider dimension value ***/
/*border-right: 1px solid #000;  /*** Critical right divider dimension value ***/
}

* html .outer {   /*** IE5.x/win box model fix ***/
width: 580px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
wid\th: 578px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
}

.float-wrap {
float: left;
width: 578px;   /*** Critical left and right col/divider dimension value (moves inversly) ***/
margin-right: -1px;   /*** Static fix ***/
}

.centerColumn {
float: right;
width: 578px;   /*** 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 */
}

.left {
position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
width: 192px;    /*** Critical left col/divider dimension value ***/
margin-left: -201px;    /*** Critical left col/divider dimension value ***/
}

* html .left {
float:left;	
}

*>html .left {width:151px;}   /*** Fix only for IE/Mac ***/

.container-left {
width: 190px;    /*** Critical left col dimension value ***/
padding-bottom: 110px;   /*** To keep content from going underneath the AP bottom boxes ***/ 
padding-left: 5px;
padding-right: 5px;
overflow: hidden;
font-size: .9em;
}

.right {
float: left; 
position: relative; /*** IE needs this or the contents won't show outside the parent container. ***/
width: 192px;    /*** Critical right col/divider dimension value ***/
margin-right: -190px;    /*** Critical right col/divider dimension value ***/
margin-left: -1px;   /*** Static fix ***/
}

/* \*/
* html .right {
margin-left: 0px; 
margin-right: -500px; 
mar\gin-right: -202px;
}
/* */

/*** 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: -202px;    *** Critical right col/divider dimension value ***
}
*/


.container-right { 
/* \*/width: 190px;/* Hidden from IE-Mac */   /*** Critical right col dimension value ***/
margin-left: 3px;    /*** Critical right divider dimension value ***/
padding-bottom: 110px;   /*** To keep content from going underneath the AP bottom boxes ***/
padding-left: 10px;
padding-right: 0px;
overflow: hidden;
font-size: .9em;
}

/* \*/
* html .container-right {
fl\oat: right;
margin-left: 2px; 
mar\gin-left: 0px; 
}
/*** Static fixes ***/

/*** Below is the Holly hack, and if IE/Win shows bugs it's a good idea to apply this hack to 
	different elements and see if that fixes the problem. Sometimes it may be necessary 
	to use "position: relative;" on certain elements, but it's hard to tell in advance which 
	elements will need such fixes. Here it prevents IE5/Win from clipping the left ends 
	of the headings. ***/
/* \*/
* html h2 {height: 1%;}
/* */


/*** This is a fix for IE5/Win at the largest text size setting. ***/
/* \*/
* html .left {margin-right: -3px;}
/* */


.italics-test, .italics-test-side {
font-style: italic; 
text-align: justify; 
background: #ccd;
border: 1px solid red;
}

/*** The following fixes prevent justified italic text from destroying the layout in IE/win.
	The problem is that those properties together make IE force the container wider,
	which in this type of floated layout causes a float drop. 	Pre-IE6 gets "width: 100%" 
	and "overflow: hidden", while IE6 gets "width: auto" and "overflow: visible, which 
	is the default, but explicitly stating it seems to keep IE6 happy. IE6 also needs
	to see the "height: 1%" to give it some kind of box dimension. Browser coddling 
	we call it. Finally, Bruno found that "word-wrap: break-word;" disarranged the 
	justified text in IE5.5 and 6, so it is defaulted to "normal" for this text.
	If you don't need justified and italicized text then forget all these fixes ***/

/* \*/
* html .italics-test, * html .italics-test-side {
overflow: hidden;
width: 100%;
o\verflow: visible;
w\idth: auto;
hei\ght: 1px;
}
/* */

/*** All the IE fixes that are inside separate "Mac-hacks" may be grouped 	within 
	just one Mac-hack for convenience if desired. However, each fix must come 
	later than the rule it is fixing or the fix itself will be overridden. ***/
