/* The main calendar widget.  DIV containing a table. */


.calendar, .calendar table, .calendar td {font-size:11px; color:#fff; cursor:default; font-family:'Trebuchet MS', Verdana, sans-serif; border:none; border-collapse:collapse; background:none; }
.calendar {width:204px; /*border-top:1px solid #4b4b4b; border-bottom:1px solid #4b4b4b;*/ padding:9px 0; z-index:1000; text-align:center; margin:0 auto; background:#f1f1f1;}
.calendar table {width:204px; margin:0 auto;}
.calendar td {width:25px;}

/* 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 */
}

.calendar thead tr.headrow .button {
  background:url(../images/content/popup/search/calendar_headrow_but.gif) center no-repeat;
  padding-top:5px;
  padding-bottom:5px;
}
.calendar thead tr.headrow {
  background:url(../images/content/popup/search/calendar_headrow_bg.gif) center no-repeat;
}
.calendar thead tr.headrow .nav {
  background:none;
  font-weight:bold;
  font-size:14px;
  color:#4c4c4c;
  padding-top:5px;
  padding-bottom:5px;
  cursor:pointer;
}
.calendar thead .title { /* This holds the current "month, year" */
  vertical-align:center;
  text-align: center;
  background:url(../images/content/popup/search/calendar_title.gif) center no-repeat;
  color:#fff;
  padding:6px 0;
  width:100%;
}
.calendar thead .nav .hilite {
  color:#4c4c4c;
}
.calendar tbody .day .hilite {
  color:#fff;
}
.calendar thead .daynames { /* Row <TR> containing the day names */
  padding-top:10px;
}

.calendar thead .daynames .day { 
  text-align:center; 
  background:url(../images/content/popup/search/calendar_day_bg.gif) center no-repeat; 
  color:#fff; 
  font-weight:bold;
  font-size:0.9em;
  white-space:nowrap;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  text-align: center;
  color: #000;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #4c4c4c;
  text-align:center;
  background:url(../images/content/popup/search/calendar_letter_bg.gif) center no-repeat;
  cursor:pointer;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
 
}
.calendar table tbody .wn {
  color:#fff;
}
.calendar table thead .wn {
  font-weight:bold;
}

.calendar table .wn {

}
.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background:url(../images/content/popup/search/calendar_letter_active_bg.gif) center no-repeat;
  color:#fff;
}

.calendar tbody td.selected { /* Cell showing today date */
  background:url(../images/content/popup/search/calendar_letter_active_bg.gif) center no-repeat;
  color:#fff;
  font-weight:bold;
}

.calendar tbody td.today { /* Cell showing selected date */
  background:url(../images/content/popup/search/calendar_day_bg.gif) center no-repeat; 
  color:#fff; 
  font-weight:bold;
}

.calendar tbody .disabled { color: #999; }

.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> */
  text-align: center;
  color: #4c4c4c;
  background:url(../images/content/popup/search/calendar_foot_bg.gif) center no-repeat;
  padding:6px 0;
}

.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 .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 2px solid #4c4c4c;
  background: #f1f1f1;
  color: #4c4c4c;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #acf;
}

.calendar .combo .active {
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  background: #eef;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #000;
  text-align: center;
  background-color: #f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  border: 1px solid #889;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}
