body { 
	background-color: #2a2a2a;
	width: 100%;
	height: 100%;
	margin : 0;
 	font-size : 18px; 
 	line-height : 30px;
	font-weight: 400;
  font-family: "Source Serif 4", serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
	color: #2a2a2a;
	letter-spacing : normal;
 	text-align : left;
 }

#hintaa {   	display: inline-block;
	width: 100%;
	padding-top: 10px;
	padding-right: 20px;
	padding-left: 20px;
	margin-bottom:10px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: center; 
  background-color: #f1f1f1;
  font-family: "Old Standard TT", serif;
  font-weight: 400;
font-size: 24px;
 	line-height : 35px;
  font-style: italic;

 }

table {
  border-collapse: collapse;
  border: 1px solid rgb(140 140 140);
  letter-spacing: 1px;
}

thead,
tfoot {
  background-color: rgb(228 240 245);
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 20px;
}

td:last-of-type {
  text-align: center;
}




.boxi1 {
	display: inline-block;
	width: 18%;
	min-width:250px;
	height: 200px;
	padding-top: 40px;
	padding-right: 30px;
	padding-left: 30px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: center; 
	border: 0px #c2c2c2 solid;

}

.boxi2 {
	display: inline-block;
	width: 30%;
	min-width:400px;
	min-height: 450px;
 	height: 100%;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: center; 
	border: 0px #c2c2c2 solid;

}


.refe {
	display: inline-block;
	width: 40%;
	min-width:250px;
	height: auto;
	padding-top: 40px;
	padding-right: 30px;
	padding-left: 30px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: top; 
	border: 0px #c2c2c2 solid;
font-family: 'Playfair Display', serif;
font-size: 18px;
}

.huom {
	padding-right: 30px;
	padding-left: 30px;
	margin-bottom:30px;
	border: 0px #c2c2c2 solid;
font-family: 'Playfair Display', serif;
font-size: 18px;
}


.koulu1 {
	display: inline-block;
	width: 25%;
	min-width:200px;
	height: auto;
	padding-top: 40px;
	padding-right: 30px;
	padding-left: 30px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: top; 
	border: 0px #c2c2c2 solid;

}

 {
	display: inline-block;
	width: 40%;
	min-width:250px;
	height: auto;
	padding-top: 40px;
	padding-right: 30px;
	padding-left: 30px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: top; 
	border: 0px #c2c2c2 solid;
font-family: 'Playfair Display', serif;
font-size: 18px;
}



 ul {list-style: none; }

.otsikko { font-family: 'Cinzel', serif; font-size:50px; color:#ffffff; }

 a:link.allink,a:visited.allink,a:active.allink { 	

	display: inline-block;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
 	font-size :17px; 
	line-height : 26px;
	letter-spacing: 1px;
  font-family: "Domine", serif;
	padding: 8px 18px;
	font-weight: 300;
	margin: 20px;
	border: 0px solid white;
	background-color: #736B60; 

}

 a:hover.allink { 	

	display: inline-block;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
	line-height : 26px;
	letter-spacing: 1px;
  font-family: "Domine", serif;
	font-weight: 400;
	margin: 20px;
	border: 0px solid white;
	background-image:url();
	background-color: #006989; 

}



 a:link.otsikko,a:visited.otsikko,a:active.otsikko, a:hover.otsikko { 	
  font-family: "Domine", serif;

	color : #ffffff;
 	border-bottom: 0px;
	text-decoration : none;

}



 a:link.silink,a:visited.silink,a:active.silink { 	
  font-family: "Domine", serif;

	display: inline-block;
	color : #2a2a2a;
	text-decoration : none;
 	border-bottom: 0px;
 	font-size :20px; 
	line-height : 26px;
	letter-spacing: 1px;
	padding: 15px 15px;
	font-weight: 300;
	margin: 20px;
	border: 0px solid white;
	background-image:url(kuvat_ulko/tausta_valk.png); 

}



 a:hover.silink { 	
  font-family: "Domine", serif;

	display: inline-block;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
	line-height : 26px;
	letter-spacing: 1px;
	font-weight: 400;
	margin: 20px;
	border: 0px solid white;
	background-image:url();
	background-color: #006989; 

}



 a:link.elink,a:visited.elink,a:active.elink { 	
  font-family: "Domine", serif;

	display: inline-block;
	color : #2a2a2a;
	text-decoration : none;
 	border-bottom: 0px;
 	font-size :25px; 
	line-height : 26px;
	letter-spacing: 1px;
	padding: 30px 30px;
	font-weight: 300;
	margin: 20px;
	border: 0px solid white;
	background-image:url(kuvat_ulko/tausta_valk.png); 

}



 a:hover.elink { 	
  font-family: "Domine", serif;

	display: inline-block;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
	line-height : 26px;
	letter-spacing: 1px;
	padding: 30px 30px;
	font-weight: 400;
	margin: 20px;
	border: 0px solid white;
	background-image:url();
	background-color: #006989; 

}


nav {
	display: block;
	width: 780px;
	margin: 10px auto;
	margin-top: 30px;
	text-align: center;
 	font-size :15px; 

}

nav ul {
	list-style: none;
}

nav li {
	display: inline-block;

}




nav a:link.menu,a:visited.menu,a:active.menu {
	display: inline-block;

  font-family: "PT Serif", serif;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
	line-height : 26px;
	letter-spacing: 1px;
	padding: 0px 10px;
	font-weight: 300;
	border: 0px solid white;
    }

nav a:hover.menu {
	color : #ffffff;
  font-family: "PT Serif", serif;

 	text-decoration : none; 
	text-shadow:  0px 0px 0px #a7a7a7;
	padding-bottom: 0px;
	background-color: #006989;

   }

nav select {
	display: none;
	width: 250px;
  font-family: "PT Serif", serif;

	position: absolute;
	margin-left: 0px;
 	font-size : 16px; 
	background-color: #16365d;
	color : #ffffff;
	padding-left:10px;
	font-weight: 600;

    }


@media (max-width: 800px) {
      nav ul     { display: none; }
      nav select { display: inline-block; }

.boxi2 {
	display: inline-block;
	width: 100%;
	min-width:400px;
	min-height: 450px;
 	height: 100%;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: center; 
	border: 0px #c2c2c2 solid;

}



}
	



#koko {
	width: 100%;
	height: 100%;
	left:0;top:0;
	min-height: auto !important; 
	min-width: 100%;
	min-height: 100%;
	background-color: #ffffff;



}

