@charset "utf-8";
/* CSS Document */

.justifyright {
float:right;}

.error{
	color:red;}

/* POISTAA selainten oletus paddingit ja marginaalit */ 
*  {margin: 0; 
    padding: 0; 
    border: 0;}

#wrapper {
	width:970px;
	margin:auto;
	background-color: white;
	margin-bottom: 2em;
	margin-top: 1em;
	/*border:solid 1px #fefefe;*/}

body, html {
	background-color: #fff;
	margin: 0;
	padding: 0;
	font-family:"Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size:1em;}

h1, h2, h3, h4, h5, h6 {
	font-weight:bold;
	font-size:1.8em;
	margin-bottom:10px;}

.text-center{
    text-align:center;}

.font-med{
    font-size:1.3em;
    font-weight:100;}

.font-big{
    font-size:1.5em;}

.italic{
    font-style:italic;}

.bold{
    font-weight:bold;}

.red{
    color:red;}

.no-decoration a{
    text-decoration:none;}

ul li{
/*list-style:circle;*/
list-style-position:inside;
	list-style-image:url('images/mtj-art-list-icon.gif');}

.font-med{
font-size:1.25em;
font-weight:bold;}

.bold{
font-weight:bold;}


a:link {color:#000; font-weight:bold;}
a:visited {color:#000; font-weight:bold;}
a:hover {color:#000; font-weight:bold;}

a.perus:link {color:#000; text-decoration:none;}
a.perus:visited {color:#000; text-decoration:none;}
a.perus:hover {color:#000; text-decoration:none;}

.img-left{
	float:left;
	padding:5px;}

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

.img-right{
	float:right;
	padding:5px;}

a img {
  border: 0em; /*POISTAA kuvalinkeistä oletuksellisesti tulevan REUNUKSEN validisti*/}


/*#top {
	background:url(images/top.png) #060606 repeat-x;
	height:42px;
	width:100%;}*/

.top ul {
	margin:0;
	padding-left:12px;
	list-style:none;
	color:#FFF;}

.top ul li {
	float:left;}

.top ul li a {
	float:left;
	color:#FFF;
	padding-left:6px;
	padding-right:6px; 
	line-height:41px;
	text-decoration:none;
	font-size:14px;
	letter-spacing:-0.5px;}

.top ul li a:hover {
	text-decoration:underline;}

#header {
	height:300px;
	margin:0;
	margin-bottom:15px;
	width:100%;
	background:url(images/header.png) no-repeat;}

#header h1 {
	margin:0;
	font-size:48px;
	color:#FFF;
	font-weight:normal;
	padding-left:58px;
	padding-top:18px;
	letter-spacing:-2.5px;}

#header h1 a {
	color:#FFF;
	text-decoration:none;}

#header h1 a:hover {
	text-decoration:underline;}

#header h2 {
	margin:0;
	font-size:14px;
	font-weight:normal;
	color:#FFF;
	padding-left:178px;}

#logo {
	float:left;}

#search {
	float:right;
	margin-top:53px;
	margin-right:23px;}

#search #input {
	float:left;
	background:#d54823;
	border:2px #e06443 solid;
	height:20px;
	width:190px;
	text-indent:10px;
	padding-top:8px;}

#search #button {
	float:left;
	background:url(images/searchbutton.png);
	width:65px;
	height:33px;
	border:0;}

#content {
	float:left;
	margin-left:14px;
	width:600px;
	margin-top:0px;}

#content2 {
	float:left;
	margin-left:30px;
	width:940px;
	margin-top:10px;
	min-height: 350px;}

/* KAKSI PALSTAINEN SIVUPOHJA */

#content3 {
	float:left;
	margin-left:30px;
	width:595px;
	margin-top:10px;
	min-height: 350px;
	/*background-color:red;*/}

#content4 {
	float:left;
	margin-left:15px;
	margin-right:30px;
	width:300px;
	margin-top:10px;
	min-height: 350px;
	/*background-color:green;*/}


