
/* ===================================================
  <<<   CSS-tyylitiedosto ulkoasun esittämistä varten  >>>
=================================================== */

body {
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif; 
	color: #000000;
	background: #EDF2CE;
	margin: 10px 0 0 0;
	padding-left: 4%;
	padding-right: 4%;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* =============================================
Normaalien linkkien värit
============================================= */

a {
	color: #CA7A2C;
	text-decoration: none;
}

a:hover {
	color: #C00000;
	text-decoration: underline;
}

/* =============================================
TopLinks: Sivun yläosa, jossa Sivusto-linkit
============================================= */

#topLinks {
	font-size: 0.75em;
	text-align: right;
	color: #4F6C1F;
	background: #EDF2CE;
	min-width: 810px;
	max-width: 1014px;
	margin-right: 10px;
}

#topLinks a{
	color: #4F6C1F;
	background: #EDF2CE;
	text-decoration: none;
}

#topLinks a:hover{
	color: #C00000;
	background: #EDF2CE;
	text-decoration:underline;
}


/* =============================================
PageFrame: Kehys, joka ympäröi koko sivua
============================================= */

#pageFrame {
	color: #000000;
	background: #F8FAE8 url(kuvat/layout/border_right.gif) repeat-y;
	background-position: right;
	width: 100%;  /* IE:tä varten */
	min-width: 840px;
	max-width: 1024px;
	padding: 0;
}

/* =============================================
Header: Sivun yläosan headeri
============================================= */

#header {
	text-align: right;
	color: #FFFFFF;
	background: url(kuvat/layout/headerTopLayer.gif) no-repeat;
	background-position: left;
	height: 120px;
}

#header .header_right {
	float: right; 
	border: none;
}

#headerWrapper {
	background: #818A43 url(kuvat/layout/headerWrapper.gif) repeat-x;
	background-position: left;
}

#headerBg {
	text-align: right;
	background: url(kuvat/layout/headerBgLayer.jpg) no-repeat;
	background-position: left;
	height: 120px;
}


#header h1 {
	font-family: helvetica, arial, "Nimbus Sans L", sans-serif;
	font-size: 0.9em;
	font-weight: bold; 
	margin: 0;
	padding-top: 20px;
	padding-right: 30px;
}

#header h1 a {
	color: #FFFFFF;
}

* html #header .header_right {
	float: right; 
	border: none;
	margin-right: -3px;
}

/* =============================================
TopNavigation: Navigaatiomenu
============================================= */

#topNavigation {
	color: #C00000;
	background: #EDF2CE url(kuvat/layout/border_left.gif) repeat-y;
	background-position: left;
	height: 1.9em;
	margin-right: 9px;
	padding-left: 10px;
}

/* =============================================
Wrapper: Div-elementti, jota tarvitaan ulkoasun näyttämiseen 
oikein erityisesti IE:tä varten.
============================================= */

#wrapper {
	float:left;
	width:100%;
	margin-left:-195px
}

/* =============================================
Content: Sivun varsinainen tekstisisältö (valkoisella pohjalla)
============================================= */

#content {
	color: #343434;
	background: #FFFFFF url(kuvat/layout/border_left.gif) repeat-y;
	margin-left: 195px;
	padding-left: 40px;
	padding-right: 20px;
	padding-top: 30px;
	padding-bottom: 30px;
	border-right: 1px #8DA638;
	border-right-style: dotted;
}


/* =============================================
Googlen divit
============================================= */

#GoogleHakuTulokset iframe {
	height: 1500px;
}


/* =============================================
RightArea: Oikealla oleva katkoviivalla erotettu alue
============================================= */

#rightArea {
	float: right;
	width: 160px;
	height: 100%;
	padding-right: 15px;
	padding-top: 5px;
	padding-left: 15px;
	margin-left: -30px; /* IE6:tta varten */
}

