.div {	border:1px red solid; 	}

body {	margin:0;  word-spacing:0.1em;  letter-spacing:0.07em;  
	font-family: Arial, Helvetica, Tahoma, "Liberation Sans", "sans-serif";   }
.kursiivifonttienvarasto { 	font-family:"Abyssinica SIL", "Liberation Serif", FreeSerif, Serif;	 }

td { 	padding:0;  vertical-align:top;  }
table { 	border-collapse:collapse;  empty-cells:show;}
img {	border:0;  display:block; }
* {	box-sizing:border-box; 	}
html {	scroll-behavior:smooth;	}



.perusvari	{	background-color:hsl(222,100%,40%); 	}
.piristevihree	{	background-color:hsl(111,80%,60%);	}
.taustavaalea {		background-color:hsla(222,100%,22%, 0.2);   }

h1  {		font-size:222%;  margin:66px 0 0 0;  padding:22px 5%;  font-weight:bold;  text-align:center;  
		width:100%;  background-color:hsl(222,44%,55%);   color:hsl(0,0%,100%);  font-family: 'Poiret One', cursive;  }		
h2 {		padding:0;  margin:11px 0;  font-size:144%;    }
h3 {		padding:0;  margin:11px 0;  font-size:122%;     }
p {		padding:22px 0 0 0;  margin:0;  font-size:111%;  line-height:155%;   }
.pamp {		padding:0px 0px 0px 33px;  margin:5px 0 5px 1%;   font-size:111%;  background-image:url(kuvat/pallomusta.png);  background-size:0.4em;  background-position:0 0.56em;  background-repeat:no-repeat;  line-height:155%;   }



/*    alueet    .......................................................................................................................................................        */

.sivualue {	width:100%;  display:table; 	}
.aluelevee {	width:100%;  display:table; 	}
.aluevakio {	padding:0 9% 33px 9%;  width:100%;  display:table;  background-color:hsl(222,100%,88%);   }

.alueimage {	height:555px; padding:0 0 33px 0;  width:100%;  position:relative; 
		background-image:url(kuvat/imagekuva.jpg); background-size:1920px;  
		background-position:50% 40%;  background-repeat:no-repeat;  display:table;    }


.alueingressi {	padding:66px 9% 77px 9%;  width:100%;  display:table;   	}
.ingressibxv  {	width:55%;   padding-bottom:11px; float:left;    }
.ingressiteksti {	padding:0;   margin:22px 0 0px 0px;  font-size:155%;  line-height:166%;    }
.ingrpamp {	padding:0px 0px 0px 11%;  margin:16px 0 0px 1%;   font-size:144%;  background-image:url(kuvat/pallomusta.png);  background-size:0.4em;  background-position:0 0.56em;  background-repeat:no-repeat;  line-height:155%;   }
.ingressibxo  {	width:35%;   margin:11px 0 0 0;  float:right;   }





/*    logo   .......................................................................................................................................................        */

.logolohko { 	width:100%;  margin:77px auto 0 auto;  background:hsla(0,100%,100%, 0.6);  display:table;   }
.logokuva {	width:90%; max-width:444px; margin:44px auto 0 auto;    }
.logoteksti {	text-align:center;  padding:11px 0 0 0;  font-size:144%;  color:hsl(222,100%,40%);  word-spacing:0.1em;  letter-spacing:0.09em;      }
.haiveviiva { 	height:1px;  width:77%;  margin:33px auto 0 auto;  background:linear-gradient( 90deg, transparent , hsl(0,0%,100%) , transparent );   }
.imageslogan {	width:100%;  margin:66px 0 0 0;  padding:0 66px; font-size:188%;  text-align:center;    
		text-shadow:1px 1px hsl(0,0,0); color:hsl(0, 100%, 100%);  word-spacing:0.2em;  letter-spacing:0.1em;   }




/*    navigointi    .......................................................................................................................................................        */

.linkkinappi {		width:10em;  margin:1em auto;  }
.linkkiteksti:link { 	color:hsl(0,0%,100%);      }
.linkkiteksti:visited { 	color:hsl(0,0%,100%);     }
.linkkiteksti:hover { 	color:hsl(0,0%,100%);  background-color:hsl(222,44%,55%);       }
.linkkiteksti {	 	padding: 0.5em 0em;  border-radius:0em;  text-align: center;  display: block;   
			background-color:hsl(222,44%,33%);   text-decoration: none; }
	