#itsetekstiindex {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/tausta.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}

#myynti {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/myynti.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}

#koulutus {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/koulutus.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}



#oriasema {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/oriasema.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}

#hoitopaikat {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/hoitopaikat.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}

#kasvatus {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/kasvatus.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}

#yleinen {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;
	background-image:url(kuvat_ulko/yleinen.jpg); 
    	background-size: cover;
    	background-repeat: no-repeat;
	background-position: top center;
}


#itseteksti {

 	margin-left : auto;
 	margin-right : auto;
	margin-top: 0px;
	margin-bottom:0px;
	z-index: 1;
	height: 100%;

}



#sisindex {
 	margin-left : 15%;
	padding: 20px;
	margin-top: 50px;
 	margin-right : 15%;
	min-height:400px;
	z-index: 1;

}

#sislink{
 	margin-left : 15%;
	padding: 10px;
	margin-top: 0px;
 	margin-right : 15%;
	min:100px;
	z-index: 1;

}



#sis {
 	margin-left : 15%;
	padding: 20px;
	margin-top: 150px;
 	margin-right : 15%;
	min-height: 600px;
	z-index: 1;


}

#teksti {
 	margin-left : auto;
	padding: 20px;
	margin-top: 30px;
 	margin-right : auto;
	z-index: 1;
	background-color: #ffffff;
	width: 60%;

}

#menu {
	background-color: #2a2a2a;
	height: 150px;
	width: 100%;
	top: 0px;
	z-index: 100;
}

a:link,a:visited,a:active {
	color : #006989;
	text-decoration : underline;
	border-bottom: 0px;

}



a:hover {

	color : #5a5a5a;
	text-decoration : underline; 
}





h1 { 
	font-size : 250%;
 	line-height : 130%;
 	letter-spacing : 1px;
	color : #006989; 
	font-weight: 400;
  	font-family: "Old Standard TT", serif;
  	font-optical-sizing: auto;
  	font-weight: <weight>;
  	font-style: normal;
}
 


h2 {
	font-size : 160%;
 	line-height : 36px;
 	letter-spacing : 1px;
	color : #006989; 
	font-weight: 400;
  	font-family: "Old Standard TT", serif;
  	font-optical-sizing: auto;
  	font-weight: <weight>;
  	font-style: normal;
}


h3 {
	font-size : 140%;
 	line-height : 130%;
	font-weight: 400;
  	font-family: "Old Standard TT", serif;
 	font-optical-sizing: auto;
 	font-weight: <weight>;
 	font-style: italic;
}

h4 {
	font-size : 110%;
 	line-height : 120%;
	font-weight: 400;
 	font-family: "Old Standard TT", serif;
 	font-optical-sizing: auto;
  	font-weight: normal;
  	font-style: normal;
}

h5 {
	font-size : 100%;
 	line-height : 130%;
	font-weight: 400;
  	font-family: "Old Standard TT", serif;
 	font-optical-sizing: auto;
 	font-weight: <weight>;
 	font-style: italic;
}


.maksut {
 	line-height : 25px;
	font-size : 120%;
 	line-height : 120%;
 	letter-spacing : 1px;
	  font-optical-sizing: auto;

}




