p.efem_selgitus {
  font-size: 0.8em;
  line-height: 1.5em;
}

table.efem td, table.efem th {
  padding: 2px 5px;
  background-color: #e8e8e8;
  /*background-color: #f0f0f0;*/
  white-space: nowrap;
  font-size: 0.9em;
}

table.efem td {
  text-align: right;
  font-family: monospace;
}

table.efem tr:hover td {
  background-color: #d8d8d8;
  /*background-color: #dddddd;*/
}

table.efem .ef_planeet {
  background-color: #d8e1eb;
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  text-align: left;
}

table.efem .ef_tk {
  text-align: center;
}

table.efem .ef_kp {
  background-color: #d8e1eb;
  /*background-color: #e4e8f0;*/
}

table.efem .ef_kell {
  background-color: #eeeecc;
  /*background-color: #f0f0c0;*/
  /*background-color: #ececdc;*/
}

table.efem .ef_koord {
  background-color: #f0e0e4;
  /*background-color: #ece4ec;*/
}

table.efem .ef_as {
  background-color: #ddeedd;
  /*background-color: #ccf5cc;*/
  /*background-color: #d8f8c8;*/
  /*background-color: #e4f0e4;*/
}

table.tahtkuju td, table.tahtkuju th {
  padding: 2px 5px;
  background-color: #f0f0f0;
  white-space: nowrap;
}

table.tahtkuju th {
  font-size: 0.8em;
  color: #002222;
  text-align: center;
}

table.tahtkuju td {
  font-size: 0.9em;
  text-align: left;
  vertical-align: middle;
}

table.tahtkuju tr.tk_mitten td {
  background-color: #f0f5f0;
}
table.tahtkuju tr.tk_mitten:hover td {
  background-color: #d5d5d5;
}

table.tahtkuju tr.tk_nahtav td {
  background-color: #a5d5f6;
}
table.tahtkuju tr.tk_nahtav:hover td {
  background-color: #8bbbdf;
}

table.tahtkuju tr.tk_loojuv td {
  background-color: #ccf5cc;
}
table.tahtkuju tr.tk_loojuv:hover td {
  background-color: #b0d0b0;
}

table.tahtkuju td.number, table.maakuu td.number, tbody.planeedid td {
  text-align: right;
  font-family: monospace;
}

table.tahtkuju td.paremale {
  text-align: right;
}

table.tahtkuju td.keskele {
  text-align: center;
}

table.tahtkuju td.vasakule {
  text-align: left;
}

table.tahtkuju img {
  margin: 0 5px;
  border: none;
  vertical-align: middle;
}


table.tahtkuju td.pname, table.maakuu th.pname {
  font-weight: bold;
  text-align: left;
}

table.tahtkuju td.metname {
    text-align: left;
    font-family: Verdana, Arial, sans-serif;
}

table.tahtkuju th.vertikaalne {
  font-size: x-small;
  font-variant: small-caps;
  text-align: center;
  line-height: 80%;
  padding-right: 10px;
  padding-left: 10px;
}


table.maakuu_bound td {
  vertical-align: top;
  padding: 2px 2px;
}

table.maakuu {
  border: 2px solid #808080;
}

table.maakuu th {
  padding: 2px 5px;
  background-color: #f0f0f0;
  font-size: 1.1em;
}

table.maakuu td {
  font-size: 0.9em;
  padding: 2px 5px;
  background-color: #ededed;
  vertical-align: middle;
}
