.calendar { border: none; }

.calendar table {
  border: 1px solid #263850;
  color: #000;
  background-color: #263850;
  width:225px;
}

.calendar, .calendar table {
	font-family: Verdana, Helvitaca, Arial;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  background-color: #263850;
  color: #ffffff;
  font-weight:bold;
}

.calendar .nav {
  background-color: #263850;
  border-left: 1px solid #C0C0C0; 
  border-top: 1px solid #C0C0C0;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
}

.calendar .nav div {
  background-color: #263850;
}

.calendar thead tr { background-color: #182536; }

.calendar thead .title { /* This holds the current "month, year" */
  background-color: #263850;
  color: #ffffff;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
}

.calendar thead .name { /* Cells <TD> containing the day names */
  color: #265396;
  border-left: solid 1px b2b2b2;
  background-color:#ffffff;
}

.calendar thead .day { /* Cells <TD> containing the day names */
  color: #263850;
  background-color: #ffffff;
  border-bottom: none;
  font-weight: bold;
  width:25px;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #263850;
  font-weight: bold;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #9bcffc;
  color: #ffffff;
  width:25px;
  border-left: 1px solid #C0C0C0; 
  border-top: 1px solid #C0C0C0;
  border-bottom: 1px solid #000000;
  border-right: 1px solid #000000;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #263850;
  width:25px;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background-color: #ffffff;
  }

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  color: #265396;
  padding: 3px 3px 3px 0px;
}
.calendar tbody .day.othermonth {
  color: #265396;
}
.calendar tbody .day.othermonth.oweekend {
  color: #265396;
}
.calendar tbody .day {
  text-decoration: underline;
  border-left: solid 1px #b2b2b2;
  border-top: solid 1px #b2b2b2;
  background-color: #ffffff;
  width:25px;
}
.calendar table .wn {
  border-color: #8a8;
  background-color: #dfb;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .true{
  background-color: #8a9baf;
  text-decoration: none;
}

.calendar tbody .rowhilite td.wn {
  background-color: #efe;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  border: 1px solid #000000;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background-color: #f6981a;
}

.calendar tbody td.selected { /* Cell showing selected date */
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	background-color: #f6981a;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
}

.calendar tbody td.today {
	border-top: 1px solid #000000;
	border-bottom: 1px solid #000000;
	border-left: 1px solid #000000;
	border-right: 1px solid #000000;
	background-color: #ffffff;
	
}

.calendar tbody td.hilite, .calendar tbody td.today, .calendar tbody td.selected, .calendar tbody td.active {
	padding: 2px 2px 1px 0px;
	font-weight:normal;
}

.calendar tbody .disabled { color: #999; text-decoration: none; }

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
	background-color: #8a9baf;
}

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
}

.calendar tbody .special {
	background-color: #fbd8a2;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot {
}

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  background-color: #565;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background-color: #263850;
  color: #ffffff;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background-color: #afa;
  border-color: #084;
  color: #000;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background-color: #7c7;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  border-color: #000;
  background-color: #ffffff;
  color: #000;
}

.calendar .combo .hilite {
  background-color: #fbd8a2;
}

.calendar .combo .active {
  border-color: #000000;
  background-color: #f6981a;
}

/* time */

.calendar tfoot tr.time td { border-color: #8a8; }
.calendar tfoot tr.time td.hour,
.calendar tfoot tr.time td.minute { border-color: #aca; }
.calendar tfoot tr.time td.hilite { background-color: #af8; }
.calendar tfoot tr.time td.active { background-color: #7c7; }

