/*  
Theme Name: Modern Ulf
Theme URI: http://ulfpettersson.se/design/modern/
Description: Special Ulf Design: A light, simple and modern theme.
Version: 1.0
Author: Ulf Pettersson
Author URI:http://ulfpettersson.se/

	Modern v 1.0
	http://ulfpettersson.se/design/modern/

	This theme was designed and built by Ulf Pettersson,
	whose blog you will find at http://ulfpettersson.se/

	Structure of theme files derived from the default WordPress 1.5 theme.	
	
	The CSS, XHTML and design is released under the LGPL:
	http://www.opensource.org/licenses/lgpl-license.php
*/



/* Begin Typography & Colors */
body {border-top: 3px solid rgb(221,217,215);
	background-color: rgb(250,249,248);
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Georgia, 'Times New Roman', Serif;
	color: rgb(102, 102, 102);
	text-align: center;
	}

p {margin:0 0 10px 0; padding:0;}

a {color: rgb(020,105,185); text-decoration: none;}	
a:visited {color: rgb(200,100,40);}
a:hover {color: rgb(000,160,240); text-decoration: underline;}	

a.image {border-bottom: 0;}	
	
#page {
	text-align: left;
	}
	
#header a {z-index: 1;
	position:relative;
	margin-top: -3px;
	border-top: 3px solid rgb(130,135,145);
	border-left: 1px solid rgb(221,217,215);
	border-bottom: none;	
	text-transform: uppercase; 
	font-size: 1em; 
	font-family: 'Trebuchet MS', Tahoma, Arial, Helvetica, Sans-Serif;
	font-weight: bold;
	letter-spacing: 1px;}	
	
#header a:hover, .preview:hover, .preview-middle:hover, .preview a:hover, .preview-middle a:hover {
	text-decoration: none;
	color: white;
	background-color: #A0A0A0;
}
	
#content {
	border: 1px solid rgb(221,217,215);
	font-size: 1.2em;
	line-height: 1.8em;	
	}

.postmetadata, .commentmetadata, .excerptmetadata, .navigation, #footer, .preview, .preview-middle, .previewtext, .image-right, .image-right-150 {
	letter-spacing: 1px; 
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; 
	text-transform: uppercase; 
	font-size: 0.75em;
	font-weight: normal;	 
	}

.commentmetadata {font-size: 0.8em;}	
	
.preview, .preview-middle, .image-right, .image-right-150 {
	font-size: 0.9em;
	background: rgb(251,249,247);
	line-height: 1.3em;
	border: 1px solid rgb(241,239,237);
	text-align:center;
	}
	
.previewtext {
	line-height: 1.6em;	 
	}
	
.previewsite {
	border-top: 1px solid rgb(221,217,215);	
	}
		
.alt {background-color: rgb(250,249,248);
	border-top: 1px solid rgb(241,239,237);
	border-bottom: 1px solid rgb(241,239,237);
	}

#footer {
	font-size: 0.9em;	
	}
	
#footer a, #footer a:visited {color: rgb(120,120,120); text-decoration: none; border-bottom: none;}	
#footer a:hover {color: rgb(160,160,160);}	

small {
	color: rgb(138,134,132);
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}
	
.navigation a {border-bottom: none;	
	}	
	
h1, h2, h3, h4 {
	font-weight: normal;
	}

h1 {
	color: rgb(200,100,40);
	font-size: 2.5em;
	line-height: 0.9em;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 2px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 2px;
	padding-left: 0px;
	}	
	
#header h1 {
	color: rgb(200,100,40);
	letter-spacing: -1px;
	font-family: Galliard, Georgia, 'Times New Roman', Serif;
	font-size: 3em;
	font-weight: normal;
	text-align: center;
	border: none;
	}

h2 {
	font-size: 1em;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #777;
	color: #777;
	text-transform: uppercase;  
	font-family: 'Trebuchet MS', Tahoma, Arial, Helvetica, Sans-Serif;
	font-weight: bold;
	letter-spacing: 1px;
	}
	
