/*
Theme Name: markosamuli.com
Theme URI: http://blog.markosamuli.com
Description: Simple theme based on ADSimple by <a href="http://dimox.name/">Dimox</a>
Version: 0.0.1
Author: Marko Samuli Kirves
Author URI: http://markosamuli.com
*/

* { margin: 0; padding: 0; }
html { filter: expression(document.execCommand("BackgroundImageCache", false, true)); }
body {
	font-size: 14px;
	font-family: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif;
	line-height: 1.6em;
	color: #444;
}
a { text-decoration: none; color: #0085BD; }
a:hover { text-decoration: underline; }
p { margin: 0; padding: 10px 0; }
h1 { margin: 20px 0 0; }
img { border: 0; }
input { vertical-align: middle; }
h2 {
	/* font: normal 1.6em "Trebuchet MS", Arial, Sans-Serif; */
	font-weight: normal;
	margin: 0 0 12px;
}
blockquote {
	margin: 10px 0 10px 30px;
	border-left: 3px solid #E60000;
	background: #EEE;
	padding: 5px 15px;
	font-size: 1.3em;
}
* html blockquote {height: 1%;}
blockquote p {
	font-size: 1em !important;
	margin: 0;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.aligncenter {margin: 7px margin}
.alignleft {float: left}
img.alignleft {margin: 5px 10px 3px 0}
.alignright {float: right}
img.alignright {margin: 5px 0 3px 10px}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* optional rounded corners for browsers that support it */
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.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;
}


#wrapper {
	/* width: 990px; */
	width: 850px;
	margin: 0 auto;
	padding: 80px 0 0 0;
	/* border-top: 5px solid #EEE; */
}


/* Header
-----------------------------------------------------------------------------*/
#header {
	/* height: 117px; */
	border-bottom: 3px solid #EAEAEA;
	/* margin-bottom: 28px; */
}
#top {
	float: right;
	text-align: right;
}
#top li {
	display: inline;
}
#top a {
	color: #808080;
	margin: 0 0 0 13px;
	background: url(i/toparrow.gif) center left no-repeat;
	padding: 0 0 0 12px;
	font-size: 1.2em;
}
#top .current_page_item a {
	background-image: url(i/toparrow2.gif);
}
#searchform {
	margin: 20px 0 0;
}
#searchform input {
	font: 0.9em 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', sans-serif;
	float: left;
}
#s {
	width: 175px;
	padding: 2px 6px;
	border: 2px solid #ccc;
	margin-right: 5px;
}
#searchsubmit {
	background: #0085BD;
	border: 0;
	padding: 2px 7px;
	color: #fff;
	font-weight: normal !important;
	overflow: visible;
	height: 23px;
	cursor: pointer;
}

#logo {
  font-size: 2em; 
  font-weight: normal; 
  letter-spacing: 0.05em; 
  text-transform: uppercase; 
  white-space: nowrap; 
  color: #000;
	float: left;
	/*
	color: #808080;
	line-height: 0.85em;
	font-size: 3.3em;
	margin: 14px 0 15px;
	*/
}
#logo a { text-decoration: none; color: inherit; }
#logo span {
	display: block;
	font-size: 0.38em;
	font-weight: normal;
	text-transform: uppercase;
}

#menu {
	height: 24px;
	padding: 7px 0 0 0;
	clear: both;
	/* background: url(i/smalldot.gif) repeat-x; */
	/* border-bottom: 1px solid #CCC; */
	position: relative;
}
#menu li {
	font-size: 1.1em;
	display: inline;
	text-transform: uppercase;
}
#menu li a {
	margin: 0 25px 0 0;
	color: #0085BD;
	font-size: 1.2em;
}
#menu li a:hover {color: #444;}
#menu li.current_page_item a {
	/* background: url(i/arrow.gif) no-repeat center left; */
	color: #808080;
}


/* Content
-----------------------------------------------------------------------------*/
#container {
	width: 100%;
	/* background: url(i/dots.gif) 550px 0 repeat-y; */
	margin-bottom: 10px;
}
* html #container {height: 1%;}
#container:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#content {
	width: 540px;
	float: left;
	padding: 0 10px 20px 0;
	overflow: hidden;
}

#content .date {
    margin: 40px 0px 10px 0px;
    color: #ccc;
    font-size: 2em;
    line-height: 1.2em;
    text-align: right;
    letter-spacing: -1px;
    border-bottom: solid 1px #ccc;
}

#content h2 {
	/* font: normal 1.9em "Trebuchet MS", Arial, Sans-Serif; */
	font-weight: normal;
	padding: 0 0 3px;
	/* border-bottom: 1px solid #EEE; */
	margin-bottom: 1.2em;
}
#content h2.pagetitle {
  margin-top: 20px;
	padding-left: 3px;
	padding: 1px 0 4px;
}
#content h3 {
	/* font: normal 1.7em "Trebuchet MS", Arial, Sans-Serif; */
	font-weight: normal;
	padding: 0 0 3px;
	margin-bottom: 1.2em;
	/* border-bottom: 1px solid #EEE; */
}

#content p,
#content li { font-size: 1.2em; line-height: 1.5em; }

