/* =Resets - from Eric Myer's Reset CSS http://meyerweb.com/eric/tools/css/reset/index.html
-----------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	/* outline: 0; */
	font-size: 100%;	
	vertical-align: baseline;
	background: transparent;
}

/* !Page specific theming */
    
body {
	background: #fcfcf6  url( '../images/body-smaller.jpg' ) repeat-x fixed left -8px;
	color: #000;
	}	

	body > header {
	    border-top: 7px solid #fff;
		}

	nav #logo {
		background: url( '../images/sprites.png' ) no-repeat -470px 0;
		}
	
		nav ul li a:hover {
			color: #fff;
	        }
	
		nav ul li.current a {
			color: #fff;
			}
	    
		nav ul li a#about span {
		    color: #99cc33;
		    }
			    
		nav ul li a#archives span {
		    color: #da274e;
		    }
			    
		nav ul li a#projects span {
		    color: #468af8;			    
		    } 

        nav ul li a {
			color: #000;
		    font-style: italic;
		    font-family: "Myriad Pro", "Verdana", sans-serif;
		    background: url( '../images/sprites.png' ) top left no-repeat;
		    }

		article > section + section {
			background: #fff;
			}
			
			article > section + section p {
				background: #fff;
				}

			article > section div ul.content li {
				display: inline;
				background: #fff;
				padding: 0 3px;
				-moz-border-radius: 4px;
				}

			article section ul,
			article section ol,
			article section pre,
			article section div {
				font-family: Arial, Helvetica, sans-serif;
				background: #eee;
				border: 1px dotted #999;
				border-width: 1px 0;
				}
				
			ul + ul,
			ul + ol, 
			ul + pre, 
			ul + div,
			ol + ol, 
			ol + ul,
			ol + div,
			ol + pre,
			pre + pre,
			pre + ul,
			pre + ol,
			pre + div, 
			div + div,
			div + ol, 
			div + ul, 
			div + pre {
				border-top: 0 !important;
				}
		
			article section div {
				background: #faffdf;
				}

			article > section + section, 
			img#tweet, 
			body #articles ul.home {
				-moz-box-shadow: 0 0 5px #555;
				-webkit-box-shadow: 0 0 5px #555;
				box-shadow: 0 0 10px #555;
				}
				
			article section img {
				/* display: block; */
				width: 100%;
				border: 5px solid #999;
				border-width: 5px 0;
				}
					
			article section a img {
				/* border-color: #333; */
				}
				
			article section a:hover img {
				border-color: #666;
				}

	footer {
	    background: url('../images/body-smaller.jpg') 0 0 repeat-x;
	    border-top: 7px solid #fff;
	    }

		#footerContent p {
			color: #fff;
			}

		footer p a:hover {
			color: #fff;
			}

/* =General and helper
-----------------------------------------------------------------------------
/* Always show the scroolbar, prevents the "jumpy" effect that otherwive occur */
html { 
	overflow-y: scroll;
	overflow-x: auto;
	margin: 0;
	padding: 0;
	height: 100%;
	}

/* Clearing floats */
#wrap, article, nav ul, #commentlist li {
	overflow: hidden;
	zoom: 1;
    }

/* =Typography
-----------------------------------------------------------------------------*/
body {
	font: 62.5% "Optima", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Lucida, Verdana, Arial, sans-serif;
	font-weight: 100;
	}

p {
	margin: 0;
	padding: 2em;
	font-family: "Chaparral Pro","Cochin","Didot","Georgia",serif;
	text-align: justify;
	font-size: 1.6em;
	line-height: 1.8em;	
	}

h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", "Lucida Grande", Verdana, Arial, sans-serif;
	letter-spacing: 0.1em;
	font-weight: 100;
	line-height: 1em;
	margin: 0;
	}

h1 {
	/* 	font-family: "Optima", "Chaparral Pro","Cochin","Didot","Georgia",serif; */
	/* "Existence-Light", Georgia, serif; */
	margin: 0 0 1em;
	padding-top: 1em;
	font-weight: 500;
	font-size: 3.0em;
	letter-spacing: 0.04em;
	}

h2#post-search {
	text-align: right;
	width: 480px;
	margin-top: 100px;
	}

h2 {
	font-size: 2em; 
	line-height: 1.166em;
	padding: 0 1em 1em 1.7em;
	}

h3 {
	font-size: 2em; 
	line-height: 1.166em;
	}

h4 {
	font-size: 1.6em; 
	line-height: 1.313em;
	}
	
article header h4 {
	color: #666;
	} 

h5 {
	font-size: 1.4em; 
	line-height: 1.5em;
	}

