/* The main calendar widget.  DIV containing a table. */
.calendar{position: relative;display: none;cursor: default;background: #c8d0d4;}
.calendar table{font-family:arial;font-size:11px;border:1px solid #5c6063;cursor:default;background:#dee2e4;}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
 text-align: center;padding: 1px;border: 1px solid #c8d0d4;}
.calendar .nav {background: transparent url(menuarrow.gif) no-repeat 100% 100%;}
.calendar thead .title { /*   Mese/anno attuale   */
  font-weight: bold;padding: 1px;border: 1px solid #a5acb2;background: #788084;color: #fff;text-align: center;border:none;}
.calendar thead .headrow { /* <tr> che contengono i botoni di navigazione */border:none;}
.calendar thead .daynames { /* <tr> che contengono i nomi dei giorni */border:none;}
.calendar thead .name { /* <td> che contengono i nomi dei giorni  */
  border-bottom: 1px solid #c8d0d4;padding: 2px;text-align: center;background: #ebebeb;}
.calendar thead .weekend { /* Colore dei weekend */
  color: #f00;}
.calendar thead .hilite { /* hover dei bottoni dell'header */
  border:none;padding: 0px;background-color: #caced0;}

.calendar thead .active { /* bottoni dell'header pressati */
  padding: 0;background-color: #f4f4f4;}

/* Corpo centrale - contiene tutti i giorni di tutti i mesi */

.calendar tbody .day { /* <td> che contiene i giorni */
  width: 2em;text-align: right;padding: 2px 4px 2px 2px;}
.calendar tbody .day.othermonth {/* ???????  */
  font-size: 80%;color:#aaa;}
.calendar tbody .day.othermonth.oweekend {/* ???????  */
  color: #faa;}
.calendar table .wn { /* colonna dei weekend - la prima da sx */
  padding: 2px 3px 2px 2px;border-right: 1px solid #c8d0d4;background: #f4f4f4;}
.calendar tbody .rowhilite td { /*  riga dei giorni al mouse over */
  background: #f4f4f4;}
.calendar tbody .rowhilite td.wn { /*  <td> delle settimane al mouse over */
  background: #dee2e4;}
.calendar tbody td.hilite { /* <td> del giorno al mouse over */
  padding: 1px 3px 1px 1px;border: 1px solid #c8d0d4;}
.calendar tbody td.active { /* <td> del giorno pressato */
  border: 1px solid #c8d0d4;}
.calendar tbody td.selected { /* <td> del giorno selezionato */
  font-weight: bold;padding: 2px 2px 0px 2px;border: 1px solid #f4f4f4;background: #f4f4f4;}
.calendar tbody td.weekend { /* <td> dei giorni  della settimana*/
  color: #f00;}
.calendar tbody td.today { /* <td> del giorno selezionato */
  font-weight:bold;color:#1497d7;}
.calendar tbody .disabled { color: #999; }
.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  vvisibility: 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 { /* <td> del footer - status bar */
  background: #ebebeb;padding: 1px;background: #788084;color: #fff;text-align: center;}

/*.calendar tfoot .hilite {  Hover style for buttons in footer 
  padding: 1px;background: #d8e0e4;}*/

/*.calendar tfoot .active {  Active (pressed) style for buttons in footer 
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #a5acb2;
  border-right: 1px solid #c8d0d4;
  border-bottom: 1px solid #c8d0d4;
  border-left: 1px solid #a5acb2;
}*/

/* 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 #c8d0d4;
  border-right: 1px solid #a5acb2;
  border-bottom: 1px solid #a5acb2;
  border-left: 1px solid #c8d0d4;
  background: #d8e0e4;
  font-size: 11px;
  font-family:arial;
  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: 1px solid #c8d0d4;}
.calendar .combo .hilite {
  background:#788084;color:#fff;}
.calendar td.time {
  border-top: 1px solid #a5acb2;padding: 1px 0px;text-align: center;background-color: #ebebeb;}
.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;}

