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

.calendar {
  position: relative;
  display: none;
  border-top: 3px solid #a0d73e;
  border-right: 3px solid #a0d73e;
  border-bottom: 3px solid #a0d73e;
  border-left: 3px solid #a0d73e;
  font-size: 12px;
  color: #000000;
  cursor: default;
  font-family: arial, verdana, sans-serif;
}

.calendar table {
  font-size: 12px;
  cursor: default;
  background: #f6f6f6;
  font-family: arial,verdana,sans-serif;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
}

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

.calendar thead {
	padding: 0px;
	margin: 0px;
	height: 18px;
	line-height: 18px;
  background-color: #fff;
}

.calendar thead .prev { /* previous */
  background: url(prev.gif) top left no-repeat;
  background-color: #fff;
}

.calendar thead .next { /* next */
  background: url(next.gif) top left no-repeat;
  background-color: #fff;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 1px;
  color: #018b33;
  text-align: center;
  background-color: #fff;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */

}

.calendar thead .daynames { /* Row <TR> containing the day names */

}

.calendar thead .name { /* Cells <TD> containing the day names */
  padding: 2px;
  text-align: center;
  color: #fff;
  border-bottom: 0px solid #018b33;
  background: #a0d73e;
}
/*
.calendar thead .hilite { / * How do the buttons in header appear when hover * /

  padding: 0px;
  background-color: #c8c5bc;
}

.calendar thead .active { / * Active (pressed) buttons in header * /
  padding: 2px 0px 0px 2px;
  background-color: #c4c0b8;
}
*/

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  padding: 2px 3px 2px 3px;
  width: 1.6em;
  font-weight: bold;
  text-align: center;
}

.calendar tbody .othermonth {
  padding: 3px 3px 4px 3px;
  font-size: 80%;
  color: #919191;
}

.calendar table .wn {
  padding: 2px 3px 2px 3px;
}


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

.calendar tbody td.oweekend {
  background: #999999;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
 padding: 0px 0px 0px 0px;
 font-weight: bold;
 color: #018b33;
 border: 2px solid #018b33;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
 padding: 0px 0px 0px 0px;
 border: 2px solid #018b33;

}

.calendar tbody td.selected { /* Cell showing selected date */
 padding: 0px 0px 0px 0px;
 color: #fff;
 border: 2px solid #018b33;
 background-color: #018b33;
}

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

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
}

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

.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) */

}

.calendar tfoot .button { /* Close Bar */
  background: #a0d73e;
  padding: 1px;
  font-size: 11px;
  color: #fff;
  text-align: center;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #a0d73e;
  padding: 2px 1px 1px 1px;
  font-size: 11px;
  color: #fff;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  color: #018b33;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  color: #018b33;
  
}

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

.calendar .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;

  background: #e4e0d8;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

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

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

.calendar .combo .active {
  background: #c4c0b8;
  padding: 0px;

}

.calendar .combo .hilite {
  background: #048;
  color: #fea;
}

.calendar td.time {
  padding: 1px 0px;
  text-align: center;
  background-color: #e7e4da;
}

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

.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: #766;
  color: #fff;
}

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