body
{
    /*background-color:#4D4D4D;*/
    background-color:white;
    font-family: Times New Roman;
}
h1
{   color: orange;
	margin-bottom: 0;
	margin-top: 5;
    text-transform: uppercase;
    font-size: 20;
    font-family: Times New Roman;
}
h2
{
    color: red;
    margin-bottom: 0;
    margin-top: 5;
    text-transform: uppercase;
    font-size: 15;
    font-family: Times New Roman;
}
h3/*tätä käytetään indeksisivujen otsikoissa*/
{
    color: black;
    margin-bottom: 5;
    margin-top: 12;
    text-transform: uppercase;
    font-size: 16;
    font-family: Times New Roman;
}
h4/*tätä käytetään bottom.php tekstinä*/
{   
    color: white;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 12;
    font-weight:lighter;
    font:arial;
    font-family: Times New Roman;
}
h5
{
{
    color: black;
    margin-bottom: 5;
    margin-top: 12;
    /*text-transform: uppercase;*/
    font-size: 14;
    font-family: Times New Roman;
}
}


IMG 
{  
	/*float: left;*/
	margin-top: 0;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0;
} 
div.syvennys
{
	margin-left: 10px;
	width: 700px;
}
div.syvennysitalic
{
	margin-left: 10;
	font-style: italic;
	width: 700px;
}
.normaalikuva{margin-bottom: 0px;}
.linkki a:link { color: black; text-decoration: none}        
.linkki a:visited { color: black; text-decoration: none }    
.linkki a:active { color: black; text-decoration: none }     
.linkki a:hover {color : orange; text-decoration: none }

TABLE
{ 	
	border-collapse: collapse;
		border: 0px solid #99A64A;
}
TABLE.runkorakenne
{
	border:0px solid black;
	height:500px;
	width:1000px;
}
TABLE.sponsorit
{
	border:0px solid black;
	height:autopx;
	width:800px;
	background-color:white;
	margin-bottom:0px;
}


TD.left{ background-color: #F30208; width: 100px; border: 0px;}
TD.right{ background-color: #F30208; width: 100px; border: 0px;}
TD.top{ background-color: black; background: Transparent url(kuvat/logo3.jpg); background-repeat: no-repeat;}
TD.bottom{ background-color: black; width: auto; height: 10px; border: 0px}
TD.kehys{ background-color: Transparent; width: 30px; height: 430px; border: 0px; background-image :url(kuvat/nemes.gif); background-repeat: repeat-y; background-position: center;}
TD.index{ background-color: #B1BE6D; }
TD.dokumentti{ background-color: #E6E6E6; width: 800px; border: 0px;}

#csstopmenu
{ 
	padding: 0;
	margin: 0px;
	margin-left: 0px;
	list-style: none;
	width:1000px; /*tämä on oltava suunnitellun sivun leveyden mukainen, jolloin päävalikot mahtuvat kaikki vierekkäin*/
	height:20px;
	border: 0px solid black;
	background-color: transparent;
}

#csstopmenu ul
{ /*2. tason menu*/
	height:auto;
	width:100px;
	border: 0px solid black;
	background-color: transparent;
	margin-top: 20px;
}

#csstopmenu li
{
	float: left;
	position: relative;
	width:166px;/*180*/
	height:20px;
}

#csstopmenu a
{
	text-decoration: none;
	width:166px;/*180*/
	height:20px;
	background-color: black;
}

.mainitems
{
	border: 0px solid black;
	border-left-width: 0;
	background-color: Transparent;
	text-align:left;
	width:166px;/*180*/
	height:20px;
}

.headerlinks
{
	background-color: transparent;
	border: 0px solid black;
	width:166px;/*180*/
}

.headerlinks a
{
	border: 0px solid black;
	background-color: red;
	font-weight: bold;
	color: white;
	width:auto;
	height:20px;
}

.headerlinks a:hover
{
	border: 0px solid black;
	font-weight: bold;
	color: white;
	width:166px;/*180*/
	height:20px;
}

.submenus
{
	display: none;
	width:120px;
	height:20px;
	position: absolute;
	top: 0px;
	background-color: transparent;
	border: 0px solid black;
	text-align:left;
	left:-40px;
}

.submenus li
{
	width: 166px;/*180*/
	/*position:absolute;*/
	position:static;
	height:20px;
	text-align:left;
	list-style-type: none;
	margin-left:0px;
}

.submenus li a
{
	text-indent: 0px;
	position:absolute;
	font-weight:bold;
	color: #9D9D9D;
	width: 166px;/*180*/
}

/**********************************/
/*lisämäärittelyt ei-IE selaimille*/
/**********************************/
/*
html>body .headerlinks ul a{
border: 0px solid black;
background-color: red;
font-weight: bold;
color: white;
width:140px;
height:20px;
position: static;
}*/

/*Tässä määritellään 2. tason menun käyttäytymistä muille kuin ie selaimelle*/
html>body .submenus 
{
	width: auto;
	height:20px;
	position: absolute;
	margin-left:0px;
}

/*
html>body .submenus li a{ 		/* non IE browsers */
/*width: 180px;					/*alivalikon linkin leveys*/
/*background-color: red; 		/*alivalikon linkkien taustaväri*/
/*left:auto;

}
*/
.submenus li a:hover
{
	background-color: white;
	color: white;
}
/*
#csstopmenu li>ul {/* non IE browsers 
top: 150px;
left: auto;
width: 180px;
height:auto;
}*/

#csstopmenu li:hover ul, li.over ul 
{
	display: block;
}

html>body #clearmenu{ /* non IE browsers */
height: 0px;
}