/* Start of CMSMS style sheet 'heko' */
/* additions for cmssimple etc. */

div.quote { margin-bottom: 0.5em; text-indent: 0.5em; }
span.firstwords { font-variant: small-caps; font-weight: bolder; }
/* div.quote:first-letter { font-size: 200%; float: left; } 
div.quote { font-size: 12pt; line-height: 12pt } */
#allekirjoitukset pre { font-weight: bold; }
pre.ar1 { background-color: #dedde2; font-weight: bold; }
pre.r2 { background-color: white; font-weight: bold; }

#graafiset_materiaalit a { color: white; }
#graafiset_materiaalit a:hover { color: white; }
#graafiset_materiaalit img:hover { border: medium solid #61bf1a; }
#graafiset_materiaalit img { padding: 8px; border: medium solid black; }

#sitemap ul { list-style-type: none; }

div.sahkopostisigi {
    white-space: pre;
    font-family: monospace; 
    border: thin solid #61bf1a;
    margin-top: 1em; 
    margin-bottom: 1em; 
    padding-left: 1em; 
}

.nosto {
  font-size: larger;
  color: #61bf1a;
  float: right;
  width: 10em;
  text-align: right;
  padding: .5em;
  margin: 1em 0 1em 1em;
  border: 2px #61bf1a solid;
  border-left: 0;
  border-right: 0;
}

#elokuvahylly td { border: thin solid #61bf1a ; }
#elokuvah_header th { border: 0; }
#elokuvah_header tr { border: 0; }

th.summary { border-top: medium double black; }
td.summary { border-top: medium double black; }
#energiataulukko td { border: thin solid black; }
#tuotantotaulukko td { border: thin solid black; }
#ydinvoima td { border: thin solid black; margin: 0; }
#ydinvoima th { border: thin solid black; margin: 0; }

/*******
   Tule mukaan! -sivu
 *******/
h2.tue_header { font-size; larger; }
div.tue_group { display: table; }
div.tue_text { display: table-row; }
span.tue_textlabel { display: table-cell; padding-right: 5px; text-align: right; }
span.tue_text { display: table-cell; }
div.tue_explanation { line-height: 120%; color: #666; width: 34em; margin: 1em 0 1em 0; }
.tue_label { vertical-align: top; margin-right: 4px; }

/*******
   Navigaatio alkaa
 *******/
#ylanavigaatio {
        height: 38px;
}
#ylanavigaatio span {
        color: white;
        font-size: 100%;
        display: block;
        float: left;
        margin: 5px 5px 5px 5px;
}
#ylanavigaatio a {
        color: white;
        text-decoration: none;
}
#ylanavigaatio .currentpage { font-weight: bold; text-decoration: underline; }
#ylanavigaatio .activeparent { font-weight: bold; text-decoration: underline; }
#ylanavigaatio a:hover { background-color: white; color: #717070; }
#alanavigaatio a:hover { background-color: white; color: #939292; }
#alanavigaatio {
        margin: 0;
        padding: 0;
        display: block;
        width: 562px;
        min-height: 21px;
        background: #939292;
}
#alanavigaatio span {
        color: white;
        font-size: 100%;
        padding-left: 7px; padding-right: 7px; 
}
#alanavigaatio a {
        color: white;
        text-decoration: none;
}
#alanavigaatio .currentpage { font-weight: bold; background-image: url(kuvat/layout/ala-navi-valittu-bg.jpg); background-repeat: repeat-x; }
#alanavigaatio .activeparent { font-weight: bold; background-image: url(kuvat/layout/ala-navi-valittu-bg.jpg); background-repeat: repeat-x; }

#kolmasnavigaatio { padding: 5px 1em 5px 1em; line-height: 140%; border-bottom: thin dotted #61bf1a; }
#kolmasnavigaatio span { padding-right: .8em; }
#kolmasnavigaatio a:link, #kolmasnavigaatio a:active, #kolmasnavigaatio a:visited, #kolmasnavigaatio a:hover { text-decoration: none; }
#kolmasnavigaatio .currentpage { font-weight: bold; color: #61bf1a; }
#kolmasnavigaatio { width: 562px; }
/*******
   Navigaatio loppuu
 *******/


/* won't work properly on Firefox - margin-bottom is not taken into account and so the background won't scretch to fill 
all of navigation
#ylanavigaatio .currentpage { background: #939292 url(kuvat/layout/ylanavigaatio_tausta.gif) repeat-x; }
#ylanavigaatio .activeparent { background: #939292 url(kuvat/layout/ylanavigaatio_tausta.gif) repeat-x; }
*/