p + h2, p + h3, p + h4, p + h5 {
	padding-top: 1em;
	}

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

h2 + p {
	padding-top: 0;
	}

	
article img, article div, article pre {

	}
	
article header p {	
	float: right;
	clear: both;
	margin-top: 17px;
	}

article section h4.quote {
	font-style: italic;
	}

/* =Structure
-----------------------------------------------------------------------------*/

	/* HTML5 fix */
	header, menu, section, article, nav, footer, aside, figure, dialog { display: block;} 

body > header {
    z-index: 3;
    position: fixed;
    width: 100%;
    top: 0;
    border-top: 7px solid #fff;
	}

		nav {
			padding: 0;
			height: 100px;
			margin: 50px auto 0;
			width: 820px;
			position: relative;
			}
			
			nav #jump-to-content {
				/* background: rgba(255, 255, 255, 0.35) none repeat scroll 0 0; */
				display: block;
				padding: 5px 0 5px 15px;
				width: 250px;
				}
				
			nav #logo {
				background: url( '../images/sprites.png' ) no-repeat -470px 0;
	        	width: 288px;
	        	height: 41px;
	        	margin-right: 110px;
	        	float: left;
				text-indent: -1000em;
				letter-spacing: -10000em;
				text-decoration: none;
				}
		
		    nav ul {
		    	font-family: "Chaparral Pro", "Cochin", "Didot", "Georgia", serif;
		    	list-style: none;
		    	font-weight: 100;
		    	width: 820px;
		    	}
		    	
		    	nav ul li {
		            float: left;
		            height: 100%;
		    		}
		    		          
		            nav ul li a {
		            	width: 100px;
		            	height: 100%;
		            	padding: 25px 0 0;
   			    		margin: 0 60px 0 0;
					    text-decoration: none;
					    letter-spacing: 0.05em;
					    font-size: 0.9em;
					    line-height: 1.2em;
					    display: block;
					    }

						nav #projects {
							margin-right: 0;
							}					    
					    
					    nav #about {
					    	background-position: -160px 0;
					    	}
					    	
					    nav #archives {
					    	background-position: -320px 0;
					    	}
					    
					    	
					    nav ul li a#about:hover {
							background-position: -160px -73px;
						    }
					    
					    nav ul li a#archives:hover {
					    	background-position: -320px -73px;
					    	}
					     
					    nav ul li a#projects:hover {
					    	background-position: 0 -73px;
					    	}
					    
					    nav ul li a span {
					    	display: none;
					    	}
		
			nav ul li.item {
			}
		
		    nav ul li#logo {
    			float: left;
    			width: 37.5em;
    			}
		
			nav ul li#search {
				margin: 0 0 0 1em;
				}
		    		
section#tweet {
	margin: 50px 0 50px;
	padding: 0;
  	width: 820px;
	font-family: "Chaparral Pro", "Cochin", "Didot", "Georgia", serif;
	}

	#tweet small {
		font-size: 0.2em;
		display: block;
		}
	
	#tweet p {
	   	font-size: 5em;
	   	font-style: italic;
	   	text-align: right;
		}

/* =Error
-----------------------------------------------------------------------------*/

.error {
	list-style:none;
	margin: 0 5em 1em 140px;
	color: #da274e;
	font-size: 1.8em;
    }

/* =Primary Content
-----------------------------------------------------------------------------*/

body {
	margin: 0;
	padding: 0;
	height: 100%;
	}
	
	article {
		margin: 0 5em;
		}
		
	article + article {
			margin-top: 5em;
		}

		article header {
			text-align: left;
			padding: 0 40px;
			top: 0;
			}
			
		article > section {
			float: left;
			width: 140px;
			margin: 15px 0 0 5px;
			text-align: center;
			}
			
			article > section > h4 {
				font-family: Georgia, "Times New Roman", Times, serif;
				font-style: italic;
				border-bottom: 1px dotted black;
				margin-top: 20px;
				}
				
			article > section > time > span {
				font-size: 22px;
				display: block;
				}
			
			article > section > span + span {
				font-size: 28px;
				}
			
		article > section + section {
			margin: 0 5px 20px 245px;
			padding: 0;
			float: none;
			width: auto;
			text-align: left;
			}
			
			article > section + section p + p {
				margin-top: 2em;
				}

article > section div.meta {
	width: 100%;
	display: table;
	margin: 0 0 20px;
	padding: 0;
	}
	
	article > section div span, article > section div ul {
		display: table-cell;
		white-space: nowrap;
		width: 100%;
		}


	article > section div span.content {
		padding-left: 10px;
		display: block;
		}
		
	article > section div ul.content {
		list-style: none;
		padding-left: 10px;
		}

		article > section div ul.content li {
			display: inline;
			padding: 0 3px;
			}


