body {/*main parameters, screen-possition */
	height:100%;
	width: 100%;
	background-image: url(http://litdb.fmi.fi/images/background.jpg);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #040500;	
	color: #4169E1;
	font-family: arial, verdana, sans-serif;
	margin: 0 auto;
}
#header {
	background-color: #2D071F;
	width: 100%;
	height: 120px;
}
#header #header_content {
	display: block;
	width: 80%;
	min-width: 1200px;
	margin: 0 auto;
	padding: 10px;
	height: 120px;
}
#header #header_content img {
	height:80%;
	border: none;
	float: left;
	margin-left: 60px;
}

#header #header_content div.top {/*database name*/
        display: block;
        width: 70%;
        float: left;
	color: 	#FFF;
	font-size: 23px;
	font-variant: small-caps;
	letter-spacing: 5px;
	font-family: tahoma, arial, verdana, sans-serif;
    	height: 25px;
    	margin-top: 30px;
    	margin-left: 120px;
}
#header #header_content div.top font.small{
	font-size: 12px;
	letter-spacing: 4px;
}
.clear { /*clear styles*/
    clear: both; 
}

#wrap{
	width: 80%;
	min-width: 1200px;
	margin-left: auto; 
        margin-right: auto;
}

div.sub_menu {/*menu parameters*/
	height: 10%;
	color: #2F4F4F;
	font-family: arial, verdana, sans-serif;
	font-variant: normal;
        float: left;
	margin-top: 7px;
	margin-right: 5px;
	margin-bottom: 0px;
	margin-left: 25px;
}
div.sub_point {/*paremeters of menu-points*/
	width: 100px;
	height: 15px;
	float: left;
	background-color: white;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 1px;
	margin-left: 5px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	padding: 5px;
	border-style: double;
	border-color: #BEBEBE;
}
div.sub_point_long {/*paremeters of menu-points*/
	width: 150px;
	height: 15px;
	float: left;
	background-color: white;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 1px;
	margin-left: 5px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	padding: 5px;
	border-style: double;
	border-color: #BEBEBE;
}

div.ul {
	margin-top:0px;
}

div.page { /*main text, forms ...*/
        width: 80%;
	min-height: 812px;
	background-color: white;
	color: black;
	font-family: arial, verdana, sans-serif;
	border-color: #BEBEBE;
        border-style: solid;
        border-width: 1px 1px 1px 1px;
	float:left;
	margin-top: 7px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

div.campaign	{
	margin-left: 20px;
}

div.logo_end { /*end*/
	color: #BEBEBE;
	font-size: 11px;
	font-weight: bold;
	margin-top: 5px;
	margin-right: 5px;
	margin-bottom: 5px;
	margin-left: 5px;
	float: left;
	width: 100%
}

div.logo_end_line {
	width: 100%;
	height: 0px;
	background: #BEBEBE;
	border: 1px solid;
	border-color: #BEBEBE;
}

p	{
	padding: 15px;
	text-align: justify;
	font-variant: normal;
}

td	{
	padding: 15px;
	vertical-align: top;
	font-size:13px;
	font-variant: normal;
	color:#000;
}

table.satellite{
	border-collapse: collapse;
}

td.satellite	{
	border: solid 1px #BEBEBE;
	padding: 3px;
	text-align: center;
}

th.satellite	{
	border: solid 1px #BEBEBE;
	padding: 3px;
	text-align: left;
}


table.index{
	width: 80%;
	border-collapse: collapse;
	margin-left: 10%;
}

td.index	{
	width: 50%;
	border: solid 1px #BEBEBE;
	padding: 5px;
	text-align: left;
}

th.index	{
	border: solid 1px #BEBEBE;
	padding: 5px;
	text-align: left;
	background-color:#699562;
}
th.index b{
	color: #0D3008;
}

td.index2	{
	width: 50%;
	border-top: solid 1px #BEBEBE;
	border-bottom: solid 1px #BEBEBE;
	border-left: solid 1px #BEBEBE;
	border-right: solid 3px #BEBEBE;
	padding: 5px;
	text-align: left;
}

th.index2	{
	border-top: solid 1px #BEBEBE;
	border-bottom: solid 1px #BEBEBE;
	border-left: solid 1px #BEBEBE;
	border-right: solid 3px #BEBEBE;
	padding: 5px;
	text-align: left;
	background-color:#CCC;
}


td.hr	{
	padding: 0px;
	width:100%;
}

h1	{
	padding-left: 15px;
	font-size: 18px;
	color: black;
}

h2	{
	margin-left: 20px;
	color: #0D3008;
	font-size: 18px;
}

img {
border: 2px solid #BEBEBE;
}

.img{ 
border: 0 !important;
}

img.map	{
	margin-left: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	margin-right: 20px;
}

/*map on index page
#fixed_map {  width: 90%;  height: auto; } */

/*navigation parameters*/
ul {/*main menu parameters*/
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 10px;
	padding: 0px;
	list-style: none;
	width: 100%;
	}


ul li {/*main menu position*/
	position: relative;
	left: 0px;
	padding: 2px;
	}

ul li ul {/*sub menu position*/
	position: absolute;
	padding: 0px;
	left: 100%;
	bottom: 2px;
	display: none;
	border-bottom: 1px solid #BEBEBE;
	border-top: 1px solid #BEBEBE;
	}

ul li ul li {/*sub menu parameters*/
	padding: 0px;
	border-right: 4px solid #BEBEBE;
	border-bottom: 2px solid #BEBEBE;
	border-left: 4px solid #BEBEBE;
	border-top: 2px solid #BEBEBE;
	}

li:hover ul, li.over ul {/*display submenu onmouseover*/
	display: block;
	}

ul li a {/*main menu link parameters*/
	display: block;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	color: #2F4F4F;
	background-color: white;
	padding: 5px;
	border-style: double;
	border-color: #BEBEBE;
	}
	
ul li ul a {/*sub menu link parameters*/
	display: block;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	color: #2F4F4F;
	background-color: white;
	padding: 5px;
	border-style: none;
	}

a:hover {
	color: #4169E1;
}

a.normal:link, a.normal:visited {
	color: #2200CC;
}

a.normal:hover {
	color: #63C;
}

a.menu_link:link, a.menu_link:visited {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	color: #2F4F4F;
	background-color: white;
}

a.menu_link:hover {
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight: bold;
	text-decoration: none;
	color: #4169E1;
	background-color: white;
}

/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; }
* html ul li a { height: 1%; }
/* End */

#vasen_palsta {
float:left;
width: 180px;
margin-top: 10px;
}
#oikea_palsta {
	width: 77%;
	margin-left:30px;
	margin-top:12px;
	margin-bottom:10px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;}