/*
Theme Name: Vanhat Koneet
Theme URI: http://www.vanhatkoneet.fi/
Description: Vanhat Koneet 2010 WordPress
Version: 1.0
*/

body {
	background: #2a1f13 url(images/tausta_04.jpg) no-repeat center top; 
	/* background: #e6eaea; */
	color: #222;
	font-family: "PT Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#header {
	padding: 10px;
	background: #999;
	margin-bottom: 20px;
}
.entry, .sideblock {
	margin-bottom: 20px;
	padding: 9px;
	background: #fff;
	border: 1px solid #ddd;
}

.entry h1 {
	font-size: 24px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	margin-bottom: 12px;
	border-bottom: 4px double #222;
}
.entry h3 {
	font-size: 16px;
	margin-bottom: 12px;
}
.post-meta {
	margin: 0 0 10px 10px;
	width: 128px;
	float: right;
	background: #e6eaea;
	border: 1px solid #ddd;
	font-size: 11px;
}
.post-meta dl {
	margin: 0;
	padding: 10px;
}
.post-meta dt {
	font-weight: bold;
	border-bottom: 1px solid #bbb;
}
.main-image {
	margin-bottom: 10px;
}
.article-excerpt {
	font-weight: bold;
	margin-bottom: 18px;
}
.share {
	margin: 0 0 14px 0;
	padding: 9px;
	/* background: #e6eaea;
	border: 1px solid #ddd; */
}

.sideblock {
	width: 100%;
	float: left;
	padding-bottom: 0px;
}
.sideblock img {
	float: left;
	margin: 0 10px 10px 0;
}

/* UUSIMMAN LEHDEN TILAUS YM. TOIMINNOT */

.sideblock dl dt {
	font-weight: bold;
}
.sideblock dd {
	padding: 0 0 0 12px;
}

/* HEADER */ 

#header_100 {
	width: 100%;
	/* background: #000; */
}
#header_shadow {
	width: 100%;
	height: 20px;
	background: url(images/menu_shadow.png) repeat-x top left;
}

#toplinks {
	padding: 10px 0px 10px 0;
	text-align: right;
}
#toplinks a {
	color: #ddd;
	text-decoration: none;
}
#logo {
	margin-bottom: 10px;
	width: 210px;
	height: 90px;
	display: block;
	float: left;
}
#topbanner {
	margin-left: 22px;
	width: 728px;
	height: 90px;
	display: block;
	float: left;
}

/* TILAUS HEADERISSA */

#toplinks .tilauslinkki {
	padding: 3px 10px 3px 5px;
	background: url(images/tilausbutton.gif) no-repeat top right;
	color: #000;
	text-decoration: none;
}
.tilauslinkki a {
	color: #000;
}
#toplinks span {
	padding: 3px 0;
	background: url(images/tilausbutton.gif) no-repeat top left;
}

/* VALIKKO */ 

#menu {
	margin-bottom: 0px;
	height: 32px;
	clear: both;
	background: #c00;
	color: #fff;
	font-size: 15px;
}
#menu ul {
	list-style: none;
}
#menu li {
	margin: 0;
	padding: 0;
	float: left;
}
#menu ul li a {
	padding: 5px 6px;
	display: block;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
#menu a:hover, #akt {
	background: #900;
}

.comment dt {
	font-weight: bold;
}
.comment dd {
	margin: 0 0 12px 20px;
}

/* HAKUTULOKSET, ARKISTO- JA ETUSIVUN NOSTOT */

.excerpt {
	margin-bottom: 10px;
	clear: both;
	border-bottom: 1px solid #ddd;
}
.excerpt img {
	margin: 0 10px 10px 0;
	float: left;
}
.excerpt dl {
	margin: 0;
	padding: 0;
}
.excerpt dt {
	font-size: 18px;
	font-weight: bold;
	margin: 0;
	padding: 0;
}
.excerpt dd {
	margin: 0;
	padding: 0 0 2px 0;
}
.excerpt-meta {
	margin: 0;
	padding: 0;
	font-size: 11px;
	color: #999;
}
.excerpt a {
	color: #222;
	text-decoration: none;
}
.clearfix:after {
   content: ".";
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

/* PAGENAVI */

.wp-pagenavi {
	clear: both;
}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	border: 1px solid #ccc;
	padding: 3px 5px;
	margin: 2px;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color: #000;
}

.wp-pagenavi span.current {
	font-weight: bold;
}

/* SIDEBAR */

