/*
Theme Name: linusbohman.se v3
Theme URI: http://linusbohman.se/
Description: An experimental wordpress theme that enables custom styling of every page.
Version: 0.5
Author: Linus Bohman
*/


/* RESET AND UTILITY ------------------------------------- */
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,
dd, dl, dt, li, ol, ul,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	/* line-height: 1; */
	font-family: inherit;
	text-align: left;
	vertical-align: baseline;}

a img, :link img, :visited img {
	border: 0;}

table {
	border-collapse: collapse;
	border-spacing: 0;}

ol, ul {
	list-style: none;}

q:before, q:after, blockquote:before, blockquote:after {
	content: "";}

/* clearfix */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;}
.clearfix {
	display: inline-block;}
html[xmlns] .clearfix {
	display: block;}
* html .clearfix {
	height: 1%;}



/* FRONT PUSHER -------------------------------------- */
#front-pusher {
  background: transparent url(bilder/front-wecreatephotos.png) top left no-repeat;
  border: 10px solid #444;
  border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
  
  display: block;
  height: 380px;
  width: 780px;
  text-indent: -99999em;
  margin-bottom: 60px;
}



/* STANDARD POST --------------------------------------
   Layout */
body {
	color: #454545;
	font: 14px Georgia, Times, serif;
	background-color: #FFF;
	line-height: 20px;}

#header {}

#contentwrap {}

#content.inner {
	padding: 50px 20px 40px 20px;
	width: 800px;}

.inner {
	width: 960px;
	margin-left: auto;
	margin-right: auto;}

ul.indexbottom h2,	
h1 {
	font: italic 40px/1.1em baskerville,palatino,'palatino linotype',georgia, serif;
	color: #000;
	letter-spacing: -1px;
	margin-bottom: 1em;
	max-width: 725px;
}
h1 a {
	color: #000;
	text-decoration: none;
}
	
a {
	text-decoration: none;}
a:hover {
	text-decoration: underline;}

.left,
.images,
.links {
	float: left;
	width: 300px;}
.links {
	clear: left;
}

.post {
	clear: both;}

.maincontent {
	width: 500px;
	margin-left: 300px;}

/* Navigation on standard single post */
#navbar {
	position: fixed;
	top: 0;
	left: 50%;
	margin-left: -140px;
	width: 280px;
	background-color: #333;
	padding: 10px 20px;
	border-bottom-right-radius: 20px;
	border-bottom-left-radius: 20px;
	-moz-border-radius-bottomleft: 20px;
	-moz-border-radius-bottomright: 20px;
	-webkit-border-bottom-left-radius: 20px;
	-webkit-border-bottom-right-radius: 20px;
	filter: alpha(opacity=0.6);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}

.nav-item {
	float: left;
	margin-right: 20px;}
	
#navbar a {
	color: #CCC;
	font: bold 15px/22px Helvetica, Arial, sans-serif;
	text-decoration: none;
}
#navbar a:hover {
	color: #FFF;
}

#navbar li {
	text-align: center;
	width: 120px;
}

.post-meta {
  position: fixed;
	top: 65px;
	right: 5px;
	width: 65px;
}
.post-meta:hover {
  width: 100%;
}

.previouspost a,
.nextpost a {
	width: 0px;
	height: 0px;
	font-size: 0px;
	padding: 15px;
	background-color: #333;
	filter: alpha(opacity=0.6);
	-moz-opacity: 0.6;
	opacity: 0.6;
	text-decoration: none;
	color: transparent;
	float: right;
}

.previouspost a:hover,
.nextpost a:hover {
	background-color: #ff0000;
	font: bold 14px/2px Helvetica, Arial, sans-serif;
	color: #FFF;
	width: auto;
	height: auto;
	line-height: 15px;
}

.previouspost a {
	text-align: right;
	border-bottom-left-radius: 40px;
	border-top-left-radius: 40px;
	-moz-border-radius-bottomleft: 40px;
	-moz-border-radius-topleft: 40px;
	-webkit-border-top-left-radius: 15px;
	-webkit-border-bottom-left-radius: 15px;
	border-bottom-right-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
}
.nextpost a {
  margin-left: 5px;
	border-bottom-right-radius: 40px;
	border-top-right-radius: 40px;
	-moz-border-radius-bottomright: 40px;
	-moz-border-radius-topright: 40px;
	-webkit-border-top-right-radius: 15px;
	-webkit-border-bottom-right-radius: 15px;
	border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
}


/* General post formatting */
body.home,
.post .maincontent {
	font: 14px/22px georgia, serif;
	color: #000;
}

ul.indexbottom .aboutlinus a,
.post .maincontent a {
	border-bottom: 1px solid #93a41d;
	color: #000;
	font-variant: small-caps;
}
ul.indexbottom .aboutlinus a:hover,
.post .maincontent a:hover {
	color: #FFF;
	text-decoration: none;
	background-color: #93A41D;
}