#text{
	position:relative;
	width:625px;
	/*background-color:red;*/
	float:left;}

#sidebar{
	position:relative;
	width:260px;
	height:500px;
	margin-left:20px;
	margin-top:50px;
	/*background-color:green;*/
	float:left;}

#ylakuva{
	position:relative;
	width:260px;
	height:250px;
	background-position:50% 20%; 
	/*background-color:#cacaca;*/
	float:left;
	z-index:10;}


#alakuva{
	position:relative;
	width:260px;
	height:250px;
	margin-top:20px;
	background-position:50% 20%; 
	/*background-color:blue;*/
	float:left;
	z-index:10;}

#sidebar2{
	position:relative;
	width:260px;
	height:250px;
	margin-left:20px;
	margin-top:30px;
	/*background-color:green;*/
	float:left;}
	

#content .date {
	font-family:verdana;
	font-size:11px;
	margin-top:3px;
	margin-bottom:10px;}

.post {
	/*background:url(images/postsplitter.png) no-repeat;*/
	background-position:50% 100%;
	padding-bottom:21px;
	padding-right:20px;
	margin-bottom:23px;
	border-right:solid 1px silver;
	min-height: 300px;}

.author {
	color:#c94623;
	font-weight:bold;}

#content h2 {
	font-family:Trebuchet MS;
	font-size:24px;
	margin:0;
	margin-bottom: 1em;}

#content h2 a {
	color:#000;
	text-decoration:none;}

#content h2 a:hover {
	text-decoration:underline;}


#content a {
	color:#df4a22;
	text-decoration:none;}

#content a:hover {
	text-decoration:underline;}

#content .comments {
	background:url(images/commentsbg.png) no-repeat;
	height:25px;
	width:79px;}

#content .comments a {
	color:#FFF;
	text-decoration:none;}

#content .comments a:hover {
	text-decoration:underline;}

#content .comments p {
	font-size:9px;
	color:#FFF;
	font-family:verdana;
	text-align:center;
	padding-top:6px;}

.tuotelistaus{
	float:left;
	margin-right:30px;
	clear:both;}

.tuotteet{
	width:150px;
	float:left;}


#footer {
	clear:both;
	text-align:right;
	padding-top:60px;
	margin-right:20px;
	padding-bottom:20px;
	font-family:arial;
	font-size:15px;}

#footer a {
	color:#df4a22;
	text-decoration:none;
	font-weight:bold;}

#footer a:hover {
	text-decoration:underline;}

.nocomments {
	text-align:center;}

.alignleft {
	float:left;}

.alignright {
	float:right;}

img.avatar {
	float:left;
	padding-right:5px;}

div.clearFloat {
	clear: both;
	font-size: 0;
	height: 0;
	line-height: 0px;}

.footer {
	/*background:url(images/top.png) #060606 repeat-x;*/
	background-color:#97979b;
	height:35px;
	width:100%;}

.footer p {
	text-align: center;
	font-size: 1em;
	color: white;
	padding-top:8px;}

/*****SIVUPALKIN ULKOASU******/

#side {
	float:right;
	width:300px;
	padding-right:20px;}

#side a {
	color:#df4a22;
	text-decoration:none;}

#side a:hover {
	text-decoration:underline;}

/*#side h3 {
	color:#de4a22;
	font-size:24px;
	font-family:Trebuchet MS;
	margin:0;
	margin-top:20px;}*/

#side ul {
	list-style:none;
	padding:0;
	margin:0;}

#side ul li {
	width:226px;
	background:url(images/sidesplitter.png) no-repeat;
	background-position:0% 100%;}

#side ul li a {
	color:#000;
	text-decoration:none;
	font-size:14px;
	font-family:arial;
	line-height:25px;}

#side ul li a:hover {
	text-decoration:underline;}

#side ul li ul li {
	padding-left:20px;}
