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

.calendar {
  font-size: 11px;
  color: #000;
  cursor: default;
  background: #fff;
  font-family: arial;
  position:absolute;
  z-index:9999;
  margin-top:6px;
  border:1px solid black;
  padding:5px;
  

}

.calendar td, .calendar th, .calendar tr, .calendar tbody {
	border:0px;
}

.calendar table {
  font-size: 11px;
  color: #333;
  cursor: default;
background: #fff;
  font-family: arial;
  width:190px;
  padding:6px;

  
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 6px 0 8px 0;
  width:15px;
 background:  #fff;
 color:#780e0e;
 font-size:11px;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: normal;
  padding: 6px 0 8px 0;
 background: #fff;
  color: #000;
  text-transform:UPPERCASE;
  font-size:11px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .daynames,.calendar thead .weekend { /* Row <TR> containing the day names */
	
	
}

.calendar thead .name { /* Cells <TD> containing the day names */
 border-bottom: 1px solid #333;
 border-top: 1px solid #333;
 color:white;
 font-size:11px;
 text-align: center;
 background-color:#666;
 padding:2px;
 margin-bottom:3px;
}


.calendar thead .hilite  { /* How do the buttons in header appear when hover */
  
  padding: 0px;
  background:  #780e0e;
  color:#fff;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 4px;
  background:  #fff;
}

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

.calendar tbody .day,.calendar tbody .weekend  { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: center;
  padding: 4px;
  background:  #fff;
  font-size:10px;
}

.calendar tbody .hilite { /* Hovered cells <TD> */
  padding: 4px;
  background-color:#780e0e;
  color:#fff;
}

.calendar tbody .active { /* Active (pressed) cells <TD> */
  padding: 4px;
  
}

.calendar tbody .selected { /* Cell showing selected date */
  font-weight: bold;
 padding: 4px;
  background: #ccc;
  color:#000;
}



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

.calendar tbody .today:hover { /* Cell showing today date */
  font-weight: bold;
  color: #fff;
}

.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) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  
  padding: 1px;
  border: 0px solid #fff;
  background: #fff;
  color: #333;
  text-align: center;
  height:12px;
  width:100%;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  padding: 4px;
  background: #fff;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 4px 0px 0px 4px;
 
}

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

.combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  background: #ccc;
  font-size: smaller;
  padding: 1px;
}

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

.combo .hilite {
  background: #ccc;
  padding: 0px;
  
}