/* This is a DIV that holds the calendar.  Its position needs to be absolute
   so that we can show it anywhere we need it. */

#holder, .holder {
	visibility: hidden;
	border: 1px solid #fff;
	z-index: 1000;
}

/* The main calendar widget.  In fact, a <TABLE>.  This is the one created by
   the "new Calendar()" JS statement, and then it is inserted into the #holder
   DIV */
.calendar {
	border: 1px solid #556;
	font-size: 11px;
	color: #000;
	cursor: default;
	background: #f4f6f8;
	font-family: tahoma,verdana,sans-serif;
	position: relative;
}


/* Header part -- contains navigation buttons and day names. */

.calendar thead .head { /* "<<", "<", ">", ">>" buttons have this class */
 text-align: center;    /* They are the navigation buttons */
 padding: 2px;          /* Make the buttons seem like they're pressing */
}

.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: #fee;
 color: #000;
 padding: 2px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
 background: #556;
 color: white;
}

.calendar thead .name { /* Cells <TD> containing the day names */
 border-bottom: 1px solid #556;
 padding: 2px;
 text-align: center;
 color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
 color: #f00;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
 background: #aaf;
 border: 1px solid #04f;
 padding: 1px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
 background: #77c;
 padding: 2px 0px 0px 2px;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
 background: #fee;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
 width: 20px;
 text-align: right;
 padding: 2px 4px 2px 2px;
}

.calendar tbody .hilite { /* Hovered cells <TD> */
 background: #eff;
 padding: 1px 3px 1px 1px;
 border: 1px solid #bbb;
}

.calendar tbody .active { /* Active (pressed) cells <TD> */
 background: #cdd;
 padding: 2px 2px 0px 2px;
}

.calendar tbody .today { /* Cell showing today date */
 font-weight: bold;
 border: 1px solid #000;
 padding: 1px 3px 1px 1px;
 background: #dde;
}

.calendar tbody .weekend { /* Cells showing weekend days */
 color: #f00;
}

.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: white;
}

.calendar tfoot .button { /* The "Close" button cell <TD> */
 padding: 2px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
 background: #aaf;
 border: 1px solid #04f;
 padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
 background: #77c;
 padding: 2px 0px 0px 2px;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
 background: #000;
 color: #fea;
}

