/*
 *	Copyright 2005-2010 Max Antoni
 *	http://www.maxantoni.de
 */
html, body {
	margin: 0;
	padding: 0;
	text-align: center;
	font: 0.99em 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
	color: #333;
}

body {
	background: #bbb;
}

html > body {
	background: #bbb url("../img/bg.gif") repeat;
}

p, form {
	margin: 0;
	padding: 0;
}

img {
	border-width: 0;
	padding: 0;
	margin: 0;
}

img#home_icon {
	width: 15px;
	height: 15px;
	vertical-align: top;
}

ul, ol, li {
	padding: 0;
	margin: 0;
	list-style: none;
}

br.clear {
	clear: both;
	font-size: 1px;
	height: 0;
	margin: 0;
	line-height: 0;
}

abbr {
	cursor: help;
	border: 0 dotted;
	border-bottom-width: 1px;
}

/*
 * Frame
 */ 
#container {
	margin: 0 auto;
	padding: 0;
	width: 760px;
	overflow: auto;
	-webkit-animation: fadein 1s;
}

@-webkit-keyframes fadein {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

#frame {
	float: left;
	width: 710px;
	padding: 10px 25px 0 25px;
	text-align: left;
	background: transparent url("../img/shadow.jpg") repeat-y;
}

#container > #frame {
	background: transparent url("../img/shadow.png") repeat-y;
}

header {
	display: block;
	border: 0 #a0a0a0 solid;
	border-top-width: 4px;
	background: transparent url("../img/logo_maxantoni.jpg") no-repeat;
}

#moodspacer {
	display: block;
	width: 270px;
	height: 149px;
	font-size: 1px;
}

section {
	float: left;
	width: 500px;
	padding: 0 0 1.5em 0;
	background-color: #e6e6e6;
}

a#homelink {
	float: left;
	display: block;
	width: 250px;
	height: 80px;
	font-size: 1px;
	padding: 0;
	margin: 30px 0 0 10px;
}

a#homelink:hover {
	text-decoration: none;
}

h2 {
	color: #fff;
	font-size: 0.98em;
	font-weight: normal;
	padding: 10px 0.6em 15px 0.6em;
	margin: 0;
}

a {
	font: 1em 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
	font-weight: normal;
	text-decoration: none;
	padding: 0;
	margin: 0;
}

a:hover {
	text-decoration: underline;
}

a.right {
	float: right;
	width: auto;
}


/*
 * Navigation
 */
header nav {
	height: 1.3em;
	overflow: hidden;
}

header nav a {
	display: block;
	float: left;
	width: auto;
	text-align: center;
	font: 0.85em 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
	font-weight: bold;
	text-decoration: none;
	color: #eee;
	padding: 0.2em 10px 0.2em 10px;
	margin: 0 1px 0 0;
	border-width: 0px;
}

header nav > a {
	margin: 0 2px 0 0;
}

header nav a:hover {
	color: #fff;
	text-decoration: none;
	border-width: 0px;
}

a:hover {
	text-shadow: 0 0 10px #fff;
}

a, a:hover {
	transition: color .3s, text-shadow .3s;
	-webkit-transition: color .3s, text-shadow .3s;
	-moz-transition: color .3s, text-shadow .3s;
}

header nav a.grey {
	background: #666 url("../img/nav_bg_grey.jpg") repeat-x;
}

header nav a.blue {
	background: #69c url("../img/nav_bg_blue.jpg") repeat-x;
}

header nav a.green {
	background: #396 url("../img/nav_bg_green.jpg") repeat-x;
}

header nav a.orange {
	background: #c93 url("../img/nav_bg_orange.jpg") repeat-x;
}

header nav a.red {
	background: #933 url("../img/nav_bg_red.jpg") repeat-x;
}

section h3 {
	font-size: 0.98em;
	font-weight: bold;
	margin: 0;
	padding: 1.5em 10px 0.8em 10px;
	clear: left;
}

section img.left {
	font-size: 0.98em;
	font-weight: bold;
	float: left;
	margin: 0;
	padding: 1.5em 1em 0 10px;
}

section img.right {
	font-size: 0.98em;
	font-weight: bold;
	float: right;
	margin: 0;
	padding: 1.5em 10px 0 1em;
}

section small {
	display: block;
	color: #666;
	font-size: 0.85em;
	font-weight: normal;
	padding: 0 0 0.7em 0;
	margin: 0;
}

section h2 small {
	float: right;
	color: #fff;
	padding: 0.25em 10px 0 0;
	margin: 0;
	vertical-align: bottom;
}

section p {
	font-size: 0.84em;
	font-weight: normal;
	color: #333;
	line-height: 1.4em;
	margin: 0 10px 1em 10px;
	overflow: auto;
}

section ul {
	font-size: 0.84em;
	font-weight: normal;
	color: #333;
	line-height: 1.4em;
	padding: 0 10px 1em 3em;
	overflow: auto;
}

