/* this layout will not work in IE Strict */

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	text-align: center;
	background-image:  url(images/background.jpg);
	background-repeat: repeat;
}

#wrapper {
position: relative;
width: 780px;
margin: 0 auto;
border: 1px solid black; /* light grey */
min-height: 40%; /* optional */
text-align: left;
min-width: 600px; /* to allow room for images and long words */
}

/* ie hack  - layout REQUIRES a height here to work */
/* (1% will do) if no min-height is required*/
/* this it where it fails in Strict Mode */
* html #wrapper {
	height: 80%;
	background-color: #FFFFFF;
} 

#header, #footer {
	position: relative;
	width: 780px;
	margin: 0 auto;
	background: #ffc;
	border: 1px solid #000;
	min-width: 600px;
	background-color: #CCFF66;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}

#apbg1, #apbg2 {
position: absolute;
top: 0;
bottom: 0; /* Opera needs this! Moz would automatically assume this as default*/
border-width: 0px; /* widths below */
border-style: solid;
border-color: #777;
/* height: 100%; */ /* hacked in for IE below */
}

* html #apbg1, * html #apbg2 
{
	height: 100%;
	background-color: #DDDDDD;
}

#apbg1 {left: 0; width: 120px; background: #bbb; border-right-width: 2px;}
#apbg2 {right: 0; width: 160px; background: #bbb; border-left-width: 2px;}

#apbg1 p {height: 50%;}/* height to show inheritance */
#apbg2 p {
	background: #ddd;
	margin: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
} 


/* bringing the center content into position (clear the sides)
is best using a wrapper div to avoid more IE Box Model issues */
#contentwrap {
position: relative; 
padding: 0 170px 0 130px;
}

#content {
position: relative;  /* to enable further positioned divs inside content area */
z-index: 100; /* to make sure if long words overflow they show above the right column */ 
border-left: 1px solid #000;
border-right: 1px solid #000;
background: #fff;
padding: 0;
margin: 0;
}

/* IE/Win Hack for peekaboo bug */
/* hide from IE/Mac \*/
* html #content {height: 1%;} 
/* end hide */

/***** General formatting ****/
p {margin: 0; padding: 10px; font-size: 0.8em; line-height: 1.4em;}
h1, h2, h3 {margin: 0; padding: 10px;}
h1 {font-size: 1.2em;}
h2 {font-size: 1.1em;}
h3 {font-size: 1em;}
.centraltext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}
.righttext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
}
.toptext {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: italic;
	text-decoration: underline;
}
.style1 {font-size: 9px}
.style2 {color: #CCFF66}
