/* The main calendar widget.  DIV containing a table. */
.calendar td { padding: 1px 2px; }

div.calendar { border: 1px solid #ccc; background-color: #e6e6eb; padding: 9px; position: relative; }

.calendar table {
  font-size: 11px;
  color: #000001;
  cursor: default;
  background: #e6e6eb;
  font-family: tahoma,verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  background-color: #fff;
}

.calendar .headrow .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  background-color: #9999a3;
}

.calendar .nav {
  background: #9999a3 url(../img/menuarrow_vwp.gif) no-repeat 100% 100%;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  background: #fff;
  color: #000001;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #9999a3;
  color: #fff;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #dadae2;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  background: #dadae2;
  text-align: center;
  color: #000001;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
	color: #9999a3;
}

.calendar thead .headrow .hilite { /* How do the buttons in header appear when hover */
  background-color: #f2f2f6;
  color: #000001;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #dadae2;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day, .calendar tbody .emptycell { /* Cells <TD> containing month days dates */
	background-color: #e6e6eb;
  width: 2em;
  color: #000001;
  text-align: right;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
  background: #dadae2;
}

.calendar tbody .rowhilite td {
  background: #f2f2f5;
}

.calendar tbody .rowhilite td.wn {
  background: #e6e6eb;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #dadae2;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  background: #fff;
  color: #000001;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
	color: #9999a3;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #f00;
}

.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 { /* The <TR> in footer (only one right now) */
  text-align: center;
  background: #556;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #fff;
  color: #445;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #f2f2f6;
  color: #000001;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #dadae2;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  background: #f2f2f5;
  color: #000001;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #dadae2;
}

.calendar .combo .active {
  background: #e6e6eb;
  font-weight: bold;
}

.calendar td.time {
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  font-weight: bold;
}

.calendar td.time span.hilite {
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  background-color: #000001;
  color: #0f0;
}
