/*  
Theme Name: Modern
Theme URI: http://ulfpettersson.se/design/modern/
Description: A light, simple and modern theme.
Version: 0.9
Author: Ulf Pettersson
Author URI:http://ulfpettersson.se/

	Modern v 0.9
	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 {
	font-size: 12px; /* Resets 1em to 10px */
	font-family: Arial, Helvetica, sans-serif;
	color: rgb(102, 102, 102);
	text-align: center;
	background-image: url(images/bg.png);
	}

a {
	color: rgb(020,105,185);
	text-decoration: none;
}	
a:visited {color: rgb(200,100,40);}
a:hover {text-decoration: none; color: rgb(000,160,240);}	

a.image {border-bottom: 0;}	
	
#page {
	text-align: right;
	
	direction: rtl;
	}
	
#header a {
	z-index: 100;
	
	text-transform: uppercase;
	font-size: 1em;
	font-weight: bold;
	letter-spacing: 1px;
	
}	

#header a:hover {text-decoration: none; color: white; background: rgb(221,217,215);}
	
#content {
	border: 1px solid #eeeeee;
	font-size: 12px;
	background: #ffffff;
	}

.postmetadata, .commentmetadata, #footer {
	letter-spacing: 1px; 
	
	font-size: 12px;
	font-weight: normal;	 
	}

.commentmetadata {font-size: 0.8em;}	
		
.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: 11px;	
	}
	
#footer a, #footer a:visited {color: #333333; text-decoration: none; border-bottom: none;}	
#footer a:hover {color: rgb(40,40,40);}	

small, .navigation {
	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-family: Arial, Helvetica, Sans-Serif;
	font-weight: normal;
	}

h1 {
	font-size: 3.8em;
	line-height: 0.9em;
	}	
	
#header h1 a {
	color: rgb(200,100,40);
 	letter-spacing: -3px;	
	font-weight: normal;	
	text-align: center;
	text-transform: lowercase;
	border: none;		
	}

h2 {
	font-size: 1.6em;
	}
	
h2 a {color: rgb(80,80,80);
 	letter-spacing: -1px;
	line-height: 1.2em;
	text-decoration: none;
	border-bottom: none;			
	}

h2 a:visited {color: rgb(120,120,120);}		
h2 a:hover {color: rgb(0,0,0);}

h3 {
	font-size: 1.3em;
	}
	
h4, li h2 {line-height: 1.2em;
 	letter-spacing: 1px;	
	font-size: 0.8em;
	font-weight: normal;	
	text-transform: uppercase;
	}	
	
.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	}
	
.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 {
	}

#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-weight: bold; 
	letter-spacing: 2px; 
	line-height: 30px; 
	text-transform: uppercase;
	font-size: 1.1em;
	}		
	
#searchsubmit, #sidebarsubmit, #commentform #submit {
	letter-spacing: 1px;	
	text-transform: uppercase;	
	}
	
#sidebarsubmit {
	font-size: 1em;
	}		

.nocomments, .postmetadata, strike, #footer {
	color: #787878;
	}
	
code {
	}

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 {
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
	
#pagestripe {
	width: 900px;
	height: 5px;
	clear: both;
	background-color: #005083;
	}

/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0;
	padding: 0; 
	}

#page {

background:#FFFFFF;
margin:0 auto;
width:900px;
}
	
#header {
background-image:url(images/bg_header2.jpg);
background-position:center top;
background-repeat:no-repeat;
height:270px;
width:900px;
}

#content {
	width: 419px;
	margin: 30px 0 0 0;
	padding: 40px 40px 40px 50px;
	float: left;
	clear: both;	
	}

/*#content.single {
margin:10px;
padding:20px;
width:840px;
}*/

#content.single {
margin:5px;
padding:11px;
width:866px;
}

#header ul {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	
	
	}
	
	#header li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	float: right;
	}
	
#header li a {
display:block;
float:left;
min-width:40px;
padding:5px 10px;

}	
	
.post {
	margin: 0 0 40px 0;
	text-align: left;
	}
	
.postmetadata .alt {
	margin: 25px 0 0 0;
	}	
	
#footer {
	width: 510px;
	clear: both;
	}
	
