/***************
**  Style.CSS **
***************/

/*sandbox*/

/*google maps konstig länk*/
div.category-kontakt small {
  display: none;
}

div#Googlemap_0.GoogleMap {
  margin-bottom: 20px;
}

body .gallery.default img {
  border: 0;
}

.float_right {
  float:right;
  width: 410px;
  display: block;
}

.float_left {
  float: left;
}

.header_background {
  position: absolute;
  top: 0;
  left:0;
  width: 533px;
  height: 157px;
  background: url('images/pattern.png') repeat;
  overflow: hidden;
}

div.post div.attached-image img {
  width: 475px;
}



/*
Theme Name: WP Tidningsmakarna
Theme URI: http://www.tidningsmakarna.se/
Description: Custom theme made for Tidningsmakarna 2010.
Version: 0.1
Author: Oscar Stenberg & Henrik Strömbäck
Author URI: http://www.mkts.se/
Tags: fixed width, two columns
*/

body {
	position: absolute;
	top:0;
	left:0;
	width: 100%;
  height: 100%;
  margin:0;
	padding:0;
  font-size: 62.5%; /* Resets 1em to 10px */
  font-family: Arial, sans-serif;
	background: #edf1f5 url('images/bg.png') repeat-x;
	color: #333333;
	text-align: center;
}

#background {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
}

#page {
  position: absolute;
  display: block;
	margin:0;
	padding:0;
  left:50%;
  margin-left: -476px;
  min-width: 960px;
	width: 960px;
	text-align: left;
}

#header {
	height: 166px;
	width: 900px;
}

#headerimg {
  position: relative;
	margin: 0 0 0 -20px;
	height: 103px;
	width: 900px;
}


/* Headertext */

div#header div#headertext_wrapper {
  position: absolute;
  display: block;
  left: 550px;
  top: 50px;
  width: 360px;
  height: 85px;
}

div#header div#headertext_wrapper div#headertext {
  position: absolute;
  bottom:0;
  left:0;
}

div#header div#headertext_wrapper div#headertext p {
  margin: 0;
}

div#header div#headertext_wrapper div#headertext blockquote:before {
  content: open-quote;
}

div#header div#headertext_wrapper div#headertext blockquote {
  font-style: italic;
  font-size: 20px;
  line-height: 23px;
  margin: 2px 0;
  border-left: none;
  padding-left: 0;
  color: #333333;
}

div#header div#headertext_wrapper div#headertext blockquote p {
  display: inline;
}

div#header div#headertext_wrapper div#headertext blockquote:after {
  content: close-quote;
}

/*
** Content
*/

#content {
	font-size: 1.3em;
	position: relative;
	display: block;
	margin-bottom: 30px;
}


#content div.entry {
  position: relative;
}

#content div.entry p.author {
  margin-bottom: 2px;
}

/*post date box*/
div.date {
  position: absolute;
  top: 30px;
  left: -60px;
  width: 60px;
  height: 55px;
  padding-top: 5px;
  background: #db2900;
}

div.date p {
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  font-size: 25px;
  line-height: 0.8em;
  margin-bottom: 3px;
}

div.date div.date_line {
  position: absolute;
  top: 30px;
  height: 1px;
  width: 32px;
  left: 14px;
  background: #ffffff;
  line-height: 1px;
}

/*positionhack single post*/
body.single div.date {
  left: -30px;
  top: 60px;
}

/*general comment css*/
li.comment {
  position: relative;
}

/*comment date box*/
div.comment_date {
  position: absolute;
  top: 11px;
  left: -31px;
  width: 31px;
  height: 31px;
  padding-top: 2px;
  background: #db2900;
}

div.comment_date p {
  text-align: center;
  font-weight: bold;
  color: #ffffff;
  font-size: 12px;
  line-height: 12px;
  margin-bottom: 5px;
  margin-top: 0;
  margin-right:0;
}

div.comment_date div.date_line {
  position: absolute;
  top: 16px;
  height: 1px;
  width: 20px;
  left: 5px;
  background: #ffffff;
  line-height: 1px;
}

/*comment arrow odd & even*/
div.comment_arrow {
  position: absolute;
  bottom: -15px;
  right: 75px;
  height: 15px;
  width: 42px;
}

li.even div.comment_arrow {
  background-image: url('images/comment_white_arrow.png');
}

li.odd div.comment_arrow {
  background-image: url('images/comment_grey_arrow.png');
  left: 75px;
}

body.home div#background div#page div.narrowcolumn div.category-nyheter div.entry a img {
  width: 475px;
}

body div#background div#page div.narrowcolumn div.category-kontakt h2,
body div#background div#page div.narrowcolumn div.category-nyheter h2 {
  margin-top: 10px;
}

div.narrowcolumn {
  width: 473px;
  background: url('images/pattern.png') repeat;
  padding: 30px;
}

