body
{
	font: 75% Arial, Helvetica, sans-serif;
	margin: 10em;
	overflow: hidden;
	-webkit-transition: background-color ease-in-out 1s;
	-moz-transition: background-color ease-in-out 1s;
	background-color: #333;
	text-shadow: 0 0 10px rgba(0,0,0,0);
}

h1
{
	font-size: 150%;
	font-weight: normal;
}

	span.title
	{
		opacity: .5;
	}

nav
{
	font-size: 180%;
}

	nav a
	{
		margin: 0 1.5em 0 0;
	}

a
{
	color: #ffd100;
	font-weight: bold;
	-webkit-transition: color ease-out 1s;
	-moz-transition: color ease-out 1s;
}

	a:hover
	{
		color: #345;
		background-color: #ffd100;
		text-decoration: none;
	}

header, nav, article, section
{
	display: block;
}

header, nav, article
{
	margin: 0 auto;
	max-width: 1200px;
}

section
{
	display: block;
	position: relative;
	font-size: large;
	background-color: rgb(255,255,255);
	background-color: rgba(255,255,255,0.4);
	margin: 2em 0;
	padding: 2em;
	overflow: hidden;
}

	section p
	{
		line-height: 1.4em;
		margin: 1em 0 0 0;
	}

	section > h1:first-child
	{
		margin-top: 0;
	}

	section h1:first-child + p
	{
		font-size: larger;
		opacity: .8;
	}

#dimmer
{
	position: absolute;
	top: 1em; right: 1em;
	text-decoration: none;
	background-color: rgba(255,255,255,0.3);
	padding: .4em;
	-webkit-transition: .2s;
	-moz-transition: .2s;
}

	#dimmer:hover
	{
		background-color: rgba(255,255,255,0.8);
	}

#bg
{
	position: absolute;
	top: -100%; left: -100%; bottom: 0; right: 0;
	width: 300%; height: 200%;
	z-index: -1;
	opacity: 1;
	-webkit-transition: opacity ease-in .5s;
	-moz-transition: opacity ease-in .5s;
}

	#bg div
	{
		width: 100%; height: 0;
		background-repeat: no-repeat;
		background-color: #eef;
		-webkit-transition: height ease-out .05s;
		-moz-transition: height ease-out .05s;
	}

	body.night #bg { opacity: .1; }

#bgImage
{
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	width: 100%; height: 100%;
	z-index: -2;
	background: #333 url(bg.jpg) center center no-repeat;
	/*background: #333 -webkit-gradient(linear, right top, left bottom, from(rgb(0,255,150)), to(rgb(0,255,0)));*/
	opacity: .5;
	-webkit-transition: background linear .5s;
	-moz-transition: background linear .5s;
}

div.side
{
	position: absolute;
	-webkit-box-shadow: 0 0 10px rgba(255,255,200,.3);
	-moz-box-shadow: 0 0 10px rgba(255,255,200,.3);
	-webkit-transition: -webkit-box-shadow linear .2s;
}

div#left
{
	left: -42px; top: 0;
	height: 100%; width: 42px;
}
div#top
{
	top: -42px; left: 0;
	height: 42px; width: 100%;
}
div#right
{
	top: 0; right: -42px;
	height: 100%; width: 42px;
}
div#bottom
{
	bottom: -42px; right: 0;
	width: 100%; height: 42px;
}