body {
	min-width: 950px;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	line-height: 20px;
	background: #e5ecf4;
}

/* todo move to reset.css */
header, footer, nav, section, article {
	display: block;
}

h1, h2, h3, h4, p, ul, ol, dl {
	margin-bottom: 20px;	
	line-height: 20px;
}

h2 {
	font-size: 14px;
	font-weight: bold;
}

article h1, h2#skills {
	font-size: 20px;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: normal;
}

a {
	color: #173e7a;
}

a:hover {
	text-decoration: none;	
}

strong a {
	color: black;
}

dt {
	clear: left;
	float: left;
	width: 5em;
}

dd {
	margin-left: 5em;
}

.vcard .url, .vcard .website, .vcard .type {
	display: none;
}



.showgrid { 
  background: url("../img/grid.png");
}



#content {
	position: relative;
	padding-bottom: 20px;
	margin: 0 auto;
	width: 950px;
}



header {
	position: relative;
	padding-top: 30px;
	min-height: 70px;
	background: #3b6dab;
}

header nav {
	padding-left: 360px;
	margin: 0 auto;
	width: 590px;
	overflow: hidden;
}

header nav ul {
	overflow: hidden; /* some candy for older Opera version, now behave! */
	font-size: 16px;
	font-family: Georgia, "Times New Roman", serif;
}

header nav li {
	float: left;
	margin-right: 1.5em;
}

header a {
	color: white;
}

header h1 {
	/* reset */
	line-height: 1;
	margin-bottom: 0;

	position: absolute;
	z-index: 100;
	left: -475px;
	bottom: -12px;
	margin-left: 50%;
	width: 320px;
	height: 53px;
	text-indent: -10000px;
	background: url("../img/logo.png") no-repeat center bottom white;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}



#profil {
	float: left;
	padding-top: 40px;
	padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 10px;
	margin-right: 40px;
	width: 260px;
	background:  white;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;	
}

#projekte, #kontakt {
	width: 590px;
}

#projekte {
	float: left;
	padding-top: 40px;
}

#kontakt {
	clear: left;
	padding-top: 20px;
	margin-left: 360px;
}



article.projekt {
	/* reset */
	margin-bottom: 20px;

	clear: left;
	float: left;
	margin-right: 50px;
	width: 230px;
}

/* wish I could use :n-th-child() */
article.projekt.last {
	clear: none;
	margin-right: 0; /* be nice to IE6 */
}

article.projekt h1 {
	/* reset */
	font-size: 14px;
	font-family: Helvetica, Arial, sans-serif;
	margin-top: -5px;	
	margin-bottom: 5px;	

	font-weight: bold;
}



p.image {
	margin-left: -5px;
	margin-bottom: 20px;
	width: 230px;
	height: 150px;
	overflow: hidden;
	border: solid 5px white;
}

p.image img {
	display: block;
	width: 230px;
}

#profil p.image {
	width: 255px;
}

#profil p.image img {
	width: 255px;
}





nav#extras {
	background: #3b6dab;
	padding-top: 20px;
	padding-bottom: 20px;
	overflow: hidden;
}

nav#extras div {
	padding-left: 360px;
	margin: 0 auto;
	width: 590px;
}

nav#extras, nav#extras *, nav#extras a:hover {
	color: white;
}

nav#extras a {
	margin-right: 10px;
}

nav#extras h3 {
	/* reset */
	font-size: 1em;
	margin-bottom: 0;	
	
	float: left;
	clear: left;
	width: 8em;
}

nav#extras p {
	/* reset */
	margin-bottom: 0;
}



#link_to_top.js {
	position: fixed;
	right: 0;
	bottom: 100px;
	margin: 0;
}

#link_to_top.js a {
	/* reset */
	margin-right: 0;

	display: block;
	width: 25px;
	height: 127px;
	text-indent: -10000px;
	background: url("../img/link_to_top.png") no-repeat;
}



ul.tagcloud {
	overflow: hidden;
}

ul.tagcloud li {
	float: left;
	padding: 2px 7px;
	margin-right: 7px;
	margin-bottom: 4px;
	background: #e5ecf4;
	border-radius: 7px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	line-height: 1;
	white-space: nowrap;
}

