body {
	background:#d1d1d1 url(images/body-bg.gif) top repeat-x;
	font-family:verdana,sans-serif;
	font-size:85%;
	color:#222;
	margin-top:0px;
}
h1, h2, h3, h4, h5 {
	font-family:trebuchet ms,arial,tahoma,verdana,sans-serif;
	font-weight:normal;
	letter-spacing:.005em;
	color:#555;
}
h1 {
	font-size:2em;
	height:60px;
	font-weight:normal;
	margin:-1px 0 10px 0;
	letter-spacing:-.015em;
	border-bottom:1px solid #3F4C9B;
	line-height:2em;
}
h1, h2, h3, h4, p {
	padding-left:3px;
}
.introblock h1 {
	color:#666;
	margin-bottom:.2em;
	padding:0;
	border:none;
}
h2 {
	font-size:1.4em;
	padding:.5em 0 .2em 0;
	margin:.5em 0 .5em 0;
	color:#e60;
	border-bottom:2px solid #3F4C9B;
}
h2 strong {
	color:#c40;
}
h2 .faint {
	color:#f93;
}
#left-col h2 {
	font-size:1em;
	line-height:1.25em;
	margin:0;
	border:0;
	padding:0;
	color:#f60;
}
#right-col div h2 {
	background:none;
}
h3 {
	font-size:1.55em;
	margin:1em 0 0 0;
	padding-bottom:.2em;
	border-bottom:1px solid #3F4C9B;
	color:#b52;
}
h3 strong {
	color:#930;
}
h3 .faint {
	color:#d75;
}
.introblock h2, .introblock h3 {
	border:none;
	background:none;
	margin:0;
}
h4 {
	font-size:1.3em;
	margin:1.2em 0 .3em 0;
	color:#952;
}
h4 .faint {
	color:#b76;
}
h5 {
	font-size:1em;
	font-weight:bold;
	margin:1em 0 .3em .5em;
}
.faint {
	font-size:.85em;
	letter-spacing:-.05em;
	padding-right:.3em;
}
p {
	margin:.7em 0;
}
blockquote {
	color:#444;
	font-family:georgia,serif;
	font-style:italic;
	padding:0 5em 0 0;
}
cite {
	display:block;
	text-align:right;
	color:#444;
	font-family:georgia,serif;
	font-style:italic;
}
.introblock {
	margin:0 0 1.5em 0;
	font-size:1.05em;
	border:1px solid #9AB8E1;
	border-left:4px solid #3F4C9B;
	background-color:#E2ECFF;
	color:#000;
	padding:.2em 1em .4em;
}
.introblock h1, .introblock h2, introblock h3, .introblock2 h1, .introblock2 h2, .introblock2 h3 {
	margin-top:2px;
}
.introblock p {
	padding-left:0;
}
a, a:link {
	color:#00e;
	text-decoration:none;
}
a:visited {
	color:#909;
}
a:hover, a:active {
	color:red;
	text-decoration:underline;
}
li, dd {
	margin-bottom:.5em;
}
dt {
	clear:left;
}
dd {
	color:#444;
	font-size:.95;
	padding:.1em 0 .2em 2em;
}
a img {
	border:none;
}

/* 
	Structure
 */
#nav, #main {
	width:780px;
	margin:0 auto;
	text-align:left;
}
#main {
	background:#fff url(images/bg-main.gif) top left repeat-y;
}
#content {
	/* Getting obscured by other layers! */
	background:url(images/bg-content.jpg) top left no-repeat;
}


#right-edge {
	background:url(images/right-col.gif) top right repeat-y;
}
#left-edge {
	background:url(images/left-col.gif) top left repeat-y;
	width:100%;
	/* Note:this width needed to prevent bug in IEeee */
}
#left-col {
	position:absolute;
	top:0;
	left:0;
	width:180px;
}
#right-col {
	position:relative;
	float:left;
	padding:0 2em 2.5em 205px;
	background:url(images/right-col-bg.gif) top left repeat-y;
}


