/* The main calendar widget.  DIV containing a table. */

.calendar, .calendar table   { color: #000; font-size: 11px; font-family: tahoma, verdana, sans-serif; background: #fff; cursor: default; border-style: none }

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
}

.calendar .nav  { background: #fff url(menuarrow.gif) no-repeat 100% }

.calendar thead .title  { color: #fff; font-weight: bold; background: #D1040D; text-align: center; padding: 2px }

.calendar thead .headrow  { color: #000; background: #fff }

.calendar thead .name  { color: #000; text-align: center; padding: 2px; border-bottom: 1px solid #bfbfbf }

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #f00;
}

.calendar thead .hilite  { color: #000; background-color: #CCCCCC; padding: 1px; border: solid 1px #f40 }

.calendar thead .active  { background-color: #ffd800; padding: 2px 0 0 2px }

.calendar thead .daynames  { background: #CCCCCC }

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn  { background: #E8E8E8; padding: 2px 3px 2px 2px; border-right: 1px solid #adadad }

.calendar tbody .rowhilite td  { background: #ff0 }

.calendar tbody .rowhilite td.wn  { background: #ffd800 }

.calendar tbody td.hilite  { background: #fff; padding: 1px 3px 1px 1px; border: solid 1px #bbb }

.calendar tbody td.active  { background: #fff; padding: 2px 2px 0 }

.calendar tbody td.selected  { font-weight: bold; background: #fff; padding: 1px 3px 1px 1px; border: solid 1px #d6d6d6 }

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f00;
}

.calendar tbody td.today { font-weight: bold; }

.calendar tbody .disabled { color: #999; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow  { color: #000; background: #fff9d0; text-align: center }

.calendar tfoot .ttip  { color: #840; background: #CCCCCC !important; border-top: 1px solid #bfbfbf }

.calendar tfoot .hilite  { background: #fff9d0 !important; padding: 1px; border: solid 1px #f40 }

.calendar tfoot .active  { background: #fff9d0 !important; padding: 2px 0 0 2px }

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo  { color: #000; font-size: 90%; background: #ffe; cursor: default; display: none; position: absolute; z-index: 100; top: 0; left: 0; width: 4em; border: solid 1px #d6d6d6 }

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #fc8;
}

.calendar .combo .active  { font-weight: bold; background: #fee; border-top: 1px solid #a64; border-bottom: 1px solid #a64 }

.calendar td.time {
  border-top: 1px solid #a88;
  padding: 1px 0px;
  text-align: center;
  background-color: #fed;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm  { font-weight: bold; background-color: #fff; padding: 0 3px 0 4px; border: solid 1px #bfbfbf }

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #866;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}