BODY { 
background: url(img/tausta2.gif) repeat-y  center top;

margin:0 0 0 0;
overflow-y: scroll; 
 }

/*  ==============  FONTIT ================== */

@font-face {
	font-family: 'Otsikko';
src: url(fonts/Oswald-Medium.woff);

 }

h1   {
		font-family: 'Otsikko', Tahoma, helvetica;
		margin-bottom: 10px;
		font-weight: bold;
		font-size: 24pt;
line-height: 20pt;
		color:#109228}

h2{font-family:   'Otsikko', Tahoma, helvetica;
		margin-bottom: 10px;		
		font-weight: normal;
		font-size: 18pt;
line-height: 20pt;
		color:#5D5A5A}

h3{font-family: arial, helvetica;	
			
		font-weight: bold;
		font-size: 14pt;
		color:#5D5A5A}

h4{font-family: arial, helvetica;		
		font-weight: bold;
		font-size: 10pt;
		color:#5D5A5A}

h5{font-family: verdana, helvetica;
		padding-top: 5;
		font-weight: normal;
		font-size: 10pt;
		color:#FFFFFF}

h6{font-family: verdana, arial, helvetica;
		font-weight: bold;
		font-size: 10pt;
		color:#002056}

p{font-family: verdana, helvetica; 
		font-size: 11pt; 
		font-weight: normal;  
		color:#000}

table {font-family: verdana, helvetica;
		font-size: 10pt; 
		font-weight: normal; 
		color:#000}

.bold {font-family: verdana, helvetica; 
		font-size: 10pt; 
		font-weight: bold;  
		color:#345D8F}

.luettelo{font-family: verdana, helvetica; 
		font-size:10pt ; 
		font-weight: ;  
		color:#000}

.lodjuteksti {font-family: verdana, helvetica; 
		font-size: 10pt; 
		font-weight: normal;  
		color: #005499}

a{

	text-decoration: none;
	
	}

.lista{font-family: verdana, helvetica;
		font-weight: normal;
		font-size: 10pt;
		line-height: 14pt;
		list-style: square;
	padding: 0px 0px 5px 15px;
	margin-left: 0px;
		list-style-image: url(img/pallukka.gif);
		color:#000000}

/*  ==============  RAKENNE ================== */

.header{
	text-align: center;
	background: url(img/headertaus.jpg);
	margin-left:auto;
	margin-right:auto;

	}

.navi{
	text-align: center;
	text-shadow: 1px  1px  2px  #000;
	background-color: #CCC;
	margin-top: -38px;
margin-bottom: -55px;
	height: 0px;
	width: 1180px;
	margin-left: auto;
	margin-right: auto;

	
	}


.vali20{	
	height: 0px;
	}

.teksti{
	margin-left: auto;
	margin-right: auto;

	width: 1150px;
	background: url(img/vasenpalstatausXX.gif)  repeat-y left;
	background-color: ;
	border-right: #303030 0px solid;


	}
.teksti2{
	margin-left: auto;
	margin-right: auto;
	width: 1000px;
	}

.footer{
float: left;	
	background: url(img/headertaus.jpg) ;	
	height: 63px;
	text-align: center;
	background-color: ;
	padding-top: 0px;
	width: 100%;
	}

.footerpalikka{		
	height: 30px;
	}

.alateksti{font-family:  Tahoma, helvetica, arial;

		padding-left: 20px;
		font-weight: normal;
		font-size: 12pt;
		color: #000}

.refvasen{
	float: left;
	margin-right: 20px;
	display: table;
	width: 400px;
	height: auto;
	background-color: ;	
}

.koko{
	float: left;
	margin-right: 20px;
	display: table;
	width: 3000px;
	height: auto;
	background-color: ;	
}

.botne{

	height: 350px;
	background-color: #FFF;	
}




.sivunavi_li{
	display: inline-block;
	font-family: verdana;
	width: 220px;
font-size: 10pt;
	padding: 5px;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #000;
	list-style-type: none;
	background-color: #7B7979 ;
	
	}

 li a {
	display: block;
	text-decoration: none;
	color: #FFF;
	}

 li a:hover {
	display: block;
	text-decoration: none;
	color: #000;
	}

.puh{
	
	background: #5EA026;
	color: #FFF;
	padding: 0px 15px 0px 15px;
	text-decoration: none;
	border-radius: 5px;
	}




/* ================== ISOT NÄYTÖT =========================== */

@media only screen and (min-device-width: 768px) {


.ylakuva{	
	width: 100%;
	height: auto;
	margin-bottom: 20px;
	border: #000 1px solid;
	-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
}




/* = MUUT ELEMENTIT ISOSSA NÄYTÖSSÄ = */

.LB{
		width: 100px;
	}



.kuva{
		-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
margin-bottom: 15px;
	}

.kuva2{
		-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
margin-bottom: 15px;
	}



.lodju1{
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 15px;
	width: 438px;
	height: 147px;
	background-color: #005499;
	-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
	}

.ylapalkkiM{
	text-align: center;
	background-color: #FFF;
	display: none;
	}

.ylapalkkiS{
	text-align: center;
	background-color: #FFF;
	display: inline-block;
	}


.naama{
	width: ;
	-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
	}

.isokuva{
	width: 100%;
height: 400px;
	-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
	}

.sivukuva{
	width: ;
	margin-left: 20px;
	margin-bottom; 20px;
	-moz-box-shadow: 3px  3px  8px  #595959;
	-webkit-box-shadow: 3px  3px  8px  #595959;
	box-shadow: 3px  3px  8px  #595959;
	}


.mobikuva{
	width: 100%;
	display: none;
	}


.palsta{

	width: 50%
}


.palsta1{
padding-top: 10px;
margin-left: 280px;
margin-right: auto;
	width: 800px;
}

.palsta2{
padding-top: 10px;
margin-left: 280px;
margin-right: auto;
	width: 800px;
}

.palsta3{
margin-left: auto;
margin-right: auto;
	width: 470px;
}

.vasenpalsta{
	float: left;
	display: table-cell;
	padding-top: 23px;
	padding-left: 50px;

	width: 450px;
	height: ;
	background-color: ;
	}

.vasenpalstaG{
	float: left;
	display: table-cell;
	padding-top: 23px;
	padding-left: 50px;

	width: 650px;
	height: ;
	background-color: ;
	}


.vasenpalsta2{
	float: left;
	display: table-cell;
	padding-top: 35px;
	padding-left: 50px;

	width: 410px;
	height: ;
	background-color: ;
	}


.vasenpalsta3{
	float: left;
	display: table-cell;
	padding-top: 25px;
	padding-left: 70px;

	width:380px;
	height: ;
	background-color: ;
	}

.vasenpalstaB{
	float: left;
	display: table-cell;
	padding-top: 0px;

	margin-left: 70px;
	width: 1000px;
	height: ;
	background-color: ;
	}


.keskipalsta{
	float: left;
	display: table-cell;
	padding-left:0px;
	padding-right: 0px;
	padding-top: 35px;
	width: 300px;
	height: ;
	color: #000;	
	}

.keskipalsta2{
	float: left;
	display: table-cell;
	padding-left:15px;
	padding-right: 0px;
	padding-top: 33px;
	width: 290px;
	height: ;
	color: #000;	
	}


.keskipalsta3{
	float: left;
	display: table-cell;
	padding-left:15px;
	padding-right: 5px;
	padding-top: 33px;
	width: 550px;
	height:350px ;
	color: #000;	
	}

.keskipalsta4{
	float: left;
	display: table-cell;
	padding-left:0px;
	padding-right: 5px;
	padding-top: 22px;
	width: 250px;
	height:350px ;
	color: #000;	
	}

.oikeapalsta{

	display: table-cell;
	padding-left:70px;
	padding-right: 0px;
	padding-top: 35px;  /* oli 95px */
	width: 260px;
	height: ;
	color: #000;	
	}

.oikeapalsta3{

	display: table-cell;
	padding-left:50px;
	padding-right: 0%;
	padding-top: 55px;
	width: 220px;
	height: ;
	color: #000;	
	}

.oikeapalsta4{

	display: table-cell;
	padding-left:30px;
	padding-right: 0%;
	padding-top: 45px;
	width: 400px;
	height: ;
	color: #000;	
	}


.alavara{

	display: table-cell;
	padding-left:20px;
	padding-right: 20%;

	width: 100px;
	height:300px ;
	color: ;	
	}


.vasenpalstaK{
	float: left;
	display: table-cell;
	padding-left: 0;
margin-left: 20px;
	width: 300px;
	height: ;
	background-color: ;
	}

.potrettiK{
	float: left;
	display: table-cell;
	margin-right: 10px;
	
	height: ;
	background-color: ;
	}



.active{
	background: url(img/navihover2.jpg) repeat-x  center top;


	}

.koko{
	display: table;
	padding-left: 0;
	width: 100%;
	height: ;
	background-color: ;
	}


.kartta{
	height: 350px;
	}

.taulukko{
	width: 80%;
	}

 td, th, tr {
     border: 1px solid #303030;
 }



}



  
/* ==============   PUHELIN ================= */

@media screen and (min-device-width: 181px) and (max-device-width: 768px) { 


.ylapalkkiS{
	text-align: center;
	background-color: #FFF;
	display: inline-block ;
	}





.footer{
	
	background: url(img/alapalkkiXX.jpg)  no-repeat center ;	
	height: 63px;
	text-align: center;
	background-color: ;
	padding-top: 0px;
	width: 1200px;
	}


.alateksti{font-family:  Tahoma, helvetica, arial;

	display: none;
		font-weight: normal;
		font-size: 22pt;
		color: #000}





}



















