/*  
Theme Name: merciful house v7
Theme URI: http://mercifulhouse.net
Description: Custom made theme for creator's website. June 2009. Updated March 2011.
Version: 1.2
Author: Ude
Author URI: http://mercifulhouse.net/
Tags: Japan, brown, fixed width, two columns, widgets
*/

/*
0 2px 5px rgba(85, 85, 85, 0.2)
#DCC9AC = body taustaväri (vaaleanruskea)
#333 = perus tekstiväri (tummanmusta)
#880000 = headeriväri (syvänpunainen)
DECFB1 = boxin varjon väri
*/

/* ----------------------------- TAG ----------------------------- */
html, body { background-color: #DCC9AC;}
html, body, h1, h2, h3, h4, h5, h6, blockquote, p{ margin: 0; padding: 0; color:#333;}
img { border-width: 0px;}
abbr { text-decoration:none; text-transform:none;}
body{ background: url(images/ruskeatausta.gif); font-family: Verdana, 'trebuchet ms', sans-serif; font-size: 1em; text-align: center; }
p { padding: 0 0 1em 0; margin:0; }
.post p { line-height: 19px;}

div.front_special div.entry { height: 200px;}

blockquote {
	-moz-border-radius: 2px 2px 2px 2px;
    -moz-box-shadow: 0 1px 3px #CDCAC0;
	-webkit-border-radius: 2px 2px 2px 2px;
    -webkit-box-shadow: 0 1px 3px #CDCAC0;
	-o-border-radius: 2px 2px 2px 2px;
    -o-webkit-box-shadow: 0 1px 3px #CDCAC0;
    background: none repeat scroll 0 0 #DAD9D0;
    border: 1px solid #BBBBBB;
    font: 1em/1.4em 'DroidSerifItalic',Arial,sans-serif;
    margin: 1em 2em;
    padding: 1em;
}
/* Siteerausblokki */

blockquote p {}

#container h1 {background:url(images/title.gif) no-repeat top right; margin: 20px 225px 0 -5000px;} /* Blogin otsikko */
h4 { padding: 0.5em 0 1em 0; font-family:'trebuchet ms',helvetica,arial,sans-serif; font-size:1.1em;}

#wrapper div.widepage { margin-left: 13px;
    margin-right: 13px;
    width: 839px;
	background-image: url(images/blank_bg.gif);}
	
div.widepage div.post { padding: 0 130px;}
div.porfolio div.post { padding: 0 30px;}

/* ----------------------------- HOVER, LINK, VISITED ----------------------------- */

a:link, a:visited{ text-decoration: none; color: #880000;}
a:hover{ text-decoration: none; cursor:pointer;}
p a:hover { border-bottom: 1px dotted #800;}
img a:hover {border: none;}

.post h2 a:link, .post h2 a:visited{ color:#830000; font-weight:bold; text-decoration: none; font-size: 1.2em; font-family:'trebuchet ms',helvetica,arial,sans-serif;} /* Postien otsikot */

.post h2 a:hover { text-decoration:underline;}

.sidebar a:link, .sidebar a:visited { text-decoration:none; color:#880000; border-bottom: 1px dotted #AAA;}
.sidebar h2 a:link, .sidebar h2 a:visited { text-decoration:none; color:#FFF; border-bottom: none;}
.sidebar #rss-5 a:link, .sidebar #rss-5 a:visited { border-bottom: none; color: #FFF;}
.sidebar #rss-5 li:hover {	background-color: #C68E88; cursor:pointer;}


.sidebar a.portfolio_ikoni, .sidebar a.portfolio_ikoni:hover,
.sidebar div.flickr_badge_image a, .sidebar div.flickr_badge_image a:hover
{ border-bottom: none;}

.sidebar a:hover { border-bottom: 1px dotted #990033; color:#990033;}

/* ----------------------------- ID ----------------------------- */
#bodyrap { background: url(images/bg4.gif) center top repeat-y #DDD; width: 979px; margin: 0 auto;} /* Pariton KUVAN leveys korjaa 1-pixel jogin */
#wrapper { margin: 0 auto; width: 865px; text-align: left;}/* Kaikka mit� on body-tagin sis�ll� */
#header { height: 353px; width:860px; background:url(images/taulu.jpg) left bottom no-repeat;} /* T�m� sis�lt�� yl�palkin */
#desc {  
    font-size: 0.8em;
    font-weight: normal;
    margin: 0 7px 0 3px;
    padding: 20px 15px;}/* Blogin kuvaus */
#container { float:left; width:580px; margin: 0 4px 0 10px; min-height: 550px;} /* T�m�n sis�ll� on kaikki postit */
div.archive div.post h2 { font-size: 1em;}

#topmenu {
	float: right;
    font-size: 10px;
    margin: 2px 36px 0 0;
	}
#tagline {
color: #803A3A;
    font-size: 0.7em;
    padding: 13px 0 0 206px;
}
/* FOOTER */

#footer { width:839px;  clear:both; font-size: 0.8em; background:url(images/blank_bg.gif) top repeat; padding: 30px 0 10px 0; margin: 0 0 0 13px;} /* Alapalkki height: 270px; */
#footer_cat, #footer_arc, #footer_post, #footer_tag { float: left; text-align:left; font-size: 0.8em; width: 200px; padding-bottom: 0px;}
#footer_cat li, #footer_arc li, #footer_post li, #footer_tag li { list-style-type: none; background: transparent url(images/li-bg.gif) no-repeat scroll 0 0.35em; text-indent:10px; }
#footer_cat h2, #footer_arc h2, #footer_post h2, #footer_tag h2, #footer_about h2 { margin-left: 40px; font-family:'trebuchet ms',helvetica,arial,sans-serif; border-bottom:1px solid #BBBBBB;}
#footer_post p { padding-left: 10px;}
#footer a:link, #footer a:visited { text-decoration:none;}
#footer a:hover { text-decoration:none; border-bottom: 1px dotted #800;}
#footer_meta { clear:both; margin-left: 40px;}
#footer_about {
	border-top:1px solid #CCCCCC;
	clear:both;
	font-size:0.8em;
	margin: 10px 20px 0px 34px;
	padding: 7px 0 0;
	width:770px;
}

#footerline { background-image: url("images/footerkehys3.gif");
    clear: both;
    height: 12px;
    margin: 0 0 0 13px;
    width: 840px;}

#footer_about p { padding: 0px}

#footer_tag p { margin: 5px 0 0 40px; font-size: 0.8em; padding: 0;}

#searchform {  text-align:right;margin: 0 15px; padding-top: 2px;} /* Sivupalkin hakukentt� */

#searchsubmit { 
border:1px solid #DDD;
color:#666;
text-transform:capitalize;
font-size: 12px;
background-color: #EEE;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-o-border-radius: 4px;
}

#hakukentta { display: none; }

#searchsubmit:hover, #submit:hover { background-color:#FFF; color: #333;}
#respond { margin-bottom: 1em;  text-shadow: 0px 1px 0px #633;} /* Kehoitusteksti ennen kommenttikentti� */

#s { border: 1px solid #DDD; height:16px;} /* Yleinen hakunappula */
input#s:hover { border: 1px solid #CCC;}
#calendar {} /* Sivupalkin kalenteri */
#wp-calendar {} /* Sivupalkin kalenterin itse table-taulukko */
#today {} /* Kalenterin "t�n��n" p�iv� */
#author, #url, #email, #comment {
border: 1px solid #A4A4B4;
font-family: Verdana, 'trebuchet ms', sans-serif;
font-size: 1em;
padding: 0.2em;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
} /* Kommenttikentti� */

