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

.calendar
{
position:relative;
display:none;
border:0px;
font-family:Helvetica, Arial, sans-serif;
font-size:11px;
line-height:17px;
font-weight:100;
color:#000000;
}

.calendar table
{
border:0px;
font-family:Helvetica, Arial, sans-serif;
font-size:11px;
line-height:17px;
font-weight:100;
color:#000000;
background:#ffffff;
}

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

/* "<<", "<", ">", ">>" buttons have this class */
.calendar .button
{
text-align:center;
vertical-align:center;
border:0px;
height:16px;
line-height:16px;
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}

.calendar .nav
{
background:#FFFFFF;
}

/* This holds the current "month, year" */
.calendar thead .title
{ 
background:#FFFFFF;
text-align:right;
font-weight:700;
font-size:12px;
cursor:default;
border-bottom:1px solid #cfd0d0;
padding:8px 0px 3px 0px;
}

/* Row <TR> containing navigation buttons */
.calendar thead .headrow
{ 
background:#FFFFFF;

}

/* Row <TR> containing the day names */
.calendar thead .daynames
{
}

/* Cells <TD> containing the day names */
.calendar thead .name
{ 
width:20px;
height:20px;
padding:2px;
text-align:center;
font-weight:700;
background:#ece8c3;
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}

/* How a weekend day name shows in header */
.calendar thead .weekend
{ 
width:20px;
height:20px;
padding:2px;
text-align:center;
background:#ece8c3;
}

/* How do the buttons in header appear when hover */
.calendar thead .hilite
{ 
font-weight:700;
cursor:pointer;
}

/* Active (pressed) buttons in header */
.calendar thead .active
{ 
font-weight:700;
cursor:pointer;
}

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

/* Cells <TD> containing month days dates */
.calendar tbody .day
{ 
width:20px;
line-height:16px;
height:16px;
padding:2px;
text-align:center;
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}
.calendar tbody .day.othermonth
{
width:20px;
height:20px;
padding:2px;
text-align:center;
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}
.calendar tbody .day.othermonth.oweekend
{
width:20px;
height:20px;
padding:2px;
text-align:center;
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}

.calendar table .wn
{
border-right: 1px solid #000;
background: #d9eaf8;
}

.calendar tbody .rowhilite td
{
}

.calendar tbody .rowhilite td.wn
{
border-right:1px solid #cfd0d0;
}

/* Hovered cells <TD> */
.calendar tbody td.hilite
{ 
width:20px;
height:20px;
padding:2px;
cursor:pointer;
text-align:center;
color:#00328f;
font-weight:700;
}

/* Active (pressed) cells <TD> */
.calendar tbody td.active
{ 
width:20px;
height:20px;
padding:2px;
cursor:pointer;
text-align:center;
}

/* Cell showing selected date */
.calendar tbody td.selected
{ 
width:20px;
height:20px;
padding:2px;
cursor:pointer;
text-align:center;
font-weight:700;
background:#cce3f6;
}

/* Cells showing weekend days */
.calendar tbody td.weekend
{ 
width:20px;
height:20px;
padding:2px;
cursor:pointer;
text-align:center;
}

/* Cell showing today date */
.calendar tbody td.today
{ 
width:20px;
height:20px;
padding:2px;
cursor:pointer;
text-align:center;
font-weight:700;
color:#085AAC;
}

.calendar tbody .disabled
{
color:#999;
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}

/* Empty cells (the best is to hide them) */
.calendar tbody .emptycell
{ 
border-bottom:1px solid #cfd0d0;
border-left:1px solid #cfd0d0;
}

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

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

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
border-right:1px solid #cfd0d0;
}

.calendar tfoot .ttip
{
background:#FFFFFF;
text-align:center;
font-weight:700;
cursor:default;
display:none;
}

.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;
  width: 4em;
  top: 0px;
  left: 0px;
  cursor: default;
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  background: #d8e0e4;
  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: #c8d0d4;
  padding: 0px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

.calendar .combo .hilite {
  background: #048;
  color: #aef;
}

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

.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: #fff;
}

.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: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #000;
  color: #0f0;
}