/* h1-h5 ja muut tekstityylit
----------------------------------------------------------------------------------------------------*/

html, body, body>div {
	height: 100%;
	border: 0;
	font-size: 14px;
}

body {
	background: url("images/tausta_leipis.gif") repeat;
	font-family: verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-size:110%;
	font-weight: bold;
}

img, img a, img a hover {
border: 0;
}

p {
	font-size: 90%;
	padding: 0 5px 0 5px;
}
p.intro {
	padding: 0 0 0 0;
}

a:link, a:visited, a:active, a:hover {
	text-decoration: none;
}

a:hover {
	border-bottom: 1px dashed;
	background: #cce; color: #FF0080;
}

.navi_top, .navi_top * * {
	border: 0 !important;
	font-size: 85%;
	text-align: center;
}
#navi h2 {
	font-size:110%;
}

#navi h3 {
	font-size:75%;
	margin-left: 20px;
}

#navi a, #navi a :link, #navi a:visited {
	color: #1C1C1C;
}
#navi a:active, #navi a:hover {
	color: #FF0080;
}
#banneri_1, #banneri_2, #banneri_3 {
	background: #f2f2f2;
	min-height: 312px;
}
#footer h2 {
	font-size:110%;
	text-align: center;
}

#pidike {
	border: 1px solid black;
	background: #fff;
	margin-top: -8px;
}

#leipa_bg {
	background: #eff;
	margin-bottom: 30px;
}

.mainos, .mainos * {
	border: 0;
	border-bottom: 0;
}

#footer {
}

/*
	Variable Grid System.
	Learn more ~ http://www.spry-soft.com/grids/
	Based on 960 Grid System - http://960.gs/

	Licensed under GPL and MIT.
*/


/* Containers
----------------------------------------------------------------------------------------------------*/

.container_16 {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	width: 960px;

}

/* Grid >> Global
----------------------------------------------------------------------------------------------------*/

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12,
.grid_13,
.grid_14,
.grid_15,
.grid_16 {
	display:inline;
		float: left;
	position: relative;
	margin-left: 10px;
	margin-right: 10px;
}

/* Grid >> Children (Alpha ~ First, Omega ~ Last)
----------------------------------------------------------------------------------------------------*/

.alpha {
	margin-left: 0;
}

.omega {
	margin-right: 0;
}

/* Grid >> 16 Columns
----------------------------------------------------------------------------------------------------*/


.container_16 .grid_3 {
	width:160px;
}

.container_16 .grid_4 {
	width:220px;
}

.container_16 .grid_7 {
	width:400px;
}

.container_16 .grid_9 {
	width:520px;
}




/* Push Space >> 16 Columns
----------------------------------------------------------------------------------------------------*/

.container_16 .push_1 {
	left:60px;
}

/* Clear Floated Elements
----------------------------------------------------------------------------------------------------*/

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack */

.clearfix:after {
	clear: both;
	content: ' ';
	display: block;
	font-size: 0;
	line-height: 0;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix {
	display: inline-block;
}

* html .clearfix {
	height: 1%;
}

.clearfix {
	display: block;
}
