.calendar { z-index: 100; font-family: "Myriad Pro", Tahoma; -webkit-box-shadow: 0 0 30px #AAAAAA; -moz-box-shadow: 0 0 30px #AAAAAA; box-shadow: 0 0 30px #AAAAAA; }
.calendar, .calendar table {
	 width: 250px;
  font-size: 10px;
  color: #000;
  cursor: pointer;
  background: #eeeeee;
  font-family: tahoma,verdana,sans-serif;
  //border: 1px #D6D6D6 solid;
}

.calendar table td { width: 14%; text-align: center; padding: 4px 0px; }

/* Header part -- contains navigation buttons and day names. */
.calendar thead { font-size: 14px; }
.calendar thead td { text-shadow: 1px 1px white; border: 0 !important; }

.calendar thead .head { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  color: #484848;
}

.calendar thead .title { /* This holds the current "month, year" */
  text-align: center;
  background: #E5E5E5;
  color: #484848;
  white-space: nowrap;
  font-size: 14px;
}
.calendar thead .title div {
	width: 110px;
	border: 1px red solid;
}

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

.calendar thead .name { /* Cells <TD> containing the day names */
  text-align: center;
  color: #b6b6b6;
  text-transform: lowercase;
}
.calendar thead .name.colhilight { background-color: #FAFAFA; border: 1px #FAFAFA solid; }
.calendar thead .name.colhilight.hilite { border: 1px solid #6ba151; }

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background: #FAFAFA;
  color: #000;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background: #81D23D;
  color: white;
  text-shadow: 1px 1px #3a600a;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background-color: white;
  border: 1px white solid;
  font-size: 10px;
}

/* The body part -- contains all the days in month. */
.calendar tbody td { 
	background-color: white;
	border: 1px white solid;
}

.calendar tbody td.colhilight { background-color: #FAFAFA; border: 1px #FAFAFA solid; }
.calendar tbody td.colhilight.hilite { border: 1px solid #6ba151 !important; background: #BFFA98; }

.calendar thead td.colhilight.hilite { border: 1px solid #6ba151; background: #BFFA98; }

.calendar tbody .day { /* Cells <TD> containing month days dates */
  color: #393939;
  font-size: 12px;
}

.calendar tbody .hilite { /* Hovered cells <TD> */
  background: #BFFA98;
	padding: 2px 0;
  border: 1px solid #6ba151;
}

.calendar tbody .colhilight.hilite {
  background: #BFFA98;
  border: 1px solid #6ba151;
}

.calendar tbody .active { /* Active (pressed) cells <TD> */
  background: #66a151;
  color: white;
}

.calendar tbody td.colhilight.active {
  background: #66a151;
}

.calendar tbody .today { /* Cell showing today date */
  font-weight: bold;
	padding: 2px 0;
  border: 1px solid #6ba151;
  background: #bffa98;
  color: #507522;
}

.calendar tbody td.colhilight.today {
  background: #bffa98;
}

.calendar tbody .weekend { /* Cells showing weekend days */
  color: darkred;
}
.calendar tbody .weekend.hilite.active {
	color: white;
}

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
	border: 0;
}

.calendar tbody .emptycell.colhilight {
	border: 0 !important;
}

.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: #E5E5E5;
  color: #484848;
}

.calendar tfoot .button { /* The "Close" button cell <TD> */
	border: 1px #E5E5E5 solid;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #e0bdff;
  border: 1px solid #7c51a1;
  color: #000;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #7c51a1;

}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #E5E5E5;
  color: #484848;
}

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

.combo {
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
	padding: 2px 0;
  background: #def;
  color: #000;
  font-size: smaller;
}

.combo .label {
  width: 100%;
  text-align: center;
}

.combo .hilite {
  background: #acf;
}
