/*
Theme Name: SuniSoft WordPress 2.7 Theme
Theme URI: http://www.sunisoft.fi/
Description: Demotemplate for SuniSoft WordPress sites
Version: 1.0
Author: Kimmo Kovalainen
Author URI: http://www.picnom.com/
*/

/* MAIN STRUCTURAL ELEMENTS */
html { height: 100%; }
body {
	height: 100%;
	background: #5A6312 url(img/bodybg.png) top center repeat-x;
	margin: 0;
	padding: 0;
	overflow: -moz-scrollbars-vertical;
	font: 12px Arial, Helvetica, Verdana;
	color: #333;
	}

#wrapper {
	background: url(img/wrapperbg.png) top center repeat-y;
	width: 840px;
	margin: 0 auto;
	padding: 0;
	position: relative;
	min-height: 100%; 
	}

* html #wrapper { height: 100%; }

#header {
	background: url(img/header.jpg) top center no-repeat;
	width: 840px;
	height: 291px;
	margin: 0 auto;
	position: relative;
	}

#innerheader { width: 860px; height: 200px; background: #FFF; position: absolute; top: 45px; }

#logo { z-index: 5; position: absolute; top: 53px; left: 244px; }

.navbar {
	width: 784px;
	height: 48px;
	padding: 0;
	margin: 0 25px 7px 25px;
	font: normal 12px Arial, Helvetica, Verdana;
	}

.navbar ul {
	height: 48px;
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	}

.navbar li { background: url(img/navbullet.png) no-repeat 0px 21px; float: left; padding: 17px 30px 16px 8px; text-align: center; }
.navbar li a { text-decoration: none; color: #FFF; }
.navbar li a:hover { color: #FFF; }

.navbar li.current_page_item { color: #FFF; }
.navbar li.current_page_item a, #navbar li.current_page_item a:hover,
.navbar li.current_page_item a:focus, #navbar li.current_page_item a:active { font-weight: bold; }
.navbar ul li ul { display: none; } 

#content {
	margin: 38px 30px 0 70px;
	width: 540px;
	float: left;
	padding: 0px;
	line-height: 17px;
	text-align: left;
	}

#content a { color: #A10603; }
#content a:hover { text-decoration: underline; }

#content table { width: 260px; margin-bottom: 20px; }

#content table.hinnasto { width: 260px; }
#content table.hinnasto tr { border-bottom: 1px solid #EEE; }
#content table.hinnasto td { width: 100px; }

#content ul {
	list-style-image: none;
	list-style-position: outside;
	list-style-type: none;
	padding: 0; 
	margin: 2px 0 12px 0;
	}

#content ul li {
	color: #111;
	background:transparent url(img/bullet.png) no-repeat scroll 0px 9px;
	line-height: 17px;
	padding: 4px 0 4px 14px; 
	margin: 0;
	}

#sidebar {
	float: right;
	width: 160px;
	min-height: 310px;
	margin: 0 40px 0 0;
	color: #4A530F;
	line-height: 16px !important;
	font: 11px Arial, Verdana, Helvetica;
	}

#sidebar h2 { font: bold 13px Arial, Verdana, Helvetica; margin: 20px 0 0 20px; padding: 0; color: #222; }
#sidebar ul { text-transform: uppercase; width: 160px; padding: 0; margin: 20px 0 0 0; list-style-type: none; }
#sidebar li { width: 140px; margin: 0; padding: 4px 0 4px 20px; border-top: 1px solid #EBEFC1; border-bottom: 1px solid #BCC377; background: url(img/nav_bullet.png) no-repeat 7px 12px; }
#sidebar li a { color: #4A530F; text-decoration: none; line-height: 21px !important; }
#sidebar li:hover { background: #E4E9AD url(img/nav_bullet.png) no-repeat 7px 12px; border-top: 1px solid #F3F6DC; }
#sidebar li a:hover { text-decoration: none; }

#sidebar li.first { border-top: 1px solid #D8E089; }
#sidebar li.first:hover { border-top: 1px solid #F3F6DC; }
#sidebar li.last { border-bottom: 1px solid #D8E089; }
#sidebar li.last:hover { border-bottom: 1px solid #BCC377; }
#sidebar li.last img { padding-top: 6px; }

#tuotelogot { width: 195px; margin: 25px auto 10px auto; position: relative; }
#tuotelogot img { border: none; }
#tuotelogot .jita { position: absolute; top: 0px; left: 0px; }
#tuotelogot .scanoffice { position: absolute; top: 3px; right: 0px; }
#tuotelogot .fg { position: absolute; top: 34px; left: 0px; }
#tuotelogot .ilto { position: absolute; top: 37px; right: 0px; }
#tuotelogot .jaspi { position: absolute; top: 85px; left: 0px; }
#tuotelogot .primex { position: absolute; top: 90px; right: 0px; }

#arkistolinkki li { padding: 6px 0 4px 22px !important; background: url(img/icons/date.png) no-repeat 0px 9px !important; margin-top: 12px; }


.entry {
	line-height: 1.4em;
	}

.postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

/* TYPOGRAPHY */

