/*
Theme Name: Smedenborn 2
Theme URI: http://www.smedenborn.se/
Description: Second generation of Smedenborn.se
Author: Fredrik Smedenborn
Version: 1.0
Tags: black and white, minimalistic, typography
*/

/* RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,
h6,pre,form,fieldset,input,p,blockquote,table,
th,td { margin: 0; padding: 0; }
fieldset,img,abbr { border: 0; }
address,caption,cite,code,dfn,em,h1,h2,h3,
h4,h5,h6,th,var { font-style: normal; font-weight: normal; }

li {
	margin: 0 0 0 26px;
	}
em,cite {
	font-style: italic;
	}
strong {
	font-weight: bold;
	}

body {
	color:#393939;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:11px;
	line-height:18px;
/* 	background:url(images/24px.gif) repeat; */
}
a:link {
	color:#393939;
}
a:visited {
	color:#666;
}
a:hover, a:active {
	color:#fff;
	background:#252525;
	text-decoration:none;
}
p a, h1 a {
	padding:1px;
	margin:-1px;
}
a img {
	margin-left:-1px;
	margin-right:-1px;
	vertical-align:middle;
}
h1 a:link, h1 a:visited,
h2 a:link, h2 a:visited,
div.navigation a:link, div.navigation a:visited {
	color:#393939;
	text-decoration:none;
}
h1 a:hover, h1 a:active,
h2 a:hover, h2 a:active,
div.navigation a:hover, div.navigation a:active {
	color:#fff;
	text-decoration:none;
}
#left_column {
	position:fixed;
	top:0;
	left:0;
	width:234px;
	height:100%;
}
#logo {
	position:absolute;
	top:41px;
	left:56px;
	height: 121px;
	width:121px;
	
	background: url(images/logo121.png) no-repeat 0 0 !important;
	background: none;
	filter: none !important;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='scale', src='http://www.smedenborn.se/wp-content/themes/smedenborn2/images/logo121.png' );
}
#menu {
	position:absolute;
	top:192px;
	left:74px;
	list-style:none;
	margin:0;
	width:117px;
}
#menu li {
	margin-left:0px;
}
#menu h3 {
	width:100px;
}
#menu li a, #menu h3 span {
	padding:2px 3px 3px;
	margin:0;
	text-decoration:none;
	background:#fff;
}

/* firefox-fix för extra höjd */
@-moz-document url-prefix() {
	#menu li a { padding: 1px 3px 2px; }
}

#menu li.current_page_item a:link, #menu li.current_page_item a:visited {
	background:#252525 none repeat scroll 0 0;
	color:#fff;
	padding-left:3px;
	padding-right:3px;
}
#menu li a:visited {
	color:#393939;
}
#menu li a:hover, #menu li a:active {
	color:#fff;
	background:#252525;
}

#content {
	position:absolute;
	top:44px;
	left:247px;
}
#comments {
	margin-top:53px;
	width:377px;
}
#respond {
	margin-top:54px;
	width:377px;
}
#footer {
	border-top:#393939 solid 2px;
	clear:both;
	margin-top:81px;
	padding-top:6px;
	padding-bottom:50px;
	width:377px;
}

div.post:first-child {
	margin-top:148px;
}
div.post {
	margin-top:107px;
	width:377px;
	overflow:visible;
}
div.portfolio-post {
	width:377px;
	overflow:visible;
}
div.portfolio-post-photo img {
	margin-top:0;
	margin-bottom:45px;
}
div.wp-caption, img {
	margin: 4px 0 5px 0;
	padding:0;
}
div.wp-caption img, .icon18 img, #logo img {
	margin:0;
}
div.alignleft{
	float:left;
	margin-right:8px;
}
div.alignright, img.alignright {
	position:absolute;
	left:390px;
}
div.aligncenter {
	margin-left:auto;
	margin-right:auto;
}
div.postmeta {
	border-top:solid #393939 2px;
	clear:both;
	margin-top:12px;
	padding-top:5px;
}
div.navigation p {
	width:auto;
}
div.navigation {
	margin-top:36px;
	height:18px;
	overflow:hidden;
}
div.nav-previous {
	float:left;
}
div.nav-next {
	float:right;
}

/* Typografi */
h1, h2, h3, h4, h5, h6, p, ol, ul, blockquote {
	width: 377px;
}
h1, h2.front {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	font-size:13px;
	line-height:18px;
	margin-top:9px;
}
h2, #menu h3 {
	font-weight:bold;
	font-size:11px;
	font-style: normal;
	line-height:18px;
	margin-top:9px;
}
h3 {
	font-style:italic;
	font-size:11px;
	line-height:18px;
	margin-top:9px;
}
p, .wp-caption.alignright + p {
	text-indent:13px;
}
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p,
.wp-caption + p,
p:first-child,
blockquote + p,
#respond p,
h1 + .wp-caption.alignright + p,
h2 + .wp-caption.alignright + p,
h3 + .wp-caption.alignright + p {
	text-indent:0;
}
blockquote {
	margin:9px 0 9px 26px;
	font-style:italic;
}
blockquote p {
	width:351px;
}
ul, ol {
	margin-top:9px;
	margin-bottom:9px;
}
ul ul, ul ol, ol ul, ol ol {
	margin:0;
}
address {
	margin-left:26px;
	font-style:italic;
}
pre {
	width:377px;
}
.wp-caption-text {
	font-size:10px;
	font-style:italic;
	text-align:right;
	width:auto;
}
.postmeta p {
	font-size:10px;
	font-style:italic;
	text-indent:0;
	line-height:18px;
}

/* comments */
#comments p, #comments ol, #comments ul, #comments h1, #comments h2, #comments h3{
	width:auto;
}
div.comment-info {
	overflow:hidden;
}
ol.commentlist, ul.children {
	margin:0;
	list-style:none;
}
ol.commentlist li {
	margin:0 0 18px;
	clear:both;
}
ul.children li {
	margin-left:52px;
	clear:both;
}
img.avatar {
	margin-right:7px;
	float:left;
}
#respond p {
	padding:0;
	margin:0 0 8px;
}
input[type="text"], textarea {
	border:solid #393939;
	border-width:0 0 0 2px;
	background:#f7f7f7;
	font-family:"Courier New", Courier, monospace;
	font-size:11px;
	line-height:15px;
}
textarea {
	margin:0;
	padding:2px;
	width:371px;
}
input[type="text"] {
	padding:2px 2px 0px;
	margin:0;
	width:152px;
}
@-moz-document url-prefix() {
	input[type="text"] { padding: 2px 2px 1px; }
}
input[type="text"]:hover, textarea:hover {
	border-color:#FFFFFF;
}
input[type="submit"] {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:11px;
	line-height:11px;
	background:#252525;
	border:none;
	padding:4px 5px 5px;
	color:#FFF;
}
@-moz-document url-prefix() {
	input[type="submit"] { padding: 2px; }
}
input[type="submit"]:hover {
	background:#ffffff;
	color:#393939;
	cursor:pointer;
}


/* footer */
#footer p {
	text-indent:0;
}
.icon18 {
	margin: 0 0 -5px 2px;
	width:18px;
	height:18px;
	float:right;
}
a.icon18:link {
	width:auto;
}
a.icon18:hover, #logo a {
	background:none;
}
.rss {
	background: url(images/rss18.png) no-repeat 0 0;
}
#logo img {
	width:121px;
	height:121px;
}
/* Justera linjehöjd i firefox */
@-moz-document url-prefix() {
	h1, .postmeta p, .wp-caption-text { line-height:17px; padding-bottom:1px; }
}

