/*
Global Styles
*******************************************************************************/
html, body{
	height: 100%;
	min-height:100%;
	margin:0;
	padding:0;
}

body{
	background:#283e5d;
	color:white;
	font-family:sans-serif;
	font-size:85%;
}

header,nav,section,article,aside,footer{
	display: block; /* for older browsers*/
}

a{
	color: #444;
}

h1,h2,h3,h4,h5,h6{
	margin:0;
	font-weight:normal;
	font-variant: small-caps;
}

h1 a, h2 a, h3 a{
	color:black;
	text-decoration:none;
}

img{
	border: 0;
}

/*
Title
*******************************************************************************/
#hd1, #hd2{
	position:absolute;
	top:14px;
	font-size:50px;
	font-weight:bold;
	text-decoration: none;
}


#hd1{
	left:0;
	width:275px;
	text-align:right;
	color:white;
	text-shadow: 3px 3px 4px #002;
}

#hd2{
	left:267px;
	color:black;
	text-shadow: 3px 3px 4px #88a;
}

/*
Body Content
*******************************************************************************/
#main{
	background:white;
	color:black;
	margin-left:272px;
	max-width:800px;
	min-height:100%;
	padding:20px 40px;
}

#spinrect_canvas{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -10;
}



/*
Navbar
*******************************************************************************/

#main > nav{
	margin: 0 0 0 200px;
	background:#222;
	overflow:hidden;
}

#main > nav > ul{
	margin:0;
	padding:0;
}

#main > nav li{
	border-right:1px solid #ccc;
	display:block;
	float:left;
	padding:0;
}

#main > nav a{
	color: white;
	text-decoration:none;
	font-size:18px;
	padding: 10px 15px;
	display:block;
	font-variant: small-caps;
}

#main > nav a:hover{
	background: #555;
}

/*
Blocks
******************************************************************************/

#blocks-top{
	margin: 0 -20px -20px -20px;
	display: table;
	border-spacing: 20px;
}

#blocks-top aside{
	display: table-cell;
	width: 50%;
	padding: 5px 20px 10px 20px;
	margin: 25px 10px 10px 10px;
	color:white;
	min-height:200px;
}

#blocks-top h1{
	font-size: 25px;
}

#blocks-top a{
	text-decoration:none;
	color:#ddd;
}

#tagcloud{
	background: #275C58;
}

#tagcloud a{
	color: inherit;
}

#tagcloud .t1{font-size:100%}
#tagcloud .t2{font-size:130%}
#tagcloud .t3{font-size:150%}
#tagcloud .t4{font-size:180%}
#tagcloud .t5{font-size:200%}

/*green: #275C35*/

#about-block{
	background: #5C3527;
	text-align:justify;
	line-height:1.8em;
}

#about-block a{
	color:#ccc;
}

#about-block a:hover{
	text-decoration:underline;
}


/*
Nodes
*******************************************************************************/
article{
	clear:both;
	margin-bottom:25px;
}

article h1, article h2, article h3, article h4{
	margin-top: 15px;
}

article h2, article h3, article h4{
	border-bottom: 1px solid #ccc;
}

article p, article code, article ul{
	line-height:1.6em;
}

article > h1{
	border-bottom:12px solid #ccc;
	font-size: 30px;
}

article > header{
	color:#444;
	font-size:80%;
	height: 1.2em;
}

article > header > a[rel=tag]{
	float: left;
	margin-right: 0.6em;
}

article > header > time{
	float:right;
}

.node-link, .node-quote{
	min-height: 110px;
	color:white;
	padding: 5px 20px 10px 20px;
	margin:20px 0 10px 0;
}

.node-link{
	background:#888 url('images/link-icon.png') no-repeat;
	padding-left: 80px;
}

.node-quote{
	background:#444;
}

.node-link > h1{
	border: none;
}

.node-quote p{
	font-size:135%;
}

.node-quote p, .node-link p{
	margin:0;
}

.node-link a, .node-link header, .node-quote a, .node-quote header{
	color:#ddd;
}

.node-link > h1 a, .node-quote > h1 a{
	color:white;
}

.quote{
	margin-left:2em !important;
	border-left:5px solid #888;
	padding-left:1em;
}

.quote + p{
	margin-left:2em !important;
	padding-left:1em;
}

.node-quote .quote, .node-link .quote{
	border-left-color: white;
}

.node-link .hilight, .node-quote .hilight{
	color:#bcf;
}

.node-image{
	background: #111;
	padding: 20px;
	color: white;
	margin:20px auto 10px auto;
}

.node-image img{
	width: 100%;
}

.node-image a, .node-image header{
	color: #aaa;
}

#main .node-image h1{
	border: none;
	margin: 4px 0px 10px 10px;
	float: right;
	font-size: 30px;
}

#main .node-image h1 a{
	color: white;
}

.node-image > header > time, .node-image > header a[rel="tag"]{
	float: none;
}

#saveshare{
	background: #222;
	color: white;
	padding: 10px;
	margin: 20px 0;
	vertical-align:middle;
}

#saveshare>span{
	display:inline-block;
	margin-right: 20px;
}

#saveshare img{
	vertical-align:middle;
	margin: 0 10px;
}

/* 
Sitemap 
******************************************************************************/

.sitemap li{
	list-style-type:none;
}

.sitemap section h1{
	border-bottom: 1px solid #ccc;
	font-size: 20px;
}

.sitemap section p{
	text-indent:30px;
}

.sitemap li span{
	margin-right:25px;
	color: #888;
}

.sitemap-entry:target{
	background: #ffa;
}

article > a[rel=bookmark]{
	font-weight: bold;
	display: block;
	clear: both;
}

/*
Footer
*******************************************************************************/
footer{
	border-top: 1px solid #ccc;
	font-size: small;
	font-variant: small-caps;
}


/*
Gallery
*******************************************************************************/

.gallery{
	margin: 10px -10px;
}

.gallery a{
	display: inline-block;
	position: relative;
	vertical-align: top;
	width: 320px;
	min-height: 270px;
	padding: 20px;
	padding-bottom: 10px;
	margin:10px;
	text-decoration: none;
	background: #eee;
}

.gallery img{
	width: 320px;
}

#main .gallery h3{
	position: absolute;
	bottom: 0;
	right: 0;
	margin: 0 20px 10px 0;
	border: none;
}



/*
Misc
*******************************************************************************/

.imagebox{
	border:1px solid #ccc;
	margin:2px;
	padding:4px;
	float:left;
	background:#fefeff;
}

.imagebox span.caption{
	display:block;
	text-align:center;
	font-weight:bold;
}

.imagebox ul, .imagebox li{
	padding:0;
	margin:0;
	list-style-type:none;
}

.warn{
	background: #ff8;
	padding: 5px;
}

.rfloat{
	display: block;
	float: right;
	margin: 10px 0 10px 10px;
}

code{
	font-family:monospace;
	color: #020;
	background: #eee;
	font-size: 120%;
	padding: 2px;
}

pre code{
	display:block;
	padding: 15px;
}

code em{
	color: green;
}

a.download{
	padding: 8px;
	padding-left: 32px;
	background: #ddd url('images/download.png') 2px center no-repeat;
	border: 1px solid #888;
	text-decoration:none;
}

.node-image a.download{
	background-color: #333;
	border-color: #555;
}

a.download:hover{
	text-decoration:underline;
}
