/* 
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 */
html {overflow-y: scroll;}

.solspa_logo {
    width: 214px;
    height: 120px;   
}
body {
    font-family: 'Trebuchet MS', 'Verdana';
	border-top: 3px solid rgb(221,217,215);
	font-size: 62.5%; /* Resets 1em to 10px */
	color: rgb(102, 102, 102);
	text-align: center;
	background-image: url("images/bg.png");
}

a {
	color: rgb(200,100,40);
	text-decoration: none;
}	

a:hover {
	text-decoration: none;
	color: rgb(000,160,240);
}

a.image {border-bottom: 0;}	
	
#page {text-align: left;}
	
#header li a {
	z-index: 100;
	border-bottom: none;	
	text-transform: uppercase; 
	font-size: 1em; 
	font-weight: bold;
}	

#header li a:hover {
	text-decoration: none;
	color: white;
	background: rgb(221,217,215);
}
	
#content {
	border: 1px solid rgb(221,217,215);
	font-size: 1.2em;
	line-height: 1.8em;	
	background: #FFFFFF;
	
	border-bottom-right-radius: 27px;
	-webkit-border-bottom-right-radius: 27px;
	-moz-border-radius-bottomright: 27px;
	
	box-shadow: 4px 4px 16px rgba(64,64,64,0.4);
	-webkit-box-shadow: 4px 4px 16px rgba(64,64,64,0.4);
	-moz-box-shadow: 4px 4px 16px rgba(64,64,64,0.4);
}


.sub_link_container {
    margin-top: 20px;
	margin-bottom: 20px;
	float: right;
	text-align: right;
}

.sub_link_container ul {
	margin: 0;
	padding: 0; 
	list-style-type: none;
	list-style-image: none; 
}
	
.sub_link_container li {margin-left: 20px;}

.postmetadata, .commentmetadata, #footer {
	letter-spacing: 1px; 
	text-transform: uppercase; 
	font-size: 0.75em;
	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: 0.9em;}
	
#footer a, #footer a:visited {color: rgb(120,120,120); text-decoration: none; border-bottom: none;}	
#footer a:hover {color: rgb(40,40,40);}	

small, .navigation {
	color: rgb(138,134,132);
	font-size: 0.9em;
	line-height: 1.5em;
}
	
.navigation a {border-bottom: none;}	
	
h1, h2, h3, h4 {
	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: 2.1em;}
	
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 {font: 0.9em;}
	
.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';} */

#description {
	margin-top: 50px;
	text-align: left;
	background: rgb(130,135,145);
	color: white;	 
	font-size: 1.1em; 
	line-height: 1.8em; 	
}
	
#sidebar {
	background: rgb(211,207,205);
}
	
#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 {
	font: normal 0.8em;
	letter-spacing: 1px;	
	text-transform: uppercase;	
}
	
#sidebarsubmit {font-size: 1em;}		

.nocomments, .postmetadata, strike, #footer {color: rgb(168,164,162);}
	
code {
	font: 1.1em;
}

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;
	text-align: center;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}
	
#pagestripe {
	background: rgb(221,217,215);
	width: 780px;
	height: 5px;
	clear: both;
}
	
#pageblock {
	display: block;
	background: rgb(130,135,145);
	width: 269px;
	height: 5px;
	float: right;
	line-height: 0;
}	
/* End Typography & Colors */


/* Begin Structure */
/* EVH - why is there a body, and a #page etc. again here? */
body {
	margin: 0;
	padding: 0; 
}

#page {
	margin: 0 auto;
	width: 780px;
}
	
#header {
	height: 160px;
}

#content {
	width: 419px;
	margin: 30px 0 0 0;
	padding: 40px 40px 40px 50px;
	float: left;
	clear: both;	
}

#content.single {
	width: 518px; 
	margin: 0; 
	padding: 70px 130px; 
}	

#header ul, #header li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
}
	
#header li a {
	display: block;
	min-width: 40px;
	padding: 74px 32px 12px 12px;
	float: left;}	
	
.post {
	margin: 0 0 40px 0;
	text-align: left;
}
	
.postmetadata .alt {margin: 25px 0 0 0;}	
	
#footer {
	width: 510px;
	clear: both;
}
	
#footer.single {width: 780px;}	

#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 */
#logo_container {
	float: right;
}

#header h1 {
	display: block;
	width: 269px;
	height: 160px;
	float: right;
	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 {margin: 0;}	
	
#sidebar h2 {padding: 0;}

h3 {
	margin: 30px 0 0 0;
	padding: 0;
}

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

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

/* This is mainly for password protected posts, makes them look better. */
.entry form {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;
}

/* Doesn't work in IE */
#wp-calendar td.pad:hover {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: 0.9em;
}

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


#old_browser {
	font-size: 16px;
	color: red;
}
/* End Various Tags & Classes */

/* Begin Easy Slider */
#slider {
	margin-bottom: 20px;
	background-image: url("images/slider_bg.png");
	box-shadow: 4px 4px 16px rgba(64,64,64,0.4);
	-webkit-box-shadow: 4px 4px 16px rgba(64,64,64,0.4);
	-moz-box-shadow: 4px 4px 16px rgba(64,64,64,0.4);
}
    
#slider ul, #slider li, #slider2 ul, #slider2 li {
	margin:0;
	padding:0;
	list-style:none;
}

#slider2 {margin-top:1em;}

#slider li, #slider2 li {
/* 
	define width and height of list item (slide)
	entire slider area will adjust according to the parameters provided here
	used to be height = 241
*/ 
	width:550px;
	height:340px;
	overflow:hidden; 
}

#prevBtn, #nextBtn, #slider1next, #slider1prev { 
	display:block;
	width:30px;
	height:77px;
	position:absolute;
	left:-30px;
	top:71px;
	z-index:1000;
}

#nextBtn, #slider1next { 
	left:696px;
}														

#prevBtn a, #nextBtn a,	#slider1next a, #slider1prev a {
	display:block;
	position:relative;
	width:30px;
	height:77px;
	background:url(../images/btn_prev.gif) no-repeat 0 0;	
}

#nextBtn a, #slider1next a{ 
	background:url(../images/btn_next.gif) no-repeat 0 0;	
}
	
/* numeric controls */	
ol#controls {
	margin:1em 0;
	padding:0;
	height:28px;	
}

ol#controls li{
	margin:0 10px 0 0; 
	padding:0;
	float:left;
	list-style:none;
	height:28px;
	line-height:28px;
}

ol#controls li a{
	float:left;
	height:28px;
	line-height:28px;
	border:1px solid #ccc;
	background:#DAF3F8;
	color:#555;
	padding:0 10px;
	text-decoration:none;
}

ol#controls li.current a{
	background:#5DC9E1;
	color:#fff;
}
/* End Easy Slider */
	

/* Begin Lightbox */
.lightbox {
	display: block;
	float: left;
	width: 100%;
	margin: 0;
	margin-bottom: 30px;
	padding: 0;
}

.lightbox_tn a {
	position: relative;
	float: left;
	padding: 0;
	margin: 4px 4px 4px 4px;
	display: block;
	width: 120px;
	height: 120px;
}

.lightbox_tn a img {
	float:left;
	padding: 0;
	margin: 0;
	width: 120px;
	height: 120px;
}
/* End Lightbox */