#footer.single {
	width: 900px;
	background-image: url(images/footer_image.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	height: 250px;
	}	

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
	
div.columnleft {
	float: left;
	width: 285px;
	padding-right: 33px;	
	}

div.columnright {
	float: right;
	width: 285px;
	padding-left: 34px;
}
/* End Structure */



/*	Begin Headers */
#header h1 {background: white url(images/header_background.jpg) bottom right no-repeat;
	display: block;
	width: 269px;
	height: 160px;
	float: left;
	margin: 0;	
	padding: 0;		
	}	
	
#header h1 a {display: block;
	width: 239px;
	height: 80px;
	margin: 30px 0 0 0;	
	padding: 37px 15px 0 15px;		
	}

h2, #sidebar h2 {
border-bottom:1px solid #CCCCCC;
margin:0;
padding-bottom:7px;
}	
	
#sidebar h2 {
	padding: 0;
	}

h3 {
	margin: 30px 0 0 0;
	padding: 0;
	clear: both;
	}

h3.comments {
	margin: 40px auto 20px auto;
	padding: 0;
	}
	
h4 {	
	margin: 10px 0 0 0;
	padding: 20px 0 0 0;	
	}	
/* 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;
	}
/* End Images */



/* Begin Lists */

ul, ol {
	margin: 25px 0 25px 0;
	padding: 0 0 0 30px;
	list-style-position: outside;
	}	

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; 
}

#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 Form Elements */
input#s, input#author, input#email, input#url, textarea, #sidebar #searchform #s {border: 1px solid rgb(201,197,195);}

#searchform {
	margin: 0 auto;
	padding: 0 0 15px 0; 
	text-align: left;
	}

#sidebar #searchform #s {
	width: 125px;
	padding: 2px 0;
	}

#searchsubmit, #sidebarsubmit {
	margin-left: 10px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform {
	padding: 0;
	}

#commentform input {
	width: 170px;
	margin: 5px 5px 1px 0;
	padding: 2px;
	}

#commentform textarea {
	width: 98%;
	margin: 5px 0 0 0;	
	padding: 0px;
	}

#commentform #submit {
	margin: 2px 0 0 0;	
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 20px 0 0 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: left;
	}

.commentlist li {
	margin: 15px 0 3px 0;
	padding: 10px;
	list-style: none;
	}

.commentlist p {
	margin: 0;
	padding: 10px 0 0 0;	
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#description, #sidebar {
	display: block; 
	margin-left: 511px;
	padding: 30px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* 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: 12px;}

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;
	padding: 10px 0 40px 0;
	clear: both;
	border-bottom: none;	
	}

.break {margin: 0; padding: 0; clear: both; line-height: 0px; width: 100%; visibility: hidden;}	

/* End Various Tags & Classes*/


#logo {
	margin-top:60px;
	margin-left: 35px;
	position:relative;
	float: left;
}

#logo a, #logo a:hover{
	background-color: transparent;
	background-image: none;
	border: none;
}

.img1{
	float: right;
	margin-bottom: 10px;
	margin-left: 10px;
	border: 1px solid #eeeeee;
	padding: 5px;
}

.slideshow{
	
	border: 1px solid #eeeeee;
	padding: 5px;
}

/*suckerfish*/







#navmenu-h {
background-image:url(images/nav-bg.png);
line-height:20px;
margin-right:15px;
margin-top:92px;
float: left;
width:870px;
z-index:13;
margin-left: 15px;
}


ul#navmenu-h {

	border: 0 none;
	padding: 0;
	/*For KHTML*/

	list-style: none;
	

	

}



/*sssssssssssssssssssssssssssss*/



ul#navmenu-h li {
	margin: 0;
	border: 0 none;
	padding: 0;
	float: right;

	/*For Gecko*/

	
	list-style: none;
	position: relative;
	direction: rtl;
	
	

}



ul#navmenu-h ul {
	border: 0 none;
	width: 170px;
	list-style: none;
	display: none;
	position: absolute;
	margin-top: 30px;
	background-image: url(images/bottom_drop.png);
	background-repeat: no-repeat;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 7px;
	padding-left: 0px;
	background-position: left bottom;
}






ul#navmenu-h ul li{

