table.results{
  border-left:1px solid black;
  border-top:1px solid black;
  background:white;
  margin-top:10px;
}
table.results td{
  white-space:nowrap;
  border-right:1px solid black;
  border-bottom:1px solid black;
  padding-left:3px;
  padding-right:3px;
  padding-top:2px;
  padding-bottom:2px;
}
td.cell   { background:#ffffff;}
td.cell_2 { background:#efefef;}
td.solved   { background:#ffffff;}
td.solved_2 { background:#efefef;}
td.penalty   { background:#ffffff;}
td.penalty_2 { background:#efefef;}
td.score   { background:#ffffff;}
td.score_2 { background:#efefef;}

td.contest, td.problem, td.problem_duty { text-align:center;}
td.problem { background:#ffffff;}
td.problem_duty { background:#635ddd;}

td.ac, td.ac_2, td.wa, td.wa_2, td.pending, td.pending_2, td.styleErr, td.styleErr_2 {
  text-align:center;
}

td.ac   { background:#aaffaa;}
td.ac_2 { background:#8cff8c;}
td.wa   { background:#ffaaaa;}
td.wa_2 { background:#ff8c8c;}
td.pending   { background:#ffffaa;}
td.pending_2 { background:#ffff8c;}
td.none   { background:#ffffff;}
td.none_2 { background:#efefef;}
td.styleErr   { background:#aaaaff;}
td.styleErr_2 { background:#8c8cff;}
td.disqualified { background:#000000;}

td.mark3m { text-align:center;}
td.mark3  { text-align:center;}
td.mark3p { text-align:center;}
td.mark4m { text-align:center;}
td.mark4  { text-align:center;}
td.mark4p { text-align:center;}
td.mark5m { text-align:center;}
td.mark5  { text-align:center;}
td.mark5p { text-align:center;}

td.mark3m { background:#FF0000;}
td.mark3  { background:#FF3300;}
td.mark3p { background:#FF6600;}
td.mark4m { background:#FFFF00;}
td.mark4  { background:#CCFF00;}
td.mark4p { background:#99FF00;}
td.mark5m { background:#66FF00;}
td.mark5  { background:#33FF00;}
td.mark5p { background:#00FF00;}

td.none, td.none_2, td.solved, td.solved_2, td.weight, td.penalty, td.penalty_2, td.score, td.score_2 {
    text-align: center;
}
table.results td.name{
  padding-right:10px;
}
td.weight{
  font-weight: bold;
}
td.probstat{
   text-align: right;
}
small{
    font-size:10px;
}

td.col_head {
    text-align: center;
    cursor: pointer;
}
td.col_head:hover {
    background-color: pink;
}
td.col_head_no {
    text-align: center;
}

span.group_off {
    border: 2px groove gray;
    background-color: lightgray;
    cursor: pointer;
}

span.group_on {
    border: 2px ridge gray;
    background-color: lightgreen;
    cursor: pointer;
}