h2 a {color: rgb(80,80,80);
 	letter-spacing: -1px;
	line-height: 1.6em;
	}

h2 a:visited {color: rgb(100,100,100);}		
h2 a:hover {color: rgb(130,130,130); text-decoration: none;}

h3 {
	font-size: 1.6em;
	color: #333;
	margin-top: 5px;
	margin-bottom: 5px;
	}
	
h4, li h2 {line-height: 1.2em;
 	letter-spacing: 1px;	
	font-size: 1em;
	font-weight: normal;	
	text-transform: uppercase;
	font-family: 'Trebuchet MS', Arial, Helvetica, Sans-Serif; 		
	}	

.previewtext h4 {
	border-left: 5px solid rgb(130,135,145);
	font-weight: bold;
	line-height: 3em;		 
	font-size: 1.2em;
	}	
.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em Georgia, 'Times New Roman', Serif; 
	}
	
.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Trebuchet MS', Arial, Helvetica, Sans-Serif;
	}

#description {
	text-align: left;
	background: rgb(130,135,145);
	color: white;	 
	font-size: 1.1em; 
	font-family: Tahoma, Arial, Helvetica, Serif; 
	line-height: 1.8em; 	
	}	
	
#sidebar {
	background: rgb(211,207,205);
	font: 0.9em Arial, Helvetica, Sans-Serif;
	}
	
#sidebar a {font-size: 1.2em; color: rgb(60,69,67); text-decoration: none; line-height: 1.7; border-bottom: none;}	
#sidebar a:hover {color: rgb(90,99,97); text-decoration: underline;}

#sidebar h2 {color: white;	
	font-family: 'Trebuchet MS', Arial, Helvetica, Sans-Serif; 
	font-weight: bold; 
	letter-spacing: 2px; 
	line-height: 30px; 
	text-transform: uppercase;
	font-size: 1.1em;
	}		
	
#searchsubmit, #sidebarsubmit, #commentform #submit {
	font: normal 0.8em 'Trebuchet MS', Arial, Helvetica, Sans-Serif;
	letter-spacing: 1px;	
	text-transform: uppercase;	
	}
	
#sidebarsubmit {
	font-size: 1em;
	}		

.nocomments, .postmetadata, .excerptmetadata, strike, #footer {
	color: rgb(168,164,162);
	}
	
code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}
	
#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Trebuchet MS', Arial, Helvetica, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
	
#pagestripe {
	background: rgb(221,217,215);
	width: 932px;
	height: 5px;
	clear: both;
	}
	
#pageblock {
	display: block;
	background: rgb(130,135,145);
	width: 289px;
	height: 5px;
	float: right;
	line-height: 0;
	}	
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0;
	padding: 0; 
	}

#page {
	margin: 0 auto;
	width: 930px;
	}
	
#header {
	height: 120px;
	}

#content {background: white;
	width: 459px;
	margin: 30px 0 0 0;
	padding: 40px 40px 40px 50px;
	float: left;
 	clear: both;	
	}

#content.single {
	background: white;
	width: 750px;
	margin: 0;
	padding: 70px 90px;
	}
	
#header ul, #header li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
#header li a {
	display: block;
	width: 70px;
	padding: 74px 12px 12px 12px;
	float: left;
}	

.post {
	margin: 0 0 40px 0;
	text-align: left;
	clear: both;	
	}
	
.postmetadata .alt {
	margin: 25px 0 0 0;
	}
	
.excerpt p {
	margin: 0;
	font-size: 0.9em;
	}		
	
.excerptmetadata {
	margin: -10px 0 0 0;
	}	
	
#footer {
	width: 610px;
	clear: both;
	}
	
#footer.single {
	width: 930px;
	}	

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
	
div.columnleft {
	float: left;
	width: 274px;
	padding-right: 3px;	
	}