#rightArea h1{
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 0.9em;
	font-weight: bold; 
	color: #67820A;
	background: #D9E299;
	height: 20px;
	margin-left: -15px;
	margin-bottom: 10px;
	padding-top: 5px;
	padding-bottom: 3px;
	padding-left: 15px;
}

/* IE6:tta varten */
* html #rightArea h1 {
	padding-left: 25px;
	margin-left: -30px;
	width: 190px;
	height: 27px;
}


#rightArea p{
	font-size: 0.8em;
	line-height: 150%;
}

#rightArea .hakuOtsikko {
	color: #67820A;
	background: #D9E299 url(kuvat/layout/suurennuslasi.gif) no-repeat;
	background-position: 120px 1px;
}

#rightArea .hakuKentta {
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 1em;
	color: #343434;
	background: #FFFFFF;
	width: 120px;
	height: 16px;
	font-weight: bold;
}

#rightArea .hakuButton {
	border: none;
	width: 22px;
	height: 20px;
	vertical-align: bottom;
	margin-left: -3px;
}

/* IE6:tta varten */
* html #rightArea .hakuKentta {
	height: 22px;
}

/* IE6:tta varten */
* html #rightArea .hakuButton {
	margin-right: -20px;
}


/* =============================================
Footer: Sivun alaosa, jossa linkkejä
============================================= */

#footer {
	text-align: center;
	clear: both;
	font-size: 0.7em;
	color: #6D804E;
	background: #FFFFFF url(kuvat/layout/footer_left.gif) no-repeat;
	background-position: bottom left;
	height: 50px;
	margin-right: 9px;
}

#footer img{
	float: right; 
	margin-right: -10px; 
	margin-top: 1px;
}

/* IE6:tta varten */
* html #footer {
margin-right: 6px;
}

/* IE6:tta varten */
* html #footer img{
	margin-right: -13px; 
	margin-top: 1px;
	margin-bottom: -1px;
}

#footer p{
	border-top: 1px #8DA638;
	border-top-style: dotted;
	margin-bottom: 0;
	margin-left: 10px;
	margin-top: 8px;
	padding-top: 10px;
	padding-bottom: 0;
}

/* =============================================
PageBottom: Sivun alaosa, jossa viimeksi päivitetty-teksti
============================================= */

#pageBottom {
	text-align: center;
	font-size: 0.7em;
	color: #55764B;
	background: #EDF2CE;
	margin-top: 10px;
}

#pageBottom p{
	margin-top: 5px;	
	margin-bottom: 10px;
}

#pageBottom a{
	color: #4F6C1F;
	background: #EDF2CE;
	text-decoration: underline;
}

#pageBottom a:hover{
	color: #C00000;
	background: #EDF2CE;
	text-decoration:underline;
}


/* ===========================================================================
		<<< Sivun sisältöön (content) liittyvät CSS-määrittelyt  >>>
============================================================================== */

/* =============================================
External-linkit eli linkit, jotka johtavat sivuston ulkopuolelle
============================================= */

#content .external{
	color: #CA7A2C;
	background: #ffffff url(kuvat/layout/external_link.gif);
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 12px;
}

#content .external:hover{
	color: #C00000;
	background: #ffffff url(kuvat/layout/external_link.gif);
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 12px;
}


/* =============================================
Varsinaisen tekstisisällön tekstin koko ja riviväli
============================================= */

#content p, #content ul, #content ol, #content table {
	font-size: 0.8em;
	line-height: 1.5em;
}

#content ul ul {
	font-size: 1.0em;
	line-height: 1.5em;
}

#content pre {
	font-size: 0.8em;
	font-family: monospace, sans-serif, helvetica, arial, verdana;
	line-height: 1.2em;
	color: #343434;
	background: #EBEBEB;
	border: 1px solid #CCCCCC;
	padding: 5px;
}


/* =============================================
Otsikkotyylit: h1, h2 ja h3 (muita otsikkotyylejä ei ole)
============================================= */

