/* -------------------layout, asettelu-----------------------*/
body
{
	padding-top: 50px;
	padding-bottom: 5px;
	margin: 0;
	background-color: #231F20;
	font-size: 92%;
	font-family: Helvetica, Arial, sans-serif, Verdana ;

}

#container
{
	width: 900px;
 	margin: 20px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
 	text-align: left;
        background-color: #F99D1C;
        color: #000;
}
#contentArea
{
	background-color:#F99D1C;
	background-image:url(images/ratas.gif);
	background-repeat:no-repeat;
	display:table;
	width:100%;
}
*html #contentArea
{
	background-color:#F99D1C;
	background-image:url(images/ratas.gif);
	background-repeat:no-repeat;
	display:block;
	min-height:300px;
	height:300px;
}

#sidebar
{
	float: left;
	width: 190px;
	padding: 0px;
	font-size: 1em;
	color: rgb(12, 24, 35);
	background-color: transparent;
	margin-top:80px;
	margin-bottom:10px;
        
	
}

#content
{
    	padding-bottom: 0;
	margin: 0 0 0 300px;
	background-color: transparent;
	min-height: 350px;
}

.contentleft
{
	width: 500px;
	float: left;
	padding: 2em 10px 1.5em 0.4em;
	margin: 1.2em 1em 1em 1em;
	font-size: 0.9em;
	min-height: 350px;
	line-height: 1.6em;
}

#content p
{
	line-height: 1.6em;
	margin: 0;

}

#content p a:link, #content p a:visited, a
{ 	color: darkblue;
	text-decoration: none;
}

a {
	text-decoration: underline;
}

#content p a:hover, a:hover
{
	text-decoration: underline;
}

/* ------------------menu ja navigointi--------------------------- */

#navlist
{
 	padding: 0px;
	margin-left: 0;
	width: 190px;
	font-size: 0.9em;
	background-color: transparent;
 	background-position: left center;

}

#navlist li
{
	list-style: none;
	margin: 0px;
	text-align: left;
	background-position: left center;
    	padding: 0.4em 0em 0.3em 2em;
}
ul#navlist ul li 
{
	font-size:80%;
	list-style: none;
	margin: 0px;
	text-align: left;
	padding: 0em 0em 0.4em 0em;
}

#navlist li a
{

	text-decoration: none;
	text-align: left;
 	color:#771D20;
	font-weight:bold;
}

#navlist li a#active
{
 	color: #C9252B;
 	background-position: 1em 0.5em;
 	text-decoration: underline;
}


/*  #navlist li a:visited { color: #EB8A00;}  */

#navlist li a:hover
{
 	color: #C9252B;
	text-decoration:underline;

}
#navlist li.second-level {
	font-size:80%;
	list-style: none;
	margin: 0px;
	text-align: left;
	padding: 0em 0em 0.4em 3.7em;

}
#navTopbar
{
	background-color:#FDB813;
        display:block;
        height: 21px;
		font-size: 11px;
        border-bottom: 3px solid #fff;
        text-align:right;
        padding-top:4px;
        padding-bottom:5px;
		padding-left:15px;
}

*html #navTopbar
{
	background-color:#FDB813;
        display:block;
        height: 21px;
	font-size: 11px;
        border-bottom: 3px solid #fff;
        text-align: left;
        padding-top:7px;
        padding-bottom:7px;
}

.topNavi{

	text-decoration: none;
	color:#000;
	font-weight:bold;
	padding: 0px 8px 0px 0px;

}
.topNavi:hover {
        color:#C9252B;
	text-decoration: underline;
}
.topNavi#active {
        color:#C9252B;
	text-decoration: underline;
}

/* Why h1 looks like this? Is it used anywhere? I don't think so... */
/*
h1
{
	color: #000000;
	font-size: 1.2em;
	margin: 0;
	padding: 0 0 0.4em 0;
}
*/

h1
{
	color: #47515F;
	font-size: 1.1em;
	margin: 0;
	padding: 0em 0 0.4em 0;
}

h2
{
	color: #47515F;
	font-size: 1.0em;
	margin: 0;
	padding: 0em 0 0.4em 0;


}

h3
{
	color: #47515F;
	font-size: 0.9em;
	margin: 0;
	padding: 0em 0 0.4em 0;


}


ul
{
	color: #303543;
	font-size: 1em;
	line-height: 1.2em;
	margin: 0;
	text-decoration: none;
}

 a img
{border: none;}

.clear
{
	clear:both;
	margin-top:-1px;
	height:1px;
	overflow:hidden;
}
#footer
{
	clear: both;
	height: 21px;
 	padding-top:3px;
    padding-bottom:3px;
	padding-left:10px;
	border-color:#fff;
	border-width: 3px;
	border-style: solid none none none;
	background-color:#FDB813;

}

#address
{
	font-size: 0.8em;
	text-align: center;
	float:left;
	padding-top:5px;
	

}
.powered{float:right; padding-right:0px;}

td {
	font-size: 90%;
	border-color: #000;
	font-family:Verdana;
}
*html td {
	font-size: 75%;
	border-color: #000;
	font-family:Verdana;
}
table {
	border-color: #000;
}

.button {
	margin-top: 10px;
	width: 120px;
	color:#771C20;
	background-color: #FDB813;
	border: 2px solid #47515F;
	font-weight: bold;
}
