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

div.calendar { position: relative;   border: 1px solid #F4F1DB; }

.calendarContainer {
	position: absolute;
	width: 210px;
}

.ownersAdd .calendarContainer {
	font-size: 0.95em;
}

.blocks #aFromDatePicker div, .blocks #aToDatePicker div {
	left: -40px;
	top: 28px;
}

.ownersAdd .startDate div {
	top: 28px;
}

.ownersAdd .endDate div {
	left: 160px;
}

.ownersAdd #datesDatePicker div {
	left: 665px;
	top: 27px;
}

.blocks .calendarContainer {
	position: relative;
}

.blocks .datePickerContainer {
	position: absolute;
}

.calendar, .calendar table {
  font-size: 1em;
  color: #333;
  cursor: default;
  background: #FFF;
  width: auto;
  border-collapse: separate;
  position: relative;
}

.calendar table td, .calendar table th {
  padding: 0;
  line-height: 15px !important;
}

/* 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 */
  float: none;
}

.calendar .nav {
  background: #FFF url(menuarrow.gif) no-repeat 100% 100%;
  color: #000;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  background: #fff;
  color: #000;
  padding: 2px;
  font-size: 1.1em;
}

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

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #FFF;
}

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

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

}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #F4F1DB;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: right;
  padding: 2px 4px 2px 2px;
  border: 1px solid #FFF;
}

.calendar tbody .day.othermonth {

  color: #777;
  background: #FAFAFA;
  font-style: italic;
  border-color: #FAFAFA;
}

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

.calendar tbody td.disabled { color: #999; background: #F4F1DB; border-color: #F4F1DB; text-decoration: line-through; }

.calendar tbody td.booked { background: #eee4a7; border-color: #eee4a7; }

.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 {
	display: none;
}

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

.calendar .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border: 1px solid #F4F1DB;
  background: #FFF;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

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

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

.calendar .combo .active {
  background: #F4F1DB;
  padding: 0px;
  border: 1px solid #F4F1DB;
  font-weight: bold;
}

.calendar .combo .hilite {
  background: #F4F1DB;
  color: #333;
}