
/* ------ NOTES-------------------------------------------------------------

Master Screen Style for Kungsstens Byggvaruhus.

---------------------------------------------------------------------------- */




/* 1: BODY OCH UNIVERAL RESET
============================================================================ */

body {
	margin: 0;
	padding: 0;
	background: #f7f6f0;
	color: #434343;
	font: 13px normal "Helvetica Neue", Arial, sans-serif;
	}

/* Reset margin and padding for all elements */

* {margin: 0; padding: 0;}


/* 2: NAVIGATION
============================================================================ */

#nav {float: left; width: 800px; padding: 5px 0 16px;}
#nav ul {
	float: none;
	position: relative;
	list-style: none;
	margin: 0 auto;
	text-align: center;
	}
#nav li {display: inline; margin: 0 15px 0;}
#nav li a {
	padding: 7px 10px 10px;
	color: #2f6539;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 6px solid #a3a3a3;
	}
#nav li a:hover,
#nav li.current a {border-color: #2f6539;}

#footer ul {
	list-style: none;
	float: none;
	position: relative;
	margin: 0 auto;
	text-align: center;
	}
#footer li {display: inline; margin: 0 20px 0 0;}
#footer a {text-decoration: none;}

/* Admin navigation */

#nav-admin {
	float: left;
	width: 100%;
	background: #2f6539 url(../images/bg-navadmin.gif) top left repeat-x;
	border-bottom: 1px solid #1c3f22;
	}
#nav-admin p {float: left; margin: 10px; color: #71a86b;}
#nav-admin ul {list-style: none; width: 820px; margin: 10px auto 0;}
#nav-admin li {display: inline; float: left; margin: 0 0 8px 10px;}
#nav-admin li a {
	padding: 0 10px 8px;
	border-left: 1px dotted #87cd82;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	text-shadow: 0 -1px 0 #1c3f22;
	}
#nav-admin li a:hover {border-left: 1px solid #87cd82; color: #87cd82;}
#nav-admin li#logout, #nav-admin li#new-post {float: right;}
#nav-admin li#new-post  {
	padding-left: 14px;
	background: url(../images/document-plus.gif) center left no-repeat;
	}
#nav-admin li#new-post a {border: none;}


/* 3: PAGE STRUCTURE
============================================================================ */

#wrapper {width: 808px; margin: 0 auto;}

#page {
	float: left;
	width: 808px;
	background: url(../images/bg-page.gif) top left repeat-y;
	}

#header {
	display: inline;
	float: left;
	width: 800px;
	margin: 0 4px;
	background: #fff url(../images/bg-header.gif) bottom left no-repeat;
	}

#logo {
	width: 232px;
	margin: 0 auto 20px;
	padding-top: 15px;
	color: #fff;
	}
#logo span, #logo a {
	display: block;
	width: 232px;
	height: 112px;
	border: none;
	}
#logo span {background: url(../images/logo.png) no-repeat;}
#logo img  {display: block; width: 0; border: none;}

#page-content {
	display: inline;
	float: left;
	margin: 0 4px;
	line-height: 1.4em;
	background: url(../images/bg-page-content.gif) bottom left repeat-y;
	}
#page-content #bg-bottom {
	float: left;
	background: url(../images/bg-page-bottom.gif) bottom left no-repeat;
	}

#overview {
	float: left;
	color: #fff;
	border-bottom: 6px solid #2f6539;
	}
#overview #store, #overview #processing, #overview #craftmanship {
	float: left;
	width: 266px;
	background: url(../images/store.jpg) top left no-repeat;
	}
#overview #processing {
	display: inline;
	margin: 0 1px;
	background: url(../images/processing.jpg) top left no-repeat;
	}
#overview #craftmanship {background: url(../images/craftmanship.jpg) top left no-repeat;}
#overview span {
	float: left;
	width: 246px;
	margin-top: 160px;
	height: 100px;
	padding: 10px;
	background: url(../images/overlay.png) top left repeat;
	}
#overview dt {
	margin: 0 0 0.4em;
	color: #fff !important;
	font-size: 20px;
	font-weight: bold;
	text-shadow: 0 1px 0 #000;
	}
#overview dd {
	font-size: 12px;
	font-family: "Lucida Grande", Arial, sans-serif;
	text-shadow: 0 1px 0 #000;
	line-height: 1.5em;
	}
	
#main {float: left; width: 533px;}
	
#welcome-message {
	float: left;
	width: 493px;
	padding: 20px;
	margin-bottom: 20px;
	background: #f9f9f9;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	line-height: 1.6em;
	}
#welcome-message p {margin-bottom: 0;}

#page-lead {
	background: #f9f9f9;
	border-bottom: 1px solid #ddd;
	padding: 20px 20px 0px;
}

#main-content {padding: 20px;}
#main-content .author {
	float: left;
	margin: -5px 0 1em;
	padding: 3px 0 1px 22px;
	color: #777;
	background: url(../images/person.gif) left center no-repeat;
	font-size: 11px;
	}
#main-content .author .date {
	margin-left: 7px;
	padding: 3px 0 1px 22px;
	color: #777;
	background: url(../images/calendar.gif) left center no-repeat;
	}
