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

.JSCalendar { background: #fff; color: WindowText; cursor: default; display: none; font-size: 11px; font-family: tahoma,verdana,sans-serif; position: relative; }

.JSCalendar table { background: #fff; border: 1px solid #333; color: #000; cursor: default; font-size: 11px; font-family: tahoma,verdana,sans-serif; margin: 0; width: auto; }
.JSCalendar table td { border: 1px solid #333; padding: 1px; }

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

/* "<<", "<", ">", ">>" buttons have this class */
.JSCalendar .button { text-align: center; border: 1px solid #333; background: #eee; }
.JSCalendar .nav { background: #eee url(menuarrow.gif) no-repeat 100% 100%; }

/* This holds the current "month, year" */
.JSCalendar thead .title { font-weight: bold; border: 1px solid #333; background: #eee; color: #000; text-align: center; }

/* Row <TR> containing navigation buttons */
.JSCalendar thead .headrow { background: #eee; }

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

/* Cells <TD> containing the day names */
.JSCalendar thead .name { border-bottom: 1px solid #333; text-align: center; background: #eee; color: #000; }

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

/* How do the buttons in header appear when hover */
.JSCalendar thead .hilite { background-color: #fff; }

/* Active (pressed) buttons in header */
.JSCalendar thead .active { background: #999; }

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

/* Cells <TD> containing month days dates */
.JSCalendar tbody .day { width: 20px; text-align: right; padding: }
.JSCalendar tbody .day.othermonth { font-size: 80%; color: #aaa; }
.JSCalendar tbody .day.othermonth.oweekend { color: #faa; }
.JSCalendar table .wn { border-right: 1px solid #333; background: #eee; color: ButtonText; }
.JSCalendar tbody .rowhilite td { background: #ddd;  }

/* Hovered cells <TD> */
.JSCalendar tbody td.hilite { background: #ff9; }

/* Active (pressed) cells <TD> */
.JSCalendar tbody td.active { background: #ff9; }

/* Cell showing selected date */
.JSCalendar tbody td.selected { border: 1px solid #333; background: #369b00; color: #fff; }

/* Cells showing weekend days */
.JSCalendar tbody td.weekend { color: #666; }

/* Cell showing today date */
.JSCalendar tbody td.today { font-weight: bold; color: #c00; }
.JSCalendar tbody td.today.selected { background: #c00; color: #fff; }
.JSCalendar tbody td.disabled { background-color: #ccc; color: #666; }

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

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

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

/* The <TR> in footer (only one right now) */
.JSCalendar tfoot .footrow { }

/* Tooltip (status bar) cell <TD> */
.JSCalendar tfoot .ttip { background: #eee; padding: 1px; border: 1px solid #333; color: #666; text-align: center; }

/* Hover style for buttons in footer */
.JSCalendar tfoot .hilite { border: 1px solid #333; padding: 1px; background: #ffc; }

/* Active (pressed) style for buttons in footer */
.JSCalendar tfoot .active { padding: 2px 0 0 2px; border: 1px solid #333; }

/* Combo boxes (menus that display months/years for direct selection) */
.JSCalendar .combo { background: Menu; border: 1px solid; border-color: #999 #666 #666 #999; color: MenuText; cursor: default; display: none; font-size: 90%; left: 0; position: absolute; padding: 1px; top: 0; width: 4em; z-index: 100; }

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

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

.JSCalendar .combo .active { padding: 0; border: 1px solid #000; }
.JSCalendar .combo .hilite { background: Highlight; color: HighlightText; }

.JSCalendar td.time { border-top: 1px solid ButtonShadow; padding: 1px 0; text-align: center; background-color: ButtonFace; }
.JSCalendar td.time .hour,
.JSCalendar td.time .minute,
.JSCalendar td.time .ampm { padding: 0 3px 0 4px; border: 1px solid #889; font-weight: bold; background-color: Menu; text-align: center; }
.JSCalendar td.time .colon { padding: 0 2px 0 3px; font-weight: bold; }
.JSCalendar td.time span.hilite { border-color: #000; background-color: Highlight; color: HighlightText; }
.JSCalendar td.time span.active { border-color: #f00; background-color: #000; color: #0f0; }