div.columnright {
	float: right;
	width: 274px;
	padding-left: 3px;
	}

.preview {
	width: 220px;
	padding: 10px;
	float: left;
	*margin-bottom:10px;
	}
.preview-middle {
	width: 220px;
	padding: 10px;
	margin: 0px 10px 6px 10px;
	float: left;
	}

.previewsite {
	width: 578px;
	height: 110px;
	margin: 15px 0px 30px 0;
	clear: both;
	}
	
.previewtext {
	padding: 0 0 0 20px;
	float: left;
	}	
	
.preview a img, .preview-middle a img {
	padding: 0 0 10px 0;
	float: left;
	}
	
.previewsite a img {border: 1px solid rgb(221,217,215);
	border-right: 5px solid rgb(221,217,215);
	margin: -1px 0 0 0;
	float: left;
	}				
		
/* End Structure */



/*	Begin Headers */
#header h1 {
	display: block;
	width: 289px;
	height: 30px;
	float: right;
	margin: 32px 0px 0px 0px;
	*margin-top: 45px;
	padding: 0px;
	}	
#header h2 {
	display: block;
	width: 289px;
	height: 40px;
	float: right;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-size: 1em;
	font-family: 'Trebuchet MS', Tahoma, Arial, Helvetica, Sans-Serif;
	font-weight: bold;
	letter-spacing: 1px;
	text-align: center;
	border:none;
	}	
	
#header h1 a {display: block;
	width: 259px;
	height: 80px;
	margin: 10px 0 0 0;	
	padding: 10px 15px 0 15px;		
	}

h2 {
	margin: 3px 0 12px 0;
	padding: 3px 0 3px 0;
}	

#sidebar h2 {
	padding: 0;
	}

h3 {
	margin: 0px 0 6px 0;
	padding: 0;
	}

h3.comments {
	margin: 40px auto 20px auto;
	padding: 0;
	}
	
h4 {	
	margin: 10px 0 0 0;
	padding: 20px 0 0 0;	
	}	

div.previewtext h4 {
	margin: -22px 0 0 -25px;
	padding: 12px 0 0 20px;
	}
	
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}
	
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright {
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}
	
.alignleft {
	float: left;
	}

.image-right {
	width: 200px;
	padding: 10px;
	margin: 0px 0px 10px 10px;
	float: right;
display: inline;
}
.image-right-150 {
	width: 150px;
	padding: 10px;
	margin: 0px 0px 10px 10px;
	float: right;
display: inline;
}
.image-right img, image-right-150 img {
	padding: 0; 
margin: 0px 0px 15px 0;
}
/* End Images */



/* Begin Lists */

ul, ol {
	margin: 20px 0 20px 0;
	padding: 0 0 0 30px;
	}	

ol {
	padding: 0 0 0 35px;
	}	
	
ul ul {
	margin: 5px 0 20px 20px;
	}	

ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}
	
#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	list-style: none; 
}

.linkcat ul li{
	display: inline;	
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
 	line-height: 1.7;	
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ul ul {
	margin: 0;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dotted;
	}
	
blockquote, blockquote cite {
	margin: 0px 15px 0 0; 
	padding: 20px 0px 20px 33px; 
	background: url(images/quote-arial.gif) 0px 15px no-repeat; 
	color: rgb(110,106,103); 
	font-style: italic; 
	font-size: 1em;}

blockquote cite {
	display: block; 
	}
	
blockquote p {
	margin: 0; 
	padding: 0; 
}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	width: 100%;
	text-align: center;
	line-height: 1.6em;
	letter-spacing: 0px;
	padding: 10px 0 70px 0;
	border-bottom: none;
	clear: both;	
	}

.break {margin: 0; padding: 0; clear: both; line-height: 0px; width: 100%; visibility: hidden;}

/* End Various Tags & Classes*/

.active_page {
	text-decoration: none;
	color: white !important;
	background-color: #A0A0A0;
}