#main-content .author .tags {
	margin-left: 5px;
	padding: 3px 0 1px 22px;
	color: #777;
	background: url(../images/tag-16.gif) left center no-repeat;
	}
#main-content .post {clear: both; margin-bottom: 30px;}
#main-content .body { clear: both; }
#main-content #blog-link {
	float: right;
	margin-bottom: 40px;
	padding-left: 15px;
	background: url(../images/document.gif) left center no-repeat;
	}

.left-col {float: left; width: 225px;}

.right-col {float: right; width: 225px;}

#product-categories {float: left; list-style: none; padding: 10px 0 40px;}
#product-categories li {float: left; display: inline; margin: 0 20px 40px;}
#product-categories li h4 {
	margin: 0 0 10px;
	text-align: center;
	font-size: 15px;
	font-weight: normal;
	}

#sidebar {
	float: right;
	width: 266px;
	padding: 20px 0;
	background: #dde3cc url(../images/bg-sidebar.gif) top left no-repeat;
	border-left: 1px solid #d4ddc6;
	font-size: 12px;
	}
#sidebar h3 {padding-left: 20px;}
#sidebar #open-hours {
	list-style: none;
	margin-bottom: 2em;
	padding-left: 20px;
	font-size: 12px;
	}
#sidebar img.map {margin-bottom: 10px; border: 1px solid #c3cbb6; border-width: 1px 0;}
#sidebar table {
	display: inline;
	float: left;
	width: 226px;
	margin: 0 0 20px 20px;
	border-collapse: collapse;
	}
#sidebar caption {text-align: left; padding-bottom: 10px;}
#sidebar td {
	padding: 3px 0 3px 0;
	border-bottom: 1px solid #b4b8a7;
	}
#sidebar td.hours {width: 60%; padding-right: 0; text-align: right;}
#sidebar p, #sidebar div.vcard {padding-left: 20px; padding-right: 20px;}
#sidebar div.adr {margin-bottom: 10px;}
#sidebar div.post {
	border: 1px solid transparent;
	border-width: 1px 0;
	margin: 0px;
	padding: 4px 20px;
	}
#sidebar div.current {
	border-color: #bcc0af;
	background-color: #eff7df;
	}
#sidebar div.current a {text-decoration: none;}

#sidebar div.post {
	border: 1px solid transparent;
	border-width: 1px 0;
	margin: 0;
	padding: 3px 20px 6px 20px;
}
#sidebar div.current {
	border-color: #BCC0AF;
	background-color: #EFF7DF;
}
#sidebar div.current a {
	text-decoration: none;
}
#sidebar .title, #sidebar .date {
	margin: 0px;
	padding: 0px;
}
#sidebar .date {
	font-size: 10px;
	line-height: 10px;
}
.tag1{ font-size: 90%; }
.tag2{ font-size: 115%; }
.tag3{ font-size: 140%; }
.tag4{ font-size: 165%; }

.pagination {
	text-align: center;
}
.pagination .disabled {
	display: none;
}
.pagination a {
	margin: 0px 10px;
}

#footer {
	clear: both;
	float: left;
	width: 808px;
	padding-bottom: 30px;
	background: #f7f6f0 url(../images/bg-footer.gif) top left no-repeat;
	color: #8b8b8b;
	font-size: 12px;
	}
#footer p {margin: 20px 0 10px; text-align: center;}


/* 4: IMAGES
============================================================================ */

img {border: none;}

.user-pic {
	float: left;
	padding: 4px;
	border: 1px solid #bbb;
	}

.left {float: left; margin: 0 15px 15px 0;}

.right {float: right; margin: 0 0 15px 15px;}

.center {text-align: center; margin: 0; clear: both;}

.border {padding: 4px; border: 1px solid #ccc;}

.section {margin: 10px 0;}


/* 5: GLOBAL TYPOGRAPHY
============================================================================ */

/* Headers */

h1, h2, h3 {
	margin: 0 0 0.5em;
	color: #2f6539;
	font-weight: normal;
	font-size: 26px;
	}

h2 {font-size: 20px;}	
h3 a {text-decoration: none !important; color: #2f6539 !important;}

h3 {font-size: 18px;}

/* Links */

a:link, a:visited {
	color: #090;
	/* border-bottom: 1px solid #badeaa; */
	text-decoration: underline;
	}
a:hover {text-decoration: none;}

/* Paragraphs */

p {margin: 0 0 1em;}
p.ingress {
	font-size: 14px;
	margin-top: 0.5em;
	font-weight: bold;
	line-height: 1.6em;
	}

/* Lists */

ul, ol {list-style-position: inside; margin: 0 0 1em;}
ul li {margin-bottom: 0.3em;}


/* Forms */

input {font-size: 12px; padding: 3px;}


/* 6: MISC
============================================================================ */

/* Skip to content */

#skip {
	position: absolute;
	top: 0;
	left: -9999px;
	}
#skip a:overview,
#skip a:active {
	position: relative;
	display: block;
	color: #fff;
	background: #333;
	left: 9999px;
	}

/* Clear floats */

.clearall {
	display: block;
	clear: both;
	height: 1px;
	margin: 0;
	font-size: 1px;
	line-height: 1px;
	}
	