body {
    background-color:  #eee;
}

img {
    border:0;
}

form.small select {
    font-size: x-small;
}

#kopiointi {
    border: 1px solid black;
}

#kopiointi a {
    font-size: x-small;
    text-decoration: none;
    color: black;
}

#acno {
position: absolute;
top: 0px;
left: 0px;
background: #FF0000;
visibility: hidden;
font-size: small;
padding: 2px;
}
#odota {
position: absolute;
top: 0px;
left: 0px;
background: #FFFF00;
visibility: hidden;
font-size: small;
padding: 2px;
}

#tayttonapit {
position: absolute;
top: 7px;
right: 3px;
}

#tayttonapit form {
    display: block;
    float:left;
}

#tayttonapit ul {
    display: block;
}

#napit_apuikkuna {
position: absolute;
top: 10px;
right: 3px;
width: 130px;
}

.macnappi {
text-align: right;
line-height:normal;
float:left;
font-size: 12px;
}

.macnappi ul {
margin:0;
padding:0;
list-style: none;
}

.macnappi li {
margin-left: 5px;
padding: 1px 9px 0px 9px;
float: left;
background: url("/images/nappi_left.gif") no-repeat left top;
padding: 0px 0px 2px 9px;
}

.macnappi a {
margin: 0px;
padding: 1px 9px 4px 0px;
background: url("/images/nappi_right.gif") no-repeat right top;
float: left;
display: block;
text-decoration: none;
color: black;
}
/* Commented Backslash Hack
   hides rule from IE5-Mac \*/
.macnappi a {float:none;}
/* End IE5-Mac hack */


a.nappula:hover {
  background-color: white;
}


a.muokkausLinkki {
  border-left: 1px solid #999;
  border-top: 1px solid #999;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  padding-left: 1px;
  padding-right: 1px;
  font-size: 60%;
  text-decoration: none;
  color: black;
  background-color: #CCFFFF;
      white-space: nowrap;
}

a.nappi {
  border-left: 1px solid #999;
  border-top: 1px solid #999;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 90%;
  text-decoration: none;
  color: black;
  background-color: #CCFFFF;
}

.summa {
  font-weight: bold;
  background-color: #CCCCCC;
  font-size: 110%;
}

#harjoitukset {
  width: 100%;
  border: 1px ;
  border-style: solid;
  border-color: #000;
  border-collapse: collapse;
}
#harjoitukset th {
  background-color: #CCCCCC;
}
#harjoitukset img {
}
#klo {
    position: absolute; 
    right: 20px;
    top: 28px;
    color: #000;
    font-size: 80%;
}
.raportti {
  border: 1px solid #000;
  border-collapse: collapse;
}

.raportti th {
  background-color: #CCCCCC;
}

.arvio {
    color: #666;
}

tr.suunnitelma {
    color: #666;
}
tr.suunnitelma_tehty {
    color: #060;
}
tr.suunnitelma_jai_tekematta {
    color: #600;
}
table.harjoitukset {
    font-size: small;
    width: 100%;
}
table.harjoitukset td {
    font-size: medium;
    white-space: nowrap;
    width:1%;
}
table.harjoitukset td.osaharjoitukset {
    font-size: xx-small;
    white-space: nowrap;
    text-align:right;
    width: 20%;
}
table.harjoitukset td.selite {
    font-size: small;
    white-space: normal;
    width: auto;
}
table.harjoitukset td.yht {
    font-size: medium;
    text-align: right;
    width: 7%;
}
table.harjoitukset td.muokkausnapit {
    width:1%;
}


.raportinMuokkaus {
  border: 1px ;
  border-style: solid;
  border-spacing: 0px;
  border-collapse: collapse;
}
.raportinMuokkaus td {
  text-align: center;
  border: 1px ;
  border-style: solid;
  border-spacing: 0px;
}
.raportinMuokkaus th {
  text-align: left;
  border: 1px ;
  border-style: solid;
  border-spacing: 0px;
}
.raportinMuokkaus tr:hover {
  background-color: #FFF;
}

td.noborder {
  border-width: 0px 0px 0px 0px ;
}

#alaraportti {
    width: 100%;
    border-top:2px solid black;
    border-collapse: collapse;
}
#alaraportti td {
    vertical-align: middle;
    border:1px solid black;
    padding-top:2px;
    text-align:center;
}
#alaraportti th {
    border:1px solid black;
    padding:0px;
    font-size: 80%;
}
#alaraportti form {
    margin:0;
    padding:0;
}


table.kayttajatiedot th {
    text-align: right;
    width: 33%
}
table.raportinMuokkaus th {
    background-color: #DDDDDD;
    text-align: right;
}
table.raportinMuokkaus {
    font-size: 80%;
}

#osaharjoitukset label {
    font-size: x-small;
    margin:0;
}
#osaharjoitukset input {
    font-size: x-small;
    text-align: right;
    margin:0;
}
#osaharjoitukset select {
    font-size: x-small;
    margin:0;
}

#osaharjoitukset div {
    background-color: #DDD;
    padding: 2px;
}
#osaharjoitukset div.yks {
    padding: 0;
    padding-left: 15px;
    display: none;
}
#osaharjoitukset img {
    padding-right: 3px;
}

#tallennusnapit {
    background-color: #DDD;
    margin-top:20px;
    padding: 5px;
    border: 1px solid gray;
}

td.a_right {
    text-align: right;
    border: 1px solid red;
}

#hrm_lataus {
    width:35%;
    float:right;
    background-color: #DDD;
    margin:3px;
    padding: 5px;
    border: 1px solid gray;
}
textarea.kuvaus {
    width: 100%;
    height: 100px;
}

/** CSS for rewritten harjoitus table */
#harjoitukset td,
#harjoitukset th {
    border: 1px solid black;
}
table.paiva {
    width: 100%;
}

#harjoitukset .sunday th,
#harjoitukset .sunday td {
    border-bottom: 3px solid black;
}

#harjoitukset table.paiva td {
    border: 0;
}
table.paiva td.time,
table.paiva td.duration {
    width: 1%;
    white-space: nowrap;
}
table.paiva td.duration {
    padding-left: 5px;
}
table.paiva td.kuvaus {
    font-size: small;
}

th.today {
    text-decoration: underline;
}

table.paiva td.osaharjoitukset li {
    list-style: none;
    text-align:right;
    font-size: xx-small;
    white-space: nowrap;
}
table.paiva td.osaharjoitukset ul {
    margin:0;
    padding:0;
    margin-left:5px;
}
table.paiva td.muokkausnapit {
    white-space: nowrap;
    width:1%;
}

