/* -- muut tyylit --*/
@import url('clearing.css');

body {
	font-family: "Futura Md", Verdana, sans-serif;
	font-size: 76%; /* we set the font size to 76% to compensate for different browsers and operating systems. 76% tends to look like 12px on most screens */
	text-align: center; /* this isn't strictly needed it's just here so that ie6 plays nice and centers our screen */
	line-height: 1.1em; /* we set the line height equalt to the height of an uppercase "M" character */
	margin: 20px 0px 0px 0px;
	padding: 0;
	background-color: #000000;
	background-image: url(../images/bg.gif);
	background-repeat: repeat-y;
	height: 100%;
	width: 100%;
}

div#page {
	width: 800px;
	margin:  0 auto; /* we want to center this div for browsers that understand so we have an auto declaration for the left and right margin */

}


div#header {
	background-image: url(../images/top.gif);
	background-repeat: no-repeat;
	height: 35px;
	width: 800px;
	background-color: #000000;
	float: left;
}

div#top {
	background-image: url(../images/header.jpg);
	background-repeat: no-repeat;
	height: 224px;
	width: 800px;
	background-color: #ffcc33;
}
div#content {
	padding: 10px 5px 10px 5px;
	background-color: #FFFFFF;
	float: left;
	width: 790px;
	min-height: 550px;
}

div#inside {
	font-family: "Futura Md", Verdana, sans-serif;
	font-size: 12px;
	padding: 0;
	color: #333333;
	text-align: left;	
}
div#footer {
	background-image: url(../images/footer.gif);
	height: 49px;
	float: left;
	width: 800px;
}


/* TAULUKOT*/


table {
font-size: 1em;
margin: 1px 0 5px 0;
padding: 0;
}


table caption {
	font-weight: bold;
	margin: 0 0 0 0;
	padding: 0 0 1.5em 0;
}

th {
	text-align: left;
}

td {
	font-size: 1em;
	padding-right: 5px;
	padding-left: 0px;
}

/* TAULUKOT LOPPUU */

/* LINKIT */
a,
a:link {
	font-family: "Futura Md", Verdana, sans-serif;
	color: #ba2123;
}

a:visited {
	font-family: "Futura Md", Verdana, sans-serif;
	color: #d18c91;
}

a:hover {
	font-family: "Futura Md", Verdana, sans-serif;
	color: #daa926;
	text-decoration: underline;
}

/*OTSIKOT*/
h1{
	font-size: 1.6em;
	font-weight: bold;
	vertical-align: bottom;
	font-family: "Futura Hv", Verdana, sans-serif;
	line-height: 1.7em;
	color: #CC3333;
}


h2{ 
	font-size: 1.4em;
	font-weight: normal;
	vertical-align: bottom;
	line-height: 1.5em;
	margin: 0;
	font-family: "Futura Hv", Verdana, sans-serif;
	color: #ffcc33;
	width: 100%;
	padding: 0;

}

/*KUVAT*/

.image {
	border: 1px solid #333333;
}

/* NAVIGAATIO */ 
.nav{
	width:50%;
	font-family: "Futura Md", Verdana, sans-serif;
	font-size: 12px;
	font-style: normal;
	text-decoration: none;
	line-height: 15px;
	float: left;
}

.nav ul{
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
	background: #000000;
	border-top-width: 1px;
	border-right-width: 0;
	border-bottom-width: 1px;
	border-left-width: 0;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #000000;
	border-right-color: #000000;
	border-bottom-color: #000000;
	border-left-color: #000000
}

.nav ul li{
display: inline;
}

.nav ul li a{
	float: left;
	color: #FFFFFF;
	padding: 5px 11px;
	text-decoration: none;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #000000;
}

.nav ul li a:visited{
	color: #FFFFFF;
	text-decoration: none;
}

.nav ul li a:hover, .nav ul li .selected{
	color: #FFFF00 !important;
	padding-top: 5px;
	padding-bottom: 5px;
	background: #804040;
}
#avoinna {
	width: 50%;
	font-family: "Futura Md", Verdana, sans-serif;
	font-size: 12px;
	font-style: normal;
	text-decoration: none;
	float: left;
	line-height: 15px;
	color: #FFFFFF;
	background-color: #000000;
	text-align: right;
	padding: 2px 0 0 0;
}
#navbg {
	width: 800px;
	font-family: "Futura Md", Verdana, sans-serif;
	font-size: 12px;
	font-style: normal;
	text-decoration: none;
	line-height: 25px;
	background-color: #000000;
}