section li {
	list-style-type: disc;
}

section ul.links {
	font-size: 0.84em;
	padding: 0 10px 1em 10px;
	overflow: auto;
}

section ul.links li {
	float: left;
	list-style-type: none;
	padding: 0 2.4em 0 0;
}

section code {
	font: 1em monaco, 'Courier New', courier, monospace;
}

section pre {
	font: 0.84em monaco, 'Courier New', courier, monospace;
	padding: 1em;
	margin: 0.5em 1em 0.5em 2em;
	background-color: #fff;
	border: 1px solid #ccc;
	overflow: auto;
}

section a, section a:hover {
	transition: color .3s;
	-webkit-transition: color .3s;
	-moz-transition: color .3s;
}

section p.example {
	border: 2px dashed #aaa;
	background-color: #ccc;
	padding: 1em 2em;
	overflow: auto;
}

section blockquote {
	font-size: 0.84em;
	padding: 1em;
	margin: 0.5em 3em;
	background-color: #ddd;
	border: 0 solid #aaa;
	border-left-width: 3px;
	overflow: auto;
}

aside {
	float: left;
	width: 200px;
	margin: 0 0 0 10px;
}

aside a {
	color: #eee;
	text-decoration: none;
}

aside a:hover {
	color: #fff;
	text-decoration: underline;
}

aside h3 {
	font-size: 0.98em;
	font-weight: normal;
	color: #fff;
	padding: 0.6em 10px 1em 10px;
	margin: 0;
}

aside p {
	font-size: 0.72em;
	font-weight: normal;
	line-height: 1.4em;
	color: #eee;
	padding: 0 10px 1.15em 10px;
	margin: 0;
}

aside figure {
	display: block;
	font-size: 0.72em;
	font-weight: normal;
	color: #eee;
	padding: 10px 0;
	text-align: center;
}

aside figure img {
	margin-left: 4px;
	-webkit-animation: spin 2s;
}

@-webkit-keyframes spin {
	from {
		-webkit-transform: rotateX(180deg) rotateY(180deg);
	}
	50% {
		-webkit-transform: rotateX(180deg) rotateY(180deg);
	}
	to {
		-webkit-transform: rotateX(0deg) rotateY(0deg);
	}
}

aside div.footer {
	text-align: center;
}

#twitter {
	-webkit-animation: twitter 2s 10s;
}

@-webkit-keyframes twitter {
	from {
		-webkit-transform: rotateY(0deg);
	}
	to {
		-webkit-transform: rotateY(360deg);
	}
}

aside ul {
	font-size: 0.72em;
	font-weight: normal;
	line-height: 1.4em;
	color: #eee;
	padding: 0 10px 1.15em 10px;
	margin: 0;
}

aside li {
	margin: 0 0 0 2em;
	list-style-type: disc;
}

aside div.hr {
	font-size: 1px;
	background: transparent url("../img/nav_bar_bg.gif") repeat-x top;
	height: 5px;
	padding: 0;
	margin: 0 0 10px 0;
}

footer {
	float:left;
	width: 710px;
	padding: 15px 25px 0 25px;
	font-size: 0.72em;
	background: transparent url("../img/shadow_bottom.jpg") no-repeat top;
}

#container > footer {
	background: transparent url("../img/shadow_bottom.png") no-repeat top;
}

footer p {
	clear:both;
	padding: 1.5em 0 2em 0;
	font-weight: normal;
	line-height: 1.7em;
}

footer p a {
	color: #333;
	font-weight: normal;
	text-decoration: none;
}

footer p a:hover {
	font-weight: normal;
	text-decoration: underline;
}

footer nav {
	display: block;
}

footer nav a {
	display: block;
	float: left;
	width: auto;
	padding: 2px 0.8em 2px 0.8em;
	margin: 0 0.2em 0 0;
	text-decoration: none;
	color: #333;
}

footer nav a:hover {
	text-decoration: none;
	color: #fff;
}

footer nav a, footer nav a:hover {
	transition: color .3s, text-shadow .3s, background-color .3s;
	-webkit-transition: color .3s, text-shadow .3s, background-color .3s;
	-moz-transition: color .3s, text-shadow .3s, background-color .3s;
}

footer nav a.grey {
	background-color: transparent;
}

footer nav a.grey:hover {
	background-color: #666;
}

footer nav a.blue {
	background-color: transparent;
}

footer nav a.blue:hover {
	background-color: #69c;
}

footer nav a.green {
	background-color: transparent;
}

footer nav a.green:hover {
	background-color: #396;
}

footer nav a.orange {
	background-color: transparent;
}

footer nav a.orange:hover {
	background-color: #c93;
}

footer nav a.red {
	background-color: transparent;
}

footer nav a.red:hover {
	background-color: #933;
}

#top-link {
	float: right;
}