p { margin: 0px 0px 14px 0px; }
a img { border: 0; }
img { border: 0; }
a { color: #A10603; text-decoration: none; }

h1 { font: bold 18px Arial, Helvetica, Verdana; color: #666; margin: 0 0 10px 0; clear: both; }
h2 { font: bold 13px Arial, Helvetica, Verdana; color: #A10603; margin: 20px 0px 5px 0px; padding: 0; }
h3 { font: bold 13px Arial, Helvetica, Verdana; color: #A10603; margin: 30px 0px 5px 0px; padding: 0; }
h3 a { color: #FFBA44; text-decoration: none; }
h3 a:hover { color: #FFBA44; text-decoration: underline; }
h4 { text-transform: uppercase; color: #FFBA44; font: bold 11px Arial, Helvetica, Verdana; margin: 10px 0 0 0; padding: 0 0 1px 0; }
h4 a { color: #FFBA44; text-decoration: none; }
h4 a:hover { color: #FFBA44; text-decoration: none !important; }

small { font-family: Arial, Helvetica, Sans-Serif; font-size: 9px; line-height: 12px; }

#headerimg .description { font-size: 1.2em; text-align: center; }

h2.pagetitle { font-size: 15px; }

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.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: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

small, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */

.post {
	margin: 0 0 40px;
	}

.post hr {
	display: block;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.postmetadata {
	clear: left;
}

.clear {
	clear: both;
}

/* End Structure */


/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin: 10px auto;
	}

img.alignright {
	padding: 2px;
	margin: 3px 0px 10px 15px;
	display: inline;
	}

img.alignleft {
	padding: 2px;
	margin: 3px 15px 10px 0;
	display: inline;
	}

.alignright {
	float: right;
	margin: 3px 0px 10px 15px; 
	}

.alignleft {
	float: left;
	margin: 3px 15px 10px 0px;
	}

.wp-caption {
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	background-color: #F3F3F3;
	border: 1px solid #DDDDDD;
	padding-top: 4px;
	text-align: center;
	}

.wp-caption-text { padding: 0px 5px; margin: 4px; font: 10px Arial, Helvetica, Verdana; }

/* End Images */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	margin: 0;
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* 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;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */

	background-color: #fff; }
/* End Calendar */






/* Begin Various Tags & Classes */
acronym, abbr, span.caps {

	cursor: help;
	}











acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	height: 15px;
	text-align: center;
	margin: 10px 0px 15px 0px;
	}
/* End Various Tags & Classes*/

/* RANDOM LISÄYKSET */
.yhteystieto { width: 170px; float: left; }
.clear { clear: both; }

.comments-link { font-weight: bold; color: #999; }
.comments-link:hover { color: #555; text-decoration: none !important; }

.postlistaus { font: 12px Arial, Helvetica; color: #BBB; width: 404px; padding: 6px 0 4px 22px; background: url(img/icons/note.png) no-repeat 0px 5px; }
.postlistaus a { font: 12px Arial, Helvetica; color: #B7007F; text-decoration: none; }
.postlistaus a:hover { text-decoration: underline !important; }

.post_date { font: 9px Tahoma, Arial; color: #AAA;  margin: 0 0 5px 0; padding: 0; }
.post_content { font: normal 11px Arial, Helvetica, Verdana; padding: 0px 0px 15px 0px;}
.post_content p { margin: 0px; padding: 5px 0px 5px 0px; line-height: 17px;}
.post_title { font: 22px Arial, Helvetica, Verdana; color: #B7007F; margin: 6px 0px 2px 0px; }

/* JQUERY CYCLE */
.pics { 
	background: #000;
	width:   834px;
	height:  174px;
	padding: 0;
	margin:  0;
	position: absolute;
	top: 13px;
	left: 13px;
}

.pics img { 
	border: 0; 
	width:  834px;
	height: 174px;
	z-index: 3;
}
/* END JQUERY CYCLE */

/* Begin FOOTER */
#footerclear { clear: both; }

#footer {
	clear: both;
	position: relative;
	background: #292E07 url(img/footerbg.png) top center repeat-x;
	text-align: left;
	margin: -140px 0 0 0;
	font: 11px Arial, Helvetica;
	height: 140px;
	color: #D8E089;
	line-height: 16px;
	}

#footer a { color: #D8E089; }
#footer a:hover { color: #FFF; }

#innerfooter { width: 774px; height: 140px; margin: 0 auto; background: url(img/footermidbg.png) top center no-repeat; }
#innerfooter p { padding-top: 3px; }
#innerfooter strong { color: #FFF; }

#first { float: left; height: 75px; border-right: 1px solid #000; padding-right: 20px; margin: 43px 0 0 20px; }
#second { float: left; padding-left: 20px; border-right: 1px solid #000; border-left: 1px solid #494D2C; height: 75px; padding-right: 20px; margin-top: 43px; }
#third { float: left; padding-left: 20px; height: 75px; border-left: 1px solid #494D2C; margin-top: 43px; }
#sunisoft { float: right; width: 130px; height: 75px; text-align: right; margin: 43px 37px 0 0px; }

.nocomments { display: none; }

.kartta { border: 1px solid #444; }