/*

Theme name: Fabelhaugen
Description: A WordPress theme by Fredrik Sørlie
Version: 1
Author: Fredrik Sørlie
Author URI: http://fredriksoerlie.com

*/

/* -------------------------------- Global styles -------------------------------- */

* { 
	margin: 0; 
	padding: 0; 
}

html, body { 
	width: 100%; 
	height: 100%;
}

body, table, tr, td, th, input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px; 
	color: #999;
}

img { 
	vertical-align: bottom; 
	border:0; 
}

p { 
	display: block; 
	clear: both; 
	margin-bottom: 20px; 
}

.hr {
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	background: #FFF url("images/hr.png") center top no-repeat;
	margin: 30px 0;
	padding: 0;
}

blockquote {
	font-size: 16px; 
	color: #666;
	border-left: 1px solid #CCC;
	padding-left: 20px;
}

.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

.alignleft { float: left !important; }

.alignright { float: right !important; }

.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.clear { clear: both; }

/* -------------------------------- Heading styles -------------------------------- */

h1 {
	font-size: 20px; 
	font-weight: lighter;
	color: #CCC; 
	line-height: 22px;
	clear: both;
	margin-bottom: 25px;
}

h2 {
	font-size: 16px; 
	font-weight: lighter;
	color: #CCC; 
	line-height: 22px;
	clear: both;
	margin-bottom: 25px;
	padding-bottom: 2px;
	border-bottom: 1px solid #333;
}

h3 {
	font-size: 18px; 
	font-weight: lighter; 
	color: #CCC;
	clear: both;
	margin-bottom: 10px;
}

.post h3 {
	margin-bottom: 5px;
}

h4 {	
	font-size: 14px; 
	font-weight: lighter; 
	color: #CCC;
	margin-bottom: 0;
}

h5 {	
	font-size: 14px; 
	font-weight: lighter; 
	color: #CCC;
}

h6 {	
	font-size: 12px; 
	font-weight: lighter; 
	color: #CCC;
}

/* -------------------------------- Link styles -------------------------------- */

a,
a:focus, 
a:link, 
a:active { 
	outline: none; 
}

a, a:visited {
	color: #963; 
}

a:hover {
	color: #987; 
	text-decoration: underline;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
	text-decoration: none;
}


ul#menu li a {
	text-decoration: none;
	height: 120px;
	line-height: 120px; 
	padding: 0 15px;
	margin-left: 1px;
	display: table;
}

ul#menu li.current_page_item a,
ul#menu li a:hover {
	color: #000;
	background: transparent url("images/menu-hover.gif") no-repeat top center;
	text-decoration: none;
}

.rss {
	background: url('images/rss-icon.png') left 50% no-repeat;
	padding-left: 26px;
}

/* -------------------------------- List styles -------------------------------- */

ul,
ol,
li {
}

ul#menu {
	font-size: 12px;
	text-transform: uppercase;
	text-align: left;
	list-style: none;
	position: absolute;
	top: 0;
	right: 25px;
}

	ul#menu li {
		display: table;
		float: left;
	}

ul#sitemap {
	list-style: none;
	margin-bottom: 20px;
}

ul#sitemap li {
	display: inline;
	margin-right: 20px;
}

#maincontent ul {
	list-style: none;
	display: block; 
	clear: both;
	margin-bottom: 20px;
}

#maincontent ul li {
	list-style: none;
	display: block; 
	clear: both;
	margin-bottom: 5px;
	padding-left: 20px;
	background: url('images/check.png') left no-repeat;
}

#sidebar ul {
	list-style: none;
	display: block; 
	clear: both;
	margin-bottom: 20px;
}

ul#sidenav {
	padding-bottom: 5px;
	margin-bottom: 20px;
	border-bottom: 1px solid #222;
}

ul#sidenav li {
	width: 240px;
	overflow: hidden;
	display: table; 
	clear: both;
	padding-top: 5px;
	border-top: 1px solid #222;
}

#footer ul#subnav {
	display: inline;
	float: right;
}

#footer ul#subnav li {
	display: inline;
	float: left;
	margin-right: 20px;
}

/* -------------------------------- Form styles -------------------------------- */

input, select {
	width: 50%;
	height: 22px;
	line-height: 22px;
	color: #999;
	background: #000;
	border: 1px solid #333;
	
}

textarea {
	width: 70%;
	line-height: 22px;
	color: #999;
	background: #000;
	border: 1px solid #333;
	overflow: auto;
}

