table.calendar * {padding: 0; margin: 0;}
table.calendar {
  background: url(/im/block_bg.png) repeat-x 0 0 #fff; border: 1px solid #d1d1d1;
  padding: 0 10px;
  font-size: 12px;
  text-align: center;
  /*prevent user from selecting text in Mozilla & Safari - check calendar constructor for IE code)*/
  -moz-user-select: none;
    /*-khtml-user-select: none;*/
}
table.calendar input {
  color: #000;
  font-size: 10px;
  border: 0;
}
.checkarr_r { background: url("/im/arr.png") no-repeat 50% 50%; width: 17px; cursor: pointer;}
.checkarr_l { background: url("/im/arr_.png") no-repeat 50% 50%; width: 17px; cursor: pointer;}
.check_clear { background: #fff; width: 90px; cursor: pointer;}

table.calendar select {padding: 0 3px; margin: 0 5px; background: #fff; border: 1px solid #e0e0e0; color: #666; font-size: 11px;}
table.calendar td {
  border: 0;
  text-align: center;
}
div.mainheading {
  padding: 3px 0 12px 0;
}
table.caldayheading {
  cursor: pointer;
  width: 100%;
}
table.caldayheading td {
  color: #999;
}
table.caldayheading td.wkhead {
}
table.calcells {
  border-collapse: collapse;
  cursor: pointer;
  width: 100%;
  margin: 5px 0 10px 0;
}
table.calcells td {
  color: #000;
  height: 15px; /*IE doesn't like ems*/
}
table.calcells td div {
  padding: 1px;
  margin: 0;
}
table.calcells td.wkhead {
  background: #000;
  text-align: center;
  color: #0062c6;
}
table.calcells td.wkday {
  background-color: ;
}
table.calcells td.wkend {
  background-color: ;
}
table.calcells td.curdate {

}
table.calcells td.cell_selected {
  background: #d1d1d1;
  color: #000;
}
table.calcells td.notmnth {
  color: #666;
}
table.calcells td.notallowed {
  background: #ccc;
  color: #999;
  font-style: italic;
}
table.calcells td.hover {
  background: #0062c6;
  color: #fff;
}