/* CSS www.tuomas.salste.net */

BODY { 
   margin: 0 1ex 1ex 103px;

   background: white url("left.jpg");
   background-repeat: no-repeat;
   background-position: top left;
   background-attachment: fixed;
   font-size: 75%;
}
BODY, TABLE, H2 A, TABLE.julkaisuja H2 {
   font-family: verdana,arial,helvetica,sans-serif;
}
TABLE {
   /* Firefox requires this to inherit font size to tables */
   font-size: 100%;
}
BODY, TABLE {
   line-height: 1.5;
}
PRE, TT, CODE { font-size: 110%; }

H1, H2, H3, H4, I, EM, CITE {
   font-family: 'Palatino Linotype', Palatino, 'Zapf Calligraphic', 'Book Antiqua', 'Times New Roman', Times, serif;
}
I, EM, CITE { font-size: 115%; }

H1, H2, H3, H4 { font-weight:bold; }
H1 {
   font-size: 200%;
   margin-top: 10pt; margin-bottom: 1ex; 
   color: #2D5C18;
   border-bottom: 1px solid #2D5C18;
   text-align: left;
   font-variant:small-caps; 
   padding-left: 0ex;
   padding-bottom: 3px; 
}


H2 { font-size: 155%; }

H3 { font-size: 138%; }

H4 { font-size: 115%; }


/* Links */
A:link    { COLOR: #2D5C18; }
A:visited { COLOR: #864; }
A:hover, A:active { COLOR: #f60; }

/* Superscript link without underline */
SUP A:link, SUP A:visited { text-decoration: none; margin-left: 0.2ex; padding-left: 0.5ex; padding-right: 0.5ex;}

/* Link filetype */
.filetype { color: #c60; font-weight: normal; font-size: 90%;  }


TH.vihrea, TD.vihrea {
   color: white;
   line-height: 1.3em;
   font-weight: bold; 
   background-color: #2D5C18;
   text-align: left;
}
TR.vihrea2 {
   background-color: #d1dbc8; 
}

P.addr { text-align: left; margin: 2em 0 1em 0; border-top: 1px solid #2D5C18; padding-top: 1ex; padding-left: 0.5ex; }
P.addr IMG { width: 123px; height: 11px; }

P.URN { font-size: smaller; text-align: right; margin: 1em; color: #666666; }

P.caption { text-align: center; font-family: 'Trebuchet MS',sans-serif; color: #333333; margin-top: 0.1ex; margin-bottom: 0.1ex; }

P.indent { margin-left: 3em; margin-right: 3em; }

IMG.doc   { 
 border-top: 1px solid #cccccc; 
 border-left: 1px solid #cccccc; 
 border-right: 1px solid #333333; 
 border-bottom: 1px solid #333333;
}


TABLE.pic { border: outset 2px #ccc; background: #F2F0E8; margin-right: 0.5ex; margin-left: 1em; }
TABLE.pic TD { padding: 10px 5px 5px 5px;    background: #F2F0E8; text-align: center; }
TABLE.pic IMG { border: solid black 2px; margin-left: 3px; margin-right: 3px; }


/* index.html */
TABLE.main TD.en { border-right: 1px solid black;  }
TABLE.main TD.fi { padding-left: 1ex; padding-right: 1em }
TABLE.main TR.small { font-size: 92% }
TABLE.main { border-collapse: collapse; }
TABLE.main TR { vertical-align: top }
TABLE.main TR.contents TD, TABLE.main TR.links TD  { padding-top: 1ex; padding-bottom: 1ex }
TABLE.main TD { padding: 0 1em 0 1ex; }
TABLE.main TD.nopad { padding: 0; }
TABLE.main TD P.addr { margin-right: 0; margin-top: 4em; }

@media print {
   /* Hide left side decoration from print-outs */
   BODY { margin-right: 0; background-image: none; margin-left: 0; }
   H1 { margin-top: 0; }
   H3 { font-style: italic; }

   /* Legible body font */
   BODY, TABLE, H2 A, TABLE.julkaisuja H2 { 
      font-family: 'Palatino Linotype', Palatino, 'Zapf Calligraphic', 'Book Antiqua', 'Times New Roman', Times, serif; 
   }
   /* Same font, restore size */
   I, EM, CITE { font-size: 100%; }

   /* Images and image captions */
   TABLE.pic { border: 0; background-color: white; margin-right: 0; }
   TABLE.pic TD { background: none; }
   TABLE.pic IMG { margin-right: 0; margin-left: 0; }
   P.caption { color: black; font-size: 90%; font-style: italic; }

   BODY:after { content: 'www.tuomas.salste.net'; text-align: center; }
   A.extlink:after { content: " (" attr(href) ")"; padding-left: 1ex; }
}


html {
   scrollbar-face-color: #d1dbc8;    /* Green scrollbar */ 
}