#content h1, #content h2 {
	clear:left;
	font-family: helvetica, arial, "Nimbus Sans L", sans-serif;
	font-weight: bold; 
	letter-spacing: -1px;
	color: #666;
	background: #ffffff;
	border-bottom: 1px solid #D9E299;
	padding-top: 10px;
	padding-bottom: 3px;
}

#content h1 {
	font-size: 1.2em;
	background: #ffffff url(kuvat/layout/otsikkoNelio1.gif);
	background-repeat: no-repeat;
	background-position: 0 0.8em;
	padding-left: 12px;
}

#content h2 {
	font-size: 1.1em;
	background: #ffffff url(kuvat/layout/otsikkoNelio2.gif);
	background-repeat: no-repeat;
	background-position: 0 0.85em;
	padding-left: 12px;
}


#content h3 {
	font-family: helvetica, arial, "Nimbus Sans L", sans-serif;
	font-size: 1em;
	letter-spacing: -1px;
	text-decoration: underline;
	color: #666;
	background: #ffffff;
	padding-top: 5px;
	padding-bottom: 0;
}

/* H3-otsikkolle, koska muuten otsikon linkin alleviivaus näkyy harmaana. */
#content h3 a {
	color: #CA7A2C;
	background: #ffffff;
	text-decoration: underline;
}

/* Otsikkojen tyylit, jos ne ovat listassa */
#content li h1, #content li h2{
	background-image: none;
	padding-left: 0;
	padding-top: 0px;
	margin-top: 10px;
}


/* =============================================
Kuville ei haluta reunuksia ellei erikseen määrätä
============================================= */

#content img {border: none;}

/* =============================================
Sekalaisia määritteitä: Huomio-teksti, lainaus ja listapallo
============================================= */

#content big {
	font-size: 1.1em;
	font-weight: bold; 
	color: #FF0000;
	background: #ffffff;
}

#content cite {
	font-weight: bold; 
	font-style: italic;
}

#content blockquote {
	font-style: italic;
	color: #696147;
	background: #ffffff url(kuvat/layout/lohkolainaus.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	margin: 0;
	padding-left: 2em;
}

#content ul {
	list-style-image: url(kuvat/layout/listapallo.png); 
}

/* =============================================
Taulukoihin liittyviä määritteitä: reunukset, linkkien värit, 
taulukkoiden otsikot, captionit yms.
============================================= */

#content table{
	border: 1px solid #D3C4AD;
}

/* Taulukkojen sisältämäien linkkien värit */

#content table thead a {
	color: #4F552D;
	background: #D9E299;
	text-decoration: underline;
}

#content table thead a:hover{
	color: #C00000;
	background: #D9E299;
}

#content table tbody .external{
	color: #CA7A2C;
	background: #F8FAE8 url(kuvat/layout/external_link.gif);
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 12px;
}

#content table tbody .external:hover{
	color: #C00000;
	background: #F8FAE8 url(kuvat/layout/external_link.gif);
	background-repeat: no-repeat;
	background-position: center right;
	padding-right: 12px;
}

#content table td {
	color: #343434;
	background: #F8FAE8;
	padding: 3px 6px 3px 6px;
	border: 1px solid #D3C4AD;
	vertical-align: middle;
}

#content table thead td{
	font-weight: bold;
	color: #4F552D;
	background: #D9E299;
}

#content table tfoot td{
	text-align: center;
}

#content table th{
	text-align: left;
	font-weight: bold;
	color: #4F552D;
	background: #D9E299;
	padding: 3px 6px 3px 6px;
	border: 1px solid #D3C4AD;
	vertical-align: middle;
}

#content table caption {
	caption-side: bottom; 
	font-size: 0.9em;
	font-weight: bold;
	color: #4F552D;
	background: #D9E299;
	border: 1px #CCCCCC solid;
	margin-bottom: 20px;
	margin-top: 0px;
	padding: 3px 6px 3px 6px;
}


/* =============================================
Floattaavien taulukoiden (vasen/oikea)  margineita
============================================= */

