/* Base color: #fffca8 */

*
{
	padding: 0;
	margin: 0;
	font-family: "Trebuchet MS", serif;
} 

img
{
	border: 0;
}

div.clearer
{
	clear: both;
	height: 1px;
	font-size: 1px;
	line-height: 1px;
}

body
{	
	background: #fff url(back.jpg);
	color: #000;
}

h1, h2, h3
{
	text-align: center;
	font-family: Arial, sans-serif; 
}

h1, h3.affectedBrowsers
{
	margin: .5em 0;
}

a
{
	font-size: 16px;
	background: transparent;	
	color: #666;
	font-style: italic;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

b.highlightCorrect
{
	color: #00d;
	font-weight: bold;
}

b.highlightWrong
{
	color: #f00;
	font-weight: bold;
}

i
{
	font-style: italic;
}

i.quote
{
	color: #2D006B;
}


ul.simpleList
{
	list-style: circle;
	margin: 0 1em;
}

ul.hacksList, ul.haslayout
{
	margin: 0 auto;
	padding: 1em;
	width: 70%;
	background: #dcddff url(backcode.jpg);
	color: #000;
	border: 1px solid #000;
	
}

ul.haslayout
{
	margin-top: 1em;
}

ul.hacksList li, ul.haslayout li
{
	display: block;
 	width: 90%; 
	margin: 1em auto;
}

ul.haslayout li.haslayoutHeading
{
	font-weight: bold;
	text-align: center;
}

div.paragraph
{
	position: relative;
	font-size: 16px;
  	padding: 1em;  
 	margin: 1em 1em auto 1em; 
	border: 1px solid #000;
	line-height: 2em;
}

span.firstLetter, div.paragraph:first-letter
{
	font-size: 200%;
	margin-left: 1em;
	font-family: Garamond, "Times New Roman", serif;
	font-weight: bold;
	font-style: italic;
	line-height: 1em; /* A fix for IEs impropper :first-letter line-height handling */
}

div.code
{
	margin: .5em 0;
	float: left;
	padding: 1em;
	display: inline;
	background: #dcddff url(backcode.jpg);
	color: #000;
	border: 1px solid #000;
}

div.code, div.code *
{
	font-family: monospace;
}


b
{
	font-size: 1em;
	font-weight: bold;
}

strong
{
	font-weight: bold;
}

img.testImage
{
	margin: 0 auto;
	display: block;
	clear:both;
}

div#copyright
{
	text-align: left;
	margin: .5em 1em 1.5em 1em;
}

table
{
	border: 1px solid #000;
	width: 95%;
	margin: 0 auto;
}

table th
{
	background: #a7a7fd url(backcode3.jpg);
}

table tr
{
	background: #f5f5ff url(backcode.jpg);
}

table tr.alt
{
	background: #a7a7fd url(backcode2.jpg); 
}

table tr td
{
	text-align: center;
	padding: .5em;
	font-weight: bold;
}

table tr td.alignLeft
{
	text-align: left;
	font-weight: normal;
}

/* Menu */
div#menu
{
	width: 45em;
	height: 2em;
	margin: 0 auto;
   	display: block;
}

div#menu ul
{
 	list-style: none; 
	height: 2em;
}

div#menu li
{
	width: 11em;
	height: 2em;
  	margin-right: .25em;
 	display: block; 
	float: left;
}

div#menu a
{
  	display: block;  
	height: 2em;
	width: 100%;
	white-space: nowrap; 
  	text-align: center;  
   	line-height: 2em;   
 	background: #dcddff url(button.jpg); 
	color: #554638;
 	border-width: .125em;
	border-style: solid;
	border-color: #FFD1A8 #554638 #554638 #FFD1A8; 
}

div#menu a:hover
{
	background: #dcddff url(buttonon.jpg);
 	border-width: .125em;
	border-style: solid;
	border-color: #554638 #FFD1A8 #FFD1A8 #554638; 
	text-decoration: none;
	color: #7072AA;
}

div#menu a#current
{
 	background: #dcddff url(buttonactive.jpg); 
}

div#menu a#current:hover
{
 	background: #dcddff url(buttonactiveon.jpg); 
}

