/*
 *
 * Artikkeli
 *
 ************************************/

/*** Hederi ja footteri ***/
#artikkeli .header {
  color: #006bba;
  font-weight: bold;
  font-size: 90%;
} 

#artikkeli .footer {
  padding-top: 0.5em;
  margin-bottom: 1.5em;
  font-size: 90%;
} 

#artikkeli div.footer hr {
  width: 100%;
  border-bottom: 1px solid #cccccc;
  text-align: left;
}

div#identity, #artikkeli .header {
  color: #006bba;
  font-weight: bold;
  font-size: 80%;
  margin-bottom: 1.5ex;
}

/*** Sisällysluettelo ***/

#artikkeli div.toc, #artikkeli div.sisallys {
  background-image: none;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  margin: 1ex 0ex;
  padding: 1ex 0ex 1ex 0ex;
}

#artikkeli div.toc li {
  list-style-image: none;
  list-style-type: none;
  margin-top: 0px;
  margin-left: -1.5ex;
  padding-left: 1.5ex;
  background-image: url(/sovellukset/tk/img2/bullet.gif);
  background-repeat: no-repeat;
  background-position: 0px 50%;
}

#artikkeli a.toc:visited {
  color: #001741;
}

/*** Leipäteksti ***/

#artikkeli p {
  margin-top: 1ex;
  margin-bottom: 1ex;
}

#artikkeli p.abstrakti {
  font-weight: bold;
  color: #1E57A6;
  margin-top: 2ex;
  margin-bottom: 2ex;
  padding: 2ex;
  border: 1px solid #EBE8D9;
  background-color: #f0f5fa;
  line-height: 150%;  
}

#artikkeli div.box, #artikkeli pre {
  margin-top: 2ex;
  margin-bottom: 2ex;
  padding: 2ex;
  border: 1px solid #EBE8D9;
  background-color: #F9F8F1;
  line-height: 150%;
}

#artikkeli div.box p {
  margin: 0px;
}

#artikkeli div.aside {
  border: 1px solid #e0e0e0;
  border-left: 10px;
  background-color: #f2f2f2;
  margin: 2ex 0;
  padding: 0.5ex 1ex;
}

#artikkeli blockquote {
  font-size:100%;
  margin:0;
  padding:0;
  border:0px;
  margin-left:1.5em;
  padding:0.5em;

}

#artikkeli s {
    text-decoration:none;
}

/*** Otsikot ***/
 
#artikkeli h1, #artikkeli h2, #artikkeli h3, #artikkeli h4 {
  color: #006bba;
  margin-bottom: 1.0ex;
  margin-top:2ex;
}

#artikkeli h1 {
  font-size: 150%;
  font-weight: normal;
  line-height: 120%;
}

#artikkeli h2 {
  font-weight: normal;
  font-size: 125%;
}

#artikkeli h3 {
  font-size: 110%;
}

#artikkeli h4 {
  font-size: 90%;
}



/*** Inline-elementit ***/

#artikkeli sup, #artikkeli sub {
  font-size: x-small;
}

#artikkeli b {
  color: #1E57A6;
}

#artikkeli del {
    text-decoration:none;
}

#artikkeli em {
    font-weight:bold;
    font-style:normal;
}

/*** Taulukot ***/

#artikkeli table { 
  margin-top: 2ex;
  margin-bottom: 2ex;
  border: 0px solid #C0BEB0;
  border-collapse: separate;
  /*width: 98%;*/
}

#artikkeli caption {
  text-align: left;
}

#artikkeli tr {
  font-size: 85%;
}

#artikkeli thead, #artikkeli tr.header, #artikkeli th {
  background-color: #1E57A6;
  color: #ffffff;
}

#artikkeli .th2 {
    color:#1E57A6;
    font-weight:600;
}

#artikkeli tr.odd {
  background-color: #F8F7EF;
}

#artikkeli tr.even {
  background-color: #EBE8D8;
}

#artikkeli tfoot td, #artikkeli tr.footer td {
  border-top: 1px solid #EBE8D8;
  background-color: #F8F7EF;
}

#artikkeli td, #artikkeli th {
  vertical-align: top;
  padding:0.5em;
}

#artikkeli th {
  text-align: left;
}

#artikkeli td b {
  color: #000000;
}

#artikkeli td ul, #artikkeli td ol {
  margin: 0px;
  margin-left: 3ex;
  margin
  padding: 0px;
}

#artikkeli #footer {
  border-top: 1px solid #C6BDB5;
  padding-top: 0.5em;
  margin-top:1.0em;
  margin-bottom: 1.5em;
  font-size: 80%;
}

div#tulostusinfo {
  display: none;
}

#artikkeli .program {
    margin-top:10px;
}
/ *** Linkit ***/
a.article span.text, a.non_indexed, a.table, a.evidence, a.internet, a.cochrane_abstract, a.cochrane_review, a.reference, a.audio, a.image, a.program, a.footnote, a.extra, a.object, a.internal, a.inline_figure, a.figure, a.pubmed  {
  font-size: 75%;
  font-weight: bold;
  padding: 0px 5px 0px 5px;
  letter-spacing: -0.05em;
  background-image: none;
  color: #ffffff !important;
}

