﻿.topline {
	margin-left: auto; 
	margin-right: auto;
	#background-color:white;
	
	background-image: url('images/ylapalkki.png');
	background-repeat: repeat-x;
	width:100%;
	height:50px;
}

.page {
	margin-left: auto; 
	margin-right: auto;
	background-color:#E6E6E6;	
	width:800px;
	min-height:100%;
}

.header {
	background-color:white;
	height:120px;
}
.formContainer{
position:relative;
right:-75px;
}

.fullcontent {
	background-color:##E6E6E6;
	
	background-image:url('images/databg.png');
	background-position: top right;
	background-repeat:no-repeat;
	width:100%;
}

.timeflies_fullcontent {
	background-color:##E6E6E6;	
	background-image:url('/timeflies/images/vihrea_taustaympyra.png');
	background-position: top right;
	background-repeat:no-repeat;
	width:100%;
}

.main_navi{
	margin-left:0;
	margin-right:0;
	text-align:left;
#	background-color:white;
	width:100%;
	height:35px;
}

.main_navi .upper {
	height:25px;
	background-image: url('images/valikko_tausta.png');
}

.main_navi .upper .menu {	
	float:left;
	height:25px;
	background-color:none;
	width:184px;
	min-width:184px;
	color:#C5C5C5;
	text-align:left;
}

.main_navi .upper .menu a{
	font-weight:bold;
	text-decoration: none;
	color:#C5C5C5;
	display:block;
	margin-left:25px;
	margin-top:3px;
}

.main_navi .upper .menu a:hover{
	color:black;
}

.main_navi .upper .selected_menu a:hover{
	color:#DC2E0F;
}


.cmenu_level1 a {	
	font-size: 13pt;
	font-weight:bold;
	text-decoration: none;
	color:#5E130E;
	font-variant: small-caps;
	margin-left:24px;
	display:block;
	}


.cmenu_level1 span {
	background-image:url('images/nav_inactive.png');
	background-repeat:no-repeat;	
	background-position: 5px 2px;
	display:block;
}


.cmenu_level1_selected span {
	background-image:url('images/nav_active.png');
	background-repeat:no-repeat;	
	background-position: 5px 2px;
	display:block;
}



.cmenu_level1_selected a {	
	font-size: 13pt;
	font-weight:bold;
	text-decoration: none;
	color:#5E130E;
	font-variant: small-caps;
	margin-left:24px;
	display:block;
}
.cmenu_level2, .cmenu_level2_selected  span 
{
	position:relative;
	left:10px;
}

.cmenu_level2_selected span {
	background-image:url('images/nav_active_pieni.png');
	background-repeat:no-repeat;	
	background-position: 2px 5px;
	display:block;
}

.cmenu_level2 span {
	background-image:url('images/nav_inactive_pieni.png');
	background-repeat:no-repeat;	
	background-position: 2px 5px;
	display:block;
}

.cmenu_level1_selected a:hover {
	color:#DC2E0F;
}



.cmenu_level2 a, .cmenu_level2_selected a  {	
	color:#333333;
	font-size: 12pt;
	font-weight:bold;
	text-decoration: none;
	font-variant: normal;
	margin-left:15px;
	display:block;
}


.cmenu_level2_selected a:hover {
	color:#DC2E0F;
}

.cmenu_level3 span {	
	background-image:url('images/nav_inactive_mini.png');
	background-repeat:no-repeat;	
	background-position: 5px 6px;
	display:block;
}

.cmenu_level3 a {	
	color:#333333;
	font-weight:normal;
	text-decoration: none;
	margin-left:15px;
	font-size: 10pt;
	display:block;
}

.cmenu_level3_selected span {
	background-image:url('images/nav_active_mini.png');
	background-repeat:no-repeat;	
	background-position: 5px 8px;
	display:block;
}

.cmenu_level3_selected a {	
	color:#333333;
	font-weight:normal;
	text-decoration: none;
	margin-left:15px;
	display:block;
	font-size: 10pt;
}

.cmenu_level3_selected a:hover {
	color:#DC2E0F;
}
	
	

.cmenu a:hover {
	color:#DC2E0F;
}

.cmenu_level3, .cmenu_level3_selected{
	background-color:none;
}



.main_navi .upper .selected_menu {	
	float:left;
	height:25px;
	background-color:none;
	width:184px;
	min-width:184px;
	color:black;
	text-align:left;
	background-image:url('images/valikko_lehti.png');
	background-repeat:no-repeat;	
}
.main_navi .upper .selected_menu  a{
	text-decoration: none;
	font-weight:bold;
	color:black;
	display:block;
	margin-left:25px;
	margin-top:3px;
}


.main_navi .lower {
	height:10px;
	background-image: url('images/valikko_alaviiva.png');
}

.navi_area {	
	float:left;
	background-color:none;
	width:200px;
}

.content_navi {
#	background-color:none;
	width:100%;
	min-height:250px;
}

.content_area {
	margin-left: 0px; 
	margin-right: 0px;
	text-align:left;
	background-color:none;
	min-height: 600px;
	width:100%;
}

.adds_area {
#	background-color:none ;
	width:100%;
}

.content {
	background-color:none;
	width:490px;		
	height:100%;
	float:right;
	margin-left: 90px;
	margin-right:20px;
	margin-top: 20px;
}

.footer {
	float:bottom;
	margin-top:0px;
	text-align:center;
	background-color:#E6E6E6;
	height:90px;
	vertical-align: bottom;
	font-size:10pt;
}
.footertxt {
position:relative; 
top:20px;
	font-size:10pt;
}

.footer img {
	margin-bottom: 0px;
	margin-top:0px;
	vertical-align: bottom;
	
}

a img {
	border: 0px none;
}