#content table.taulukkoVasen {
	float: left;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 2px;
	margin-bottom: 0px;
}

#content table.taulukkoOikea {
	float: right;
	margin-left: 10px;
	margin-right: 0px;
	margin-top: 2px;
	margin-bottom: 0px;
}


/* =============================================
Tekstisisöltöön liittyvien kuvien näyttäminen reunustettuna
============================================= */

#content div.kuvaKeski, #content div.kuvaOikea, #content div.kuvaVasen {
	text-align:center;
	color: #000000;
	background: #FFFFFF;
	border: 1px #C7D569 solid;
	margin-top: 5px;
	margin-bottom: 5px;
}

#content div.kuvaKeski img, #content div.kuvaOikea img, #content div.kuvaVasen img{
	margin-left: 4px;
	margin-right: 4px;
	margin-top: 4px;
	margin-bottom: 2px;
}

#content div.kuvaVasen {
	float: left;
	margin-right: 5px;
	margin-left: 0px;
}  

#content div.kuvaOikea {
	float: right;
	margin-right: 0px;
	margin-left: 5px;
}  

#content div.kuvaKeski {
	margin-right: 5px;
	margin-left: 5px;
}  

#content div.kuvaOikeaUsea {
	float: right;
	margin-right: -5px;
}

#content div.kuvaVasenUsea {
	float: left;
	margin-left: -5px;
}

#content div.kuvaKeski p a, #content div.kuvaOikea p a, #content div.kuvaVasen p a {
	color: #FFFFFF;
	background: #D9E299;
	text-decoration: underline;
}

#content div.kuvaKeski p a:hover, #content div.kuvaOikea p a:hover, #content div.kuvaVasen p a:hover {
	color: #C00000;
	background: #D9E299;
	text-decoration: underline;
}

/* =============================================
Tasaajat, joiden avulla tasataan esim. kuva oikealla, 
jos ei kuvassa ole kuvatekstiä.
============================================= */

#content div.tasaaOikea {
	float: right;
	margin-left: 5px;
}

#content div.tasaaVasen {
	float: left;
	margin-right: 1.0em;
	vertical-align: middle;
}

/* =============================================
Tekstisisöltöön liittyvien kuvien kuvatekstien näyttäminen
============================================= */

#content div.kuvaKeski p, #content div.kuvaOikea p, #content div.kuvaVasen p {
	font-size: 0.7em;
	font-weight: bold;
	color: #4F552D;
	background: #D9E299;
	border-top: 1px #C7D569 solid;
	text-align: center;
	margin: 0;
	padding: 2px;
}



/* =============================================
Lomakkeiden taustan, fonttien/värien yms. määritelmiä
============================================= */

#content div.lomakePohja {
	color: #343434;
	background: #EDF2CE;
	margin: 10px;
	padding-left: 20px;
	padding-right: 20px;
}

#content div.lomakePohja a {
	color: #C00000;
	background: #EDF2CE;
	text-decoration: none;
}

#content div.lomakePohja a:hover {
	color: #C00000;
	background: #EDF2CE;
	text-decoration: underline;
}

/* Pyöristettyjä reunuksia varten */
#lomakePohjaTop {
	color: #000000;
	background: #EDF2CE url(kuvat/layout/roundBox_oikeaYla.gif) no-repeat top right;
	margin: 0 -20px 0 -20px;
	height: 8px;
}

/* Pyöristettyjä reunuksia varten */
#lomakePohjaBottom {
	color:#000000;
	background: #EDF2CE url(kuvat/layout/roundBox_oikeaAla.gif) no-repeat top right;
	margin:0 -20px 0 -20px;
	height: 8px;
}

/* Pyöristettyjä reunuksia varten */
img.lomakePohjaCornerLeft {
	width:8px;
	height:8px;
	border:none;
	display: block !important;
}

#content div.lomakePohja p{
	color: #343434;
	background: #EDF2CE;
	margin: 0 0 7px 0;
	padding: 0;
}

