/* BOXES CSS style
 *
 * design    Stefan Bischof
 * copyright Stefan Bischof
 *
 * In this stylesheet some preliminary CSS3 features are used.
 * If you hate the fact that the W3C CSS validator fails, try to speedup 
 * standardization.
 */

/* GENERAL ------------------------------------------------------------------ */
html { background-color: #eee; }

body
{
	width: 40em;
	font-family: Calibri, Helvetica, Arial, sans-serif;
	margin: 1em auto;
	color: #333;
	line-height: 1.6em;
}

h1, h2
{
	font-family: Cambria, Georgia, serif;
	text-shadow: 2px 2px 2px #ccc;
	font-size: 2em;
	padding: 0.8em 0 0.5em;
	letter-spacing: -0.05em;
}

img { border-width: 0; }
var { font-style: italic; }
code { font-size: 1em; }

.box
{
	border: 1px solid #ccc;
	border-color: #ccc #999 #999 #ccc;
	padding: 0 1em 1em;
	margin: 1em -1.3em;
	background-color: #fff;
	-webkit-box-shadow: 1px 3px 3px #ccc;
	-moz-box-shadow: 1px 3px 3px #ccc;
	box-shadow: 1px 3px 3px #ccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

/* HEADER ------------------------------------------------------------------ */
#header
{
	margin: 2em 0 1em;
	padding: 0.5em 0;
}

#header p:before
{
	content: "» ";
	color: #c30;
	font-size: 1.2em;
}

#header p
{
	font-size: 2em;
	letter-spacing: -0.05em;
	color: #888;
	margin: 0 10em 0 0;
	padding: 0;
	font-weight: bold;
	text-shadow: 2px 2px 2px #fff;
}

#header p a
{
	text-decoration: none;
	color: #888;
}

#header ul
{
	list-style-type: none;
	text-align: right;
	float: right;
	margin-top: 0.5em;
}

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

#header li a
{
	text-decoration: none;
	color: #666;
	font-weight: bold;
}

#header li a:hover
{
	color: #000;
	text-shadow: 1px 1px 1px #999;
}

#header img { margin-bottom: -2px; }

/* INTRO ------------------------------------------------------------------ */
#intro
{
	background-color: #47a;
	color: #fff;
	font-weight: bold;
	padding: 0.8em 1em;
	font-size: 1.1em;
	border: 0.15em solid #258;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	background: -webkit-gradient( linear, 0 0, 2% 100%, from(#69c), to(#47a) );
}

#intro a { color: #fff; }

#intro p:first-child:first-letter
{
	font-size: 1.7em;
	font-weight: normal;
}

/* CONTENT ------------------------------------------------------------------ */
#content { padding: 0 1.3em; }
#content p + p, #content ul + p, #content p + ul { margin-top: 0.5em; }

#content a, #content a:link, #content a:visited
{
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #333;
}

#content a:hover { color: #c30; }
#content h1:first-child, #content h2:first-child { margin-top: -0.3em; }

#content li
{
	list-style-type: circle;
	margin-left: 2em;
}

/* FOOTER ------------------------------------------------------------------ */
#footer
{
	padding: 1em 1.5em;
	text-align: center;
	font-size: 0.9em;
	color: #666;
}
