/* The main calendar widget.  DIV containing a table. */

.calendar-outer {
	font-family: arial, sans-serif;
	z-index: 100;
}

.calendar-wrap {
  position: relative;
  border: 2px solid #818689;
}

.calendar-outer,
.calendar-wrap,
.calendar-wrap table,
.calendar {
	font-size: 11px;
}

.calendar {
  cursor: default;
  background-image: url('../images/bg_calendar.gif');
	background-position: 0 28px;
	background-repeat: repeat-x;
	background-color: #fff;
  color: #333;
  font-weight: bold;
}

.calendar-wrap .month_first {
	background-position: 0 54px;
}

.calendar table table {
	border: none;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
  padding: 1px;
  white-space: nowrap;
}

.calendar thead .title,
.calendar .button,
.calendar .ttip {
	background: #7fa0b3;
}


.calendar thead .title,
.calendar .ttip { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 6px;
  text-align: center;
  color: #fff;
}

.calendar thead .title {
	font-size: 1.3em;
	text-transform: uppercase;
}

.calendar-wrap .month_first thead .title {
	padding-left: 28px;
}

.calendar thead .headrow td { /* Row <TR> containing navigation buttons */
	background: #f0f0f0;
	padding: 6px;
	font-weight: bold;
}

.calendar-wrap .month_single thead .headrow td {
	border-width: 2px 0;
	border-color: #818689;
	border-style: solid;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
}

.calendar thead .name { /* Cells <TD> containing the day names */
	font-weight: normal;
  padding: 2px;
  text-align: center;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  padding: 0px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  padding: 2px 0px 0px 2px;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: center;
  padding: 2px 4px 2px 2px;
}
.calendar tbody .day.othermonth {
	color: #676767;
}
.calendar tbody .day.othermonth.oweekend {
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
}

.calendar tbody .rowhilite td {
}

.calendar tbody td.selected, .calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 1px 3px 1px 1px;
  border: 1px solid #04315e;
  background: #b9cfdb;
  
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  padding: 2px 2px 0px 2px;
  border: 1px solid #04315e;
}

.calendar tbody td.selected { /* Cell showing selected date */

}

.calendar tbody td.weekend { /* Cells showing weekend days */
}

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
  color: #00f;
}

.calendar tbody td.disabled {
	font-weight: normal;
	color: #aaa;
}

.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) */
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  padding: 1px;
  text-align: center;
  border-top: 2px solid #818689;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar-outer .combo {
  position: absolute;
  display: none;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border: 1px solid;
  background: Menu;
  color: MenuText;
  font-size: 90%;
  padding: 1px;
  z-index: 100;
}

.calendar-outer .combo .label,
.calendar-outer .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar-outer .combo .label-IEfix {
  width: 4em;
}

.calendar-outer .combo .active {
  padding: 0px;
  border: 1px solid #000;
}

.calendar-outer .combo .hilite {
  background: Highlight;
  color: HighlightText;
}

.calendar td.time {
  border-top: 1px solid ButtonShadow;
  padding: 1px 0px;
  text-align: center;
  background-color: ButtonFace;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #889;
  font-weight: bold;
  background-color: Menu;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0px 2px 0px 3px;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: Highlight;
  color: HighlightText;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}

/* Custom CSS */

.check-in {
	background-color: #CEE4F0;
	border: 1px solid #aaa;
}

.calendar thead .nav_close {
	background: url('../images/bg_calendar_close.gif') 50% 50% no-repeat;
}

.calendar .nav_month_prev {
	background: url('../images/bg_calendar_prev.gif') left 50% no-repeat;
	padding-left: 16px;
}

.calendar .nav_month_next {
	background: url('../images/bg_calendar_next.gif') right 50% no-repeat;
	padding-right: 16px;
}

.calendar .nav_month_prev,
.calendar .nav_month_next {
	color: #04315e;
	cursor: pointer;
}

.calendar thead .headrow td.nav_inner {
	padding: 0;
}

.calendar thead .headrow td.nav_inner table,
.calendar thead .headrow td.nav_inner table td {
	border: 0;
}

.calendar .today {
	cursor: pointer;
}

.calendar .today td {
	padding: 5px 0;
	background: none;
	text-decoration: underline;
}

