/* Allmänt
---------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
}

img {
	border: none;
}

html {
	background: #fff;
	color: #000;
	height: 100%;
	margin: 0 0 0.01em 0;
	font-size: 100%;
}

body {
	text-align: center;
	font: 62.5%/2em Arial, Verdana, Helvetica, Sans-Serif;
}

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}

.clearfix {display: inline-block;}


/* Struktur
---------------------------------------------------------- */

#container {
	width: 85em;
	margin: 9em auto 0 auto;
	text-align: left;
	border: none;
}

#header {
	width: 85em;
	height: 4.1em;
}

#content {	
	margin: 0 0 3em 0;
	clear: both;
}

#content-projects {
	margin: 0 0 1.5em 0;
}

#left {
	width: 58em;
	float: left;
}

#right {	
	margin: 0;
	width: 27em;
	float: right;
}

#t-about {
	padding: 1.7em 0 0 0;
	border-top: 1px solid #000;
	width: 56em;
	margin: 0 2em 0 0;
	background: #fff;
	float: left;
	display: inline;
}

#t-about p {
		font-size: 1.3em;
		margin: 0 0 1em 0;
}

#t-about p a {
	text-decoration: none;
	color: #1380A8;
	border-bottom: 1px dotted #1380A8;
}

#latest-projs {
	padding: 0.7em 0 0 0;
	border-top: 1px solid #000;
	margin: 0 0 1.6em 0;
	background: #fff;
	width: 27em;
}

#latest-projs p, #latest-projs h4 {
	font-size: 1.1em;
}

#latest-projs p {
	margin: 0 0 1em 0;
	line-height: 1.3em;
}

#latest-projs p a {
	color: #000;
	text-decoration: none;
}

#bottom div {
	float: left;
}

#interests {
	border-top: 2px solid #ccc;
	background: #fff;
	padding: 0.7em 0 0 0;
	margin: 2em 2em 0 0;
	width: 27em;
	display: inline;
}

#interests p {
	font-size: 1.15em;
	line-height: 1.4em;
}

#interests ul {
	margin: 1.1em 0 0 0.4em;
}

#interests ul li {
	list-style-type: square;
	list-style-position: inside;
	font-size: 1.15em;
	margin: 0 0 0.4em 0;
}

#bookmarks {
	border-top: 2px solid #ccc;
	background: #fff;
	padding: 0.7em 0 0 0;
	margin: 2em 2em 0 0;
	width: 27em;
	display: inline;
}

#bookmarks_header {
	width: 27em;
	border-bottom: 1px dotted #ccc;
	margin: 0 0 1em 0;
	padding: 0 0 0.4em 0;
}

#bookmarks_header img {
	margin: 0.3em 0.3em 0 0;
	float: right;
	display: none;
}

#bookmarks h3, #interests h3, #latest-projs h3, #cv h3, #topright h3 {
	color: #459DD3;
	font-size: 1.3em;
	border-bottom: 1px dotted #ccc;
	padding: 0 0 0.2em 0;
	margin: 0 0 1em 0;
}

#bookmarks h3 {
	margin: 0;
	padding: 0;
	float: left;
	border: none;
	display: inline;
}

#topright h3 {
	color: #7CA406;
	margin: 0.5em 0 0.1em 0;
}

#topright h3.contact {
	color: #C3B808;
	margin: 0.5em 0 0.6em 0;
}

#latest-projs h3 {
	margin: 0.7em 0 0.5em 0;
}

#interests h3 {
	margin: 0 0 0.5em 0;
}

#bookmarks h4 a, #latest-projs h4 a {
	text-decoration: none;
	color: #000;
}

#bookmarks a {
	font: bold 1.1em/1.4em Arial, Verdana, Helvetica, Sans-Serif;
	text-decoration: none;
	margin: 0 0 0.3em 0;
	display: block;
	color: #000;
}

#bookmarks p {
	font-size: 1.1em;
	font-weight: normal;
	line-height: 1.5em;
	margin: 0 0 1.5em 0;
}

#bookmarks p.nolinks {
	font-weight: bold;
}

#bookmarks p.right {
	margin: 0;
}

#bookmarks a.more_bookmarks {
	text-decoration: underline;
	color: #333;
	margin: -0.9em 2em 0 0;
	font-size: 1em;
	text-align: right;
	outline: none;
}

#projects, #contact {
	border-top: 1px solid #000;
	background: #fff;
	width: 56em;
	float: left;
	padding: 1.7em 0 0 0;
	margin: 0 2em 0 0;
	display: inline;
}

#projects p {
	font-size: 1.3em;
	margin: 0 0 1.3em 0;
}

#projects div.meta {
	margin: -0.6em 0 0 0;
	font-size: 1.19em;
	color: #7a7a7a;
}

#projects div.meta a {
	color: #696969;
}

#projects h3, #contact h3 {
	font-size: 1.35em;
}

#projects div.project {
	margin: 0 0 2.7em 0;
}

div.project a {
	text-decoration: none;
	font-weight: bold;	
}

div.project a:link {
	color: #464646;
}

div.project p a:hover {
	border-bottom: #666666;
	border-width: 0px 0px 1px 0px;
	border-style: none none dotted none;
}

div.project h3 a {
	color: #000;
	border: none;
	font-size: 1em;
}

#project_nav {
	margin: 2em 0 0 0;
	padding: 0;
	display: inline;
}

#projects div.project h3 {
	font-size: 1.55em;
}

#project_nav #previous {
	width: 49%;
	float: left;
	text-align: left;
	display: inline;
}

#project_nav #next {
	width: 49%;
	float: right;
	margin: 0 1em 0 0;
	text-align: right;
	display: inline;
}

