/*  
Theme Name: Paivi
Theme URI: http://paiviniemi.org/
Description: Built by Hiljá.
Author: Antti Hiljá
Author URI: http://hilja.net/
*/

/* Begin Reset *************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/
* {	vertical-align: baseline;
	font-family: inherit;
	font-style: inherit;
	border: 0 none;
	outline: 0;
	padding: 0;
	margin: 0;
	}

html { 
	margin-bottom: 1px;
	height: 100%; /* Must be 100% cause of the Sticky Footer. And for the scroll bar to appear. */
	}

body {
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-size: 62.5%; /* Resets 1em to 10px */
	background: #fff;
	text-align: center;
	color: #000;
	height: 100%; /* Must be 100% cause of the Sticky Footer */
	}

/* End Reset ***************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Links *************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

a {
	text-decoration: none;
	color: #333;
	border-bottom: dotted 1px black;
	}

a:hover {
	text-decoration: none;
	color: #888;
	border-bottom: solid 1px red;
	}

#footer a {
	text-decoration: none;
	color: black;
	border-bottom: dotted 1px black;
	}

#footer a:hover {
	text-decoration: none;
	color: #888;
	border-bottom: solid 1px red;
	}

/* End Links ***************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Typography ********************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

p {
	font-size: 1.15em;
	margin: 0 0 1em 0;
	line-height: 1.5em;
	color: #888;
	}

#header p,
#footer p {
	margin: 0;
	display: inline;
	font-size: 1em
	}

strong {
	text-transform: uppercase;
	color: black;
	font-weight: normal;
	}

h1 {
	margin: 0 0 10px 0;
	font-size: 4.4em;
	font-weight: bold;
	text-transform: uppercase;
	font-family: Helvetica, Arial, sans-serif;
	}

h2 {
	text-align: center;
	margin: 0;
	padding: 0 0 15px 0;
	font: normal 1.2em Helvetica, Arial, Sans-Serif;
	text-align: left;
	}

.post-heading-wide h2 {
	padding: 10px 0 0 34px;
	height: 30px;
	background: transparent url(images/pallo.gif) no-repeat left 2px;
	text-transform: uppercase;
	}

#header h2 {
	margin: 0;
	padding: 0 0 15px 0;
	letter-spacing: 1px;
	font: normal 1.3em Georgia, Times, 'Times New Roman', Serif;
	text-align: center;
	}

.post-heading h2 a span.listen {
	display: none;
	}

.post-heading h2 a:hover span.listen {
	display: inline;
	font-size: 0.8em;
	color: #888;
	}

h3 {
	margin: 0 10px 10px 0;
	font-size: 1.4em;
	text-align: left;
	}

.wide-col h3 {
	padding: 15px 0 0 0;
	text-transform: uppercase;
	}

h4 {
	margin: 0 0 10px 0;
	font-size: 1.2em;
	text-align: left;
	}

h5 {
	margin: 0 0 10px 0;
	font-size: 1.3em;
	text-align: left;
	font-weight: normal;
	}

h5.blog-title {
	float: left;
	}

h6 {
	margin: 0 0 10px 0;
	font-size: 1.1em;
	text-align: left;
	text-transform: uppercase;
	font-weight: normal;
	}

/* End Typography *************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Structure *************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

#header {
	padding: 20px 0 10px 0;
	border-bottom: 1px dotted gray;
	}

#header h1 {
	padding: 0 0 20px 0;
	text-indent: -99999px;
	height: 50px;
	background: transparent url(images/banner.gif) no-repeat center top;
	}

#pagewrap {
	width: 650px;
	height: 100%; /* Must be 100% cause of the Sticky Footer */
	margin: 0 auto;
	text-align: center;
	}

body > #pagewrap { /* Sticky footer thingy */
	height: auto; 
	min-height: 100%;
	}

.content {
	padding-bottom: 5em;  /* must be same height as the footer */
    }

.heading-blog {
	padding-bottom: 10px;
	overflow: hidden;
	}

.post {
	padding: 20px 0 10px 0;
	width: 100%;
	height: 175px;
	overflow: hidden;
	text-align: left;
	}

.post-single {
	padding: 10px 0 25px 0;
	width: 100%;
	overflow: hidden;
	text-align: left;
	}

.post-heading-wide {
	padding: 3px 0 3px 0;
	position: relative;
	width: 630px;
	}

.post-wide {
	padding: 20px 0 10px 0;
	width: 100%;
	overflow: hidden;
	}

.post-content,
.post-content-wide {
	float: left;
	padding: 8px 0;
	text-align: left;
	}

.post-content {
	width: 455px;
	}

.post-content-wide {
	width: 650px;
	padding: 8px 0;
	}

#footer {
	padding: 1.5em 0 .5em 0;
	width: 700px;
	position: relative;
	margin-top: -5em; /* negative value of footer height */
	margin-left: auto;
	margin-right: auto;
	height: 3em;
	clear: both;
	}

/* Clearfix hack */

clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
	
.clearfix {
	display: inline-block;
	}
	
/* Hides from IE-mac \*/	
* html .clearfix { 
	height: 1%;
	}
	