article section ul,
article section ol,
article section pre,
article section div {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	line-height: 1.75em;
	display: block;
	padding: 2em 3em;
	}

article section pre > code {
	padding: 0;
	margin: 0;
	overflow: hidden;
	display: block;
	line-height: 1em;
	font-family: Courier, monospace;
	}
	
	article section pre > code span {
		line-height: 1.4em;
		margin: 0;
		padding: 0;
		}

article section ul, article section ol {
	list-style-position: inside;
	}

article section li {
	margin-bottom: 0.75em;
	}

article section li:last-child {
	margin-bottom: 0.0em;
	}

article section ul {
	list-style-type: square;
	}

article section ul.no-bullets {
	list-style: none;
}

article section ul.float-left {
	float: left;
}

/* =Page selector
-----------------------------------------------------------------------------*/

#page-selector {
	font-family: "Helvetica Neue",Verdana,"Bitstream Vera Sans",sans-serif;
	font-size: 1.3em;
	font-weight: 100;
	text-align: left;
	margin: 0 3.125em 3em 500px;
	padding: 0 0 0 3.125em;
	max-width: 40.2em;
	}
			#page-selector a {
				width: 180px;
				float: left;
				}

			#page-selector .next-page {
				float: right;
				}

			#page-selector a:hover {
				color: #000;
				text-decoration: none;
				}

/* =Footer
-----------------------------------------------------------------------------*/

footer {
	height: 350px;
	width: 100%;
	bottom: 0;
	z-index: 100;
    }

    #footerContent {
		margin: 60px auto 10px;
		width: 820px;
    	}

		#footerContent p {
			/* font-family: "Helvetica Neue",Verdana,"Bitstream Vera Sans",sans-serif; */
			font-size: 1.3em;
			font-weight: 100;
			text-align: left;
			margin: 0 30px 0 290px;
			padding: 0;
			}

/* =Tables
-----------------------------------------------------------------------------*/

table {
	border-spacing: 0;
	border-collapse: collapse;
    }

td {
	text-align: left;
	font-weight: normal;
    }

/*Comments-----------------------------------------------------------------------------*/

		ul#commentlist li {
			margin: 0 0 40px;
			}

			ul#commentlist li .comment-meta {
				float: left;
				width: 340px;
                }
			
			ul#commentlist li .comment-content {
				margin: 0 0 0 400px;
                }


		ul#commentlist li.comment-unapproved {
			background: #fcc;
    		}

        #commentlist h4 {
            margin: 0 70px 0 0;
            text-align: right;
            }

        #commentlist .cal {
            display: block;
            margin: 0 70px 0 0;
            text-align: right;
            }

		#commentlist h4 a span {
			font-size: 0.8em;
			color: #666;
			float:  none;
			display: block;
			visibility: hidden;
			}

		#commentlist h4 a:hover span {
			visibility: visible;
			}

	#commentlist img {
        float: right;
		margin: 0;
		padding: 0;
		height: 60px;
		width: 60px;
		border: none;
		}

/* !commentform styling */

/* !All boxes */
#pings-list, #commentform form {
	width: 820px;
	margin: 0 auto;
	}

#commentlist {
	width: 820px;
	margin: 0 auto;
	list-style: none;
	}

#comments h3 {
	width: 820px;
	margin: 0 auto;
	padding: 1.25em 0 0;
	text-align: right;
	}


#commentform {
	background: #fff;
	padding: 40px 0 300px;
	border-top: 7px solid #a4dee2;
	position: relative;
	z-index: 10;
	}

	#commentform h2 {
		text-align: left;
		margin: 0 auto 2em;
		width: 820px;
		padding: 0 0 0 30px;
		float: none;
		}
   
    fieldset#textarea label {
    	display: none;
    	}

legend {
    font-size: 1.6em;
	padding: 0;
	}


fieldset#aboutyou {
    float: left;
    width: 280px;
    margin-left: 15px;
    }
    
    fieldset#aboutyou strong {
    	text-align: right;
    	display:block;
    	}
    
    fieldset#aboutyou .formcontrol {
    	margin: 0 0 1em 0;
    	}
    
	#aboutyou legend {
		padding: 0 0 10px 0;
		}

	#aboutyou label {
		width: 60px;
		text-align: right;
		background: #bfbfbf;
		float: left;
		padding: 1em;
		}

	#aboutyou input {
		display: block;	
		font-family: "Lucida Grande",Lucida,Verdana,sans-serif;
		font-weight: 900;
		margin: 0;
		width: 180px;
		font-size: 1.0em;
		padding: 1em;
		border: none;
    	background: #f4f4f4;		
		}

	#aboutyou input, textarea {
		color: #999;
		}
		
		#aboutyou #cf_submit {
			float: right;
			margin: 20px 0 0
			}


