/*
----------------------------------------
general
----------------------------------------
*/

body
{
	margin: 0;
	padding: 0;
	color: #444;
	background: #fff;
	font: 85%/1.4 arial, helvetica, sans-serif;
}

{
background-image: url(images/SuryaYantra.jpg);
background-repeat: no-repeat;
background-position: center;
}

h2, h3, h4
{
	color: #111;
	clear: both;
}

h2, h3, h4, p, ul { margin-top: 0; }

h2
{
	font-size: 160%;
	margin: 0 0 .5em 0;
}

h3
{
	font-size: 140%;
	margin: 0 0 .5em 0;
}

h4
{
	font-size: 110%;
	margin: 0 0 .5em 0;
}


form 
{ 
position:relative; 
}

form input 
{ 
position:absolute; left:11em; 
}

/*
----------------------------------------
gamle værdier #6e6e14;
----------------------------------------
*/

h2 strong, h3 strong { color: #EE7711; }
img { border: none; }

a:link
{
	color: #6e6e14;
	text-decoration: none;
	padding-bottom: 1px;
	background: url(/images/dots-alink.gif) repeat-x 0 100%;
}

a:visited
{
	color: #7b7b31;
	text-decoration: none;
	padding-bottom: 1px;
	background: url(/images/dots-alink.gif) repeat-x 0 100%;
}

a:hover, a:active { background-color: #FFC; }
a.no-border { background: none; }

blockquote
{
	margin: 1em 0;
	padding: 1em;
	border: 1px solid #ddd;
	background: #eee;
}

blockquote p { margin: 0 0 1em 0; }

blockquote p.source
{
	padding-left: 15px;
	font-size: 90%;
	background: url(/images/comment.gif) no-repeat 0 0;
	margin: 0;
}

code
{
	font-family: courier, times, monospace;
	background: #eee;
	font-size: 110%;
}

table
{
	margin: 1em 0;
	border-collapse: collapse;
}

caption
{
	font-weight: bold;
	font-size: 120%;
	margin: 1em 0 0 0;
	text-align: left;
}

th, td
{
	padding: .5em;
	border: 1px solid #999;
	text-align: left;
}

thead th { background: #ddd; }
tr.highlight { background: #CC6; }

/*
----------------------------------------
header
----------------------------------------
*/

#header
{
	position: relative;
	margin: 0 3%;
	height: 87px;
	border-top: 9px solid #EED800;
	background: url(/images/header.jpg) repeat-x 0 100%;
	min-width: 500px;
	max-width: 1000px;
}

#header h1
{
	margin: 0 3%;
	padding: 0;
	height: 68px;
	width: 328px;
	background: url(/images/logo.gif) no-repeat 0 100%;
}

#header h1 span, .structurallabel
{
	position: absolute;
	left: -5000px;
	width: 4000px;
}

#header ul
{
	position: absolute;
	top: 0;
	width: 100%;
	margin: 0;
	padding: 2px 0 0 0;
	list-style-type: none;
	text-align: right;
	font-size: 85%;
}

#header li
{
	display: inline;
	margin-right: 1em;
}

/*
----------------------------------------
banner
----------------------------------------
*/

#bannerimage
{
	border-top: 10px solid #fff;
	margin: 0 3%;
	height: 140px;
	background: url(/images/bannerimage1.jpg) no-repeat 66%;
	min-width: 500px;
	max-width: 1000px;
}

#bannerimage-article
{
	border-top: 1px solid #fff;
	margin: 0 3%;
	height: 140px;
	background: url(/images/bannerimage.jpg) no-repeat 66%;
	min-width: 500px;
	max-width: 1000px;
}

/*
----------------------------------------
topnav
----------------------------------------
*/

#topnav
{
	margin: 0 3%;
	padding: 5px 0 28px;
	background: url(/images/topnav.jpg) repeat-x 0 100%;
	min-width: 500px;
	max-width: 1000px;
}

#topnav ul
{
	margin: 0 4%;
	padding: 0;
	list-style-type: none;
}

#topnav li
{
	display: inline;
	margin-right: 1em;
}

#topnav li a
{
	background-image: none;
	font-weight: bold;
}

#topnav li a:visited { color: #6e6e14; }

/*
----------------------------------------
container
----------------------------------------
*/

#container
{
	margin: 0 3%;
	background: url(/images/dots-vertical.gif) repeat-y 66% 0;
	min-width: 500px;
	max-width: 1000px;
}

#container-wide
{
	margin: 0 3%;
	min-width: 500px;
	max-width: 1000px;
}

/*
----------------------------------------
content
----------------------------------------
*/

#content
{
	float: left;
	width: 58%;
	margin: 0 0 0 4%;
	display: inline;
	padding-bottom: 1em;
}

#content-wide
{
	margin: 0 4%;
	padding-bottom: 1em;
	max-width: 48em;
}

#content ul
{
	margin: 0 0 1em 0;
	padding: 0;
	list-style-type: none;
}

#content ul li
{
	background: url(/images/arrow.gif) no-repeat 0 .4em;
	padding-left: 10px;
}

/*
----------------------------------------
sidebar
----------------------------------------
*/

#sidebar
{
	float: right;
	width: 26%;
	margin: 0 4% 0 0;
	display: inline;
	padding-bottom: 1em;
}

#sidebar ul
{
	margin: 0 0 1em 0;
	padding: 0;
	list-style-type: none;
}

#sidebar li
{
	background: url(/images/arrow.gif) no-repeat 0 .4em;
	padding-left: 10px;
}

#sidebar label
{
	font-weight: bold;
	color: #000;
	font-size: 140%;
}

#sidebar form
{
	margin: 0 0 1em 0;
	padding: 0;
}

#sidebar input#s { width: 100%; }

#follow li
{
	padding-left: 25px;
	margin: 0 0 .1em;
}

#follow li.linkedin { background: url(/images/LinkedIn.gif) no-repeat 0 .2em; }
#follow li.slideshare { background: url(/images/SlideShare.gif) no-repeat 0 .2em; }
#follow li.twitter { background: url(/images/Twitter.gif) no-repeat 0 .2em; }
#follow li.flickr { background: url(/images/Flickr.gif) no-repeat 0 .2em; }
#follow li.delicious { background: url(/images/Delicious.gif) no-repeat 0 .2em; }
#follow li.lastfm { background: url(/images/LastFM.gif) no-repeat 0 .2em; }

#sidebar ul.feedicon li
{
	background: url(/images/feedicon.gif) no-repeat 0 .3em;
	padding-left: 20px;
}

/*
----------------------------------------
footer
----------------------------------------
*/

#footer
{
	clear: both;
	padding: 35px 4% 2em;
	background: #fff url(/images/topnav.jpg) repeat-x 0 10px;
	font-size: 85%;
}

#footer div
{
	float: left;
	width: 20%;
	padding-right: 2%;
	margin-right: 2%;
	background: url(/images/dots-vertical.gif) repeat-y 100% 0;
}

#footer p
{
	clear: both;
	width: 59%;
	margin: 0;
	padding: 2em 0;
}

#footer ul
{
	margin: 0 0 1em 0;
	padding: 0;
	list-style-type: none;
}

#footer li
{
	background: url(/images/arrow.gif) no-repeat 0 .4em;
	padding-left: 10px;
}

/*
----------------------------------------
classes
----------------------------------------
*/

p.intro
{
	background: url(/images/dots-horizontal.gif) repeat-x 0 100%;
	padding-bottom: 1em;
}

h2.intro { font-size: 130%; }
.post, .archive-post { margin: 1em 0 3em; }

.date-author
{
	font-size: 85%;
	font-style: italic;
	margin: 0 0 .5em 0;
}

.postmetadata, .tags
{
	text-align: right;
	font-size: 85%;
}

p.bookimage { margin: 0; }
p.bookimage a { border: none; }
p.bookimage a:hover, p.bookimage a:active { background: none; }

#content ul.navigation-top
{
	margin: 0;
	padding: 0 0 3em;
	list-style-type: none;
	font-size: 85%;
}

.navigation-bottom
{
	margin: 0;
	padding: 2em 0 3em;
	list-style-type: none;
	font-size: 85%;
}

#content .alignleft
{
	float: left;
	width: 47%;
	background: url(/images/arrow2.gif) no-repeat 0 .4em;
	padding-left: 10px;
}

#content .alignright
{
	float: right;
	width: 47%;
	background: url(/images/arrow.gif) no-repeat 100% .4em;
	padding-right: 10px;
	text-align: right;
}

#comments { margin-top: 2em; }

.commentlist dt
{
	background: url(/images/alt.jpg) repeat-x;
	font-size: 85%;
	margin: 1em 0 0 0;
	padding: 15px 15px 1em;
}

.commentlist dt span
{
	display: block;
	background: url(/images/comment.gif) no-repeat 100% 0;
	padding: 0 16px 0 0;
}

.commentlist dt.alt { background: url(/images/topnav.jpg) repeat-x; }

.commentlist dd
{
	margin: 0;
	padding: 0 15px 15px;
}

#content form
{
	clear: both;
	padding: 15px;
	background: #eee;
	border: 1px solid #ddd;
}

#content label span
{
	font-size: 80%;
	color: #555;
}

#author, #email, #url, #comment, .wideinput { width: 100%; }

.imagefloat
{
	float: right;
	margin: 0 0 1em 1em;
}

.imagefloatborder
{
	float: right;
	margin: 0 0 1em 1em;
	padding: 2px;
	border: 1px solid #bbb;
}

.sitelist
{
	clear: both;
	margin: 0;
	padding: 1em 0;
}

.sitelist img
{
	float: left;
	margin: 0 1em 1em 0;
	padding: 2px;
	border: 1px solid #bbb;
}

dl.thankyou
{
	margin: 1em 0;
	padding: 1em;
	background: #eee;
	border: 1px solid #ddd;
}

dl.thankyou dt
{
	float: left;
	width: 6em;
	clear: both;
	padding-bottom: .5em;
	font-weight: bold;
}

dl.thankyou dd
{
	margin-left: 7em;
	padding-bottom: .5em;
}

.codesample
{
	border: 1px solid #ddd;
	background: #eee;
	margin: 1em 0;
	padding: 1em;
}

.codesample strong { color: #C00; }
.codesample span.tab2 { width: 4em; }
.codesample span.tab3 { width: 6em; }
.codesample span.tab4 { width: 8em; }
.codesample span.tab5 { width: 10em; }
.codesample span.tab6 { width: 12em; }
.codesample span.tab7 { width: 14em; }
.codesample span.tab8 { width: 16em; }

.pagecontents
{
	margin: 1em 0 1em 1.5em;
	padding: 0;
	list-style-type: none;
}

.pagecontents li
{
	background: url(/images/arrow3.gif) no-repeat 0 .6em;
	padding-left: 10px;
}

.edit { background-color: #ffd; }
.liquid-image { width: 80%; }
dl.shorthand { margin: 1em 0; }

dl.shorthand dt
{
	clear: left;
	float: left;
	width: 6em;
	font-weight: bold;
}

dl.shorthand dd { margin-left: 7em; }
.no { background: #eee; }