 /*
Theme Name: petersen_2.7
Theme URI: http://www.www-design.se
Description: En grund mall för top meny - ren 
Version: 2.7
Author: www-design.se
Author URI: http://www.www-design.se

*/

/* 1.Reset (http://meyerweb.com/eric/tools/css/reset/) */
html, body, div, span, applet, object, iframe,
dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td
{
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	/*vertical-align: baseline;*/
	background: transparent;
}

body
{
	line-height: 1;
}

blockquote, q
{
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after
{
	content: '';
	content: none;
}

hr
{
	display:none;
}

/* Uncomment this if you want to disable default bullet and numeric styling.
ol,ul,li
{
	list-style:none;
	margin:0;
	padding:0;
} */
/* End Reset */

/* 2.Table */
table									{ /*border:1px solid #ccc;*/ border-left:none; border-top:none; position:relative; top:-3px; margin:18px 0;padding-bottom:0; border-collapse: separate; border-spacing: 0; width:100%; }
th, td									{ /*border-top:1px solid #ccc;*/ line-height:18px; padding:9px 18px 8px 10px; position: relative; }
th										{ background:#666; color:#fff; }
td,th									{ /*border-left:1px solid #ccc;*/ text-align: left; font-weight: normal;}
th:last-child, td:last-child			{ padding-right:0; }
tr:nth-child(even) td					{ padding:10px; background:#f6f6f6; }
tr:nth-child(odd) td					{ padding:10px; }
caption									{ top:8px; margin-bottom:18px; text-align: left; font-weight: normal; }
/* End Table */

/* 3.Typography */
h1, h2, h3, h4, h5, h6					{ position: relative; }
p, blockquote							{ line-height:150%; margin:10px 0 15px 0; }
cite									{ font-style:normal; display:block; margin:10px 0;}
code									{ font-family:courier,monospace; background:#fffcdc; /*border-bottom:1px solid #ccc; */font-size:0.9em; letter-spacing:1px; line-height:150%; }
acronym, abbr							{ cursor:help; border-bottom:1px dotted #999; }
/* End Typography */

/* 4.Positioning */
.clear                                  { clear:both; }
.left									{ float:left; }
.right									{ float:right; }


/* 5.Page styling */

body
{
/*här justerar man bakgrundsfärgen*/
	background: #424242;
	font: 80%/115% Verdana, Geneva, sans-serif;
	line-height:150%;
	color:#333;

}

/* layout första sidan*/

.home {
background-image:url(http://www.anderspetersen.se/wp-content/uploads/2012/03/mainpagebackpic02-1.jpg)

}

body.home #nav
{
margin-top: 300px;

}


body.home #nav li{
	display: none;


}

body.home h1 {
	text-align:center;

}

body.home #content {
display: none;
}



#wrapper
{
	/*background: #424242;*/
	position: relative;
	width: 100%;
/*gör så att sidan lägger sig centrerad*/
	margin:0 auto;





}

.clear
{
	clear:both;
}

blockquote
{
	/*border-left:1px solid #eee;*/
	padding-left:15px;
	color:#666;
}

a
{
	text-decoration:none;
	color:#e3e3e3;
	/*border-bottom:1px solid #eee;*/

}

a:hover
{
	color:#ccc;
}

#header
{
/*background: #4b4b4b;*/
	width:100%;
	height:72px;
	padding:0px;
	/*margin-top:-15px;*/



}

#header h1 a
{
	position: relative;
	left: 4px;
	color: #fff;
	border:none;
/*döljer rubrik header*/
/*display: none;*/
}

#header p
{
	margin:-13px 0 0 2px;
	color:#999;
/*döljer undertext header*/
	display: none;
}

h1
{



	font-weight: normal;
	color:#e3e3e3;
	font-size:1.3em;

}


h2
{
	font-weight: bold;
	color:#424242;
	font-size:1.3em;
	/*border-bottom:1px solid #eee;*/
	/*padding-bottom:15px;*/
}

h3
{
	font-weight:normal;
	font-size:1.1em;
	color:#e3e3e3;
}

h4
{
	
	font-weight: normal;
	color:#e3e3e3;
	font-size:1.4em;
}



/* Content */
#content
{
/*background: #424242;*/
	margin-left: auto;
	margin-right: auto;
	width:700px;
	Padding: 40px;
	
	font: Verdana, Geneva, sans-serif;
	font-size: 12px;
	color: #e3e3e3;
}

#content2
{
background: #e3e3e3;
	margin-left: auto;
	margin-right: auto;
	width:600px;
	Padding: 40px;
	font: Verdana, Geneva, sans-serif;
	font-size: 12px;
}
/*books*/
#content3
{

	margin-left: auto;
	margin-right: auto;
	width:900px;

	font: Verdana, Geneva, sans-serif;
	font-size: 12px;
}

#content img
{
/*padding-right:17px;*/
}

.hentry
{
	margin: 0px;
	
}

/*.hentry img
{
	margin:5px 0 10px 0;
}*/


.hentry2
{
	margin: 0px;
	width: 500px;
	
}

.hentry2 img
{
	max-width: 500px;
	height: auto;
}

.portpost
{
	height: 180px;
	/*gör så att innehållet lägger sig centrerad*/
	float:left;
}

.thumb2 img
{
	width: auto;
	height:130px;
	float: left;
	margin-right: 0px;
	margin-bottom: 0px;	
	
}

.worktext
{
	position: absolute;
	margin-top:110px;
	margin-left: 4px;
	font-size: 13px;
font-family: verdana;
	font-weight:200;
	
}
.worktext a
{
	
	/*color: #6e0202;*/
	color: #eee;
	
}

.thumb2
{
	width: auto;
	height:130px;
	float: left;
	margin-right: 0px;
	margin-bottom: 0px;	
	
}



.thumb img
{
	float: left;
	width:auto;
   	height:120px; 
	margin-right: 0px;
	margin-bottom: 0px;
	
	
}


abbr
{
	border:none;
	font-size:0.9em;
	color:#999;
}

small
{
	color:#999;
}

ul, li
{
	margin:0;
	padding:0;
}

ul
{
	list-style:square;
/*	margin:20px 0;*/
}

ol

	list-style:decimal;
	margin:20px 0;
}

ul li,ol li
{
	margin-bottom:10px;
	color:#444;
}


.metadata
{
	color:#999;
/*uncheck this if you want to display author, tags, commenttext on posts*/
display: none;
}

/* Sidebar */
#sidebar
{
float:left;
background: #333;
	width:200px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 30px;
	/*padding-left: 30px;*/
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
display: none;
}

.widget ul, ol
{

	margin:0;
	padding:0;
	list-style: none; /* WP */
}
.widget ul ul /* WP */
{
	margin-left: 10px;

}

.widget
{
	margin-bottom:50px;
background-color: #000;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}


/* Footer */
#footer
{
	width:830px;
	/*background-color:#afd1d4;*/
	height: 25px;
	margin-left: 15px;
	
}

#footer a
{
	color: #69829c;
text-decoration:underline;
font-size: 9px;
	
}

#rss
{
	
	margin-left: 765px;
margin-top: -46px;
	position: absolute;
}

.separator
{
	/*border-top:1px solid #eee;*/
	width:300px;
	margin-top:15px;
margin-bottom: 40px;
}

.separator2
{
	/*border-top:1px solid #eee;*/
		height: 100px;
}

/* Pagination */
#pagination
{
	height:110px;
}
/* WP Threaded Comments */
.commentlist li { 
list-style-type: none; 
/*border-top: 1px solid #eee; */
padding-top: 10px; 

}



.avatar { float: right; }

.commentlist cite { 
display: inline; 
margin: 0; 
}


.commentlist .children { 

margin-left: 15px; }





/* NAVIGERING---TOP*/


#nav{
	/*background: #9a0000 url('images/red.gif') repeat;*/
background: #6e0202;
	color: #f2ffff;
	position:relative;
	z-index:1;
	margin-top: -10px;
	height: 16px;
	
}


#nav li{
	display: inline;
	list-style: none;
	margin: 0;
	position: relative;
	top:-31px;
	left:360px;


}


#nav a{
	text-decoration: none;
	color: #e3e3e3;
	padding: 0px 15px;
	margin: 0;
	display: inline-block;
	font: normal 16px/16px Verdana, Geneva, sans-serif;


}

#nav ul ul{
	display: none;
	position: absolute;
	left: 0;
	margin-top: 0px;


}


#nav li:hover > ul{
	display: block;

}

#nav li ul li{
	display: block;

}


#nav li.current_page_ancestor > a,
#nav li.current_page_parent > a,
#nav li.current_page_item > a{
/*color: #474747;*/
}

/*position under under sidor*/
#nav ul ul ul{
	position: absolute;
	left: 100%;
	top: 0;

}

/* rollover färg*/

#nav li a:hover{
color: #ccc;
	

}

/*#nav li ul li:hover > a{
background: #bddeeb;

}*/