input.submit,
input#submit {
	width: 100px;
	height: 26px;
	margin: 10px 0;
	background: #333;
	border: 1px solid #666;
	float: left;
	cursor: hand;
}

/* -------------------------------- Main layout styles -------------------------------- */

body {
	text-align: center; 
	background: #000 url("images/bg-body.jpg") no-repeat top center;
}

div#container {
	width: 900px;
	margin: 0 auto;
	padding-bottom: 20px;
}

div#header {
	width: 900px;
	height: 120px;
	background: url("images/bg-header.gif") no-repeat;
	overflow: hidden;
	display: block; 
	clear: both;
	position: relative;
}

	div#logo {
		display: block; 
		position: absolute;
		top: 27px;
		left: 40px;
	}



div#cover {
	width: 900px;
	height: 290px;
	overflow: hidden;
	background: #000 url("images/bg-cover.jpg") no-repeat;
	clear: both;
}

	div#cover div#bloginfo {
		text-align: left;
		padding: 100px;
		float: right;
	}
	
		div#name {
			font-size: 40px; 
			font-weight: lighter; 
			color: #CCC; 
			clear: both;
		}

		div#desc {
			font-size: 30px; 
			font-weight: lighter; 
			color: #999; 
			clear: both;
		}

div#content {
	width: 900px;
	background: #111 url("images/bg-content.png") top center no-repeat;
	text-align: left;
	clear: both;
	display: block;
	line-height: 20px;
	margin: 0 auto;
	padding: 40px 0;
	border-top: 1px solid #444;
}

	div#maincontent {
		width: 500px;
		float: left;
		display: inline;
		margin-left: 40px;
	}

	div#sidebar {
		width: 240px;
		float: right;
		display: inline;
		margin-right: 40px;
	}

div#footer {
	width: 900px;
	height: 40px;
	font-size: 12px;
	line-height: 40px;
	background: url("images/bg-footer.png") no-repeat;
	overflow: hidden;
	display: block; 
	clear: both;
	text-align: left;
}

	div#copyright {
		color: #666;
		margin-left: 20px;
		float: left;
		display: inline;
	}
	
	div#credits {
		margin: 20px;
		float: right;
		display: inline;
	}

/* -------------------------------- Additional layout styles -------------------------------- */

.size-medium, .size-thumbnail {
	display: block; 
	float: left;
	margin: 0 20px 10px 0;
}

.size-large, .size-full {
	display: block; 
	clear: both;
	margin-bottom: 10px;
}

.date {
	font-size: 11px;
	color: #666;
	margin: 0;
	line-height: 12px;
}

#maincontent .page,
#maincontent .post,
#maincontent .comment {
	width: 500px;
	overflow: hidden;
	display: table; 
	clear: both;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #222;
}

#sidebar .page,
#sidebar .post {
	width: 240px;
	overflow: hidden;
	display: table; 
	clear: both;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #222;
}

#sidebar .post {
	padding-bottom: 5px;
	margin-bottom: 10px;
}


.timestamp {
	width: 26px;
	float: left;
	text-align: center;
	display: block;
}

	.timestamp .date {
		color: #CCC;
		font-size: 22px;
		line-height: 18px;
		margin: 3px auto 0 auto;
		text-align: center;
	}

	.timestamp .time {
		color: #666;
		font-size: 9px;
		line-height: 10px;
		margin: 0 auto;
		text-align: center;
	}

.posttitle {
	width: 454px;
	float: right;
}

.postmeta,
.commentmeta {
	display: block; 
	clear: both;
	margin-bottom: 20px;	
}

#pagination,
#navigation {
	display: block; 
	clear: both;
}

#pagination {
	width: 600px;
	overflow: hidden;
	border-top: 1px solid #CCC;
	display: table; 
	clear: both;
	padding: 20px 0;
}

.commentavatar {
	float: left; 
	margin-right: 20px;
}

.commenttext {
	float: left;
}

.alt {
	/*background: #EFEFEF;*/
}

.widget {
	display: block; 
	clear: both;
	margin-bottom: 20px;	
}

.box {
	padding: 40px 20px;
}

.post img {
	margin: 0 10px 10px 0;
}

.button {
	padding: 8px 16px;
	margin: 10px 0;
	background: url('images/bg-button.png') repeat-x;
	border: 1px solid #CCC;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	color: #666;
	cursor: pointer;
}

.button a, .button a:visited {
	color: #666;
}

.button a:hover {
	color: #666;
	text-decoration: none;
}

div#bvn {
	width: 100%;
	text-align: center;
}