#previous a, #next a {
	color: #706f6f;
	font-size: 1.1em;
}

#topright {
	padding: 1em 0 0 0;
	border-top: 1px solid #000;
	margin: 0;
	background: #fff;
	width: 27em;
	float: left;
	display: inline;
}

#topright h4 {
	font-size: 1.2em;
}

#topright p {
	font-size: 1.15em;
	line-height: 1.5em;
	margin: 0.6em 0 1em 0;
}

#topright p.showall {
	clear: both;
	margin: 2em 0 0 0;
}

#topright ul.meta {
	margin: 0 0 1.5em 1em;
}

#topright ul.meta li {
	list-style-type: square;
	list-style-position: inside;
	font-size: 1.15em;
}

#topright a {
	font-weight: bold;
	text-decoration: none;
	color: #464646;
}

div.project p a:visited {
	color: #464646;
}

#interests div.links-left, #interests div.links-right {
	width: 12em;
	margin: 0.7em 0 0 1em;
}

#interests div.links-left {
	margin: 0.7em 0.5em 0 0;
}

div.links-left, div.links-right {
	float: left;
	width: 12.5em;
	margin: 0.6em 1em 1.5em 0;
}

div.links-right {
	margin: 0.6em 0 1.5em 1em;
}

#topright ul {
	list-style: none;
}

#topright ul.categories li {
	font-size: 1.1em;
  line-height: 1.2em;
  letter-spacing: 0.03em;
 	border-bottom: 1px solid #e4e4e4;
  margin: 0;
  padding: 0;
}

#topright ul.categories li.active {
	background: #f2f2f2;
}

#topright ul.categories li a {
	display: block;
	padding: 0.55em 0 0.55em 0.25em;
}

#topright ul.categories li a:hover {
	background: #f2f2f2;
	text-decoration: underline;
}

.hide {
	display: none;
}

#topright ul.kontaktinfo {
	margin: 0.2em 0 1.5em 0.6em;
}

#topright ul.kontaktinfo li {
	list-style-type: square;
	list-style-position: inside;
	font-size: 1.1em;
	margin: 0 0 0.4em 0;
}

#topright p.status {
	margin: 0 0 0 0.6em;
}

#cv {
	background: #fff;
	width: 27em;
}

#cv ul.cv-list {
	list-style: none
}

#cv ul.cv-list li {
	width: 27em;
	display: block;
	margin: 0 0 0.7em 0;
}

#cv ul.cv-list li.pdf {
	background: #f8f7f7 url(../images/acrobat.png) no-repeat 0.5em 1em;
}

#cv ul.cv-list li.doc {
	background: #f8f7f7 url(../images/word.png) no-repeat 0.5em 1em;
}

#cv ul.cv-list li:hover {
	background-color: #eee;
}

#cv ul.cv-list li a {
	width: 20.2em;
	display: block;
	padding: 0.6em 0 0.6em 2.2em;
	font-size: 1.2em;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	text-decoration: none;
	color: #000;
}

#footer {
	padding: 1em 0 8em 0;
	background: url(../images/footer.gif) 50% 0 repeat-x;
	clear: both;
}

#footer p {
	font-size: 1em;
	color: #919191;
}

#footer p a {
	color: #706f6f;
	text-decoration: none;
}

/* Toppnavigation
---------------------------------------------------------- */

#header_name {
	float: left;
	background: url(../images/name.gif) left top no-repeat;
	overflow: hidden;
	width: 27em;
	height: 2.65em;
	cursor: pointer;
}

#header_name h1 {
	text-indent:-9000px;
}

#navigation {
	float: right;
	width: 27em;
}

#header ul {
	list-style: none;
}

#header ul li {
	float: left;
}

#header ul li a { 
	font-size: 1.1em;
	letter-spacing: 0.07em;
	color: #000; 
	display: block;
	width: 7.35em;
	border-left: 1px solid #000;
	padding: 0.2em 0 0.2em 0.7em;
	font-weight: normal; 
	text-transform: uppercase;
	text-decoration: none;
}

header ul li.active a {
	text-decoration: underline;
}

#header ul.home-nav li.active a {
	color: #459DD3;
}

#header ul.projects-nav li.active a {
	color: #7CA406;
}

#header ul.contact-nav li.active a {
	color: #C3B808;
}

#header ul li.home a:hover {
	background: #1380A8;
}

#header ul li.projects a:hover {
	background: #7CA406;
}

#header ul li.contact a:hover {
	background: #C3B808;
}

#header ul li a:hover, #header ul li.active a:hover {  
	color: #fff;
	text-decoration: none;
}


/* Kontaktformulär
---------------------------------------------------------- */

#contact p.kontaktinfo {
	font-size: 1.2em;
	margin: 0 0 2em 0;
}

#kontaktformular label {
	font-size: 1.2em;
}

#kontaktformular dt {
	margin: 0 0 0.4em 0;
}

#kontaktformular #name, #kontaktformular #email {
	width: 19.8em;
	padding: 0.1em;
	margin: 0 0 15px 0;
	color: #444;
}

#kontaktformular textarea {
	width: 32.5em;
	height: 15em;
	margin: 0 0 8px 0;
	color: #444;
}

a.clear_form {
	margin: 0 0 0 1em;
	color: #000;
}

#kontaktformular label {
	font-size: 1.2em;
}

#content div.formerror h4.centrera, #content div.formsuccess h4.centrera {
	text-align: center;
	font-size: 1.2em;
}

#content div.formerror, #content div.formsuccess {
	width: 90%;
	margin: 0.5em auto 2em auto;
	padding: 10px;
	background: #f8f7f7;
	color: #636363;
	border: 2px solid #e8e8e8;
	border-left: none;
	border-right: none;
}
