body {
background-repeat: repeat-x;
background-color:#d4d4d4;
font: normal 70%/1.5em;
margin:0;
padding:0;
text-align:center;

}

#ylin {
border: 0px black solid;

background-image:url(../images/ylaosa.jpg);
background-repeat: no-repeat;
width: 960px;
height: 130px;
margin: 0 auto;
padding: 20px 0px 0px 0px;
text-align:center;
}

#ylatausta {
width: 100%;
height: 348px;
background:url(../images/tausta.jpg) repeat-x top;
background-color:#ECE9DC;
margin: -20px 0px -258px 0px;


}


#wrap {
width: 950px;
}

#keskiosa {
background: url(../images/keskiosa.jpg) repeat-y top;
display: table;
width: 960px;
padding: 0px 0px 0px 0px;
margin: 0 auto;
text-align:center;
}


#sisalto {
border: 0px black solid;
width: 900px;
margin: 0 auto;
text-align: center;
      height:400px;
}



#bottom {
background:url(../images/alaosa.jpg) no-repeat top;
width: 960px;
height:77px;
padding: 0px 0px 5px 0px;
margin: 0 auto;
text-align:center;


}
#footer {
width: 900px;
text-align:center;
margin: 0 auto;

}




/** Sisältö **/


#banneri {
background-image: url("../media/banners/banneri1.jpg");
      height:200px;
      border:2px black solid;
      width:640px;
      float:left;
      margin: 0px 0px 0px 20px;
      padding: 0px 0px 0px 0px;
	  overflow:hidden;
}








#content {
      height:180px;
      border:0px black solid;
      width:640px;
      float:left;
      margin: 20px 0px 0px 20px;
      padding: 0px 0px 0px 0px;
      text-align: left;
	  overflow:auto;
}

#content p {
	color: #333333;
	font: 10px "ms reference sans serif", Helvetica, sans-serif;
	font-style: normal;
	line-height: 13px;
	padding: 5px 25px 20px 5px;
	      margin: 0px 0px 0px 0px;
	text-align: left;
}

#content h1 {
	color: #b5b5b6;
	font: bold 15px  Arial, Helvetica, sans-serif;
	letter-spacing: 0px;
	font-style:normal;
	margin: 0px 0px 0px 0px;
	padding: 0px 20px 5px 5px;
	text-align: left;
}

#content h2 {
color: #333333;
	font: bold 11px  "ms reference sans serif", Helvetica, sans-serif;
	letter-spacing: 0px;
	font-style:normal;
	margin: 0px 0px 0px 0px;
	padding: 0px 20px 0px 5px;
	text-align: left;
}

#content h3 {
      color: #8a8989;
      font: bold 12px  Georgia, "Times New Roman", Times, serif;
      font-style: normal;
      margin: 10px 0px -8px 0px;
      padding: 0px 20px 0px 25px;
      text-align: left;
}

#content ul {
      margin: 0px 0px 0px 55px;
      padding: 0px;
      list-style-type: bullet;

}

#content li a{
      margin: 5px 0px 5px 0px;
      padding: 0px;
      list-style-position: outside;
      font: 12px Georgia, "Times New Roman", Times, serif;
      font-style:normal;
      line-height: 14px;
      padding: 6px;
      text-align: left;
      color: #44687e;
	  	text-decoration: none;

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



#content .caption{
       color: #44687e;
      font: bold 1.0em Georgia, "Times New Roman", Times, serif;
      letter-spacing: 0px;
      font-style:normal;
      margin: 0px 0px -10px 30px;
      padding: 3px 3px 0px 5px;
      text-align: left;
}
#content .date{
       color: #44687e;
      font: 0.8em Georgia, "Times New Roman", Times, serif;
      letter-spacing: 0px;
      font-style:normal;
      margin: 15px 0px 0px 30px;
      padding: 3px 3px 0px 5px;
      text-align: left;
}







#oikea {
      height:395px;
      border-left:1px black dotted;
      width:190px;
      float:right;
      margin: -200px 10px 0px 0px;
      padding: 0px 0px 0px 0px;
      text-align: left;
}

