/* ---- -- -  -    -
** base
** -------- ---- -- -  -    -
*/
*
{
	font-size: 1em;
	line-height: 1em;
	margin: 0;
	padding: 0;
}

body
{
	background: #3f5155;
	-x-background: #456476;
	-x-background: #4f7083;
	-x-background: #456270;
	-x-background: #434445;
	color: #eee;
	font-family: Georgia, serif;
	z-index: 0;
}

h1, h2
{
	-x-font-family: Palatino, Palatino Linotype, Book Antiqua, serif;
	-x-font-family: Verdana, sans-serif;
	font-weight: normal;
	line-height: 1.0em;
	margin: 0.25em 0;
}

h1
{
	font-size: 6em;
	-x-text-align: center;
}

@media only screen and (max-width: 640px)
{
	h1
	{
		font-size: 3em;
	}
}

h2
{
	font-size: 1.25em;
	font-family: Verdana, sans-serif;
}

p { line-height: 1.5625em; margin-bottom: 1.5625em; }

table { border-collapse: collapse; border-spacing: 0; }

img { border: 0; }



/* ---- -- -  -    -
** links
** -------- ---- -- -  -    -
*/
a {
	color: #369;
	text-decoration: none;
}

a:visited
{
	color: #246;
}

a:hover
{
	color: #123;
	text-decoration: underline;
}



/* ---- -- -  -    -
** header
** -------- ---- -- -  -    -
*/
#header
{
	background: url(../img/topshadow8x64.png) 0 0 repeat-x;
	height: 112px;
}

#header h1
{
	font-family: Georgia, serif;
	font-size: 2.0em;
	line-height: 2.0em;
	margin: 0;
}

#header a { color: #eee; }
#header a:visited { color: #eee; }
#header a:hover { color: #fff; }

#header .lizard
{
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 318px; /* smaller than image in order to avoid mobile safari rendering bug */
	height: 166px; /* smaller than image in order to avoid mobile safari rendering bug */
	background: url(../img/lizard320x168.png) right top no-repeat;
	z-index: 1;
}

@media screen and (max-device-width: 640px)
{
	#header .lizard
	{
		display: none;
	}
}

.ie6 #header { background-image: none; }
.ie6 #header h1, .ie7 #header h1 { margin: 0.5em 0; }



/* ---- -- -  -    -
** content
** -------- ---- -- -  -    -
*/
#content
{
	padding-top: 1em;
	-x-background: #babbab url(../img/light1024x768.png) 50% 0 no-repeat;
	background: #b9bbbd url(../img/light1024x768.png) 50% 0 no-repeat;
	-x-background: #dfd9c7 url(../img/light1024x768.png) 50% 0 no-repeat;
	-x-background: #dcddcd url(../img/light-feffed1024-768.png) 50% 0 no-repeat;
	color: #323334;
	-x-border-top: 1px solid #dcddcd;
	-x-border-bottom: 1px solid #989989;
	border-top: 1px solid #dbdddf;
	border-bottom: 1px solid #97999a;
}

#content h1 { color: #434445; }
#content h1 a { color: #323334; }
#content h1 a:visited { color: #434445; }
#content h1 a:hover { color: #212223; }



/* ---- -- -  -    -
** footer
** -------- ---- -- -  -    -
*/
#footer
{
	padding-top: 1em;
	min-height: 64px;
	background: url(../img/topshadow8x64.png) 0 0 repeat-x;
	text-align: center;
}

.ie6 #footer { background-image: none; }



/* ---- -- -  -    -
** copy
** -------- ---- -- -  -    -
*/
.copy
{
	margin: 0 auto;
	max-width: 34em;
	padding: 0 2em;
}

.ie6 .copy { width: 34em; }



/* ---- -- -  -    -
** more
** -------- ---- -- -  -    -
*/
.more
{
	text-align: right;
	margin-top: -0.5em;
}



/* ---- -- -  -    -
** meta
** -------- ---- -- -  -    -
*/
.meta
{
	border-top: 1px solid #97999a;
	color: #656667;
	font-size: 0.75em;
	list-style: none;
	overflow: hidden;
	padding: 0.25em 0.75em 2em 0.75em;
}

.meta li
{
	float: right;
	line-height: 1.5em;
	padding-right: 2em;
	white-space: nowrap;
}

.meta li span
{
	font-weight: bold;
}



/* ---- -- -  -    -
** code
** -------- ---- -- -  -    -
*/
.code
{
	-x-background: #369;
	background: #456476;
	-x-border: 0.25em solid #989989;
	border: 0.25em solid #eee;
	color: #97999a;
	font-family: Courier New, monospaced;
	margin: 1.0em auto;
	padding: 0.25em 0;
}

p + .code
{
	margin-top: -1em;
}

.code li
{
	padding: 0.25em 0.25em 0.25em 0.75em;
	font-size: 0.75em;
}

.code code
{
	-x-color: #9cf;
	color: #eee;
	font-family: Courier New, monospaced;
	font-size: 1.1667em;
	white-space: pre-wrap;
	word-wrap: break-word;
}

.code.paper { background: #ceccca; }
.code.paper code { color: #454443; }
.code.oldschool { background: #212223; }
.code.oldschool code { color: #9f0; }
