/* CSS Document */
/* --- GENERAL RULES --- */
body
{
	margin: 0;
	padding: 0;
	color: #444;
	background: #fff;
	font: 85%/1.3 arial, helvetica, sans-serif;
}

h2, h3, h4
{
	color: #000;
	clear: both;
}

h2, h3, h4, p, ul { margin-top: 0; }

h2
{
	font-size: 150%;
	margin: 0 0 .5em 0;
}

h3
{
	font-size: 120%;
	margin: 0 0 .5em 0;
}

h4
{
	font-size: 100%;
	margin: 0 0 .5em 0;
}

h2 strong, h3 strong { color: #663; }
img { border: none; }

a
{
	text-decoration: none;
	padding-bottom: 1px;
	background: url(/images/layout/dots-alink.gif) repeat-x 0 100%;
}

a:link { color: #660; }
a:visited { color: #990; }

a:hover, a:active
{
	color: #660;
	background-color: #FFC;
}

code
{
	font-family: courier, times, monospace;
	background: #eee;
}

/* table 
{
	margin: 1em 0;
	border-collapse: collapse;
} */

caption
{
	font-weight: bold;
	font-size: 120%;
	margin: 1em 0 0 0;
	text-align: left;
}

/* th, td
{
	padding: .5em;
	border: 1px solid #999;
	text-align: left;
} */

thead th { background: #ddd; }
tr.highlight { background: #CC6; }

/* --- HEADER RULES --- */
#header
{
	position: relative;
	margin: 0 3%;
	height: 87px;
	border-top: 3px solid #663;
	background: url(/images/layout/header.jpg) repeat-x 0 100%;
	min-width: 500px;
	max-width: 1000px;
}

#header h1
{
	margin: 0 3%;
	padding: 0;
	height: 68px;
	width: 328px;
	background: url(/images/layout/logo.gif) no-repeat 0 100%;
}

#header h1 span, .structurallabel
{
	position: absolute;
	left: -5000px;
	width: 4000px;
}

#header ul
{
	position: absolute;
	top: 0;
	width: 100%;
	margin: 0;
	padding: 2px 0 0 0;
	list-style-type: none;
	text-align: right;
	font-size: 85%;
}

#header li
{
	display: inline;
	margin-right: 1em;
}

/* --- BANNERIMAGE RULES --- */
#bannerimage
{
	border-top: 1px solid #fff;
	margin: 0 3%;
	height: 140px;
	background: url(/images/layout/bannerimage.jpg) no-repeat 66%;
	min-width: 500px;
	max-width: 1000px;
}

#bannerimage-article
{
	border-top: 1px solid #fff;
	margin: 0 3%;
	height: 140px;
	background: url(/images/layout/bannerimage2.jpg) no-repeat 100% 0;
	min-width: 500px;
	max-width: 1000px;
}

/* --- TOPNAV RULES --- */
#topnav
{
	margin: 0 3%;
	padding: 5px 0 28px;
	background: url(/images/layout/topnav.jpg) repeat-x 0 100%;
	min-width: 500px;
	max-width: 1000px;
}

#topnav ul
{
	margin: 0 4%;
	padding: 0;
	list-style-type: none;
}

#topnav li
{
	display: inline;
	margin-right: 1em;
}

#topnav li a
{
	background-image: none;
	font-weight: bold;
}

#topnav li a:visited { color: #660; }

/* --- CONTAINER RULES --- */
#container
{
	margin: 0 3%;
	background: url(/images/layout/dots-vertical.gif) repeat-y 66% 0;
	min-width: 500px;
	max-width: 1000px;
}

#container-wide
{
	margin: 0 3%;
	min-width: 500px;
	max-width: 1000px;
}

/* --- CONTENT RULES --- */
#content
{
	float: left;
	width: 58%;
	margin: 0 0 0 4%;
	display: inline;
	padding-bottom: 1em;
}

#content-wide
{
	margin: 0 4%;
	padding-bottom: 1em;
	max-width: 48em;
}

/* --- SIDEBAR RULES --- */
#sidebar
{
	float: right;
	width: 26%;
	margin: 0 4% 0 0;
	display: inline;
	padding-bottom: 1em;
}

#sidebar ul
{
	margin: 0 0 1em 0;
	padding: 0;
	list-style-type: none;
}

#sidebar li
{
	background: url(/images/layout/arrow.gif) no-repeat 0 .4em;
	padding-left: 10px;
}

#sidebar label
{
	font-weight: bold;
	color: #000;
	font-size: 120%;
}

#sidebar form
{
	margin: 0 0 1em 0;
	padding: 0;
}

#sidebar input#s { width: 100%; }

#flickr img
{
	width: 45px;
	height: 45px;
	border: 1px solid #996;
}

#flickr a
{
	margin: 0 5px 5px 0;
	display: block;
	float: left;
	background: none;
}

#flickr a:hover { background: none; }

/* --- FOOTER RULES --- */
#footer
{
	clear: both;
	padding: 35px 0 2em;
	background: #fff url(/images/layout/topnav.jpg) repeat-x 0 10px;
	font-size: 85%;
}

#footer p
{
	width: 59%;
	margin: 0 0 1em 4%;
}

/* --- CLASSES RULES --- */
.intro
{
	background: url(/images/layout/dots-horizontal.gif) repeat-x 0 100%;
	padding-bottom: 1em;
	margin-bottom: 2em;
}

.post, .archive-post { margin: 1em 0 3em; }

.date-author
{
	font-size: 85%;
	font-style: italic;
	margin: 0 0 .5em 0;
}

.postmetadata
{
	text-align: right;
	font-size: 85%;
}

.navigation-top
{
	margin: 0;
	padding: 0 0 3em;
	list-style-type: none;
	font-size: 85%;
}

.navigation-bottom
{
	margin: 0;
	padding: 2em 0 3em;
	list-style-type: none;
	font-size: 85%;
}

.alignleft
{
	float: left;
	width: 47%;
	background: url(/images/layout/arrow2.gif) no-repeat 0 .4em;
	padding-left: 10px;
}

.alignright
{
	float: right;
	width: 47%;
	background: url(/images/layout/arrow.gif) no-repeat 100% .4em;
	padding-right: 10px;
	text-align: right;
}

#comments { margin-top: 2em; }

.commentlist dt
{
	background: url(/images/layout/alt.jpg) repeat-x;
	font-size: 85%;
	margin: 1em 0 0 0;
	padding: 15px 15px 1em;
}

.commentlist dt span
{
	background: url(/images/layout/comment.gif) no-repeat;
	padding: 0 0 0 16px;
}

.commentlist dt.alt { background: url(/images/layout/topnav.jpg) repeat-x; }

.commentlist dd
{
	margin: 0;
	padding: 0 15px 15px;
}

#content form
{
	clear: both;
	padding: 15px;
	background: #eee;
	border: 1px solid #ddd;
}

#content label span
{
	font-size: 80%;
	color: #555;
}

#author, #email, #url, #comment, .wideinput { width: 100%; }

.imagefloat
{
	float: right;
	margin: 0 0 1em 1em;
}

.sitelist
{
	clear: both;
	margin: 0;
	padding: 1em 0;
}

.sitelist img
{
	float: left;
	margin: 0 1em 1em 0;
	padding: 2px;
	border: 1px solid #bbb;
}

#sidebar ul.feedicon li
{
	background: url(/images/layout/feedicon.gif) no-repeat 0 .4em;
	padding-left: 15px;
}

dl.thankyou
{
	margin: 1em 0;
	padding: 1em;
	background: #eee;
	border: 1px solid #ddd;
}

dl.thankyou dt
{
	float: left;
	width: 6em;
	clear: both;
	padding-bottom: .5em;
	font-weight: bold;
}

dl.thankyou dd
{
	margin-left: 7em;
	padding-bottom: .5em;
}

.codesample { border: 1px solid #ddd; }

.codesample code
{
	display: block;
	padding: .5em;
}

.codesample span
{
	display: inline-block;
	width: 2em;
	height: .5em;
}

.codesample span.tab2 { width: 4em; }
.codesample span.tab3 { width: 6em; }
.codesample span.tab4 { width: 8em; }
.codesample span.tab5 { width: 10em; }
.codesample span.tab6 { width: 12em; }
.codesample span.tab7 { width: 14em; }
.codesample span.tab8 { width: 16em; }

.pagecontents
{
	margin: 1em 0 1em 1.5em;
	padding: 0;
	list-style-type: none;
}

.pagecontents li
{
	background: url(/images/layout/arrow3.gif) no-repeat 0 .6em;
	padding-left: 10px;
}