#oikea p {
color: #333333;
	font: 10px "ms reference sans serif", Helvetica, sans-serif;
	font-style: normal;
	line-height: 13px;
	padding: 0px 0px 10px 25px;
	      margin: 0px 0px 0px 0px;
	text-align: left;
}

#oikea h1 {
color: #CCCCCC;
	font: bold 15px  "ms reference sans serif", Helvetica, sans-serif;
	letter-spacing: 0px;
	font-style:normal;
	margin: 0px 0px 0px 0px;
	padding: 0px 20px 0px 5px;
	text-align: left;
}

#oikea h2 {
      color: #8a8989;
      font: bold 0.8em  Georgia, "Times New Roman", Times, serif;
      font-style: normal;
      margin: 10px 0px -8px 25px;
      padding: 0px 20px 1px 0px;
      text-align: left;
	  border-left:14px white solid;
	  height:14px;
}

#oikea h3 {
      color: #8a8989;
      font: bold 12px  Georgia, "Times New Roman", Times, serif;
      font-style: normal;
      margin: 10px 0px -8px 0px;
      padding: 0px 20px 0px 25px;
      text-align: left;
}

#oikea p a {
	color: #0099FF;
	text-decoration:none;
}
#oikea p a:hover {
	color: #0099FF;
	text-decoration:underline;
}

/** Linki **/

#palkki_logo {
background:url(../images/palkki_logo.jpg) no-repeat;

border:0px black solid;
text-align: center;
width:859px;
height:65px;
padding: 0px 0px 0px 10px;
margin: 0 auto;
overflow: hidden;
}
#palkki_linkki {
background:url(../images/palkki_linkki.jpg) no-repeat;

border:0px black solid;
text-align: center;
width:859px;
height:49px;
padding: 0px 0px 0px 10px;
margin: 0 auto;
overflow: hidden;
}






.yrityksenlogo {
border:0px black solid;
        text-align: left;
        width:400px;
        padding: 16px 15px 0px 5px;
        margin: 0px 0px 0px 0px;
		height:60px;
		float: left;
}
.yrityksenslogan{
float: right;
width:300px;
height:40px;
border:0px white solid;
padding: 0px 15px 0px 0px;
margin: 5px 0px 0px 0px;
overflow: hidden;


}

.yrityksenslogan p {
	font: 12px "Arial", Helvetica, sans-serif;
	color: #fcdc41;
	text-decoration: none;
	text-align:right;
	margin: 10px 0px 0px 0px;
}













#linkit ul{
	margin: 0;
	padding: 0 0 0 0px;
	
}

#linkit ul li {
	color: white;
	float: left;
	font: 0.9em "Arial", Helvetica, sans-serif;
	text-transform:uppercase;
	list-style: none;

}

#linkit ul li a {
	font: bold 0.9em "Arial", Helvetica, sans-serif;
	color: white;
	display: block;
	text-decoration: none;

	text-align: center;
	padding: 0px 0px 0px 0px;
}

#linkit ul li a:hover {
text-align: center;
	font: bold 0.9em "Arial", Helvetica, sans-serif;
	padding: 0px 0px 0px 0px;

	
	
}


.linkki {
	padding: 2px 0px 0px 0px;
}



#navigointi {
border:0px black solid;
        text-align: left;
        width:600px;
        padding: 17px 15px 0px 0px;
        margin: 0px 0px 0px 0px;
		height:45px;
		float: left;
}

#navigointi ul{
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

#navigointi ul li {
        margin: 0px;
        padding: 0px;
	color: #44687e;
	float: left;
	font: 10px "Arial", Helvetica, sans-serif;
	list-style: none;
	text-transform:uppercase;

}

#navigointi ul li a {
	display: block;
	color: #cecccc;
	font: bold 10px "Arial", Helvetica, sans-serif;
	font-style:normal;
	padding: 0px 8px 0px 8px;
	text-decoration: none;
}

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