width: 170px;
	/*For IE 7 lack of compliance*/

	display: block !important;

	/*For IE*/

}



/* Root Menu */

ul#navmenu-h a {
	/*For Opera*/

	/*For IE*/

	display: block;
	color: #fff;
	/*font: 12px/24px Helvetica;*/

	text-decoration: none;
	text-transform: uppercase;
	height: auto !important;
	font-size: 12px;		/*For IE*/
	font-weight: bold;
	padding-right: 15px;
	padding-left: 15px;
	background-image: url(images/devider.png);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: left center;
}



/* Root Menu Hover Persistence */

ul#navmenu-h a:hover,

ul#navmenu-h-r a:hover,

ul#navmenu-h li:hover a,

ul#navmenu-h-r li:hover a,

ul#navmenu-h li.iehover a,

ul#navmenu-h-r li.iehover a {
	color: #ffcc00;
	background-color: #1e3363;
	background-image: none;
}



/*ul#navmenu-h li.current_page_item {

	background-color: #005083;

	color: #333333;

}



ul#navmenu-h li.current_page_item a {

	color: #ffffff;

}*/





/* 2nd Menu */

ul#navmenu-h li:hover li a,

ul#navmenu-h li.iehover li a,

ul#navmenu-h-r li:hover li a,

ul#navmenu-h-r li.iehover li a {
	float: none;
	color: #fff;
	font-weight: bold;
	margin: 0px;
	text-align: right;
	line-height: 30px;
	padding-top: 0px;
	padding-right: 15px;
	padding-bottom: 0px;
	padding-left: 0px;
	background-color: #1e3363;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}

/* 2nd Menu Hover Persistence */

ul#navmenu-h li:hover li a:hover,

ul#navmenu-h li:hover li:hover a,

ul#navmenu-h li.iehover li a:hover,

ul#navmenu-h li.iehover li.iehover a,

ul#navmenu-h-r li:hover li a:hover,

ul#navmenu-h-r li:hover li:hover a,

ul#navmenu-h-r li.iehover li a:hover,

ul#navmenu-h-r li.iehover li.iehover a {

background: #355999;

color: #FFF;

}



/* Do Not Move - Must Come Before display:block for Gecko */

ul#navmenu-h li:hover ul ul,

ul#navmenu-h li:hover ul ul ul,

ul#navmenu-h li.iehover ul ul,

ul#navmenu-h li.iehover ul ul ul,

ul#navmenu-h-r li:hover ul ul,

ul#navmenu-h-r li:hover ul ul ul,

ul#navmenu-h-r li.iehover ul ul,

ul#navmenu-h-r li.iehover ul ul ul {

display: none;

}

ul#navmenu-h li:hover ul,

ul#navmenu-h ul li:hover ul,

ul#navmenu-h ul ul li:hover ul,

ul#navmenu-h li.iehover ul,

ul#navmenu-h ul li.iehover ul,

ul#navmenu-h ul ul li.iehover ul,

ul#navmenu-h-r li:hover ul,

ul#navmenu-h-r ul li:hover ul,

ul#navmenu-h-r ul ul li:hover ul,

ul#navmenu-h-r li.iehover ul,

ul#navmenu-h-r ul li.iehover ul,

ul#navmenu-h-r ul ul li.iehover ul {

display: block;

}







.home_fr{
	float: right;
	width: 442px;	
}

.home_fl{
	float: left;
	width: 280px;	
}

#panels-home {
border-bottom:1px solid #DBD8D7;
float:left;
height:260px;
margin:14px 0 28px;
overflow:hidden;
padding:0;
text-align:left;
width:851px;
}

.panel {
border-right:1px solid #DBD8D7;
float:left;
height:260px;
margin:0 8px 0 0;
overflow:hidden;
padding-right:12px;
width:190px;
}

.panel-img {
display:block;
float:left;
margin:0 0 14px;
padding:0;

}

.panel-copy {
color:#786E69;
float:left;
margin:0 0 10px;
width:194px;
}

#ads{
	float: left;
	width: 400px;
}

.breadcrumb_space{
	padding-top: 2px;
	padding-bottom: 5px;
	padding-right: 15px;
}

#content.homepage_bg {
	padding:11px;
	width:866px;
	
	margin-top: 0px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
}
