/*  
Theme Name: Levitin
Theme URI: http://www.julian.se
Description: Theme for Michael Levitin
Version: 1.0
Author: Julian Kommunikation
Author URI: http://www.julian.se
*/

/*
-----------------------------------------------
CSS rules

Client:     Michael Levitin
Provider:   Julian Kommunikation (www.julian.se)
Version:  	#1 - 17 April 2007

References:
Motverka sidhopp	http://archivist.incutio.com/viewlist/css-discuss/51018
Firefox länk		http://sonspring.com/journal/removing-dotted-links'
Clearing floats		http://www.quirksmode.org/css/clearing.html
WP auto menu		http://green-beast.com/blog/?p=157#code4
Min-height			http://www.cssplay.co.uk/boxes/minheight.html
----------------------------------------------- */


/* =Content
-----------------------------------------------
01. Structure
02. Header
03. Content
04. Footer
05. Lists
06. Forms
07. Allt möjligt
08. Wordpress
----------------------------------------------- */


/* =Structure (01)
----------------------------------------------- */
body {
	margin: 0;
	padding: 0; 
	font: 76%/1.5 "Lucida Grande",Geneva,Verdana,Arial,Helvetica,sans-serif;
	font-size: 85%;
	line-height: 150%;
	color: #333;
	text-align: left;
	background: #E4E7E9 url(images/bg.gif) repeat-x;
	}

#page {
	position: relative;
	margin: 0 auto;
	padding: 0;
	width: 720px;
	background: #fff;
	border: 1px solid #eee;
	border-top: none;
	overflow: hidden;
	}

body,h1,h2,h3,h4,h5,h6,p {
	margin: 0;
	padding: 0;
	}

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	font-size: 1.4em;
	}

h2.pagetitle {
	margin: 0 0 20px;
	}

/*html
	min-height: 100%;
	margin-bottom: 1px;
	}*/

a,
input { /* Firefox prickig länk */
	outline: none;
	}

a, a:link, a:visited, a:focus, a:hover {
	color: #0066CC;
	text-decoration:none;
	}

a:hover {
	color: #000099;
	text-decoration:none;
	}

#clear {
	clear:both;
	}


/* =Header (02)
----------------------------------------------- */
#header {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
	}

#logo {
	padding: 40px 40px 5px;
	}

#logo img {
	border: none;
	}

#menu {
	padding: 0 0 15px;
	margin: 0 0 20px;
	display: inline;
	height: 30px;
	width: 758px;
	float: left;
	}


/* =Content (03)
----------------------------------------------- */
#content {
	float: left;
	margin: 0 0 50px 40px;
	display: inline;
	width: 420px;
	font-size : 0.9em;
	min-height:30em; /* IE behöver hack (nedan > * html). Fungerar det med IE7 ? */
	height:auto;
	}

/*\*/
* html #content {
	height: 30em;
	}
/**/

#content h2 {
	font-size: 1.3em;
	line-height: 1.2em;
	color: #9F2C1C;
	text-transform: uppercase;
	}

#content h2 a {
	color: #205890;
	}

#content h2 a:hover {
	color: #3D81C4;
	}

#content h3 {
	margin: 0 0 5px;
	font-size: 1.2em;
	line-height: 1.2em;
	color: #666;
	}

#content h1.indextitle,
#content h2.archivetitle {
	margin: 0 0 15px;
	color: #9F2C1C;
	font-size: 1.1em;
	text-transform: none;
	}

#content h2.archivetitle {
	margin: 0;
	}

#sidebar {
	padding: 35px 0 10px;
	margin: 0;
	margin-left: 525px;
	width: 150px;
	}

#sidebar h2 {
	font-size: 1.2em;
	text-transform: uppercase;
	}

#graphics {
	float: left;
	padding: 35px 0 10px 80px;
	width: 140px;
	}

#graphics img {
	float: left;
	margin: 0 0 20px;
	padding: 2px;
	border: 1px solid #ddd;
	}