.nnkele {	 	bottom:4px;  right:4px;  position:fixed;   }
.nnk:link { 	background-image:url(kuvat/nnkoy255.png);   }
.nnk:visited { 	background-image:url(kuvat/nnkoy255.png);     }
.nnk:hover { 	background-image:url(kuvat/nnkoy255.png);  background-color:hsl(222,44%,55%);     }
.nnk {	 	background-color:hsl(222,44%,33%);   
		height:50px;  width:50px;  background-size:30px;  background-repeat:no-repeat;  background-position:50% 50%;  display:block;  text-decoration:none;
		border:1px hsla(0,0%,100% , 0.4) solid;  }



.tekstilinkki:link {	color:hsl(222,100%,40%);   text-decoration:underline; }  
.tekstilinkki:visited {	color:hsl(222,100%,40%); text-decoration:underline; }
.tekstilinkki:hover {	color:hsl(300,80%,20%);   text-decoration:none; }




/*    boxit    .......................................................................................................................................................        */




.boxialue2 {	margin:99px 0 0 0; width:100%;  display:flex; justify-content:space-between;  flex-wrap:wrap;	}
.boxi2 {		width:45%;   background-color:hsl(222,94%,94%);  padding:0 0 22px 0;  }
.boxikuva2 {	width:100%;      	}
.pamp2 {		padding:0px 0px 0px 33px;  margin:5px 0 5px 1%;   font-size:111%;  background-image:url(kuvat/pallomusta.png);  background-size:0.4em;  background-position:0 0.56em;  background-repeat:no-repeat;  line-height:155%;   }

.taustakuva1 {	margin-bottom:22px;  background-image:url(kuvat/taustakuva1.jpg);  background-size:cover;  background-position:0 0;   min-height:555px;    }
.taustakuva2 {	margin-bottom:22px;  background-image:url(kuvat/taustakuva2.jpg);  background-size:cover;  background-position:0 0;   min-height:555px;   }
.totsia {		font-size:177%;  margin:0;  padding:11px 5%;  font-weight:bold;  text-align:center;  position:absolute; bottom:33px; 
		width:100%;  background-color:hsla(222,44%,44% , 0.8);  color:hsl(0,0%,100%);  font-family: 'Poiret One', cursive;  }
.boxitekstib {	margin:0;  padding:11px 5% 11px 7%;  font-size:111%;  line-height:155%;  	}

.boxialue3 {	margin:99px 0 0 0;  width:100%;  display:flex; justify-content:space-between; flex-wrap:wrap;  }
.boxi3 {		width:30%;        }
.boxikuva3 {	width:100%;     }	
.boxiotsikko3 {	margin:22px 0 0 0;  font-size:122%;     }
.pamp3 {		padding:0px 0px 0px 22px;  margin:4px 0 4px 0;   font-size:100%;  background-image:url(kuvat/pallomusta.png);  background-size:0.3em;  background-position:0 0.6em;  background-repeat:no-repeat;  line-height:155%;   }

.boxialue4 {	margin:66px 0 0 0;  width:100%;  display:flex; justify-content:space-between; flex-wrap:wrap; 	}
.boxi4 {		width:20%; margin:22px 0;        }
.boxikuva4 {	width:100%;     }


.kuultoalue {	width:100%;  position:relative; 	}
.totsib {		font-size:122%;  margin:0;  padding:11px 5%;  font-weight:bold;  position:absolute;  left:0;  top:0; 
		width:9em;  background-color:hsla(222,44%,44% , 0.8);  color:hsl(0,0%,100%);  font-family: 'Poiret One', cursive;  }

.boxipadding  {	padding:11px 5% 22px 9%; 	}
.totsic {		font-size:122%;  margin:0;  padding:11px 5%;  font-weight:bold;
		width:100%;  background-color:hsla(222,44%,44% , 0.8);  color:hsl(0,0%,100%);  font-family: 'Poiret One', cursive;  }
		
		
		
		

/*    yhteydet    .......................................................................................................................................................        */

.alueyhteys {	padding:66px 7%;  background-color:hsla(222,77%,77% , 0.2); display:flex;  justify-content:space-between;  flex-wrap:wrap; 	}