ul.tagcloud span, abbr, a.haddock {
	border-bottom: dotted 1px #4063A0;
}

ul.tagcloud .weight-10 {
	margin-bottom: 11px;
	font-size: 10px;
}

ul.tagcloud .weight-20 {
	margin-bottom: 11px;
	font-size: 10px;
}

ul.tagcloud .weight-30 {
	margin-bottom: 10px;
	font-size: 11px;
}

ul.tagcloud .weight-40 {
	margin-bottom: 10px;
	font-size: 11px;
}

ul.tagcloud .weight-50 {
	margin-bottom: 9px;
	font-size: 12px;
}

ul.tagcloud .weight-60 {
	margin-bottom: 9px;
	font-size: 12px;
}

ul.tagcloud .weight-70 {
	margin-bottom: 8px;
	font-size: 13px;
}

ul.tagcloud .weight-80 {
	margin-bottom: 8px;
	font-size: 13px;
}

ul.tagcloud .weight-90 {
	margin-bottom: 7px;
	font-size: 14px;
}

ul.tagcloud .weight-100 {
	margin-bottom: 7px;
	font-size: 14px;
}


ul.tags {
	margin-top: -10px;
	margin-bottom: 10px;
	overflow: hidden;
}

ul.tags li {
	float: left;
	padding: 2px 5px;
	margin-top: 2px;
	margin-right: 5px;
	margin-bottom: 3px;
	background: white;
	border-radius: 7px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	font-size: 11px;
	line-height: 1;
	white-space: nowrap;
}

ul.tags a {
	color: black;
}



form {
	width: 350px;
}

form p.submit.loading {
	background-image: url("../img/ajax-loader.gif");
	background-position: 110px center;
	background-repeat: no-repeat;
}

form input {
	line-height: 1;	
}

form textarea {
	display: block; /* webkit candy: close gap */
	height: 170px;
}

fieldset {
	margin-top: -5px;
	margin-right: -5px;
	margin-bottom: 10px;
	margin-left: -5px;
	background: #FDF5C5;
	border: solid white 5px;
}

fieldset p {
	/* reset */
	line-height: 1;
	margin-bottom: 0;

	border-top: solid white 5px;
	font-family: "Lucida Console", "Bitstream Vera Sans Mono", monospace;
	font-size: 13px;
}

fieldset p:first-child {
	border: none;
}

fieldset input, fieldset textarea {
	/* reset */
	margin: 0;

	padding: 5px 5px 5px 5px;
	width: 340px;
	border: none;
	background: transparent;
	font-family: "Lucida Console", "Bitstream Vera Sans Mono", monospace;
	font-size: 13px;
}



.flash {
	padding: 5px;
	margin-right: -5px;
	margin-left: -5px;
	border: 5px solid white;
	background: white;
}

.error {
	background: #FBE3E4;
}

.notice {
	background: #FBF8DF;
}

.success {
	background: #E6EFC2;
}

section.error {
	margin-bottom: 20px;
}

section.error h3, section.error ul {
	margin-bottom: 0;
}



ul.tagcloud li, ul.tags li {
	box-shadow: 1px 1px 3px #ccc;
	-webkit-box-shadow: 1px 1px 3px #ccc;
	-moz-box-shadow: 1px 1px 3px #ccc;		
}

p.image, fieldset, .flash {
	box-shadow: 1px 1px 4px #ccc;
	-webkit-box-shadow: 1px 1px 4px #ccc;
	-moz-box-shadow: 1px 1px 4px #ccc;
}

#projekte p.image:hover {
	box-shadow: 1px 1px 10px rgba(59,109,171,0.3);
	-webkit-box-shadow: 1px 1px 10px rgba(59,109,171,0.3);
	-moz-box-shadow: 1px 1px 10px rgba(59,109,171,0.3);
}

/* prevent chrome bug with border-radius and box-shadow in combination */
/* todo this bug will be fixed in Chrome 2.1 */
.chrome ul.tagcloud li, .chrome ul.tags li {
	-webkit-box-shadow: none;	
}