#author:hover, #url:hover, #email:hover, #comment:hover { border: 1px solid #B1A981;}

#author:focus, #url:focus, #email:focus, #comment:focus {
-moz-box-shadow: 0 0 5px rgba(169, 168, 84, 0.5);
}

#submit { border:1px solid #C2C0C0; color:#333; font-size:1em; font-weight:bold;
height:25px; margin:0 15px 0 0; padding:0 8px 2px; text-transform:uppercase;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
background-color:#DDD;
}


.flickr_badge_image img { /*border: solid #440 2px; margin-left: 0px;*/
background-color:#FFFFFF;
border:1px solid #AAA;
margin-left:0;
padding:3px;
-moz-box-shadow:0 2px 5px rgba(85, 85, 85, 0.2);
-webkit-box-shadow:0 2px 5px rgba(85, 85, 85, 0.2);
box-shadow:0 2px 5px rgba(85, 85, 85, 0.2);
-moz-border-radius: 1px; -webkit-border-radius: 1px; -o-border-radius: 1px;
}

.flickr_badge_image img:hover {
}

#flickr_badge_wrapper { text-align: center;}
#text-4 div.textwidget { margin: 15px 0 0; }

#rss-3 { background: url(images/twitter_03.png) no-repeat left bottom; margin-bottom: 0px; padding-bottom: 100px;} /* Twitter-lintu  */

