/*------------------------------------------------------------------
	Stylesheet for www.svennerberg.com
	Author:	Gabriel Svennerberg
	Email:	gabriel@svennerberg.com
	Web:	http://www.svennerberg.com
------------------------------------------------------------------*/

body {
	background: #fff;
	font-family: "Lucida Sans", Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 200%;
	font-weight: normal;
	margin: 1em 0;
}
h3 {
	font-size: 100%;
	margin: 1em 0 0;
	font-variant: small-caps;
}
h4 {
	font-size: 100%;
	font-weight: bold;
	margin: 1em 0 .3em;
}

p {
	font-size: 90%;
	margin: 0 0 1em;
}
p.shorttext {
	font-size: 100%;
	line-height: 1.5em;
}

ul {

}
li {
	margin-bottom: 1em;
}

input,
textarea,
select {
	font-family: Verdana, Arial, Helvetica, Sans-serif;
	font-size: 100%;
}

input:focus,
textarea:focus,
select:focus {
	background: #ffc;
}

/* Links
------------------------------------------------------------------*/
a:link, a:visited {
	color: #111;
}
a:hover {
	color: #ff6400;
	background-color: #222;
}
a:active {

}

#secondarycontent a:link,
#secondarycontent a:visited {
	color: #ff6400;
}
#secondarycontent a:hover {
	background-color: #fff;
}

/* Layout
------------------------------------------------------------------*/

#wrapper {
	position: relative;
	width: 100%;
	min-width: 760px;
	max-width: 980px;
	border: 0px dotted red;
	float: left;
}

#branding {
	position: relative;
	background: url(../img/air.jpg) top right no-repeat; 
	height: 154px;
	border: 0px dotted green;
}
#branding h1 {
	background: url(../img/logo.gif) 14px 14px no-repeat;
	width: 455px;
	height: 116px;
	text-indent: -5000px;
	margin: 0;
	padding: 0;
}
#branding p {
	float: right;
	margin: 1em 263px 1em 20px;
	padding-right: 20px;
	font-size: 100%;
}
#skip {
	position: absolute;
	left: -2000px;
}

/* Mainmenu 
--------------------------------------------------------------------*/
#mainmenu {
	position: absolute;
	width: 100%;
	bottom: 0px;
	left: 0px;
	background: url(../img/menubg.png) top left;
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
#mainmenu li {
	display: inline;
	padding: 10px;
}
#mainmenu li.first {
	margin-left: 15px;
}
#mainmenu .selected {
	font-weight: bold;
	letter-spacing: .1em;
}

/* Main content
--------------------------------------------------------------------*/
#maincontent {
	background: #fff url(../img/gab.gif) bottom right no-repeat;
	margin: 20px 283px 10px 20px;
	border: 1px solid #666;
	padding: 30px;
	padding-bottom: 130px;
}


#maincontent h3 {
	color: #ff6400;
	text-transform: uppercase;
}

/* Secondary content
--------------------------------------------------------------------*/
#secondarycontent {
	float: right;
	background: #1a1a1a;
	color: #fff;
	width: 263px;
}
#secondarycontent h2,
#secondarycontent h3,
#secondarycontent h4,
#secondarycontent p {
	padding: 0 20px;
}
#secondarycontent h2 {
	font-size: 110%;
	font-weight: bold;
	text-transform: uppercase;
}

#secondarycontent .books {
	padding: 0 10px 0 20px;
	margin: 1em 0;
}
#secondarycontent .books img {
	width: 50px;
	margin-right: 10px;
}
/* Footer
--------------------------------------------------------------------*/
#footer {
	text-align: center;
	border-top: 1px solid #fff;
	margin: 2em 10px 1em;
	padding-top: 10px;
}
#footer p {
	font-size: 80%;
}


/* Bottom
--------------------------------------------------------------------*/
#bottom {
	clear: both;
	margin: 10px 283px 20px 20px;
}
#bottom img {
	border: none;
}
#bottom img:hover {

}

/* Projekt
--------------------------------------------------------------------*/
#projectpage #maincontent img {
	border: 1px solid #eee;
	padding: 4px;
}
#projectpage #maincontent img:hover {
	border: 1px solid #ccc;
}

#projectpage #maincontent dt {
	float: left;
	margin-bottom: .5em;
}
#projectpage #maincontent dd {
	margin-left: 100px;
	margin-bottom: .5em;
}

#projectpage h4 {
	clear: left;
}
.project_end {
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px dotted #ccc;
	clear: right;
}
img.left {
	float: left;
	margin-right: 5px;
}

img.right {
	float: right;
	margin-left: 20px;
	margin-bottom: 20px;
}

/* Kontakta mig
--------------------------------------------------------------------*/
#formarea {
	border: 1px solid #ccc;
	padding: 20px;
	margin: 1em 0;
}
#frmContact {
	margin: 1em 0;
}

#frmContact div {
	margin: 0 0 .5em;
}

#frmContact label {
	display: block;
}

#frmContact #txtName,
#frmContact #txtEmail, 
#frmContact #txtMessage {
	width: 350px;
}
#frmContact #txtComment {
	display: none;
}
#frmContact #txtMessage {
	height: 120px;
}
#thankyou {
	display: none;
}

/* Validationerrors
--------------------------------------------------------------------*/
.validationerrors {
	margin: 1em 0;
	border: 1px solid #ff6400;
	padding: 0 10px;
}
.validationerrors h3 {
	background: url(../img/icons/exclamation.png) top left no-repeat;
	padding-left: 21px;
}
.validationerrors ul {
	margin: 1em 0;
	padding: 0;
	list-style: none;
}
.validationerrors ul li {
	padding: 0;
	margin: .5em 0;
}
div.validationerror {

}
div.validationerror label {
	font-weight: bold;
	color: #f00;
}
.validationerror input,
.validationerror textarea,
.validationerror select {
	/* background: #fcc; */
}



/* Misc
--------------------------------------------------------------------*/
.clear {
	clear: both;
}