#cap {
	margin:0;
	height:3px;
	font-size:.0001%;
	background:url(images/cap-c.gif) top left repeat-x;
}
#cap .l {
	height:3px;
	background:url(images/cap-l.gif) top left no-repeat;
}
#cap .r {
	height:3px;
	background:url(images/cap-r.gif) top right no-repeat;
}

/* 
	Top nav
 */
 
#header {
	position:relative;
	padding:0;
	text-align:right;
	height:225px;
}









ul#nav {
	padding:0;
	list-style:none;
	background:#fff url(images/topnav.jpg) no-repeat;
	text-align:right;
	height:44px;
}
#nav li {
	height:76px;
	float:right;
	display:block;
	text-indent:-3000px;
}
#nav li a {
	height:76px;
	display:block;
	text-decoration:none;
	color:#9b998f;
	color:#fff;
	font-size:1px;
	text-indent:-5000px;
}
#nav #nav-home {
left: 0px;
float:left;
width: 77px;
}

#nav #nav-contact {
left: 77px;
float:left;
width: 109px;
}




















/* 
	Footer
 */
#foot {
	clear:both;
	text-align:center;
	font-size:.75em;
	background:white url(images/footer.jpg) bottom left repeat-x;
	padding:0;
}
#foot ul {
	list-style:none;
	//margin:1em 0;
}
#foot li {
	display:inline;
	padding:.5em 0;
}
#foot li a {
	padding:0 1.5em;
	color:#000;
}
#foot .outer {
	background:url(images/footer-l.gif) bottom left no-repeat;
	float:left;
	width:100%;
	//margin-bottom:-2px;
}
#foot .inner {
	border-top:0px solid #db7;
	background:url(images/footer-r.gif) bottom right no-repeat;
	float:left;
	width:100%;
}


.clear-all {
	clear:both;
	font-size:.0001%;
	height:1px;
}

/* 
	Side navigation and cross links
 */
#insert {
	padding:1.3em;
	font-size:.75em;
	color:#999;
	height:2.5em;
}
ul.sections {
	margin:10px 0 0 10px ;
}
ul.sections, .cross-links {
	list-style:none;
	padding:0;
	font-size:95%;
}
.info-box {
	font-size:90%;
	//width:100%;
}
.info-box div.author {
	padding:.5em .5em .5em 37px;
	background:url(images/info-box-by.gif) 0 50% no-repeat;
}
.sections li, .info-box {
	border:1px solid;
	border-color:#ccc #bbb #b6b6b6 #ccc;
	margin:0 0 3px 0;
}
.sections li {
	background:#f1f1f1 url(images/s-bg.gif) top left repeat-x;
}
.info-box, .cross-links {
	background:#f1f1f1 url(images/cross-links-bg.gif) top left repeat-x;
}
.cross-links {
	border:1px solid;
	border-color:#ccc #babad2 #ccc #ccc;
	//width:100%;
	margin:10px 0;
}
.sections li a, .cross-links a {
	display:block;
}
.sections li a, .cross-links a, dt a {
	padding:.7em 3px .7em 37px;
	text-decoration:none;
}
.sections a, .sections a:link, .sections a:visited, .cross-links a, .cross-links a:link, .cross-links a:visited, dt a, dt a:link, dt a:visited {
	background-position:4px 50%;
	background-repeat:no-repeat;
}
.sections a, .sections a:link, .sections a:visited, .cross-links a, .cross-links a:link, .cross-links a:visited {
	color:#20e;
}
.sections a:hover, .sections a:active, .sections .on a, .cross-links a:hover, .cross-links a:active, dt a:hover, dt a:active {
	background-position:-462px 50%;
	background-repeat:no-repeat;
}
.sections a:hover, .sections a:active, .cross-links a:hover, .cross-links a:active {
	color:#004;
	text-decoration:none;
}

.s-a a {background:url(images/x.gif);}
.s-b a {background:url(images/x.gif);}
.s-c a {background:url(images/x.gif);}
.s-d a {background:url(images/x.gif);}
.s-e a {background:url(images/x.gif);}
.s-f a {background:url(images/x.gif);}
.s-g a {background:url(images/x.gif);}
.s-h a {background:url(images/x.gif);}
.s-i a {background:url(images/x.gif);}
.s-j a {background:url(images/x.gif);}
.s-k a {background:url(images/x.gif);}
.s-l a {background:url(images/x.gif);}
.s-m a {background:url(images/x.gif);}
.s-n a {background:url(images/x.gif);}
.s-o a {background:url(images/x.gif);}
.s-p a {background:url(images/x.gif);}
.s-q a {background:url(images/x.gif);}
.s-r a {background:url(images/x.gif);}
.s-s a {background:url(images/x.gif);}