blockquote.with_float { border-top: none; }
h1 { font-size: 150%; }
h2 {
	font-size: 125%;
	font-family: Georgia;
	font-style: oblique;
}
h2 strong {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-style: normal;
	font-size: 110%;
	font-variant: small-caps;
	text-transform: lowercase;
	color: #248e02;
}
ul {
	padding-left: 1.2em;
}

.updated { font-size: smaller; text-align: right; border-top: thin dashed #61bf1a; }
p.top { text-align: right; }
#signature { color: #248e02; font-style: italic; text-align: right; padding-right: 30px; }
a { color: #61bf1a;  }
a:hover { color: white; background-color: #61bf1a; }
.greens { color: #61bf1a; }

div.tavoitteet { display: table; }
div.tavoite { display: table-row; }
span.kylla_ei { display: table-cell; width: 30px; }
span.tavoite { display: table-cell; padding-left: 5px; }
#search {
        text-align: right;
        font-size: small;
}
#switcher div.hidden {
       display: inline;
}
#switcher form {
       display: inline;
}

/*******
   Oikea laita
 *******/
#uutiset {
        color: white;
        width: 158px;
        margin: 5px 0 2em 0;
        padding: 0; padding-right: 6px;
}
#uutiset h2 {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-style: normal;
        border-bottom: thin white dotted;
        line-height: 120%;
        margin-top: 1em;
        margin-bottom: .6em;
}
#uutiset a { color: white; }
#uutiset a:hover { color: #61bf1a; background-color: white; }
/* #uutiset .modulerssentry:before { content: "» "; } */
#uutiset .modulerssentry { line-height: 130%; margin-top: .2em; text-indent: -1em; margin-left: 1em; }
#uutiset .modulerssentry a:link, #uutiset .modulerssentry a:hover, #uutiset .modulerssentry a:active, #uutiset .modulerssentry a:visited { text-decoration: none; }

#logoquote { /* Vaihtuva lainaus */
        border-top: thin dotted white; 
        border-bottom: thin dotted white; 
        display: block;
        width: 158px;
        margin: 10px 40px 0 0; 
        padding: .5em 0 1em 0;
        color: white;
        line-height: 120%;
}
#logoquote a { color: white; }
#logoquote a:hover { color: #61bf1a; background-color: white; }

ul { list-style-type: square; }
    blockquote { font-style: italic; }
    blockquote { border-top: thin solid silver; padding: 0.3em 0 0 0.3em; margin-left: 3em; }
.kuvitus { border: 2px solid rgb(113, 112, 112); float: left; margin-right: 30px; }
img.kuvasivu { padding: 5px; border: medium solid black; }
a.kuvasivu { color: white; }
p.print {font-size: x-small; text-align: right; float: right; }
.breadcrumbs { display: none; }
td { font-size: x-small; font-family: Verdana, sans-serif; }
th { font-size: x-small; font-weight: bold; }

/* (mostly) original from Elisa Nobe */
body {
        background: #FFF url(kuvat/layout/body-bg.jpg) repeat-y;
        margin: 0;
        padding: 0;
        font-family: Verdana, sans-serif;
        font-size: small;
        text-align: left;
	color: #333;
	line-height: 130%;
}
* html body { /* The "simplified box model hack" courtesy of Edwardson Tan */
	font-size: x-small; /* IE5/Win */
	f\ont-size: small; /* Other IE versions */
}
#wrapper {
        width: 1000px;

}
#logowrapper {
        position: absolute;
        left: 834px;
        display: block;
        width: 158px;
        margin: 0;
        padding: 0; padding-right: 5px;
        font-size: smaller;
}
#logo {
        display: block;
        width: 158px;
        height: 196px;
        margin: 0px 5px 0px 0px;
        padding: 0;
        background: top left url(kuvat/layout/vihreat.jpg) no-repeat;
}
#ylanavigaatio {
        margin: 0;
        padding: 0;
        display: block;
        width: 829px;
        height: 28px;
        background: #717070;
}
#main-wrapper {
	font-size: 85%;
        display: block;
        width: 829px;
        padding: 0;
        margin: 0;
}
#sivukuva {
        position: absolute;
        left: 562px;
        display: block;
        width: 267px;
        height: 704px;
        padding: 0;
        margin: 0;
        background: top right url(kuvat/layout/heikki-iso.jpg) no-repeat;
}
#main {
        padding: 5px 15px 15px 25px;
        margin: 0;
        display: block;
        width: 522px;
}

/* End of 'heko' */

/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

