/*
 *  Html, body and container
 *
 ****************************/

html, body, input, button, textarea, select {
  font-family: Georgia, Times, serif;
  font-size: 100%;
}

img {
  border: 0px;
}


/*
 *  Header functions
 *
 ***************************/

div#header {
  display: none;
}


/*
 *  Content
 *
 ***************************/

div#sisalto {
  font-size: 90%;
  line-height: 140%;
  margin-left: 4ex;
}


/*
 *  Lists
 *
 ***************************/
ul, ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style-type: square
}

li {
  margin-top: 0.5ex;
}

ul li {
  margin-left: 3ex;
}

ol li {
  margin-left: 5ex;
}


ol.decimal {
  list-style-type: decimal;
}

ol.upper-alpha {
  list-style-type: upper-alpha;
}

ol.lower-alpha {
  list-style-type: lower-alpha;
}

ol.lower-roman {
  list-style-type: lower-roman;
}

ol.upper-roman {
  list-style-type: upper-roman;
}

ul.nobullet  {
  margin-left: -3ex;
  padding-left: 0;
}

ul.nobullet li {
  list-style-image: none;
  list-style-type: none;
}




/*
 *
 *   Authors' addresses
 *
 **************************/

address {
  margin-top: 2.5ex;
  margin-bottom: 2.5ex;
  line-height: 150%;
  font-size: 85%;
  color: #003366;
}




/*
 *  Inline elements
 *
 ***************************/

sup, sub {
  font-size: x-small;
}



/*
 *  Tables
 *
 ***************************/

table {
  margin-top: 2ex;
  margin-bottom: 2ex;
  border: 1px solid #cccccc;
  font-size: 85%;
}

caption {
  text-align: left;
  padding-top: 3ex;
}

tfoot td, tr.footer td {
  border-top: 1px solid #cccccc;
  background-image: none;
}

th {
  font-weight: bold;
  border-bottom: 1px solid #cccccc;
} 

/*
 * Crumb path
 *
 ***************************/

div.duo-crumbpath a {
  text-decoration: none;
}


/*
 *  Table of contents
 *
 ***************************/

div.sisallys, div.toc {
  display: none;
}

/*
 *  Next and previous article
 *
 ***************************/

div.duo-prevnext {
  display: none;
}

/*
 *  Header and footer
 *
 ***************************/

div.header, div.footer, div#identity, div#footer {
  font-size: 85%;
  line-height: 125%;
  margin: 2ex 0;
  color: #003366;
}

div.footer, div#footer {
  padding: 1ex 0;
  padding-right: 1ex;
  border-top: 1px solid #369; 
  border-right: 1ex solid #369;
}

div.header, div#identity {
  padding: 1ex 0;
  padding-left: 1ex;
  border-bottom: 1px solid #369; 
  width: 50%;
  border-left: 1ex solid #369;
}



/*
 *  Headings
 *
 ***************************/

h1, h2, h3, h4 {
  color: #003366;
  font-weight: normal;
  line-height: 120%;
}

h1 {
  margin-top: 0.5ex;
  margin-bottom: 0ex;
  letter-spacing: -0.04em;
}

h2 {
  margin-top: 2ex;
  margin-bottom: 0.5ex;
}

h3 {
  margin-top: 1.5ex;
  margin-bottom: 0.5ex;
}

h4 {
  margin-top: 1.5ex;
  margin-bottom: 0.5ex;
}

h2 + h3, h3 + h4 {
  margin-top: 0;
}



/*
 *  Paragaphs
 *
 ***************************/

p {
  margin-top: 1ex;
  margin-bottom: 0ex;
}

p.abstrakti {
  font-weight: bold;
}


pre {
  font-size: 85%;
  line-height: 140%;
}

div.box, div.aside {
  margin: 2ex;
  padding: 0.5ex;
  border-left: 1ex solid #369;
}

div.box h2, div.aside h2 {
  margin-top: 0.5ex;
}



/*
 *    Muutosmerkinnät
 *
 ***************************/

ins {
  text-decoration: none;
}

del {
  text-decoration: none;
  /*display: none;*/
}


/*
 *  Pictures
 *
 ***************************/

div.kuva, div.figure {
  margin-top: 3ex;
  margin-bottom: 2ex;
}

div.kuva div, div.figure div {
  font-style: italic;
  margin-top: 1ex;
  border-bottom: 1px solid #000;
  padding-bottom: 1ex;
  width: 50%;
}



/*
 *  References
 *
 ***************************/

ol.kirjallisuus, ol.refs {
  margin-top: 1.5ex;
  margin-left: 2.5ex;
  line-height: 100%;
}

ol.kirjallisuus li, ol.refs li {
  font-size: 85%;
}


/*
 *  Links
 *
 ***************************/

a {
  color: #003366;
}

a.article, a.image {
  text-decoration: none;
}

a.article:after, a.image:after {
  xcontent: ' «' attr(title) '»';
  text-decoration: none;  
  color: #000;
}

a.article span.text, a.image span.text {
  display: none;
}

a.evidence {
  text-decoration: none;
  padding: 1px 2px;
  font-size: 85%;
  background-color: #990000;
  color: #fff;
}

a.reference span.title, a.evidence span.title {
  background-color: red;
  display: none;
}

a.reference {
  vertical-align: super;
  text-decoration: none;
}

a.reference:after {
  font-size: 80%;
  content: ']';
}

a.reference:before{
  font-size: 80%;
  content: '[';
}

/*
 *
 *   Media
 *
 **************************/
div.start {
  margin: 2ex 0;
}

a.start {
  text-decoration: none;
  font-weight: bold;
}

/*
 *   DB Bar
 *
 **************************/

.dbbar {
  display: none;
}

/*
 *  Algorithms
 *
 ********************/

#duo-algorithm {
  position: relative;
}

#duo-algorithm a {
  display: none;
}

#comments {
  display: none;
}

ins {
  color: #990000;
}