#content p a { font-weight: normal; text-decoration: underline; }

#content .post { margin: 0 0 3em; }

#content .post h2,
#content .post h3 { font-size: 2.2em; margin: 0 0 2px; }
.post ul,
.post ol {
	margin: 7px 0 7px 35px;
}
.post li {
	padding: 2px 0;
}
.post .postmetadata {
	font-size: 1.1em;
	padding: 0 0 7px;
	color: #AAA;
}
.postmetadata a {
	color: #AAA;
	text-decoration: underline;
}
.postmetadata a:hover {
	text-decoration: none;
}

.entry {
  text-align: justify;
}

.entry h1 {
	font-size: 1.8em;
	margin: 15px 0 10px;
}
.entry h2 {
	font-size: 1.65em !important;
	font-weight: bold !important;
	margin: 15px 0 10px !important;
	padding: 0 !important;
	border: none !important;
}
.entry h3 {
	font-size: 1.45em !important;
	font-weight: bold !important;
	margin: 15px 0 10px !important;
	padding: 0 !important;
}
.entry h4 {
	font-size: 1.3em;
	margin: 15px 0 10px;
	font-weight: bold !important;
}

.line {
	clear: both;
	padding: 3px;
	margin: 0 0 15px;
	background: url(i/smalldot.gif) repeat-x;
}

.nav {
	font-size: 1.3em;
	padding: 0 0 22px;
}
.navigation {
	font-size: 1.3em;
	margin: 20px 0;
	height: 1.3em;
}
.alignleft {float: left;}
.alignright {float: right;}

h3#comments,
h3#respond {
	padding: 1px 0 4px;
	border-bottom: 1px solid #EEE;
}

h3#respond.loginNeeded {
    padding-top: 2em
}

#comments_fbc {
   line-height: 1.2em;
   float: right;
   overflow: hidden;
}

#comments_fbc small {
    font-size: 11px;
}

#comments_fbc #fbc_login {
   margin: 0;
   padding: 0;
   overflow: hidden;
   float: right;
}

.fbc_profile_header {
    font-size: 11px;
    line-height: 1.2em;
    text-align: left !important;
    margin: 5px 5px 0 0;
    background: rgb(244, 244, 244) !important;
    border: 1px solid rgb(234, 234, 234) !important;
}

.commentlist {
	margin: 20px 0 30px 25px;
}
.commentlist li {
	padding: 8px 0 2px;
}
.cdata {
	background: #F5F5F5;
	border-bottom: 1px solid #DDD;
	padding: 3px 3px 3px 7px;
	height: 1%;
}
.cdata strong {
  display: block;
}
#content img.avatar {
  float: right;
	display: inline;
	border: 0;
	margin: 1px 1px 0;
}
.ctext {
  padding: 0 7px;
}

.commentlist li p {
	font-size: 1em !important;
}
.commentmetadata {
	font-size: 0.85em;
}
.commentmetadata a {
  color: #A5A5A5;
}

#author, #email, #url, #comment {
	/* font: 1em "Trebuchet MS", Arial, Sans-Serif; */
	padding: 2px 4px;
	width: 200px;
	border: 1px solid #CCC;
}
#comment {
	width: 470px;
	height: 170px;
}
/* #submit {
	width: 115px;
	height: 22px;
	padding: 0;
	background: #F4F4F4;
	cursor: pointer;
	overflow: visible;
} */


/* Sidebars
-----------------------------------------------------------------------------*/
#sidebars {
	float: left;
	width: 250px;
	font-size: 1.2em;
	line-height: 1.4em;
	padding: 0 0 0 50px;
	margin-top: 40px;
}
* html #sidebars {height: 1%;}
#sidebars:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

#sidebars ul {
	margin: 0 0 15px;
}
#sidebars li {
	list-style: none;
	border-bottom: 1px solid #EEE;
	padding: 3px 4px;
	margin: 0;
}
#sidebars li ul {
  margin: 0 0 3px 12px;
}
#sidebars li li {
  padding: 3px 0 0;
	border: none;
}
#sidebars li a {
	/* background: url(i/arrow.gif) no-repeat center left;
	padding: 0 0 0 12px; */
	color: #808080;
}
#sidebars h2 {
	font-weight: normal;
	font-size: 1.65em;
	line-height: 1.2em;
	padding: 0 0 0 3px;
  letter-spacing: -1px;
  border-bottom: solid 1px #ccc;
  margin: 0 0 5px 0;
}
#sidebars h3 {
  font-weight: normal;
	font-size: 1.4em;
	line-height: 1.2em;
	padding: 0 0 3px;
}

.tags,
#tag_cloud {
	margin: 0 0 15px;
}
.tags {
  text-align: center;
}
.tags a,
#tag_cloud a {
	color: #808080;
	margin: 0 2px;
}

#wp-calendar {
  width: 100%;
	margin: 0 0 12px;
}
#wp-calendar td {
  text-align: center;
}


/* Footer
-----------------------------------------------------------------------------*/
#footer {
	clear: both;
	padding: 7px 10px;
	margin: 0 0 15px;
	font-size: 1.1em;
	color: #808080;
	background: #EEE;
}