#content fieldset {
	border: 1px #65764B;
	border-style: dotted;
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 10px;
}

#content legend {
	font-family: helvetica, arial, "Nimbus Sans L", sans-serif;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: underline;
	letter-spacing: 0;
	color: #65764B;
	background: #EDF2CE;
}

#content label {
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 1.0em;
	font-weight: bold;
	color: #545252;
	background: #EDF2CE;
}

#content .lomakeKentta {
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 1em;
	color: #323232;
	background: #FFFFFF;
}

#content .lomakeMerkkilaskuri {
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-weight: bold;
	font-size: 1em;
	color: #000000;
	background: #EEEEEE;
}

#content .lomakeButton {
	font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
	font-size: 1em;
	font-weight: bold;
	color: #323232;
	background: #CCCCCC;
	height: 25px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#content .piiloLomake {
	display: none;
}


/* =============================================
Tekstin seassa olevien kuvien marginit
============================================= */

#content h3 img {
	vertical-align: middle;
	margin-left: 5px;
	margin-right: 5px;
}

#content p img {
	vertical-align: middle;
	margin-left: 5px;
	margin-right: 5px;
}

/* =============================================
Sivun mahdollisen sisällysluettelon määrityksiä
============================================= */

#content .sisallys{
	list-style-image: url(kuvat/layout/listanuoli.gif);
	line-height: 20px;
	border: 1px #8DA638;
	border-style: dotted;
	margin-top: 0px;
	margin-left: 10px;
	padding-left: 25px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 50px;
}

#content .sisallys ul{
	list-style-image: url(kuvat/layout/listanuoli.gif);
}


#content .sisallysOtsikko{
	font-family: helvetica, arial, "Nimbus Sans L", sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: -1px;
	color: #666;
	background: #FFFFFF;
	padding-bottom: 3px;
	border-bottom: none;
	margin-left: 10px;
	margin-bottom: 0px;
}


/* =============================================
Footerin linkkien värit
============================================= */

#footer a {
	color:#6D804E;
	background: #FFFFFF;
	text-decoration:none;
}

#footer a:hover {
	color:#4F6C1F;
	background: #FFFFFF;
	text-decoration:underline;
}

/* =============================================
RoundBox: Pyöristetty laatikko
============================================= */

#roundBox {
	float: right;
	color: #000000;
	background: #EDF2CE;
	margin-left: 10px;
	margin-bottom: 10px;
	padding: 0 10px 0 10px;
}

/* Pyöristettyjä reunuksia varten */
#roundBoxTop {
	color: #000000;
	background: #EDF2CE url(kuvat/layout/roundBox_oikeaYla.gif) no-repeat top right;
	margin: 0 -10px 0 -10px;
	height: 8px;
}

/* Pyöristettyjä reunuksia varten */
#roundBoxBottom {
	color:#000000;
	background: #EDF2CE url(kuvat/layout/roundBox_oikeaAla.gif) no-repeat top right;
	margin:0 -10px 0 -10px;
	height: 8px;
}

/* Pyöristettyjä reunuksia varten */
img.roundBoxCornerLeft {
	width:8px;
	height:8px;
	border:none;
	display: block !important;
}

/* Oikean pyöristetyn laatikon linkkien värit */
#roundBox a {
	color: #C00000;
	background: #EDF2CE;
	text-decoration: none;
}

#roundBox a:hover {
	color: #C00000;
	background: #EDF2CE;
	text-decoration: underline;
}

/* Oikean pyöristetyn laatikon otsikko */
#roundBox h1 {
	font-size: 1.1em;
	font-weight: bold;
	color: #65764B;
	background: #EDF2CE;
	border: none;
	padding-top: 5px;
	margin-left: 10px;
}

/* Oikean pyöristetyn laatikon listan marginit */
#roundBox ul{
	margin-left: 30px;
	margin-right: 10px;
	margin-top:  10px;
	margin-bottom: 10px;
	padding: 0;
}

