@charset "ISO-8859-1";

/* The main calendar widget.  DIV containing a table. */
div.calendar {
    position: relative;
}

.calendar, .calendar table {
    border: 2px solid #B3C6D4;
/*  font-size: 11px;*/
    color: #000;
    cursor: default;
    background: #EEF1F3;
    font-family: "DejaVu Sans", "Bitstream Vera Sans", Verdana, Geneva, sans-serif;
}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
    text-align: center;    /* They are the navigation buttons */
    padding: 2px;
    background: #C6CFD7;
    color: #07375B;
/*    font-size: 0.875em;*/
}

.calendar .nav {
    background: #C6CFD7;
    color: #07375B;
/*    font-size: 0.875em;*/
}

.calendar thead .title { /* This holds the current "month, year" */
    font-weight: bold;      /* Pressing it will take you to the current date */
/*    font-size: 0.875em;*/
    text-align: center;
    border-bottom: 1px solid #7B94A4;
    background: #D9E2E9;
    color: #2C5573;
    padding: 2px;
}

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

/* Row <TR> containing the day names */
/*.calendar thead .daynames {
    background: #E1E6EA;
    color: #000;
}*/
.calendar thead .daynames td {
    border-top: 1px solid #B3C6D4;
}

.calendar thead .name { /* Cells <TD> containing the day names */
    border-bottom: 1px solid #B3C6D4;
    padding: 2px;
    text-align: center;
    background: #E1E6EA;
    color: #000;
    font-size: 0.85em;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #600;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
    background:  #D3DAE1;
    color: #0E6EB6;
    padding: 2px;
}
.calendar thead .weekend.hilite {
  color: #800;
}

.calendar thead .active { /* Active (pressed) buttons in header */
    border: 1px solid #0E6EB6;
    padding: 1px;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
    width: 2em;
    background: #EEF1F3;
    color: #07375B;
    text-align: right;
    padding: 2px;
/*    font-size: 0.875em;*/
}
.calendar tbody .day.othermonth {
    font-size: 0.85em;
    color: #666;
}
.calendar tbody .day.othermonth.oweekend {
    color: #F66;
}

.calendar table .wn {
    padding: 2px 2px 2px 1px;
    border-right: 1px solid #B3C6D4;
    background: #E1E6EA;
    color: #000;
    font-size: 0.85em;
}
.calendar thead .name.wn {
    border-bottom: 1px solid #B3C6D4;
    padding: 2px;
}

/*.calendar tbody td {
    font-size: 0.875em;
}*/

.calendar tbody .rowhilite td {
    background: #FFF;
}
/*.calendar tbody .rowhilite td.wn {
  background: #eef;
}*/

.calendar tbody td.hilite { /* Hovered cells <TD> */
    padding: 2px;
    background: #D3DAE1;
    color: #0E6EB6;
/*    padding: 1px;
    border: 1px solid #B3C6D4;*/
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
    background: #D3DAE1;
    color: #0E6EB6;
    outline: 1px solid #0E6EB6;
}

.calendar tbody td.selected { /* Cell showing today date */
    font-weight: bold;
    border: 1px solid #B3C6D4;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
    color: #600;
}

.calendar tbody td.today { /* Cell showing selected date */
    font-weight: bold;
    border: 1px dotted #B3C6D4;
}

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

.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) */
  text-align: center;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background: #E1E6EA;
  color: #000;
  border-top: 1px solid #B3C6D4;
  padding: 1px 5px;
  font-size: 0.85em;
  text-align: left;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
    background: #C6CFD7;
    color: #07375B;
    padding: 2px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
    background: #D3DAE1;
    color: #07375B;
    outline: 1px solid #D3DAE1;
    padding: 1px;
}

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

.calendar .combo {
    position: absolute;
    display: none;
    top: 0px;
    left: 0px;
    width: 4em;
    cursor: default;
    border: 1px solid #00458E;
    background: #D5D9DC;
    color: #00458E;
    font-size: 0.85em;
    z-index: 100;
}

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

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

.calendar .combo .hilite {
    background: #E3E6E8;
    color: #006ADA;
}

.calendar .combo .active {
    font-weight: bold;
    background: #D5D9DC;
    color: #006ADA;
}

/* TODO: time format */

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

.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;
}