a:link.menu1,a:visited.menu1,a:active.menu1 {
	display: inline-block;
	color : #6aa0cf;
	text-decoration : underline;
 	border-bottom: 0px;
	letter-spacing: 1px;
	padding: 0px 10px;
	border: 0px solid white;
    }

a:hover.menu1 {
	color : #16365d;
 	text-decoration : none; 
	text-shadow:  0px 0px 0px #a7a7a7;
	padding-bottom: 0px;
	background-color: #ffe37f;

   }


a:link.ori,a:visited.ori,a:active.ori { 
	display: inline-block;
	color : #306c95;
	text-decoration : underline;
  	font-family: "Old Standard TT", serif;
 	border-bottom: 0px;
	letter-spacing: 0px;
	padding: 0px 10px;
	border: 0px solid white;
    }

a:hover.ori {
	color : #ffffff;
 	text-decoration : none; 
	text-shadow:  0px 0px 0px #a7a7a7;
	padding-bottom: 0px;
	background-color: #6aa0cf; 

   }




#alamenu {
	background-color: #2a2a2a;
	left: 0;
	position: left bottom;
	bottom: 0;
	height: 100%;
	width: 100%;

}


.alamenusis {
	padding-top: -10px;
 	line-height : 19px;
	margin-left: auto;
	margin-right: auto;
   	margin-top: 0px;
 	letter-spacing : 1px;
 	font-size : 11px; 
	color: #474747;
	align:top;
	font-family: 'Libre Baskerville', serif;
	font-weight: 100;
 
}

 a:link.alamenu,a:visited.alamenu,a:active.alamenu {
	display: inline-block;
	color : #7b7b7b;
	text-decoration : none;
 	border-bottom: 0px;
	line-height : 10px;
	letter-spacing: 1px;
	padding: 0px 10px;
	border: 0px solid white;
    }

 a:hover.alamenu {
	color : #ffffff;
 	text-decoration : none; 

   }

.textboxi {
	width: 90%;
	padding-top: 30px;
	padding-bottom: 20px;
	margin-right: auto;
	margin-left: auto;
	color: #a2a2a2;
		
}

input[type=text] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  background-color: #f9f9f9;

}



@media (max-width: 1100px) {
.alamenusis {
 	font-size : 25px; 
 	line-height : 30px;

}

.sis {	margin-right: 0%;
	margin-left: 0%;
}

.boxi2 {
	display: inline-block;
	width: 100%;
	min-width:400px;
	min-height: 450px;
 	height: 100%;
	padding-top: 10px;
	padding-right: 10px;
	padding-left: 10px;
	margin-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: center; 
	border: 0px #c2c2c2 solid;

}


input[type=text] {
  width: 100%;
  padding: 22px 30px;
  margin: 8px 0;
  box-sizing: border-box;
font-size: 30px;
  background-color: #f9f9f9;

}

nav {
 	font-size :20px; 
	margin-top: 50px;


}

#teksti { 
	font-size:35px; 
	line-height : 50px;
 	margin-left : auto;
 	margin-right : auto;
	width: 90%;
}

.otsikko { font-family: 'Cinzel', serif; font-size:70px; color:#ffffff; }

 a:link.elink,a:visited.elink,a:active.elink { 	
 	font-size :45px; 

}


.refe {
	font-size: 35px;
	line-height:40px;
	margin-left: -30px;
	width: 100%;
	font-style: italic;
}

i {font-weight: bold;}

#menu {
	background-color: #2a2a2a;
	height: 200px;
	width: 100%;
	top: 0px;
	z-index: 100;
}

#hintaa {   	
	display: inline-block;
	width: 100%;
	padding-top: 10px;
	padding-right: 20px;
	padding-left: 10px;
	margin-bottom:10px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
	vertical-align: center; 
  	background-color: #f1f1f1;
  	font-family: "Old Standard TT", serif;
 	font-weight: 400;
	font-size: 120%;
 	line-height : 130%;
  	font-style: italic;
 }

.suku { font-size: 22px; }

}

 a:link.allink,a:visited.allink,a:active.allink { 	

	display: inline-block;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
 	font-size :23px; 
	line-height : 26px;
	letter-spacing: 1px;
  font-family: "Domine", serif;
	padding: 8px 18px;
	font-weight: 300;
	margin: 5px;
	border: 0px solid white;
	background-color: #736B60; 

}

 a:hover.allink { 	

	display: inline-block;
	color : #ffffff;
	text-decoration : none;
 	border-bottom: 0px;
	line-height : 26px;
	letter-spacing: 1px;
  font-family: "Domine", serif;
	font-weight: 400;
	margin: 5px;
	border: 0px solid white;
	background-image:url();
	background-color: #006989; 

}