li#rss-3 ul li {
	background-image: none;
	background-color: #BCD;
	padding: 1em; 
	color: #333;
	text-indent: 0px;
	-moz-border-radius: 16px; 
	-webkit-border-radius: 16px; 
	border-radius: 16px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-o-transition: all 0.2s;
} /* Twitter puhekuplat */

li#rss-3 ul li:hover {
	cursor:pointer;
	background-color: #C6D4E4;}

.sidebar li#rss-3 ul li a:link, .sidebar ul li#rss-3 a:visited { border: none; color: #333;} /* Poista twitterlinkkien alaviivat */
.sidebar li#rss-3 h2.widgettitle a { color: #FFF;}
.sidebar li#rss-5 ul li a:link, .sidebar li#rss-5 ul lia:visited { border: none; color: #FFF;} /* Poista twitterlinkkien alaviivat */

.sidebar li#rss-5 ul li { 
background:url("images/lastfm.png") no-repeat scroll 0.3em 50% #A65A52; 
text-indent: 0px;
padding: 0.5em 0.5em 0.5em 2.3em;
color: #FFF; 
font-size:1.1em;
-moz-border-radius: 2px;
-webkit-border-radius: 2px; 
border-radius: 2px;
-moz-transition: all 0.2s;
-webkit-transition: all 0.2s;
-o-transition: all 0.2s;
margin-top:1px;
} /* last.fm laatikko */
.sidebar li#rss-5 h2 { margin-bottom: 15px;}

#rss-3 .rss-date { color: #556;}

/* ----------------------------- CLASS ----------------------------- */

