/* @override http://remfabriken.se/wp-content/themes/remfabriken/style.css */

/*
Theme Name: Remfabriken
Theme URI: http://remfabriken.se
Description: Wordpress theme developed exclusively for Gteborgs Remfabrik.
Version: 1.0
Author: Tobias Bjerrome Ahlin
Author URI: http://tobiasahlin.com/
Tags: red, custom header, fixed width, two columns

*/



/* Begin Typography & Colors */

* {
	margin: 0;
	padding: 0;
}

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Helvetica Neue', Helvetica, Arial, Sans-Serif;
	background: #d5d6d7 url('images/header_bg.gif') repeat-x;
	color: #333;
	text-align: center;
}

p {
	line-height: 1.7em;
	font-size: 12px;
	margin: 0 0 20px 0;
}

div.entry p {
	font-size: 14px;
	position: relative;	
}


#page {
	text-align: left;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

#inenglish {

}

#inenglish a {
	color: #fff;
	font-size: 13px;
	padding: 8px 45px 8px 15px;
	clear: both;
	position: absolute;
	top: 4px;
	right: 8px;
	background: url(images/englishFlag.png) no-repeat 78px 8px #282828;
}

#inswedish a {
	color: #fff;
	font-size: 13px;
	padding: 8px 45px 8px 15px;
	clear: both;
	position: absolute;
	top: 4px;
	right: 8px;
	background: url(images/swedishFlag.png) no-repeat 91px 8px #282828;
}

#header {
	margin: 0 0 0 0px;
	padding: 0;
	height: 307px;
	background: url(images/goteborgsremfabrik.jpg) no-repeat center;
	position: relative;
}

#content {
	font-size: 1.2em;
	background: #f2e2d2 url(images/main_bottom.gif) repeat-x 0 bottom;
}

.subcolumn {
	width: 330px;
	float: left;
	margin: 0 0 0 80px;
}

#justnu {
	display: block;
	margin: 20px 0;
	width: 522px;
	height: 86px;
	padding: 40px 20px 0 20px;
	background: url(images/justnu.png) no-repeat;
	text-align: center;
	color: #10263c;
}

#justnu p {
	padding: 0;
}

#subcontent {
	background-color: #242424;
	clear: both;
	color: #d7d7d7;
	font-size: 12px;
	padding: 0 0 20px 0;
}

#footer {
	border: none;
	background: #161616 url(images/footer_border.gif) repeat-x;
	padding-top: 20px;
	clear: both;
	height: 60px;
}

#footer a {
	color: #666;
}

#footer h3 {
	margin: 0 0 0 0;
	display: block;
	width: 261px;
	height: 23px;
	background: url(images/goteborgsremfabrik_darkbg.gif) no-repeat 0 5px;
	text-indent: -999em;
	float: left;
	padding: 10px 0 0 0;
}



small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

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

h1 {
	font-size: 1em;
	text-align: center;	
	display: block;
	width: 320px;
	height: 90px;
}

h1 a {
	display: block;
	width: 320px;
	height: 100px;
	text-indent: -999em;

}

#navigation {
	background: url(images/tygremsa.jpg) repeat-x;
	height: 54px;
}

#navigation li {
	float: left;
	display: block;
	height: 60px;
	width: 140px;
	margin-right: 70px;
}

#navigation li a {
	display: block;
	height: 38px;
	width: 118px;
	padding: 12px 10px 10px 12px;
	font-size: 14px;
	color: #b0c5d7;
	font-weight: normal;
}

#navigation li a small {
	font: italic 12px Georgia, "Times New Roman", Times, serif;
	color: #db924a;
}

#navigation .active-intro #intro small, #navigation .active-fabriken #fabriken small, #navigation .active-foreningen #foreningen small {
	color: #a9825b;
}
/* Active states */
body.home #navigation #intro a,
body.page-id-308 #navigation #intro a,
body.page-id-2 #navigation #fabriken a,
body.page-id-15 #navigation #fabriken a,
body.page-id-48 #navigation #butiken a,
body.page-id-107 #navigation #butiken a,
body.page-id-7 #navigation #foreningen a,
body.page-id-18 #navigation #foreningen a  {
	background: #f2e2d2;
	color: #1f1f1f;
	text-decoration: none;
}

#navigation li a:hover {
	color: #fff;
	text-decoration: none;
}

.wrapper .description {
	font-size: 1.2em;
	text-align: center;
	text-indent: -999em;
	}
	
.wrapper {
	margin: 0 auto;
	display: block;
	width: 960px;
	clear: both;
	position: relative;
}

h2 {
	padding: 25px 0 5px 0;
	margin-bottom: 15px;
}

#content h2, .post h2 {
	background: url(images/indent_light.gif) repeat-x 0 bottom;
	color: #1f1f1f;
}

.maincolumn h2, .post h2 {
	font-size: 24px;
	text-shadow: #fff 0 1px 1px;
}


#subcontent h2 {
	background: url(images/indent_dark.gif) repeat-x 0 bottom;
	color: #f2e2d2;
}

