body {
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: small;
  line-height: 1.6em;
  background: orange;
}

#page {
  min-width: 53em;
  max-width: 66em;
  margin-left: auto;
  margin-right: auto;
}

#tabs {
    margin: 1em;
}

#tabs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#tabs li {
    float: left;
    border: 1px solid #bbb;
    border-bottom-width: 0;
    margin: 0;
}

#tabs a {
    text-decoration: none;
    display: block;
    background: #eee;
    padding: 0.24em 1em;
    color: hsla(30, 100%, 30%, 1);
    width: 8em;
    text-align: center;
}

#tabs a:hover {
    background: hsla(0, 0%, 50%, 1);
    color: white;
}

#tabs #selected {
    border-color: white;
}

#tabs #selected a {
    position: relative;
    background: white;
}

#tabs #selected a:hover {
  color: hsla(30, 100%, 30%, 1);
}

#content {
    padding: 1em;
    margin: 1em;
    clear: both;
    background: white;
}

h1, h2 {
  font-weight: normal;
  color: #cc6600;   /* Orange */
  border-bottom: thin dotted #888888;
}

/* Specify the font sizes of other elements relative to the body font size
 * using em or %. */
h1 {
  /* A bit smaller than the default, so that it doesn't overwhelm the body text 
   * and the page in size */
  font-size: 150%;
}

h2 {
  /* A bit smaller than default, like h1, good size compared to h1 */
  font-size: 120%;
}

#header {
  background: white;
  padding: 1em;
  margin: 1em;
}

#header h1 {
  font-weight: normal;
  color: #cc6600;   /* Orange */
  border: none;
}

#footer {
  background: white;
  padding-left: 1em;
  padding-right: 1em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin: 1em;
  line-height: 1em;
}

#footer p {
  font-size: x-small;
  color: grey;
}

.change {
  color: red;
}

.gone {
  color: grey;
}

th {
  padding-left: 1em;
  padding-right: 1em;
}

td {
  padding-left: 1em;
  padding-right: 1em;
}

#content a[href$=".pdf"] {
  display: block;
  /* PDF-ikonin korkeus, jotta ikonin kuva ei leikkaudu */
  min-height: 16px;
  /* 16 px leveä ikoni tulee taustakuvaksi, joten sille tarvitaan tila. */
  padding-left: 20px;
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-image: url(images/pdficon_small.png);
}
