/* PERÄGRAMMARI KY - Tyylitedosto
   Asiakas : www.peragrammari.fi
   Vuosi : 2009
   Tiedosto: grammari.css
   Versio : 1.0
   Tekijä : Miikka Mäkinen / miihkali.info */

body, html {
	background: #efecdd url(../i/header_tausta.jpg) repeat-x;
	height:auto;
	margin:0 auto;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	line-height: 1.5em;
	color: #333;
 /* border:1px dotted black; */
}

p {
	font-size:14px;
	line-height:18px;
	margin: 0 0 1.5em;
}

h1 {
	color:white;
	font-size: 18px;
	line-height: 25px;
	margin: 0 0 0 0;
	font-weight: bold;
}

h2 {
	font-size: 24px;
	line-height: 1.2em;
	margin: 1.2272em 0 0.409em;
	font-weight: bold;
}

h3 {
	color:#063E8D;
	font-size: 24px;
	line-height: 1.2em;
	margin: 20px 0 10px 0;
	font-weight: bold;
	text-align:center;
}

a {
	color:#063E8D;
	font-weight:bold;
	text-decoration:none;
	outline: none;
}

a:hover {
	color:#4B95C4;
}

a img {
	border:none;
} 

#raamit {
	width:790px;
	margin:0 auto;
	height:auto;
	padding:0 0 0 0;
	border-bottom:1px dotted black;
/*  border:1px dotted black; */
	}

.header {
	width:790px;
	height:334px;
	padding:0 0 0 0;
 /* border:1px dotted black; */
	
	}

.logo {
	position:absolute;
	margin:18px 0 0 0;
	padding:0 0 0 0;
	width:350px;
	height:133px;
 /* border:1px dotted white; */
}

.headerslogan {
	position:absolute;
	margin:160px 0 0 20px;
	padding:0 0 0 0;
	width:430px;
	height:auto;
 /* border:1px dotted black; */ 
}

.headerkuva {
	position:absolute;
	width:339px;
	height:239px;
	margin:95px 0 0 460px;
	padding:0 0 0 0;
/* 	border:1px dotted white; */
}

#navigaatio {
	position:absolute;
	margin:250px 0 0 10px;
	padding:0 0 0 0;
	width:520px;
 /* border:1px dotted black; */
}

.isompi {
	font-size: 12px;
	font-weight:bold;
}

.painike {
	display: inline-block;
	display: moz-inline-block;
	/* background: #fb7c00; */
	background: #142252;
	padding: 5px 10px 5px 10px;
	margin-right: 0.25em;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	color: #FFF !important;
	border: none !important;
	text-transform: uppercase;
}

/* .painike:hover {background: #142252;} */

.painike:hover {background: #4B95C4;}

#sisalto { 
	width:790px;
	height:100%;
	padding: 0 0 0 0; 
	background: #eeebdc; 
	overflow:auto;
 /* border-bottom:1px dotted black; */
	}

.tervetulo, .esittely, .majoitus, .kontaktit, .laitteisto, .kiitos, .virhe { 
	float: left;
	margin-left:20px;
	clear: both; 
	width:390px;
 /* border:1px dotted black; */
}

.ajankohtaista { 
	float: right;  
	width:360px;
 /* border:1px dotted black; */
}

.laitteisto2 { 
	float: right;  
	width:340px;
 /* border:1px dotted black; */
}

.studioslider{
	float:right;
	width:330px;
	margin:-260px 20px 20px 350px;
	padding:0 0 0 0;
 /* border:1px dotted black; */
}

.majoituslider {
	float:right;
	width:330px;
	margin:-318px 20px 20px 350px;
	padding:0 0 0 0;
 /* border:1px dotted black; */
}

.lomake {
	float:left;
	width:330px;
	height:auto;
	background:#f2f0e3;
	margin-left: 20px;
	margin-bottom:10px;
	padding:10px 10px 10px 10px;
	border:1px dotted #cccccc;
}

.googlemap {
	float:right;
	width:350px;
	margin:3px 20px 10px 0;
	padding:0 0 0 0;
	border:3px solid #cccccc;
  /*border:1px dotted black;*/
}

.yhteystiedot { 
	float:right;
	width:300px;
	margin:30px 35px 0 0;
	background:#f2f0e3;
	padding:0 10px 0 10px;
	border:1px dotted #cccccc;
}

#footer {
	margin:5px 0 0 0;
	background:#efecdd;
	padding:0 0 0 0;
	width:100%;
	height:20px;
}

#footer p {
	width:400px;
	height:auto;
	padding:0 0 0 0;
	margin:0 auto;
	font-size:12px;
	text-align:center;
}