div.narrowcolumn div.post {
  width: 473px;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

div.narrowcolumn div.category-kontakt {
  margin-bottom:0;
  padding-bottom:0;
}

div.narrowcolumn div.post img.cfi {
  width: 475px;
}

div.widecolumn div.post {
  display: block;
  padding: 30px; 
  padding-bottom: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

div.line {
  position: absolute;
  top: 166px;
  left: 50%;
  width: 50%;
  height: 3px;
  background: #ffffff;
  border-top: 1px solid #ecfbff;
  line-height: 0px;
  font-size: 0px; 
}

/*
** Structure
*/

.narrowcolumn {
	float: left;
	margin: 0;
}

.widecolumn {
	margin: 0;
	padding-left: 30px;
	padding-top: 20px;
}

.post {
	margin: 0 0 40px;
	text-align: left;
}

.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: both;
}

.clear {
	clear: both;
}

h1 {
	padding-top: 20px;
	margin: 0;
}

h2 {
	margin: 0;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

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

h3 {
	padding: 0;
	margin: 0;
}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
}


/*  
** Images
*/

.gallery img {
  border: 0px;
}

p img {
	padding: 0;
	max-width: 100%;
}

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


img.alignright,
img.alignleft {
	padding:0;
	margin:0;
	display: inline;
}


/* 
** Sidebar
*/

#sidebar {
	padding:0;
	width: 280px;
}

#sidebar form {
	margin: 0;
}

/* hanx 'side bar code' */
#sidebar ul {

}

#sidebar ul li#text-3 div.textwidget {
  font-size: 17px;
  font-weight: bold;
  color: #DB2900;
}

#sidebar ul li#text-5 {
  font-size: 12px;
}

#sidebar ul li {
  background: #ffffff;
  padding: 7px;
  margin-top: 15px;
  margin-right: 10px;
}

#sidebar ul li#text-3 {
  background-color: #FFFFFF;
  padding: 10px;
}

#sidebar ul li#portfolio {
  overflow: hidden;
  padding-bottom: 0;
}

#sidebar ul li#portfolio div.aktuellt {
  font-size: 14px;
  color: #333333;
  padding-left: 7px;
}

#sidebar ul li#portfolio div.post {
  display: block;
  float: left;
  overflow: hidden;
  margin:0;
  margin-bottom: 7px;
  height: 121px;
}


#sidebar ul li#portfolio div.post div.portfolio-entry div.portfolio-images {
  width: 70px;
  height: 100px;
  overflow: hidden;
  box-shadow: 5px 5px 5px #ddd;
  -moz-box-shadow: 5px 5px 5px #ddd;
  -webkit-box-shadow: 5px 5px 5px #ddd;
  margin: 7px;
}

#sidebar ul li#portfolio div.post div.portfolio-entry div.portfolio-images a img {
  display: inline;
}



/*twitter*/

#sidebar li#text-6 div#sidebar_logo {
  display: block;
  width: 34px;
  height: 64px;
  margin-top: 8px;
  padding-left: 3px;
  float: right;
  overflow: hidden;
  background: url('images/footer-logo.png') no-repeat;
}

#sidebar ul li#tweetable {
  position: relative;
  padding-top: 2px;
  padding-bottom: 5px;
}

#sidebar ul li#tweetable .widgettitle {
  display: inline;
  float: left;
  font-size: 14px;
  margin-top: 0;
  padding-top: 3px;
  padding-right: 4px;
  line-height: 19px;
}

#sidebar ul li#tweetable div.bird {
  position: absolute;
  display: block;
  top: -8px;
  right: 7px;  
  height: 64px;
  width: 64px;
  background: url('images/twitter.png') no-repeat;
}

#sidebar ul li#tweetable h2 a {
  color: #0066CC;
}

#sidebar ul li#tweetable ol.tweetable_latest_tweets {
  margin-left: 0;
}

#sidebar ul li#tweetable ol.tweetable_latest_tweets li.tweetable_item {
  border-bottom: none;
}

#sidebar ul li#tweetable ol li {
  list-style-type: none;
}

#sidebar ul li#tweetable div.textwidget ol.tweetable_latest_tweets li.tweetable_item {
  display: inline;
  overflow: hidden;
}

#sidebar ul li#tweetable div.textwidget ol.tweetable_latest_tweets li.tweetable_item .twitter_status {
  display: inline;
  overflow: hidden;
}

#sidebar ul li#tweetable div.textwidget {
  display: block;
  margin-top:3px;
  width: 190px;
}

#sidebar ul li#tweetable ol li span.twitter_status {

}

#sidebar ul li#tweetable ol li span.twitter_status span.status-text {
  font-size: 14px;
  line-height: 19px;
  color: #333333;
}

#sidebar ul li#tweetable ol li span.twitter_status span.twitter_meta {

}

/*
** Footer
*/

#footer {
  display: block;
	padding: 30px;
	margin:0;
	width: 473px;
	background: #ffffff;
	overflow: hidden;
	position: relative;
	float: left;
}

#footer div#footer_logo {
  position: absolute;
  display: block;
  top: 11px;
  right: 11px;
  height: 64px;
  width: 36px;
  background: url('images/footer-logo.png') no-repeat;
}

div.widefooter {
  width: 900px;
}


/*
** Form Elements
*/

#searchform {
	margin: 10px;
	padding: 5px 30px;
}

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

#sidebar #searchsubmit {
	padding: 1px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
}

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


/* Comments */

div#respond {
  width: 480px;
}

div#respond h3 {
  margin-top:0;
}

.alt {
	margin: 0;
	padding: 10px;
}

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

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

.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

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

.children {
  padding: 0;
}

#commentform p {
	margin: 5px 0;
}

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

.commentmetadata {
	margin: 0;
	display: block;
}