* {
	margin: 0px;
	padding: 0px;
}

body {
	font-family: Calibri, "Trebuchet MS", Tahoma, Arial, Sans-Serif;	
	background: url('../images/bg.jpg') repeat-x #599687;
	font-size: 13px;
	color: #000;		
}

h1, h2, h3, h4, h5, h6 {
	color: #041A65;	
	}

h1 {
	font-size: 21px;
	margin-bottom: 5px;
}

h2 {
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 7px;
}

h3 {
	margin-bottom: 10px;
	}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

p {
	margin: 5px 0px 10px 0px;
}

p.info {
	background: url('../images/information.png') no-repeat;
	padding-left: 20px;
	color: #A7A7A7;
	font-style: italic;
}

div.hr {
	width:100%;
	border-top: 1px solid #041A65;
	margin-top:15px;
	margin-bottom:5px;
	}

#container {
	width: 1180px;
	margin: 0px auto;
	margin-top: 10px;
	text-align: left;
	border: 2px solid #C2C2C2;
	background-color: #FFFFFF;
}

#topimage {
	width: 1100px;
	height: 108px;
	background-image: url('../images/header.jpg');
}

#loginform {
	width: 300px;
	margin: auto;
	text-align: center;
}

		
#menu {
	width: 600px;
	position:relative;
	top:76px;
	left:5px;
	float:left;
}

#menu ul {
	margin-left: 5px;
}

#menu li {
	list-style-type: none;
	height: 25px;
	text-align: center;
	float: left;
	line-height: 25px;
}

#menu li a {
	padding: 2px 20px 5px 5px;
	font-size: 15px;
	text-decoration: none;
	margin-top: 0;
	display: block;
	color: #C0C8D6;	
	font-weight:bold;
}

#menu li a.active {
	color: #FFFFFF;
	border-left: 10px solid #5A9688;
}

#menu li a:hover {
	text-decoration: underline;
}

#kirjautunut {
	width:270px;
	float: right;
	display:block;
	margin: 30px 10px 0px 0px;
}

#kirjautunut p {
	font-size: 14px;
	color: #041A65;
	line-height:1.3em;
}

#kirjautunut a {
	font-weight:bold;
	font-size: 16px;
	color: #FFFFFF;
}

#content {
	min-height: 500px;
	width: 1150px;
	margin: 10px 15px;
}

#buttons {
	width: 1150px;
	height: 32px;
}

#main {
	width: 1120;
	padding:10px;
	min-height: 400px;
	border: 2px solid #5A9688;
}

#main_tulostus {
	padding:10px;
}



#main .eventbox{
	width: 580px;
	padding: 10px 10px 10px 20px;
	float:left;
}

#main .calendarbox{
	width: 400px;
	padding:10px;
	float: left;
}


#footer {
	width: 1100px;
	height:30px;
	background-image: url('../images/footer.jpg');	
}

.clear{
	clear: both;
	}

/* sininen taulukko v�reill� */	
	
table.basic {
	border-collapse: collapse;	
	border: thin solid #C0C0C0;
	}
	
table.basic th{
	background-color: #041A65;
	color: #CFD5DF;
	padding: 5px 5px 5px 5px;
	border-right: 1px solid white;	
	}

table.basic th a{
	color: #CFD5DF;
	}

table.basic td{
	border-right: 1px solid #C0C0C0;
	padding: 5px 5px;	
	}

.odd {
	background-color: #E9E9E9;
	}			

/* mm. tasakokoiset solut basic2*/	
	
table.basic2 {
	border-collapse: collapse;	
	border: thin solid #C0C0C0;
	clear:both;
	}
	
table.basic2 th{
	background-color: #041A65;
	color: #CFD5DF;
	width:68px;
	padding: 3px 2px 3px 5px;
	border-right: 1px solid white;
	overflow: hidden:	
	}

table.basic2 th a{
	color: #CFD5DF;
	}

table.basic2 td{
	border-right: 1px solid #C0C0C0;
	padding: 5px 5px;
	overflow: hidden:		
	}	
	
.hallinta_menu {
	margin-left:30px;
	}	

	
.hallinta_kayt {
	float:left;
	padding:15px;
	}	

table.norm {
	margin-top:5px;
	border-collapse: collapse;
}

	table.norm th {
		padding: 10px 10px;
	}

	table.norm td {
		vertical-align: top;
		padding: 2px 10px 5px 10px;
	}
	
			
.smallbutton {
	background: url('../images/button.jpg') no-repeat;	
	color: white;
	margin: 6px 10px 6px 10px;
	font-weight: bold;
	padding: 3px 10px 3px 10px;
	font-size: 13px;
}

		
.button {
	background: url('../images/button.jpg') no-repeat;	
	color: white;
	margin: 5px 10px 0px 0px;
	font-weight: bold;
	padding: 6px 10px 6px 10px;
	display: block;
	float: left;
	font-size: 13px;
}

/* submit */	


input[type=submit] {
	background: url('../images/button.jpg') no-repeat;	
	color: white;
	margin-top: 15px;
	margin-bottom: 10px;	
	font-weight: bold;
	padding: 3px 8px 3px 8px;
}


/* formkent�t */

div.lomake {
    margin: 10px;
}

label {
    display: block;
    padding-top: 10px;
    padding-right: 10px;
}

input {
}

div.rivi {
    display: inline;
}

fieldset {
    padding: 10px;
    margin-top: 10px;
    border: thin solid #C0C0C0;
}

legend {
    font-weight: bold;
}

div.puuttuu {
    color: red;
}

.attention {
	color: blue;
	}

/* Tapahtumakalenteri */


h3.eventsheader{
	color: #000000;
	margin-left: -20px;
	font-size:18px;
	}

table#calendar
{
	width: 400px;
	border: 1px solid #c0c0c0;
	color: #000;
	background: #EDEDED;	
}

table#calendar caption
{
	background: url('../images/footer.jpg') no-repeat;
	margin: 2px auto 0px auto;
	padding: 4px 0 4px 0;
	color: #fff;
	font-size:14px;	
}

table#calendar caption a
{	
	color: #fff;
	text-decoration: none;
	padding: 0px 5px 0px 5px;
}

table#calendar td, table#calendar th
{
	padding: 3px 5px;
	text-align: center;	
}


table#calendar td a
{
	text-decoration: none;
	padding: 3px 3px;
	background: #5A9688;
	color: white;
	font-weight: bold;
	font-size:13px;		
}

table#calendar th
{
	font-weight: bold;
	font-size:1.2em;	
}
