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

div.calendar { position: relative;}

.calendar {
	z-index: 100;
}

.calendar td , .calendar tr
{
	padding: 1px;
}

.calendar table {
	border: 1px solid #C90;
	font-size: 10px;
	color: #FF0000;
	cursor: default;
	font-family: tahoma,verdana,sans-serif;
	width: 120px;
	background-color: #FAFAFA;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 1px;          /* Make the buttons seem like they're pressing */
  width: 25px;
}

.calendar .nav {
	background-color: #FFE16A;
}

.calendar thead .title { /* This holds the current "month, year" */
	font-weight: bold;      /* Pressing it will take you to the current date */
	text-align: center;
	color: #333;
	padding: 0px;
	vertical-align: middle;
	height: 18px;
	background-color: #FFFFFF;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #F3F1FA;
}

.calendar thead .titleclose {
	color: white;
	font-size: 10px;
	background-color: #FFD;
	background-image: url(images/closet.gif);
	background-repeat: no-repeat;
	background-position: center center;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #CFDEE2;
}

.calendar thead .titleclose:hover {
	background-image: url(images/closet.gif);
	background-repeat: no-repeat;
	background-position: center center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
	/*background: #778;*/
  color: #FF6600;
	font-weight: bold;
	border: 1px solid #0066FF;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	background-color: #FF8000;
}

.calendar thead .name { /* Cells <TD> containing the day names */
	/*border-bottom: 1px solid #556;*/
  padding: 1px;
	text-align: center;
	color: #FFFFFF;
	font-weight: bold;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  /*color: #a66;*/
  /*color: #e21f26;*/
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
	background-color: #FFECD9;
	color: #FF0000;
	/*border: 1px solid #04f;*/
  /*padding: 1px;*/
  cursor: pointer;
}

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

.calendar thead .active.titleclose {
	background-color: #FFFFFF;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
	width: 15px;
	color: #666;
	text-align: right;  /*padding: 2px 4px 2px 2px;*/
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
	background-color: #EEF7FB;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #CEDDE1;
}

.calendar tbody .rowhilite td {
	border: 1px solid #FDFDFB;
	background-color: #FFFFFF;
}

.calendar tbody .rowhilite td.wn {
  background: white;
}

.calendar tbody td {
	border: 1px solid #F5F2EB;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	/*padding: 1px 3px 1px 1px;*/
  cursor: pointer;
	background-color: #FAF1C0;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
	border: 1px solid #A28EC1;
	background-color: #FFECD9;  /*padding: 2px 2px 0px 2px;*/
}

.calendar tbody td.selected { /* Cell showing today date */
	font-weight: bold;
	border: 1px solid #960;
	/*padding: 1px 3px 1px 1px;*/
  background: #fff;
	color: #666;
}

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

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

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

.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;*/
  background: white;
	color: #FF0000;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #3399FF;
}

.calendar tfoot td {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #C90;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	background: #fff;
	color: #666;
	padding: 1px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D8EBF5;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
	background: #a7b1be;
	color: #666;
	padding: 1px;
	cursor: pointer;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D8EBF5;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
	padding: 2px 0px 0px 2px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #D8EBF5;
}

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

.calendar .combo {
	position: absolute;
	display: none;
	width: 1em;
	top: 0px;
	left: 0px;
	cursor: default;
	font-size: 8px;
	padding: 1px;
	z-index: 100;
	background-color: #FFFFFF;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: normal;
	color: #666;
	border: 1px solid #DBEBF2;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
	text-align: center;
	padding: 0px;
	background-color: #FFFFFF;
}

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

.calendar .combo .active {
	background-color: #DBEBF2;
	border: 1px solid #CDC0E4;
}

.calendar .combo .hilite {
	color: #FF6600;
	background-color: #EEF7FB;
}
