/*
Theme Name: Designbilder
Theme URI: http://designbilder.se
Description: Theme with photos developed for Designbilder.se.
Version: 1.1
Author: Mattias Wirf
Author URI: http://xoda.se/
Tags: xoda, woods, two-column, photo, fixed-width
*/

/** DOCUMENT ELEMENTS **/
* {
	margin: 0;
	padding: 0;
	border: 0;
}
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
html {
	padding-bottom: 1px;	
}
body {
	font-size: 80%;
	text-align: center;
	background: #111;
	color: #000;
}
a {
	color: #369;
	text-decoration: none;
}
a:hover {
	color: #111;
	text-decoration: underline;
}

/** BUILD STRUCTURE **/
#wrap {
	position: relative;
	left: 45px;
	width: 750px;
	margin: 0 auto;
	padding: 0;
}
#page {
	float: left;
	width: 635px;
	min-height: 700px;
	margin: 0 auto;
	text-align: center;
}
#header {
	width: 625px;
	background: #111;
	padding: 20px 10px 0 0;
	height: 65px;
	color: #333;
	text-align: right;
}
#header #logo {
	font-size: 22px;
	font-family: "century gothic", arial, helvetica, verdana, sans-serif;
	text-align: right;
}
#footer {
	clear: both;
	padding: 20px 150px 20px 0;
	background: #111 url(images/roundbottom.png) no-repeat top left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #555;
}
#footer a {
	color: #555;	
}
#footer a:hover {
	color: #999;	
}

/** HEADERS **/
h1, h2, h3 {
	font-family: Georgia, Arial, Helvetica, Verdana, sans-serif;	
}
h1, h2, h3, h4 {
	text-align: left;
}
h1 {
	font-size: 20px;
	text-align: left;
	margin: 10px 0 0 0;
}
h2.ref {
	width: 500px;
	padding: 0 12px 4px 18px;
	margin: 0 auto;
}
h3 {
	font-size: 14px;
	margin: 12px 0 6px 0;	
}

/** SIDEBAR **/
#sidebar {
	float: right;
	width: 100px;
	text-align: left;
	margin-top: 112px;
	padding-left: 10px;
}
#sidebar h2 {
	font-family: Georgia, Arial, Helvetica, Verdana, sans-serif;
	font-size: 1.2em;
	margin: 5px 0 0;
	padding: 0;
	color: #000;
	font-weight: normal;
}
#sidebar h2 a {
	color: #eee;
	text-decoration: none;
}
#sidebar h2 small, #sidebar h2 a small {
	color: #ccc;
}
#sidebar h2 a:hover, #sidebar h2 a:hover small {
	color: #D0C296;
}
#sidebar #searchform {
	margin: 10px 0 0 0;
	text-align: right;
}
#sidebar #s {
	margin: 20px 0 2px 0;
	background: #999;
	border: 1px solid #333;
}
#sidebar #searchsubmit {		
	background: #111;
	border: 0;
	color: #ccc;
}
#sidebar ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
}
#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 14px;
}
#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
}
#sidebar ul ul, #sidebar ul ol {
	margin: 5px 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: 3px 0 0;
	padding: 0;
}
#sidebar ul li ul li a {
	font-family: Georgia, Arial, Helvetica, Verdana, sans-serif;
	font-size: 0.9em;	
	color: #ccc;
	text-decoration: none;
}

/** LISTS **/
ul {
	text-align: left;	
	font-size: 12px;
	margin: 5px 10px 15px 20px;
	padding-left: 10px;
}
ul li {
	line-height: 140%;	
	margin-bottom: 3px;
}

/** BLOGGNYTT **/
 #blogg-nytt {
	background: transparent url('images/bloggnytt.jpg') no-repeat;
	position: relative;
	left: -20px;
	z-index: 2;
	clear: both;
	width: 100%;
	height: 118px;
	text-align: center;
	margin: 35px 0 0 0;
	padding: 4px 0 0 160px;
 }
 #blogg-nytt a {
	color: #333;
 }

/** CONTENT **/
#content {
	background: #fff url(images/roundtop.png) no-repeat top left;
	padding: 15px 20px 0 20px;
	color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#content .entry {
	clear: both;
	background: transparent;
	width: 550px;
	padding: 0 12px 4px 18px;
	margin: 6px auto 8px auto;
	color: #000;
}
#content h1, #content h2 {
	text-align: left;
	margin: 2px 0 0 0;
	font-weight: normal;
}
#content h1 a, #content a h1, #content h2 a, #content a h2 {
	color: #000;
	text-decoration: none;
}
#content h1 a:hover, #content a:hover h1, #content h2 a:hover, #content a:hover h2 {
	text-decoration: underline;
}
#content p {
	text-align: left;
	padding: 4px 0 8px 0;
	line-height: 150%;
	font-size: 12px;
}
#content .entry .postmetadata {
	width: 420px;
	background: #fff url(images/metaback.png) no-repeat;
	margin: 0 auto;
	color: #ccc;
	text-align: left;
	height: 80px;
}
#content .entry .postmetadata p {
	float: left;
	width: 300px;
	padding-left: 10px;
	font-size: 10px;
	color: #777;
}
#content .entry .postmetadata img {
	float: right;
	margin: 2px 10px 7px 10px;
}
#content .entry .postmetadata p a {
	color: #777 !important;
	text-decoration: none;
}
#content .entry .postmetadata p a:hover {
	text-decoration: underline;	
}

