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

div.calendar { 
  position: relative;
  font-size: 1em;
  padding: 20px 10px 18px;
  width: 235px;
  box-shadow: 0px 0px 8px 1px rgba(170, 170, 170, 0.5)
}

.calendar, .calendar table {
  color: #000;
  cursor: hand;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.calendar table {
  font-size: 1em;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 2px;          /* Make the buttons seem like they're pressing */
  color: #3dade0;
  cursor: pointer
}

.calendar .button:hover {
  background: 0 none;
}

.calendar  table {
  width: 100%
}

.calendar thead .title { /* This holds the current "month, year" */
  text-align: center;
  background: #fff;  
  padding: 2px 2px 10px;  
  height: 20px;
  line-height: 20px;
  font-size: 16px;
  color: #404e54;
  font-weight: bold  
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #fff;
  color: #3dade0;
}

.calendar thead .headrow .button {
	padding:6px 0
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  font-size: 12px
}

.calendar thead .name { /* Cells <TD> containing the day names */  
  padding: 2px;
  text-align: center;
  color: #c2cad0;
}

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

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

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

.calendar tbody .day { /* Cells <TD> containing month days dates */  
  color: #404e54;
  text-align: center;  
  height: 26px;
  line-height: 26px;
  width: 30px;
  font-weight: 400;
  padding: 0.125em 0em;
  cursor: pointer;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #bdf;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #f6f9fa;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #cde;
  padding: 2px 2px 0px 2px;
}

.calendar tbody td.selected { /* Cell showing today date */  
  background: #3dade0;
  color: #fff;
  border-radius: 3px
}

.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) */
  text-align: center;
  background: #556;
  color: #fff;
}

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

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #aaf;
  border: 1px solid #04f;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
  padding: 2px 0px 0px 2px;
}

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

.combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
  background: #c3d9f7;
  color: #000;
}

.combo .label {
  text-align: left;
  padding: 3px 10px;
}

.combo .hilite {
  background: #82ace6;
}

.combo .active {
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  background: #fff;
  font-weight: bold;
}