.post .maincontent p {
	margin-bottom: 1em;
	width: 418px;}

ul.indexbottom em,
.post .maincontent em {
	font-style: italic;}

ul.indexbottom strong,
.post .maincontent strong {
	font-weight: bold;}

ul.indexbottom blockquote,
.post .maincontent blockquote {
	border-bottom: 0.071em dotted #A9A9A0;
	border-top: 0.071em dotted #A9A9A0;
	margin: 1.571em 0;
	padding: 1.571em 25px;
	font-size: 13px;
	line-height: 20px;
	width: 368px;
}
ul.indexbottom blockquote p,
.post .maincontent blockquote p {
	margin: 0;
}

.post .maincontent ul,
.post .maincontent ol {
	width: 343px;
	font-size: 13px;
	line-height: 20px;
	list-style-position: outside;
	border-bottom: 1px dotted #A9A9A0;
	border-top: 1px dotted #A9A9A0;
	margin: 1.571em 0;
	padding: 1.571em 25px 1.571em 50px;}
.post .maincontent ul {
	list-style-type: circle;}
.post .maincontent ol {
	list-style-type: decimal;}
.post .maincontent ul li,
.post .maincontent ol li {
	margin-bottom: 4px;
}

.post .maincontent h1 {
	font-size: 1.5em;
	font-weight: bold;}
.post .maincontent h2 {
	font-size: 1.2em;
	font-weight: bold;}
.post .maincontent h3 {
	font-weight: bold;}

.post .maincontent .alignleft {
	float: left;}
.post .maincontent .alignright {
	float: right;}

/* Stuff that is to the left - images and links */
.images {
	padding: 20px;
	background: #EEE;
	width: auto;
	max-width: 225px;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}
.images li,
.images li a {
	padding: 0;
	margin: 0;
	height: 75px;
	width: 75px;
	display: block;
	float: left;
}

.links {
	margin-top: 20px;
	width: 265px;
}
.links li {
	margin-bottom: 8px;
}
.links li a {
	font: bold 16px/20px Helvetica, Arial, serif;
	color: #CCC;
	text-decoration: none;
}
.links li a:hover {
	color: #777;
}


/* FRONT PAGE FORMATTING -------------------------------------- */
body.home #content.inner {
	margin: 20px auto;
	background-color: #FFF;
	padding: 40px 0 0 0;
}

ul.indexbottom {
  border: 5px dashed #EEE;
  padding: 20px;
}

ul.indexbottom li.aboutlinus {
	float: left;
	width: 233px;
}
ul.indexbottom .creativestream {
	margin: 0 0 0 40px;
	width: auto;
	float: left;
}

ul.indexbottom p {
	margin-bottom: 1em;
}

ul.indexbottom h3 {
	margin-bottom: 7px;
}
ul.indexbottom h3 a {
	font-variant: normal;
	border: 0 none;
	color: #000;
	text-decoration: none;
}
ul.indexbottom h3 span {
	font-variant: small-caps;
	font-weight: bold;
	color: #93a41d;
	font-size: 12px;
}
ul.indexbottom h3 a:hover,
ul.indexbottom h3 a:hover span {
  background: #93a41d;
  color: #FFF;
}

#filter {
  overflow: hidden;
  font-family: Helvetica,Arial,sans-serif;
}
#filter li {
  float: left;
}
#filter a {
  display: block;
  float: left;
  padding: 0 8px;
  margin: 0 3px;
  border: 0 none;
  color: #AAA;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 22px;
  outline: 0 none;
  text-decoration: none;
}
#filter a:hover {
  color: #888;
}
#filter li.current a {
  color: #444;
}
#filter a:first-child {
  margin-left: 0;
  padding-left: 0;
}


/* MONSTERS ARE PEOPLE TOO -------------------------------------- */
body.category-sketch {
  background-color: #000;
  color: #FFF;
}

body.category-sketch #header {
  margin-top: 50px;
  margin-bottom: 50px;
}

body.category-sketch #header h1 {
  color: #FFF;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-style: normal;
  margin-bottom: 0px;
  font-size: 63px;
}

body.category-sketch #header p {
  padding-bottom: 50px;
  border-bottom: 10px dotted #222;
}

body.category-sketch #header h1,
body.category-sketch #header p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 960px;
}

body.category-sketch #content.inner {
  padding: 0 20px 20px 20px;
}

body.category-sketch li.post {
  margin-bottom: 50px;
}

body.category-sketch li.post img {
  max-width: 334px;
  float: left;
  margin-right: 10px;
}

body.category-sketch li.post p {
  font-size: 37px;
  line-height: 1em;
  font-weight: bold;
}

body.category-sketch li.post .number {
  font-size: 100px;
  color: #222;
  font-weight: bold;
  line-height: 1em;
  float: right;
  width: 456px;
}


/* LIGHTBOX -------------------------------------- */
#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(http://www.linusbohman.se/lightbox/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.linusbohman.se/lightbox/images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%	
	}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	

#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}
