
div.calendar {
	position:	relative;
	z-index:	10000;
}

.calendar
{
	border:	1px solid #58595b;
	cursor: default;
}

.calendar, .calendar table
{
  /* border: 1px solid #58595b;*/
  color:		#58595b;
  background: 	white none repeat scroll 0% 50%;
}

.daysrow td
{
   border: 1px solid white;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	padding: 		1px;
	margin:			0px;
	text-align: 	center;
	height: 		15px;
	line-height: 	15px;
	border-style:	solid;
	border-width:	0px;
}

.calendar thead .title { /* This holds the current "month, year" */
  background:	#e7e8e9;
  color:		#58595b;

  font-weight:	bold;
  padding: 		2px;
  text-align: 	center;

  font-family:	Arial,Helvetica,sans-serif;
  font-size: 	11px;

  line-height:	15px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background:	#e7e8e9;
  color: 		#58595b;

  font-family:	Arial,Helvetica,sans-serif;
  font-size: 	11px;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #58595b;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 	1px solid #58595b;
  color: 			#ffffff;

  padding: 		2px;
  text-align: 	center;
  font-family: 	Arial,Helvetica,sans-serif;
  font-size: 	11px;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #e8e8e8;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background:	#bcbec0;
  color: 		#ffffff;
  border: 		0px solid #58595b;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background: 	#D3D3D3;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  color:	#58595b;

  padding: 		2px 4px 2px 2px;
  text-align: 	right;
  width: 		2em;

  font-family: 	Arial,Helvetica,sans-serif;
  font-size: 	11px;

  height: 		1.3em;
}

.calendar tbody .hilite { /* Hovered cells <TD> */
	background:	#ffffff;
  	border: 	1px solid #bbb;
}

.calendar tbody .active { /* Active (pressed) cells <TD> */
  background: #dbdbdb;
}

.calendar tbody .selected { /* Cell showing today date */
  border: 		1px solid #58595b;
  background: 	#ffffff;
  color: 		#58595b;
  font-weight: 	bold;
}

.calendar tbody .weekend { /* Cells showing weekend days */
  /*color: #58595b;*/
  font-weight: bold;
}

.calendar tbody .today { /* Cell showing selected date */
  color:		#58595b;
  font-weight: 	bold;
}

.calendar tbody .disabled
{
	color: #999999;
}

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */

}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */

}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  background:	#58595b;
  color: 		#ffffff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background:	#ffffff;
  color: 		#58595b;
  border-top: 	1px solid #58595b;

  padding: 		1px;
  text-align: 	center;
  font-family:	Arial,Helvetica,sans-serif;
  font-size: 	11px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background:	#ffffff;
  border: 		1px solid #58595b;
  color: 		#58595b;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #dbdbdb;

}

/* Combo boxes (menus that display months/years for direct selection) */

.combo {
 	border: 		1px solid #58595b;
  	background: 	#ffffff;
  	color: 			#58595b;
  	display: 		none;
}

.combo .label {
	display: none;
}

.combo .hilite {
  	background:	#58595b;
	color:		#ffffff;
	display: 	none;
}