.sideblock h3 {
	margin: 0;
	font-size: 14px;
}
.sideblock p {
	margin: 0 0 10px 0;
	font-size: 13px;
}
#side-haku form {
	margin-bottom: 10px;
}
#fb-likebox {
	width:300px; 
	height:255px;
	margin-bottom: 10px; 
	border:none; 
	overflow:hidden;
}

/* USEIMMAT LINKIT */

.sideblock a, .post-meta a, .excerpt a, .comment a {
	color: #222;
	text-decoration: none;
}
.sideblock a:hover, #toplinks a:hover, .post-meta a:hover, .excerpt a:hover, .article a:hover, .comment a:hover {
	color: #c00;
	text-decoration: underline;
}
.article a {
	color: #000;
	text-decoration: underline;
}

/* WP:N ALIGN */

.alignright {
	float: right;
}

/* FORM BUILDER */



/* Generic FormBuilder Display Configuration */
form.formBuilderForm, div.formBuilderSuccess {
	text-align: left;
	padding: 10px;
 	clear: both;
}
.formBuilderForm div{
	margin: 0;
	padding: 0;
}
div.formBuilderSuccess {
	background: #bfeaa4;
	font-size: 130%;
}
div.formBuilderSuccess h4 {
	margin: 0;
	padding: 0;
}


/* The div class around each form field*/
.formBuilderForm .formBuilderField {
	padding-bottom: 4px;
	clear: both;
}

/* The div class around the error message, in the event that a required field is not filled in*/
.formBuilderForm .formBuilderError {
	font-weight: bold;
}

/* Generic Display Controls */
.formBuilderForm div.formBuilderComment {
	font-style: italic;
	padding: 4px;
	margin: 4px 0 4px 0;
	clear: both;
	float: left;
	width: 95%;
}
.formBuilderForm .formBuilderHidden {
	visibility: hidden;
	padding: 0;
	margin: 0;
	border: 0;
	position: absolute;
}
.formBuilderForm .formBuilderSubmit {
	clear: both;
	text-align: right;
}

/* Generic Label Controls */
.formBuilderForm .formBuilderLabel, .formBuilderForm .formBuilderLabelRequired {
	clear: left;
	float: left;
	vertical-align: top;
	width: 160px;
	margin-right: 10px;
	margin-bottom: 10px;
}
.formBuilderForm .formBuilderLabelRequired {
	font-weight: bold;
}




/**** Field Type Specific Display Controls ****/

.formBuilderForm .small_text_area .formBuilderLabel
{
	width: auto;
	clear: both;
}
.formBuilderForm .small_text_area textarea
{
	/* muutettu, oli 98% */
	width: 400px;
}
.formBuilderForm .large_text_area .formBuilderLabel
{
	width: auto;
	clear: both;
}
.formBuilderForm .large_text_area textarea
{
	width: 98%;
}
.formBuilderForm .checkbox
{
	float: left;
	width: 100%;
}

.formBuilderForm .radio_buttons
{
	position: relative;
}
.formBuilderForm .radio_buttons .formBuilderRadio
{
	display: block;
	position: relative;
	margin-left: 170px;
	padding-left: 0;
}
div.formBuilderFailure {
	border: 1px solid red;
	background-color: #FFEBEB;
	margin: 2px;
	padding: 4px;
}
div.formBuilderFailure h4, div.formBuilderFailure p {
	margin: 0 0 4px 0;
	padding: 0;
}

div.formBuilderCaptcha {
	display: block;
	width: 120px;
	float: left;
}
div.formBuilderCaptcha input {
	width: 120px;
}

div.formBuilderPageBreak {
	text-align: right;
}


.calendar-box {
	display:none;
	background-color:#fff;
	border:1px solid #444;
	position:absolute;
	width:250px;
	padding: 0 5px;
}
.calendar-box select.calendar-month {
	width:90px;
}
.calendar-box select.calendar-year {
	width:70px;
}
.calendar-box .calendar-cancel {
	width:100%;
}
.calendar-box table td {
	width:14%;
}
.calendar-box .calendar-title {
	text-align:center;
}
.calendar-box a {
	text-decoration:none;
}
.calendar-box .today a {
	padding:0 5px;
	margin-left:-5px;
	background-color:#ffe9c6;
} 
.calendar-box .selected a {
	padding:0 5px;
	margin-left:-5px;
	background-color:#c9ff8b;
}

/* GEO-MASHUP */

.locationinfo {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.locationinfo a {
	color: #222;
	text-decoration: none;
}
.locationinfo a:hover {
	text-decoration: underline;
}