#wwwosoite{
float: right;
width:100px;
height:40px;
border:0px white solid;
        padding: 5px 15px 0px 0px;
		        margin: 0px 0px 0px 0px;
				overflow:hidden;



}

#wwwosoite p{
	font: 12px "Arial", Helvetica, sans-serif;
	color: #fcdc41;
	text-decoration: none;
	text-align:right;
		        margin: 12px 0px 0px 0px;
}



















#tagline {
font: 9px "Century Gothic", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
text-align:right;
padding: 0 8px 0 0;
margin:-5px 0 0 0;
color:#4D4C4B;
}

#right {

border:0px black solid;
width:400px;
float:right;
margin: 0px 0px 0px 0px;
padding: 15px 0px 0px 0px;
}
#isokuva {

border:0px black solid;
width:99%;
margin: 0px 0px 0px 0px;

}
#pienikuva {
clear: both;
border:0px black solid;
width:100%;
margin: 30px 0px 0px 15px;

}
.pienikuva {
margin: 5px 2px 0px 2px;
float: left;

}

#bottom p{
width: 100%;
background-color: #ffffff;
border:0px #ffffff solid;
color: #C5BA8E;
font: bold 0.7em "Arial", Helvetica, sans-serif;

font-style: normal;
margin: 0px 0px 0px 0px;
padding: 2px 0px 2px 0px;
text-align: right;
text-transform:uppercase;
}
#bottom p a{
color: #C5BA8E;

}


#footer p {
width: 900px;
margin: 0px 0px 0px 0px;
text-align:left;
color:#c0c0c0;
font:9px Verdana, Arial, Helvetica, sans-serif;
padding-bottom:25px;
}
#footer p a{
color: #c0c0c0;
text-decoration: none;
}
#footer p a:hover{
color: black;
}






/** Yleiset **/


a{
  color: #564F33;
  text-decoration: underline;
  font-weight: normal;
}
a:visited{
  color: #564F33;
  text-decoration: underline;
  font-weight: normal;
}

a:hover{
  color: #000000;
  text-decoration: underline;
}

.img {
  border: none;
  padding: 0px;
  margin: 5px;
}

a img {
  border: none;
  padding: 0px;
  margin: 0px;
}

.cb {
  clear: both;
}



/* Lomake */

.form {
    width:80%;
    margin: 0 auto;
}

.form legend {
    color:#cecece;
}
.form fieldset {
    border: 1px #666 solid;
    padding:1em;
}
.form label {
  display: block;
}
.form input {
  width: 270px;
}
.form textarea {
  width: 400px;
  height: 150px;
}
.form input.submit {
    width: 100px;
}


.kuvaoikea {
border: 1px #ffffff solid;
float: right;
padding:5px;
margin: 20px 0px 15px 15px;
}

.kuvavasen {
float: left;
padding-right: 10px;
padding-bottom: 10px;
}

.kuvalinkki{
border: 1px #85A8C7 solid;
padding: 3px;
margin: 5px;

}

.kuvalinkki_tuotteet{
border: 1px #85A8C7 solid;
padding: 3px;
margin: 2px 2px 2px -2px;

}




/* table */

table {
      width: 90%;
      text-align: center;
      margin: 0px;
      padding: 0px;

}

td, tr {
    padding: 0px 10px 0px 10px;
    height: 25px;
    font-size:10px;
    text-align:left;
    font-family: verdana;
}



.otsikko {
     background-color: #85A8C7;
     font-weight:bold;
     background-image: url(../images/laatikko_otsikko.jpg);
	background-repeat: repeat-x;
}


.tummennettu {
     background-color: #f2f2f2;
}

.vaalennettu {
     background-color: #FFFFFF;

}



/** Yhteydenotto **/

#yhteydenottolomake {
     width: 300px; 
     margin: 0px 0px 0px 0px;
     padding: 0px;
}




/** Galleria **/

#gallery {
     margin: 10px 10px 10px 10px;
     padding: 5px;
}

#gallery .galleryitem {
     float: left;
     margin: 20px;
     padding: 5px;
     border: 1px solid #cecece;
     background-color: #ffffff;
	
}