.yhteystekstilohko {	width:26em;  margin:0;  padding:0 3% 0 0%;  display:table;    }
.yhteysboxi1 {	display:table; 	}
.yhteysboxi2 {	margin-top:22px;  display:table;	}
.yhteysotsikko {	color:hsl(222,100%,40%);   font-size:166%;  margin:0;  padding:0;   word-spacing:0.14em;  letter-spacing:0.07em;    }
.yhteystieto {	color:hsl(0,0%,10%);  font-size:133%;  margin:0;  padding:5px 0 0 0;   word-spacing:0.14em;  letter-spacing:0.07em;    }
.yhteysrako {	margin-top:22px;	}
.ytunnus {	margin-top:18px;  color:hsl(0,0%,55%);  font-size:99%; 	}
.yhteyskartta {	width:calc(100% - 26em);  margin:0 0 0 0; padding:22px 33px; background-image:url(kuvat/kuvayhteys.jpg);  background-position:50% 66%;  background-size:cover;     }
.karttaele {	width:300px; float:right; 	}
.iframeele {	    }
.karttateksti {	padding:11px 22px;  	}



/*    harvinaiset    .......................................................................................................................................................        */

.pilarirakonolla {		}
.pilarirakopieni {		}
.pilarirakoiso {		}

.aluealin {	margin:0;  padding:22px 66px;  width:100%;  background-color:hsl(222,44%,55%);   display:table;  }
.alalause {	margin:0;  padding:0; text-align:center;  font-size:133%;  font-style:italic;  color:hsl(0,0%,100%);     }








@media screen and (max-width : 1200px)	{	/*	------------------------------------------------------------------------------------------------------------------------	*/

.aluevakio {	padding-left:7%;  padding-right:7%;  }

.alueimage {	height:444px;  }
.imageslogan {	width:100%;  margin:55px 0 0 0;  padding:0 66px; text-align:center; float:none;   }

.alueingressi {	padding:77px 7% 88px 7%;  width:100%;  display:table;   	}
.ingressibxv  {	width:100%;   float:none;    }
.ingressiteksti {	   }
.ingressibxo {	width:100%;  float:none;    }

.logolohko { 	margin:77px auto 0 auto;     }


nav {		left:auto; right:4px;  top:4px;  width:90%;  
		position:absolute;  max-width:333px;  background:transparent;  height:auto;  }
ul {		position:static;  display:none; }
li {		margin:0;	float:right; }
ul li a {		padding:2em 1em;  margin:0; height:auto; border-width:1px 0 0 0;  border-color:hsla(0,100%,100%, 0.5);  border-style:solid;   }
li:hover a {	  	}
ul li, li a {  	width:100%;  text-align:center;  }
ul li ul li a {	padding:2em 1em;  margin:0; height:auto;  width:100%;   }


.nnv:link {	background-image:url(kuvat/nnv255.png);       }
.nnv:visited {	background-image:url(kuvat/nnv255.png);        }
.nnv:hover {	background-image:url(kuvat/nnv0.png);  background-color:hsl(60,100%,50%);     }
.nnv {	 	float:right;  
		background-image:url(kuvat/nnv255.png); background-color:hsl(222,100%,40%); 
		height:50px;  width:50px;  background-size:30px;  margin-bottom:0px;   
		background-repeat:no-repeat;  background-position:50% 50%;  display:block;  text-decoration:none;  }

.boxi2 {		width:48%;       }
.boxi3 {		width:31%;        }
.boxi4 {		width:21%; margin:22px 0;        }	

		
.yhteysboxi1 {	padding:0 3%;  width:50%; float:left; 	}
.yhteysboxi2 {	padding:0 3%;  margin:0; width:50%; float:right;  	}
.yhteystekstilohko {	padding:0;  width:100%;     }
.yhteyskartta {	width:100%;  margin:66px 0 0 0;     }


			 	}	/*	--------------------    */






      
