@charset "utf-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	background-color: #5F7388;
	margin: 0;
	padding: 0;
	text-align: center;
	color: #000000;
}
#container { 
	width: 85%;
	min-width: 760px;
	background: #FFFFFF;
	margin: 0 auto;
	text-align: left;
	border: 1px solid #999999;
} 

#hidden {
	display: none;
}

#show_hidden {
	display: block;	
}

.hakukentta {
	background-color: #FFFFFF;
	color: #000000;
}
#header {
	padding: 0;  /* this padding matches the left alignment of the elements in the divs that appear beneath it. If an image is used in the #header instead of text, you may want to remove the padding. */
	height: 100px;
	border-bottom: 1px solid #CCCCCC;
	background-color: #FFFFFF;
} 
#header h1, #header h2, #header h3 {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; 
}

#header #logo {
	margin: 15px;
	clear: left;
	border: 0;
}

#header_left {
	float: left;
	padding: 0;
	margin: 0;
	width: 450px;
}

#header_right {
	float: right;
	font-size: 0.7em;
	padding: 0;
	width: 250px;
	margin-top: 80px;
	margin-right: 15px;
	text-align: right;
}

#sivupalkki {
	clear: both;
	float: left; 
	width: 12.5em; /* since this element is floated, a width must be given */
	background: #FFFFFF;
	padding: 10px;
	padding-top: 10px;
	margin-right: 5px;
}

#sivupalkki h3, #sivupalkki p {
	margin-left: 10px; /* the left and right margin should be given to every element that will be placed in the side columns */
	margin-right: 5px;
	padding-top: 10px;
	margin-top: 5px;
}

#sivupalkki .laatikko {
	margin-left: 10px;
	margin-right: 5px;
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #CCCCCC;
	background-color: #EEEEEE;
}

#sivupalkki #valikko a, .laatikko .otsikko {
	text-decoration:none;
	font-weight: normal;
	color:#000000;
	font-size: 12px;
	font-family: Verdana, Tahoma, Arial, Helvetica;
	display:block;
	background-color: #EEEEEE;
	border-bottom: 1px solid #FFFFFF;
	padding-left: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
/*	letter-spacing: 1px;*/
}

#sivupalkki #valikko a#aktiivinen {
	font-weight: bold;
}

#sivupalkki #valikko a:hover#aktiivinen {
	font-weight: bold;
}

#sivupalkki #valikko a.alaotsikko, #sivupalkki #valikko a.alaotsikko_aktiivinen {
	text-indent: 1.5em;
	background-color: #F1F1F1;
}

#sivupalkki #valikko a.alaotsikko_aktiivinen {
	font-weight: bold;
}

#sivupalkki #valikko a:hover.alaotsikko_aktiivinen {
	font-weight: bold;
}

#sivupalkki .laatikko .otsikko {
	background: #F3F3F3 bottom repeat-x URL('valikko-otsikko.jpg');
	font-weight: bold;
	border-bottom: none;
}

#sivupalkki #valikko a:hover {
	background-color: #F5F5F5;
}

#sivupalkki .laatikko #kalenteri {
	margin: 0.8em;
}

#sivupalkki .laatikko #kalenteri, #kalenteri td, #kalenteri th, #kalenteri caption {
	font-size: 12px;
}

#sivupalkki #kalenteri #today {
	color: red;
}

#sivupalkki #haku {
	margin: 10px;
	font-size: 0.7em;
}

#tekstiosa { 
	margin: 0 20px 0 14em; /* the right margin can be given in percentages or pixels. It creates the space down the right side of the page. */
	
} 

#tekstiosa p, #tekstiosa li, #tekstiosa td, #tekstiosa td p, #alert {
	font-size: 12px;
	margin-bottom: 10px;
	margin-top: 4px;
	color: #000;
}

#tekstiosa h1, #tekstiosa h2, #tekstiosa h3 {
	margin-top: 14px;
	margin-bottom: 8px;
}

#tekstiosa h1 {
	font-size: 20px;
}

#tekstiosa h2 {
	font-size: 16px;
}

#tekstiosa h3 {
	font-size: 14px;
}

#tekstiosa h3.date {
	margin-top: 8px;
	font-size: 10px;	
	color: #666;
}

#tekstiosa h4 {
	font-size: 13px;
	margin-bottom: 6px;
}

#tekstiosa .tapahtuma {
	background-color: #F5F5F5;
	padding-left: 0.7em;
	padding-right: 0.7em;
	padding-top: 0.15em;
	padding-bottom: 0.15em;
	margin-top: 1em;
	margin-bottom: 1em;
	border: 1px solid #cccccc;
}

.tapahtuma li, #tekstiosa li {
	list-style-type:square;
}

.tapahtuma ul {
	margin-top: 0;
}

.pdf {
	border: 0;
	vertical-align:bottom;
}
#footer { 
	padding: 0 10px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background:#EDEDED bottom repeat-x URL('footer-gradient.gif');
	font-size: 11px;
	border-top: 1px solid #CCCCCC;
	text-align: center;
	color: #666666;
} 
#footer p {
	margin: 0;
	padding: 10px 0;
}

.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

a, .lnk {
	color: #3366FF;
	text-decoration: none;
}

a:visited {
	color: #3366CC;
}

a:hover, .lnk:hover {
	color: #3399FF;
	text-decoration:underline;
}

.email {
	margin-bottom: -3px;
}

#alert {
	border: 1px solid #000;
	padding: 5px;
	width: 30em;
	margin-bottom: 10px;
	margin-top: 10px;
}

.red {
	color: #FF0000;
}

.green {
	color: #00CC33;
}

h3 .date {
	margin-top: -3;
	margin-bottom: -3;
	color: #666;	
}

#virhe {
	border: 1px solid #ccc;
	padding: 5px;
	padding-left: 10px;
   	padding-right: 10px;
	width:400px;
	margin-bottom: 10px;
}
.paivitys {
	font-size: 0.75em;
}
.sponsors {
	width: 700px;
	margin-right: auto;
	margin-left: auto;
}

.sponsors img {
	float: left;
	padding: 20px;
	margin-top: auto;
	margin-bottom: auto;	
}