.biography {
	padding: 0;
	border: 1px solid #ddd;
	margin: 5px 0 0 18px;
	}

.archive-subjects,
.archive-archives {
	float: left;
	display: inline;
	padding: 0 80px 0 0;
	margin: 0 40px 0 0;
	border-right: 1px solid #ddd;
	}

.archive-archives {
	padding: 0;
	margin: 0;
	border: none;
	}


/* =Footer (04)
----------------------------------------------- */
#footer {
	margin: 5px auto 0;
	padding: 0 0 20px;
	width: 768px;
	height: 20px;
	border: none;
	}

#footer p {
	color: #999;
	text-indent: 50px;
	font-size: 10px;
	}

#footer a {
	color: #bbb;
	}

#footer a:hover {
	color: #666;
	}


/* =Lists (05)
----------------------------------------------- */
ul#nav {
	list-style-type: none;
	white-space: nowrap;
	margin:0 0 0 40px;
	padding:0;
	}

ul#nav li {
	float: left;
	display: block;
	}

#nav a {
	float: left; /* Added second float to get IE to display all menu-items on one line! */
	padding: 0 15px 0 0;
	text-decoration: none;
	color: #666;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	}

#nav a:hover {
	color: #333;
	font-weight:bold;
	text-decoration: none;
	}

#nav li.current_page_item a {
	color: #9F2C1C;
	font-weight:bold;
	}

ul.archive-flat {
	float: left;
	clear: left;
	list-style-type: none;
	margin: 5px 0 30px;
	padding: 0;
	}

ul.archive-flat li {
	margin: 0;
	padding: 0 20px 0 0;
	}

.widecolumn h2 {
	clear: left;
	}

/* =Forms (06)
----------------------------------------------- */
#CFContainer {
	margin: 30px 0 0;
	padding: 20px 0 10px 30px;
	background: #E9E5D3;
	}

#CFContainer input {
	border: 1px solid #ccc;
	font-size: 80%;
	padding: 2px;
	background-color: #fff;
	color: #333;
	text-align: left;
	}

#CFContainer p {
	margin: 0 0 10px;
	}

#CFContainer textarea {
	border: 1px solid #ccc;
	text-align: left;
	}

#CFContainer #submit {
	border: 1px solid #bbb;
	font-size: 100%;
	padding: 2px;
	background-color: #efefef;
	text-align: center;
	}

#searchform {
	margin: 30px auto 10px;
	padding: 5px 3px; 
	text-align: left;
	}

#searchform input {
	border: 1px solid #ccc;
	font-size: 80%;
	padding: 2px;
	color: #333;
	}

#searchform #submit {
	border: 1px solid #bbb;
	padding: 2px;
	background-color: #efefef;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 90px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

#sidebar form {
	margin: 0;
	}

select {
	width: 130px;
	}

/* =Allt möjligt (07)
----------------------------------------------- */
.pub {
	text-transform: uppercase;
	color: #666;
	font-weight: bold;
	}

#extra_single {
	float: left;
	width: 400px;
	overflow: hidden;
	}

#extra_single h2 {
	font-size: 1.2em;
	text-transform: uppercase;
	}

#extra_single h3 {
	margin: 0 0 5px;
	font-size: 1.0em;
	line-height: 1.0em;
	}

.photo-caption {
	font-size: 0.8em;
	font-weight: bold;
	padding: 0 0 10px;
	}

#notebook {
	position: absolute;
	top: 0;
	right: 20px;
	}


/* =Wordpress (08)
----------------------------------------------- */
.entry p {
	margin: 10px 0;
	}

.narrowcolumn {
	float: left;
	padding: 0;
	margin: 0px 0 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid #eee;
	/*text-align: justify;*/
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
	}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
	}

.postmetadata {
	clear: left;
	}

/* End Structure */

/* Begin Images */
p img {
	padding: 20px 0 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	font-size: 0.9em;
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 0;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */

/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */


/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: left;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