@media screen and (max-width : 900px)	{	/*	------------------------------------------------------------------------------------------------------------------------	*/

.aluevakio {	padding-left:5%;  padding-right:5%;  }
.alueimage {	height:333px;  border-width:0 0  22px 0;  border-color:hsl(222,100%,40%);  border-style:solid;   }
.alueingressi {	padding:77px 5% 88px 5%;    	}
.ingressiteksti {	font-size:133%;     }
.ingrpamp {	font-size:122%;  }

.boxi2 {		width:100%;       }
.boxi3 {		width:100%;  	}
.boxi4 {		width:48%;       }

.alueyhteys {	padding:66px 3%;   	}
.yhteysboxi1 {	padding:11px 3% 11px 15%;  width:100%; float:none;   	}
.yhteysboxi2 {	padding:11px 3% 11px 15%;  width:100%; float:none; 	}


.pilarirakonolla {	margin-top:0;	}
.pilarirakopieni {	margin-top:44px;	}
.pilarirakoiso {	margin-top:66px;	}


			 	}	/*	--------------------    */








      
@media screen and (max-width : 666px)	{	/*	------------------------------------------------------------------------------------------------------------------------	*/


.alueimage {	padding:0 0 33px 0;      }



.logolohko { 	max-width:100%;  width:98%;  margin-left:auto;  margin-right:auto;    }
.logokuva {	width:90%; max-width:333px;     }
.imageslogan {	font-size:144%;  }

nav {		height:40px; width:100%;  max-width:100%;  top:0px;  right:0px;   }
ul {		margin-top:0; position:static;  display:none; }
.nnv {	 	height:4em; width:100%;  margin-bottom:0px;   }


.leveeotsikko {	font-size:144%;  padding:66px 3% 0 7%;    }
.kuultoh3	 {  	font-size:122%;   padding:0.5em 1em;  	}

.boxi4 {		width:100%;       }
.isoteksti {	font-size:111%;    }

.yhteysboxi1 {	padding:11px 3% 11px 15%;    	}
.yhteysboxi2 {	padding:11px 3% 11px 15%;   	}
.karttaele {	width:90%; float:none;  margin:22px auto;	}


			 	}	/*	--------------------    */











/*	kestotietoa yyy           --------------------------------------------------------------------------------------------   */

.vaaleaotsikko {	color:hsl(0,0%,100%);    }

.ypadmaxi { 	padding-top:111px; }
.ypadiso { 	padding-top:66px; }
.ypadpieni { 	padding-top:33px; }
.ypadnolla { 	padding-top:0; }

.apadmaxi { 	padding-bottom:111px; }
.apadiso { 	padding-bottom:66px; }
.apadpieni { 	padding-bottom:33px; }
.apadnolla { 	padding-bottom:0; }

.ymargmaxi { 	margin-top:111px; }
.ymargiso { 	margin-top:66px; }
.ymargpieni { 	margin-top:33px; }
.ymargnolla { 	margin-top:0; }

.amargmaxi { 	margin-bottom:111px; }
.amargiso { 	margin-bottom:66px; }
.amargpieni { 	margin-bottom:33px; }
.amargnolla { 	margin-bottom:0; }

.vasemmalle {	text-align:left; }
.keskelle {	text-align:center; }
.oikealle {	text-align:right; }
.kuvakeskelle {	margin-left:auto;  margin-right:auto; }
.valkea {		color:hsl(0,0%,100%); 	}
.levee100 {	width:100%; }




.haiveviivamalli { 	height:1px;  width:77%;  margin:33px auto; background:linear-gradient( 90deg, transparent , hsl(0,0%,100%) , transparent );   }
.liukupystymalli { 	background:linear-gradient( hsl(111,80%,40%) , hsl(111,80%,100%) ); }
.taustakuvamalli {	background-image:url(kuvat/taustakuva.jpg);  background-size:cover;  background-position:0 0;   min-height:555px;  }

.sininen {	background-color:hsl(208,100%,33%);	color:rgb(0, 61, 204); }
.keltainen {	background-color:hsl(60,100%,50%);	color:rgb(255, 255, 0); }
.oranssi {	background-color:hsl(25,100%,50%);	color:rgb(255, 106, 0); }
.vihree {		background-color:hsl(222,100%,40%);	color:rgb(0, 166, 0); }
.punainen {	background-color:hsl(0,82%,48);	color:rgb(222, 22, 22); }
.valkoinen {	background-color:hsl(0,100%,100%);	color:rgb(255, 255, 255); }
.musta {		background-color:hsl(0,100%,0%);	color:rgb(0, 0, 0); }

.fontti {    	font-family:'Alfa Slab One'; 	}
.levee100 {	width:100%;  }
.erotin {		width:100%;  height:1px;  display:block;  }
.eimarginaalia {	margin-right:0;   }