/** SIMILAR POSTS */
#similar {
	width: 420px;
	margin: 0 auto;
}
#similar a {
	color: #111;
}
#similar ul {
	margin-left: 40px;
	font-size: 11px;
}

/** OVERRIDES **/
#content .entry.blogg {
	background: transparent url('images/lightback.png') repeat;	
	color: #000;
	padding: 5px 12px 6px 18px;
	width: 550px;
}
#content .entry.blogg h2 a, #content .entry.blogg a h2 {
	color: #000;
}
#content .entry.blogg .postmetadata, #content .entry.blogg .postmetadata a {
	color: #333;	
}
#content .entry.wide {
	width: 550px;	
}

/** SINGLE POST **/
#content.single .entry {
	background: transparent url('images/lightback.png') repeat;	
	color: #000;
	padding: 5px 12px 6px 18px;
	width: 550px;
}
#content.single .tags, #content.single .tags a {
	color: #333;	
}

/** IMAGES **/
p img {
	padding: 0;
	max-width: 100%;
}
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;
}

/** MISC **/
.white {
	color: #fff;
}
.black {
	color: #000;
}
.clear, .clr {
	clear: both;	
}
.slim {
	width: 350px;	
}
blockquote {
	padding: 2px 10px 4px 14px;
	border-left: 4px solid #eee;
	font-style: italic;
	color: #666;
}

/** FORMS **/
.wpcf7 p {
	font-style: italic;	
}
.wpcf7 input[type="submit"] {
	border: 1px solid #ccc;
	border-right-color: #555;
	border-bottom-color: #555;		
}
.wpcf7 input.your-name, .wpcf7 input.your-email, .wpcf7 textarea.your-message {
	border: 1px solid #555;
	border-right-color: #ccc;
	border-bottom-color: #ccc;	
}
.post-42 .wpcf7-validates-as-required, .post-52 .wpcf7-validates-as-required, .wpcf7-validates-as-required {
	width: 280px;
	border: 1px solid #555;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
	background: #eee;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	padding: 1px 2px;
}
.screen-reader-text	{
	display: none;	
}

/** SEARCHFORM **/
.searchform-wrap {
	margin: 14px 0 20px 0;	
}
#sidebar #searchform {
	text-align: left;	
}
#sidebar #searchform div {
	width: 70px;
}
#sidebar #s {
	width: 60px;
	background: #999;
	border: 1px solid #ccc;
	border-bottom-color: #eee;
	border-right-color: #ddd;
	padding: 1px;
	font-size: 9px;
}
.widecolumn #s, .narrowcolumn #s {
	border: 1px solid #666;
	border-right-color: #999;
	border-bottom-color: #ccc;
	background: #efefef;
	padding: 2px;
}
.widecolumn #searchsubmit, .narrowcolumn #searchsubmit {
	border: 1px solid #eee;
	border-right-color: #777;
	border-bottom-color: #444;
	background: #ddd;
	padding: 2px;
}

/** COMMENTS **/
#commentscontainer {
	width: 500px;
	margin: 0 auto;
	text-align: left;
}
#commentscontainer ol.commentlist li {
	list-style-type: none !important;
	padding: 5px 10px;
}
#commentscontainer ol.commentlist li.odd {
	background: #eee;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
}
#commentscontainer ol.commentlist li.bypostauthor {
	background: #FFF7DF;
}
#commentscontainer ol.commentlist li div.comment-author, #commentscontainer ol.commentlist li .comment-meta {
	font-size: 10px;
}
#respond {
	width: 500px;
	float: right;
}
#commentform * {
	text-align: left;
}
#commentform #author, #commentform #email, #commentform #url, textarea#comment {
	border: 1px solid #555;
	border-right-color: #ccc;
	border-bottom-color: #ccc;
	background: #eee;
	padding: 1px 3px;
	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#commentform #author, #commentform #email, #commentform #url {
	width: 200px;
}
textarea#comment {
	width: 400px;
}
#commentform #submit {
	background: #efefef;
	border: 1px solid #ccc;
	border-right-color: #555;
	border-bottom-color: #555;
	padding: 2px;
	float: right;
	margin-right: 92px;
}

/** IMAGE CAPTIONS **/
.aligncenter, div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px !important;
	line-height: 17px;
	padding: 0 4px 5px 10px !important;
	margin: 0;
	color: #777;
}

/** CODE **/
 pre {
	 text-align: left; 
 }
/** STRAY QUOTES **/
 /* Random quotes (kunder) */
 .stray-quotes {
	clear: both;
	color: #000;
 }
 .stray-quotes em {
	font-size: 10px;
	color: #555;
 }
 #stray-quotes-wrap ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
 }
 #stray-quotes-wrap ul li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 40px;
	width: 90%;
	padding: 12px 12px 8px 22px;
	margin: 0 0 0 auto;
	background: transparent url('images/kund-citat.png') no-repeat;
 }
 #stray-quotes-wrap p {
	display: none; 
 }