.maincolumn {
	width: 550px;
	clear: both;
	float: left;
}

.maincolumn p {
	font-size: 14px;
}

.maincolumn h2 + p:first-line, .post .entry h2 + p:first-line {

}

h2.pagetitle {
	font-size: 1.6em;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

/* End Typography & Colors */



/* Begin Structure */
.post {
	margin: 0 0 40px;
	width: 600px;
	}

.postmetadata {
	clear: both;
}

#visninghighlight {
	width: 334px;
	height: 240px;
	padding: 35px 0 0 0;
	display: block;
	background: url(images/woodbg.jpg) no-repeat;
	margin-top: 25px;
}

#visninghighlight .date {
	font-size: 200px;
	font-weight: bold;
	color: #ead3ba;
	width: 100%;
	text-align: center;
	display: block;
	text-shadow: #704324 0 1px 1px;
	line-height: 1em;
}

span.month {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 18px;
	color: #ead3ba;
	text-shadow: #704324 0 1px 1px;
	line-height: 1.9em;
}

#content ul {
	list-style: none;
	background: url(images/indent_light.gif) repeat-x 0 top;
	margin: 15px 0 30px 0;
	padding-top: 2px;
}

#content ul li {
	padding: 5px 0;
	background: url(images/indent_light.gif) repeat-x 0 bottom;
	font-size: 14px;
}

#content .entry ul li, #content .entry ul {
	background: none;
	list-style-type: disc;
	list-style-position: inside;
}

#content .entry ul {
	margin: 0 0 20px 0;
}

#subcontent ul {
	list-style: none;
	background: url(images/indent_dark.gif) repeat-x 0 top;
	margin: 15px 0 15px 0;
	padding-top: 2px;
}

#subcontent ul li {
	padding: 5px 0;
	background: url(images/indent_dark.gif) repeat-x 0 bottom;
}

#kommandevisningar li {
	font-weight: bold;
}

#kommandevisningar li .year {
	font-weight: normal;
	padding-left: 5px;
}

#gallery {
	height: 350px;
	width: 552px;
	position: relative;
}

#galleryview {
	height: 350px;
	width: 552px;
	position: relative;
	overflow: hidden;
}

.image_container{ position: absolute; z-index: 1;}

.image_container img	{
	display: inline;
	position: relative; 
	zoom: 1;
	float: left;
	margin: 0;
	margin-right: 10px;
	padding: 0;
}	

.prev {
	display: block;
	width: 44px;
	height: 44px;
	position: absolute;
	top: 150px;
	left: -20px;
	background-image: url(images/gallery_left.png);
	text-indent: -999em;
	z-index: 2;
}

.next {
	display: block;
	width: 44px;
	height: 44px;
	position: absolute;
	top: 150px;
	left: 532px;
	text-indent: -999em;
	background-image: url(images/gallery_right.png);
	z-index: 2;
}

.next:hover, .prev:hover {
	border: none;
}

#featuretext {
	font-size: 11px;
}

#featuretext p {
	padding: 10px 0 10px 0;
	color: #fff;
	line-height: 1.7em;
}

.clear {
	clear: both;
}

#footer p {
	margin: 0 0 0 20px;
	padding: 0 0 0 20px;
	height: 40px;
	float: left;
	background: url(images/footer_indent.gif) repeat-y;
}

#footer #copy {
	width: 240px;
	height: 20px;
	padding: 10px 0 10px 20px;
}

#cc {
	width: 379px;
}

#footer p img {
	vertical-align: middle;
	margin-right: 5px;
}
/* End Structure */



/*	Begin Headers */
h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 0 0 10px 0;
	height: 20px;
	font-size: 16px;
	
	}

div.subcolumn h3 {
	margin-top: 20px;
	font-size: 14px;
	line-height: 2em;
}

#gallery h3 {
	background: url(images/indent_dark.gif) repeat-x 0 bottom;
	padding: 5px 0;
	margin-top: 20px;

}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 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: 0px;
	position: absolute;
	right: -360px;
}

.wp-caption.alignright {
	padding: 0px;
	position: absolute;
	right: -10px;
	width: 350px;
	overflow: hidden;
	margin: 0;
	font-size: 12px;
}

div.entry p.wp-caption-text {
	font-size: 12px;
	font-style: italic;
}

.wp-caption.alignright img {
	padding-bottom: 5px;
}

.wp-caption.alignright img {
	float: left;

}

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. */

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

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

#sidebar #searchsubmit {
	padding: 1px;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
	    display: block; 
	    height: 0; 
	    clear: both; 
	    visibility: hidden;
	}
#commentform #submit {
	margin: 0 0 5px auto;
	float: right;
	}
/* End Form Elements */


/* Begin Various Tags & Classes */

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;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

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

.promo {
     font-size: 13px;
     line-height: 2em;
}


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/* =Clearfix (all browsers)--------------------------------*/.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}/* IE6 */ * html .clearfix {height: 1%;}/* IE7 */*:first-child+html .clearfix {min-height: 1px;}