.sections li a:hover, .sections li.on a {
	background-color:#fff;
	color:#f00;
}

.screnshot, .snippet {
	padding:10px;
	margin:.5em .5em 1.5em .5em;
	clear:left;
	border:0px solid;
	border-color:#f0f0f0 #ddd #ddd #ddd;
	background-color:#f9f9f9;
}
.snippet h3, .screenshot h3 {
	margin-top:0;
	border:none;
}
.snippet img, .screenshot img, .introblock img {
	border:0px solid;
	border-color:#aaa #666 #666 #aaa;
}
.text-alongside, .alongside-all .screenshot img, .alongside-all .snippet img {
	float:left;
	margin-right:15px;
}
.indent {
	margin:1em 1em 1em 3em;
}
.code .indent {
	margin:0 0 0 1.5em;
}
.comment {
	border:1px solid white;
	background-color:#f6f6ff;
	padding:1em;
	margin:.5em;
	border-left:6px solid #eee;
}
.comment dl {
	margin:0;
}
.type2 {
	background-color:#f9f9e0;
	color:#520;
}
.code {
	font-family:"courier new",courier,fixed;
	font-size:1.1em;
	margin-bottom:.8em;
	color:#620;
}

dl.alongside dt {
	display:block;
	float:left;
	clear:left;
	width:15%;
	padding:.3em;
	margin:.2em .5em .2em 2em;
	background-color:#fe9;
	border-left:3px solid #f93;
}
dl.alongside dd {
	display:block;
	float:left;
	clear:none;
	width:70%;
	margin:.2em;
	padding:.3em .3em .3em 1em;
	background-color:#ffc;
}

#cc-footer {
	clear:both;
	padding-top:1em;
	font-size:.7em;
	margin:auto;
	text-align:center;
}
.term {
	font-style:italic;
	color:#080;
}
.hot {
	padding:.5em 1em;
	border:2px solid;
	border-color:#fe6 #cb3 #dc4 #fe6;
	background:#f9ffe3 url(images/hot-sun.gif) top left no-repeat;
}
.book {
	clear:left;
}
.book .pic {
	float:left;
	width:110px;
}
.book .pic img {
	margin:2em 1.5em 1em .5em;
	border:2px solid;
	border-color:#eee #999 #999 #eee;
}
.book .blurb {
	float:left;
	width:80%;
}
.book h3 {
	border:none;
	color:#f60;
	font-size:1.8em;
	margin-bottom:10px;
}
.book h4 {
	margin:-10px 0 15px 0;
	color:#999;
}
.book .blurb .buy {
	margin:1.2em 0;
	border:2px solid;
	border-color:#ff0 #fe0 #fe0 #ff0;
	padding:.5em 2em;
	text-align:center;
}
.book .blurb .detail {
	color:#393;
	padding-left:1em;
}
.book .blurb .buy strong {
	display:block;
	color:red;
	margin-bottom:.25em;
}
.book .blurb .buy a {
	padding:0 1em;
}

.comment h2, .comment h3 {
	color:#b0f;
}
.comment h2 strong, .comment h3 strong {
	color:#80b;
}

.kLink1 {
	text-decoration:none;
}

ul#links49041 {
	list-style:none;
	overflow:hidden;
	margin:1em .75em;
	padding:.4em .75em .7em;
	border:1px solid #f93;
} 
ul#links49041 li {padding:0; margin:0; } 
ul#links49041 li span { display:block; width:100%; padding:3px; margin:0px; font-size:12px; color:#000000; } 
ul#links49041 li span a { font-size:12px; color:#000000; } 

#side-search {
	margin:.25em .75em;
	padding:.4em .75em .7em;
	border:0px solid #f93;
}