body img.sitename { margin: 11px 0 0 18px; position: absolute;} /* domainin nimi ylh��ll� */
.post { padding: 0 20px; font-size: 0.8em; margin: 20px 0 20px 0;} /* Postin runko */
.post h2{ padding: 0 0 0 17px; background:transparent url(images/entry-header-bg.gif) no-repeat scroll left center; margin:0 0 10px 0;}
.front_special .post h2 { font-size: 1.1em;}
h2.front_header { list-style-type: none; font-size: 12px; height: 29px; color:#FFFFFF; background: url(images/module-header-bg.gif) repeat-x scroll left top; line-height: 29px; padding: 0 0 0 15px;
text-shadow: 0px 1px 0px rgba(40,33,20,0.7);
margin: 0px 7px 0px 3px;
}
.postdateheader { padding-bottom: 0.6em; font-size:0.8em; background: transparent url(images/date-header-bg.gif) repeat-x scroll left bottom; color:#CC6600; text-transform:uppercase; margin-bottom: 5px;}
.entry { line-height: 18px; font-size: 1em;} /* Postin sis�lt� */
.postmetadata {  font-size:0.9em; text-align: left; } /* Postin metadatalaatikko */
.postmetadatatop { font-size:0.9em; text-align: left;opacity: 0.7; } /* Postin metadatalaatikko */
.postmetadata_tausta {background:transparent url(images/sepa3.gif) no-repeat scroll center center; clear:left;}
.navigation { padding: 1em; font-family: 'trebuchet ms',helvetica,arial,sans-serif; font-weight: bold;
/*background: url("images/footerkehys3.gif") repeat-x scroll center top transparent;*/
 padding: 20px 0 10px 0px;
  width: 100%;
  font-size: 1em;
} /* Postien alle tuleva previous/next-linkit */
.navigation a:hover { text-decoration:underline;}
.nav_index, .nav_cat {
	text-align:center;
}

.singlenav a, div.nav_index a { font-size: 0.8em; opacity: 0.5; 	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-o-transition: all 0.2s;}
.singlenavleft { float:left; padding-left: 1em;}
.singlenavright { float:right; padding-right: 1em;}
.singlenavleft a:hover, .singlenavright a:hover, div.nav_index a:hover { opacity: 1;}

h2.pagesubject { margin: 1em 0 0 0; }

.pagenav {} /* Sivupalkin sivuluettelo (page) */
.linkcat {} /* Sivupalkin linkkiluettolo */
.pad {} /* Sivupalkin kalenterin taulukon viimeinen osio */
.textwidget { margin: 10px; color: #666;} /* Sivupalkin text-widgetin alue */
.widget_tag_cloud div { margin: 10px 10px 5px; }

.sidebar { float:left; width:258px; font-size:0.7em; color: #554; display:inline;} /* Sivupalkki, inline korjaa doublemarginin */
.sidebar ul{ list-style-type:none; padding: 0px; margin: 0px;} /* Sivupalkin listat */
.sidebar ul li{ margin: 0 0 10px 0;}/* Sivupalkin listojen tavarat */
.sidebar ul li h2 { list-style-type: none; font-size: 12px; height: 29px; color:#FFFFFF; background: url(images/module-header-bg.gif) repeat-x scroll left top; line-height: 29px; padding: 0 0 0 10px;

text-shadow: 0px 1px 0px rgba(40,33,20,0.7);
}/* Sivupalkin otsikot */
.sidebar ul ul li{ list-style-position:outside; margin: 10px 10px 0; background: transparent url(images/li-bg.gif) no-repeat scroll 0 0.35em; text-indent: 10px;} /* Sivupalkin alalistojen tavarat */

.rsswidget img { display: none;}
.flickrbox { margin-top: 5px;}
h2.searchresult, h2.pagetitle, h2.catheader { margin: 0 1em; font-family:'trebuchet ms',helvetica,arial,sans-serif; color: #830000;}
h2.searchheader, h2.catheader { font-size: 1.3em;}
h2.catheader { text-transform:capitalize;}/* Archive.php otsikoita */

div.split {
background:transparent url(images/sepa.gif) no-repeat scroll 50% 50%;
clear:both;
height:50px;
width:100%;
}

div.desc_text { padding: 10px 21px; font-size: 0.9em;}

img.avatar { margin: 0 0.5em 0.5em 0; float: left;}

img.avatar-50 { margin: 1em 1em 1em 1em;}

.gallery a img { border: 1px solid #D3D3D3;
border-radius: 1px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-o-transition: all 0.2s;
	opacity: 0.93;}

.gallery a img:hover { border: 1px solid #C2c2c2; opacity: 1;}

span.youtube { margin: 0 50px;}

.menu-item {   background: url("images/li-bg.gif") no-repeat scroll 0 0.35em transparent;
    display: inline;
    font-size: 1.2em;
    list-style-type: none;
    padding: 0 10px 1px 20px;
	
	}

.menu-item a {border-bottom: 2px solid rgba(0,0,0,0);
-webkit-transition: border 0.5s;
	-moz-transition: border 0.5s;
	-o-transition: border 0.5s;}

.menu { padding: 0 0 0 20px;}
li#menu-item-554 { background-image:none;}

.menu-item a:hover { border-bottom: 2px solid #880000;}
.current-menu-item a:hover {  }
.current-menu-item a { border-bottom: 2px solid #880000; padding-bottom:1px; }

/* .sidebar ul ul li{ margin: 10px 10px 0; list-style-image:url(images/li-bg.gif); list-style-position:inside;} */

/* ----------------------------- TAG+CLASS ----------------------------- */

p.postmetadata { padding: 0 0 1em 0; opacity: 0.7;} /* Huomaa, ett� class esiintyy vain p-tagin kanssa */
/* p.postmetadata:hover{ opacity: 1;} /* Huomaa, ett� class esiintyy vain p-tagin kanssa */


table#wp-calendar{     margin: 1em auto;
    width: 75%; } /* Kalenterin leveys */

/* ----------------------------- KOMMENTTI ----------------------------- */

.comments-template{ width:553px;}
.comments-template ol{margin: 0; padding: 0 0 15px; list-style: none;}
.comments-template ol li{/*background:transparent url(images/sepa.gif) no-repeat scroll center bottom;*/
line-height:18px; margin:10px 0 0; padding:0 0 0px;}
.comments-template h2, .comments-template h3{
	list-style-type: none;
	font-size: 1em;
	height: 29px; color:#FFFFFF;
	background: #9B0000 url(images/module-header-bg.gif) repeat-x scroll left top;
	line-height: 30px;
	padding: 0 0 0 17px;
	margin: 0 -156px 0 -130px;
text-shadow: 0px 1px 0px #633;}
.commentmetadata{ padding: 0em 0 0 1em;}
.comments-template p.nocomments{ padding: 0;}
.comments-template p textarea { font-size: 1em;}
.commentlist div.commentbox { margin: 1em 1em 1em 0em; padding: 1em; border: 3px solid #CCB; font-size: 0.9em; background-color:#EED; min-height: 37px;}
.commentlist li.alt div.commentbox { margin: 1em 1em 1em 0em; padding: 1em; border: 3px solid #CCB; font-size: 0.9em; background-color:#E4E4D3; min-height: 37px;}
div.commentbox p { padding: 0 0 1em 61px;}
.authcomment {
    background-color: #FFF !important;
	border-color: #999 !important;
}


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption, div.gallery {
	border: 1px solid #ccc;
	text-align: center;
	font-size: 11px;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-box-shadow: 0 2px 5px rgba(85, 85, 85, 0.2);
	-webkit-box-shadow: 0 2px 5px rgba(85, 85, 85, 0.2);
	box-shadow: 0 2px 5px rgba(85, 85, 85, 0.2);
	background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1));

}

#post-176 .wp-caption, #post-176 .gallery { /*-moz-box-shadow: 0 4px 5px #666; box-shadow: 0 4px 5px #666; -webkit-box-shadow: 0 4px 5px #666; -o-box-shadow: 0 4px 5px #666;*/}/* portfoliota varten*/
#post-176 .entry h2 { text-align: center; background-image:none; text-indent:0px; font-family:'trebuchet ms',helvetica,arial,sans-serif; padding: 0 0 0 0px;}
/*#post-176 h2.pagesubject { padding: 0 0 0 0px; margin:0; text-align:left; font-size: 1.4em;}*/
#post-176 h3 { font-family:'trebuchet ms',helvetica,arial,sans-serif; padding: 0 0 1em 0px; clear:both;}
#post-176 p { }

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
	
.archive img.alignleft { margin-bottom: 25px;}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

.tfe {
	-moz-box-shadow: 0 2px 5px rgba(85, 85, 85, 0.2);
	-webkit-box-shadow: 0 2px 5px rgba(85, 85, 85, 0.2);
	box-shadow: 0 2px 5px rgba(85, 85, 85, 0.2);
    background-color: #F3F3F3;
    border: 1px solid #CCCCCC;
    margin: 10px;
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-o-transition: all 0.2s;
}
	
.tfe:hover { 
-webkit-transform: scale(1.1) rotate(-1deg);
-moz-transform: scale(1.1) rotate(-1deg);
-o-transform: scale(1.1) rotate(-1deg);
}
	
.sharing ul {  font-size:0.9em; opacity: 0.8;}
.sharing ul:hover { opacity: 1;}
li.sharing_label {font-weight:normal;}

div.vaakataso {}
div.vaakataso p a:hover { border: none;}

.portfolio .wp-caption {
	-webkit-transition: all 0.2s;
	-moz-transition: all 0.2s;
	-o-transition: all 0.2s;
}

.portfolio .wp-caption:hover {
	background-color: rgba(222,211,192,0.5);
	border: 1px solid #bbb;
	cursor:pointer;
}

div.portfolio div.post {padding: 0 30px;}

/* 404 */

#fail {
-webkit-transform:rotate(-2deg);
-moz-transform:rotate(-2deg);
-o-transform:rotate(-2deg);
}

pre {   background: none repeat scroll 0 0 #F7F7F7;
    border: 1px solid #D9D9D9;
    color: #2D2D65;
    font-size: 1.3em;
    margin: 10px;
    padding: 10px;}
code {font-size:1.2em; 
	color: #008099}