.clearfix {
	display: block;
	}
/* End hide from IE-mac */

/* End Clearfix hack */

/* End Structure ***********************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Metadata **********************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

.time {
	padding: 15px;
	}

span.meta-data a {
	color: #555;
	margin: 0 0 1em 0;
	padding: 4px;
	position: absolute;
	right: 0;
	bottom: 2px;
	font-size: .9em;
	}

span.blog-post-edit a.post-edit-link {
	position: absolute;
	right: -4px;
	top: 33px;
	}

.post-edit-link {
	padding: 5px;
	position: fixed;
	top: 0;
	right: 0;
	}

.commentmetadata a.comment-edit-link {
	padding: 5px;
	position: absolute;
	top: 0;
	right: 0;
	font-size: .9em;
	}

.commentmetadata {
	font-weight: normal;
	}

p.commentmetadata a {
	color: #cc6666;
	}

/* End Metadata ************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Comments **********************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

.commentlist {
	padding: 0 0 10px 0;
	margin: 0 5px 0 5px;
	position: relative;
	}

.commentlist li {
	margin: 0;
	padding: 5px 7px 5px 7px;
	list-style: none;
	/*background: transparent url(images/tausta08.png) repeat-x;*/
	border-bottom: 1px solid #ddd;
	text-align: left;
	position: relative;
	}

.commentlist p {
	margin: 10px 0 10px 0;
	}

#commentform p {
	margin: 0 0 10px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments *************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Form Elements *************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Search Form */

#search-wrap {
	width: 150px;
	position: relative;
	}

#searchform {
	margin: 0;
	padding: 0;
	}

#searchform input#s {
	padding: 3px 35px 3px 3px;
	border: 1px solid #888;
	width: 118px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;	
	-moz-border-radius: 3px;
	border-radius: 3px;
	}

#searchform input#searchsubmit {
	width: 32px;
	height: 16px;
	background: transparent url('images/search2.gif') no-repeat;
	background-position: 1px 1px;
	position: absolute;
	top: 1px;
	right: -4px;
	}

#searchform input#searchsubmit:hover {
	background: white url('images/search-red2.gif') no-repeat;
	background-position: 1px 1px;
	}

/* End Search Form */

form {
	overflow: hidden;
	padding: 10px 0 0 0;
	}

select.archive {
	width: 145px;
	}
	
input.button {
	width: 170px;
	padding: 5px;
	margin: 0;
	border: 1px solid #888;
	background-color: #eee;
	}

input.btnhov {
	background-color: yellow;
	}

.labelwrap {
	float: left;
	width: 270px;
	margin: 0 10px 0 0;
	}

label.emaillabel,
label.namelabel,
label.websitelabel,
label.textlabel {
	float: left;
	display: block;
	width: 50px;
	padding: 7px;
	text-transform: uppercase;
	text-align: right;
	font-size: .9em;
	}

.mandotorylabel {
	float: left;
	display: block;
	width: 50px;
	padding: 7px;
	text-transform: uppercase;
	text-align: right;
	font-size: .9em;
	}

#author, #email {
	float: left;
	border: 1px solid #888;
	background: #eee;
	width: 195px;
	}
	
#url {
	float: left;
	border: 1px solid #888;
	width: 195px;
	}

div#mandotory {
	position: relative;
	float: left;
	border: 1px solid #888;
	width: 22px;
	height: 22px;
	background: #bde2e5;
	}

div#mandotory p {
	position: relative;
	top: 3px;
	right: -30px;
	text-align: left;
	font-size: .9em;
	width: 100px;
	}

#commentform input {
	padding: 4px;
	}
	
#commentform textarea {
	width: 472px;
	padding: 5px;
	border: 1px solid #888;
	float: left;
	}

#commentform textarea #commentwide{
	width: 508px;
	padding: 5px;
	border: 1px solid #888;
	float: left;
	}

#commentform #submit {
	margin: 10px 0 15px 0;
	float: right;
	}

/* End Form Elements *******************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

/* Begin Contact List ******************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

#header ul#contactlist {
	padding: 10px 0 20px 0;
	}

ul#contactlist {
	list-style: none;
	margin: 0 auto;
	}

ul#contactlist li {
	display: inline;
	padding: 2px 1px 1px 23px;
	font-size: 1em;
	}

ul#contactlist li.separator {
	display: inline;
	background: url(images/pallo-small.gif) no-repeat 6px 4px;
	}


/* End Contact List ********************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/


/* Begin Images ************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

p img {
	padding: 0 0 40px 0;
	}

/* End Images **************************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/


/* Begin Various Tags ******************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/

.alignleft {
	float: left;
	}

.alignright {
	float: right;
	}

.floatleft {
	float: left;
	}

.floatright {
	float: right;
	}

.red {
	color: #cc6666;
	}

.clear {
	clear: both;
	}

.inline {
	display: inline;
	}

::-moz-selection{
	background: #777;
	color: #fff;
	} 

::selection {
	background: #777;
	color: #fff;
	}

/* End Various Tags *************************************************************************
****************************************************************************************************
****************************************************************************************************
***************************************************************************************************/