/* The main calendar widget.  DIV containing a table. */
/*special days*/
.special { background-color: #FFCC00; color: #333333;  padding:0px;
   margin:0px;}

.calendar {
	position: relative;
	display: none;
	color: #666666;
	cursor: default;
	font-family: Arial, Helvetica, sans-serif;
	width: 300px;
	 z-index: 100;
	 padding:0px;
   margin:0px;
   margin-top:2px;
}

.calendar table, .calendar td, .calendar tr, .calendar div {
  font-size: 10px;
  color: #000;
  cursor: default;
  font-family: Arial, Helvetica, sans-serif;
  padding:0px;
  vertical-align:middle;
   margin:0px;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  vertical-align:top; 
  margin:0px;
  padding:2px;
  background:#CCCCCC;
}

.calendar .nav {
 /* background: transparent url(menuarrow.gif) no-repeat 100% 100%;*/
 background:#CCCCCC;
   font-weight: bold;
    margin:0px;
  padding:2px;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  background: #cccccc;
  color: #666666;
  text-align: center;
  margin:0px;
  padding:2px;
    text-transform:uppercase;
	
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
text-align: center;
vertical-align:top;
  margin:0px;
  padding:2px;
  background:#CCCCCC;
    font-weight: bold;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  width: 8px;
  text-align: center;
  padding:0px;
    text-transform:uppercase;
	  font-weight: bold;
	  border-left:0px;
	  
}

.calendar thead .name { /* Cells <TD> containing the day names */
padding-left: 12px;
  padding-right:12px;
  padding-top:0px;
  padding-bottom:0px;
  background: #f4f0e8;
  text-transform:uppercase;
  font-weight: bold;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #CC0000;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  /*padding-left: 12px;
  padding-right:12px;
  padding-top:0px;
  padding-bottom:0px;*/
  /*background-color: #e4e0d8;*/
    text-transform:uppercase;
  font-weight: bold;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  text-align: center;
  padding-left: 12px;
  padding-right:12px;
  padding-top:0px;
  padding-bottom:0px;
  background-color: #c4c0b8;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
 width: 10px;
  text-align: center;
  padding:0px;
  text-transform:uppercase;
  border-bottom:solid #cccccc 1px;
  margin-left:1px;
  }

.calendar tbody .day.othermonth {
  color: #aaa;
}

.calendar tbody .day.othermonth.oweekend {
  color: #CC0000;
}

.calendar table .wn {
  padding:0px;
  background: #f4f0e8;
}

.calendar tbody .rowhilite td {
 /* background: #e4e0d8;*/
}

.calendar tbody .rowhilite td.wn {
  background: #d4d0c8;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  width: 10px;
  text-align: center;
  padding:0px;
  background: #d4d0c8;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
 
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
 /* background: #e4e0d8;*/
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #CC0000;
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
}

.calendar tbody .disabled { color: #999; }

.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) */
display:none;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #cccccc;
  padding:0px;
  color: #666666;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  padding:0px;
  background: #e4e0d8;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding:0px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  width: 10px;
  top: 0px;
  left: 0px;
  cursor: default;
  background: #e4e0d8;
  padding:0px;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 5px;
}

.calendar .combo .label-IEfix {
  width: 10px;
}

.calendar .combo .active {
  background: #c4c0b8;
  padding: 5px;
 
}

.calendar .combo .hilite {
  background: #048;
  color: #fea;
}

.calendar td.time {
 
  padding:0px;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding:0px;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 5px;
  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;
}