a span.text {
  font-size: 75%;
  font-weight: bold;
  padding: 0px 5px 0px 5px;
  letter-spacing: -0.05em;  background-image: none;  color: #ffffff !important;
}

a.article span.text:hover, a.non_indexed:hover, a.table:hover, a.evidence:hover, a.internet:hover, a.cochrane_abstract:hover, a.cochrane_review:hover, a.reference:hover, a.audio:hover, a.image:hover, a.internal:hover, a.program:hover, a.footnote:hover, a.extra:hover, a.object:hover, a.inline_figure:hover, a.figure:hover, a.pubmed:hover { 
  text-decoration: none !important;
  color: #ffffff !important;
}

a.table:hover, a.image { 
  color: #000000;
}

a.article:visited, a.non_indexed:visited, a.table:visited, a.evidence:visited, a.internet:visited, a.cochrane_abstract:visited, a.cochrane_review:visited, a.reference:visited, a.audio:visited, a.image:visited, a.program:visited, a.footnote:visited, a.extra:visited, a.object:visited, a.inline_figure:visited, a.figure:visited, a.pubmed:visited { 
  text-decoration: none;
}

a.table:visited, a.image { 
  color: #000000;
}


a.table {
  color: #000000;
  background-color: #ffcc66;
}

a.image {
  color: #000000;
  background-color: #dddddd;
}

a.article span.text, a.non_indexed {
  background-color: #0099aa;
}

a.evidence {
  background-color: #cc0000;
}

a.internet, a.cochrane_abstract, a.cochrane_review, a.pubmed {
  background-color: #3399cc;
}

a.reference {
  background-color: maroon;
}

a.audio {
  background-color: #003366;
}

a.program {
  background-color: #9900ff;
}

a.footnote, a.inline_figure, a.object, a.figure {
  background-color: #336699;
}

a.extra {
  background-color: #CCAA00;
}

a.plain {
    text-decoration:underline;
}

a.internal {
  background-color: #009;
}

/* Linkkikikkailua */

a.article span.text {
  margin-left: 0.5ex;
  padding: 0px 4px 0px 3px;
}

a span.title {
  display: none;  
}  

a.article span.title {
   display: inline;
  text-decoration: underline
  background-color:#ffffff;
  color:#000000;
}

.program a {
   background-color:#006BBA;
   color:#ffffff;
   padding:5px;
}

/*** Listat ***/

#artikkeli ul, #artikkeli ol {
  margin: 0px;
  padding: 0px;
  margin-left: 3ex;
}

#artikkeli ul.nobullet li {
  list-style-image: none;
  list-style-type: none;
}



/*** Numeroidut listat ***/

#artikkeli ol.decimal {
  list-style-type: decimal;
}

#artikkeli ol.upper-alpha {
  list-style-type: upper-alpha;
}

#artikkeli ol.lower-alpha {
  list-style-type: lower-alpha;
}

#artikkeli ol.lower-roman {
  list-style-type: lower-roman;
}

#artikkeli ol.upper-roman {
  list-style-type: upper-roman;
}


/*
 *  Pikkukuvien tyylit
 *
 ************************************/
div.pikkukuva_alue { /* container, joka hoitaa rinnakkaisten kuvien float-rivityksen clearin */
  float: left;
  width: 100%;
  margin: 0.5em 0px 0.5em 0.5em;
}

div.pikkukuva_alue img.pikkukuva {
  width: 175px;
  margin: 0px 0px 0px 0px;
  float: right;
  border: none;
}

/* laatikko, jossa kuva ja sen otsikko */
div.pikkukuva_alue div.pikkukuva_kehys { 
  float: left;
  width: 320px;
  height: 120px; /* myös kuvan maksimikorkeus; jos arvo muuttuu, muista muuttaa myös rajaus-javascript */
  margin: 0px 0px 1em 50px;
  overflow: hidden;
  display: inline; /* IE6 tuplamarginaali-bugin korjaus */
}

/* kuvan otsikon tyyli */
div.pikkukuva_alue div.pikkukuva_teksti { 
  font-size: 90%;
  line-height: 125%;
  padding: 10px 0px 0px 0px;
}

div.pikkukuva_alue span.suurenna {
  font-size: 90%;
  text-decoration: underline;
  padding-right: 15px;  
  background-image: url(/sovellukset/tk/img2/suurenna.gif);
  background-repeat: no-repeat;
  background-position: 100% 25%;
}

img.pikkukuva {
    width:100px;
    height:100px; 
}




/* Muut */
div#duo-article.mat a span.title { 
  display: none
}

div#duo-article.mat ins {
  color: #cc0000;
  text-decoration: none;
}


del.exclude {
  text-decoration: none;
}

.decide-lottery {
  display: none;
}

.figure {
    margin-bottom: 2.0em;
    margin-top:2.0em;
}

.figure img {
    max-width:100%;
}

#artikkeli p.huom {
  border: 1px solid #900;
  background-color: #fcc;
  padding: 5px;
}