fieldset#textarea {
	margin: 0 0 0 330px;
	padding: 0;
    }

	fieldset#textarea textarea {
		font-size: 1.6em;
		height: 180px;
		padding: 10px;
		width: 430px;
    	margin: 10px 0 0;
    	border: none;
    	background: #f4f4f4;
		}
	
fieldset#textarea textarea:hover, #aboutyou input:hover {
    background: #a4dee2;
    color: #fff;
	}

#cf_submit input {
	width: auto;
	color: #000;
	background: #666;
	padding: 5px;
	margin: 10px 0;
	border: 1px solid transparent;
	font-size: 1.5em;
	float: right;
	}
	
body #articles {
	margin: 0 auto;
	padding: 100px 0 250px;
	width: 820px;
	min-height: 100%;
	}

	body #articles ul.home {
		list-style: none;
		margin: 50px 0 0 290px;
		font-size: 14px;
		padding: 1em 0;
		background: #fff;
		}
		
		body #articles ul.home li {
			margin: 0;
			padding: 1em 2em;
			}

			body #articles ul.home li span {
				float: left;
				width: 85px;
				color: #777;
				font-size: 12px;
				line-height: 20px;
				}
				
				body #articles ul.home li span:after {
					content: '»';
					float: right;
					}
			
			body #articles ul.home li h2 {
				margin: 0 0 0 100px;
				padding: 0;
				font-size: 16px;
				font-style: italic;
				font-family: Baskerville,"Palatino Linotype",Times,"Times New Roman",serif;			
				}
				
				body #articles ul.home li h2 a:hover {
					color: #000;
					}
	
	body#display_entry #articles {
		margin-bottom: 0;
		}
	
	body #articles article {
		margin: 0 auto 5em;
		}
	
	h1 {
		color: #545454;
		}

	h2, h3, h4, h5 {		
		color: #000;
		}

/* =Links
-----------------------------------------------------------------------------*/

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

article section h2 a, article section h3 a, article section h4 a {
	color: #000;
	}
	
	article section .tumble-archive a {
		color: #000;
		}
		
		article section h4.exp {
			margin-left: 1em;
			}

article section a {
	text-decoration: none;
	}

article section a:hover {
	color: #000;
	}

h1 a, h2 a, h3 a, h4 a, h5 a {
	color: #1c2124;
	}

h2 a:hover, h1 a:hover {
	color: #333;
	}

article section p a {
	color: #000;
	border-bottom: 1px dotted #000;
	}

	article section p + article section img {
		margin: 1em 0;
		}
	
article section p a:hover {
	color: #000;
	border-bottom: 1px solid black;
	}
	
img#tweet {
	margin: 50px 0 50px 5px;
	width: 810px;	
	}
					
/* !Pretty printing styles. Used with prettify.js. */

.str { color: #080; }
.kwd { color: #008; }
.com { color: #800; }
.typ { color: #606; }
.lit { color: #066; }
.pun { color: #660; }
.pln { color: #000; }
.tag { color: #008; }
.atn { color: #606; }
.atv { color: #080; }
.dec { color: #606; }

@media print {
  .str { color: #060; }
  .kwd { color: #006; font-weight: bold; }
  .com { color: #600; font-style: italic; }
  .typ { color: #404; font-weight: bold; }
  .lit { color: #044; }
  .pun { color: #440; }
  .pln { color: #000; }
  .tag { color: #006; font-weight: bold; }
  .atn { color: #404; }
  .atv { color: #060; }
	}

/* SLIMBOX */		
#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
	}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
	}

.lbLoading {
	background: #fff url( "http://broken8.se/user/plugins/slimbox2/images/loading.gif" ) no-repeat center;
	}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
	}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
	}

#lbPrevLink {
	left: 0;
	}

#lbPrevLink:hover {
	background: transparent url( "http://broken8.se/user/plugins/slimbox2/images/prevlabel.gif" ) no-repeat 0 15%;
	}

#lbNextLink {
	right: 0;
	}

#lbNextLink:hover {
	background: transparent url( "http://broken8.se/user/plugins/slimbox2/images/nextlabel.gif" ) no-repeat 100% 15%;
	}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
	}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url( "http://broken8.se/user/plugins/slimbox2/images/closelabel.gif" ) no-repeat center;
	margin: 5px 0;
	outline: none;
	}

#lbCaption, #lbNumber {
	margin-right: 71px;
	}

#lbCaption {
	font-weight: bold;
	}