/* Distributed as part of The Coolest DHTML Calendar
   Author: Mihai Bazon, www.bazon.net/mishoo
   Copyright Dynarch.com 2005, www.dynarch.com
*/

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

div.calendar { 
	position: relative;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.calendar, .calendar table {
  font-size: 11px;
  color: #000;
  cursor: default;
  width: 268px;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 6px 2px;          /* Make the buttons seem like they're pressing */
  background: #f2f2f2;
  color: #000;
  font-weight: bold;
}

.calendar .nav div {
}

.calendar thead tr td {
	height: 33px;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  padding: 2px;
  background: #fff url("/images/calendarmonthbg.gif") no-repeat center;
  color: #e62d22;
  font-size: 16pt;
  height: 38px;
}

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

.calendar thead .dayname1, .calendar thead .dayname2, .calendar thead .dayname3, .calendar thead .dayname4, .calendar thead .dayname5 {
	background: #fff url("/images/calendardaysbg.gif") no-repeat top;
}
.calendar thead .dayname0 {
	background: #fff url("/images/calendardaysbg.gif") no-repeat left top;
}
.calendar thead .dayname6 {
	background: #fff url("/images/calendardaysbg.gif") no-repeat right top;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  padding: 2px 2px 1px 2px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  color: #fff;
  padding: 3px 1px 0px 3px;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	font-weight: bold;
	font-size: 8pt;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 38px;
  height: 24px;
  vertical-align: middle;
  color: #000;
  text-align: center;
  padding: 2px 4px 2px 2px;
  font-size: 8pt;
  text-decoration: underline;
  font-weight: bold;
  background: #f2f2f2;
  cursor: pointer;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
}

.calendar tbody .rowhilite td,
.calendar tbody .rowhilite td.wn {
}

.calendar tbody td.today { font-weight: bold; }

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #e2e2e2;
  padding: 1px 3px 1px 1px;
}

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

.calendar tbody td.weekend { /* Cells showing weekend days */
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  padding: 1px 3px 1px 1px;
  background: #e2e2e2;
}

.calendar tbody .disabled { color: #999; }

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

.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */
  display: none;
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot {
  display: none;
}

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

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  color: #000;
  z-index: 100;
  font-size: 90%;
  background: #f2f2f2;
}

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

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #e2e2e2;
}

.calendar .combo .active {
  background: #e2e2e2;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #797979;
  padding: 1px 0px;
  text-align: center;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 5px 0px 6px;
  font-weight: bold;
}

.calendar td.time .hour,
.calendar td.time .minute {
  font-family: monospace;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
}

.calendar td.time span.active {
}

.calendar tbody .headrow div { /* 'Today' Link */
	font-size: 10pt;
	color: #e62d22;
	text-decoration: underline;
}

.calendar tbody .headrow .nav div { /* < and > nav buttons */
	font-size: 9pt;
	color: #000;
	text-decoration: none;
}
