html {
	background: #EEE;
	color: #000;
}
/* http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
body {
	line-height: 1.7;
	color: #000;
	background: #FFF;
	margin: 0 auto;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}





/* font families */
h1, h2, h3, h4, h5, h6 {
	font: bold 110%/1.7 "DejaVu Sans", "MS Trebuchet", sans-serif;
}
p {
	font-family: "DejaVu Serif", Georgia, serif;
}
h1 {
	font-size: 200%;
}





/* defaults */
strong {
	font-weight: bold;
}
small {
	font-size: 80%;
}





/* http status */
.error h1 {
	font-variant: small-caps;
	color: red;
}




/* sections */
article,
.article {
	padding: 1em;
}





/* gallery images */
.gallery {
	overflow: auto;
}
.gallery li {
	float: left;
	margin: 2em;
	padding: 1em;
	background: #CCC;
	border-radius: 1em;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
}
.gallery a {
    display: block;
    padding: .3em;
    text-decoration: none;
	border-radius: .5em;
	-moz-border-radius: .5em;
	-webkit-border-radius: .5em;
}
.gallery a:link:hover {
	background: #00A;
}
.gallery a:visited:hover {
	background: #606;
}
.gallery figure,
.gallery .figure {
	border-radius: .2em;
	-moz-border-radius: .2em;
	-webkit-border-radius: .2em;
}
.thumb.web figure img,
.thumb.web .figure img {
	width: 320px;
	height: 240px;
}
figure,
.figure {
	display: block;
	background: #FFF;
	padding: 1em;
}
figure figcaption,
.figure .legend {
	display: block;
}





/* spi styles */
html.spi {
	background: #F30;
}
.spi body {
	max-width: 50em;
	padding: 1em;
	background: #F93;
	border-radius: 1em;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
}
.spi .footer {
	margin-top: 1em;
	border-top: 1px dotted #000;
	padding: .5em 0;
}