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

div.calendar { position: relative; }

.calendar, .calendar table {
  border-top: 2px solid #03F;
  font-size: 9px;
  color: #36f;
  cursor: default;
  background: #E6F3FF;
  font-family: verdana,sans-serif;
}

/* Header part -- contains navigation buttons and day names. Part de les capçaleres - conté botons de navegació i els noms dels dies.*/

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class botons tenen aquesta classe */
  text-align: center;    /* They are the navigation buttons Ells són els botons de navegació*/
  padding: 0px;color:#36F; background:#C5E6FE;        /* Make the buttons seem like they're pressing Feu els botons de semblar com que estan pressionant*/
}

.calendar .nav {
  background:#C5E6FE;
}

.calendar thead .title { /* titol del mes This holds the current "month, year" Això és l'actual "mes i any"*/
  font-weight: bold;
  letter-spacing:0.2em;      /* Pressing it will take you to the current date si es prem el portarà a la data actual*/
  text-align: left;
  background:#C5E6FE;
  color: #0033CC;
  padding-left:3px;
  }

.calendar thead tr { /* Color de fons dels mots avui i ?  Row <TR> containing navigation buttons */
  background: #C5E6FE;  font-size:10px;
  }

.calendar thead .daynames { /* color de fons de tota la fila on hi ha els dies Row <TR> containing the day names */
  background: #C5E6FE;
}

.calendar thead .name { /* color dels dies Cells <TD> containing the day names */
  border-bottom: 0px solid #206A9B;
  padding: 3px;
  text-align: center;
  color: #36f;
}

.calendar thead .weekend { /*color de dis i diumenge How a weekend day name shows in header */
  color: #930;
}

.calendar thead .hilite { /*  Quan passes el cursor es fa gran hover  How do the buttons in header appear when hover */
  background-color: #8FD6E4;
  color:#36f;
  border: 0px solid #016DC5;
  padding: 0px;
}

.calendar thead .active { /* Botó que s'activa dels botons que quan prems s'activen Active (pressed) buttons in header */
  background-color: #006AA9;
  border: 0px solid #008AFF;
  padding: 0px 0px 0px 0px;
}

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

.calendar tbody .day { /* Celles en general Cells <TD> containing month days dates */
  width: 2.2em;
  color: #222;
  text-align: center;
  padding: 0px;
}

/*No sé per q què serveix
.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #C7E1F3;
}*/

.calendar tbody .rowhilite td {
  background: ;
}/**/
 /*No sé per a què serveix
*/
.calendar tbody .rowhilite td.wn {
  background:;
}
.calendar tbody td.hilite {   background:;
  
  
}
 /*Fa que s'activin les cel.les de cada número del mes quan pitges Hovered cells <TD> */
.calendar tbody td.active {  background:#8FD6E4;
  
}

 /*Fa que s'activin les cel.les de cada número del mes quan pitges  Active (pressed) cells <TD> */


 /*.calendar tbody td.selected {   font-weight: bold;
  border: 1px solid #36f;
  padding: 1px 3px 1px 1px;
  background: #fff;
  color:#206A9B;
}Carcassa del dia d'avui  i que apareix sempre a cada mes si ho trec funciona amb el.calendar tbody td.today  Cell showing today date */


.calendar tbody td.weekend { /*Celles del dissabte i diumenge  Cells showing weekend days */
  color: #930;
}

.calendar tbody td.today { /* Això és el dia d'avui selleccionat  Cell showing selected date */
  border: 0px solid #003;padding: 0px 0px 0px 0px;background:#8FD6E4;
  
}

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

.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */
  visibility: hidden;
}
/* Si ho trec es fa més llarg de sota */  /* 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 { text-align: center;line-height:12px;font-size:9px;
  background:#000048;
  color: #ff0;}
 /*    The <TR> in footer (only one right now) */
  
/*  */
.calendar tfoot .ttip { background:#000048;
  color: #FF0;
  border-top: 0px solid #206A9B;
  padding: 0;
} 
/* Això fa que tregui el gruix del footer Tooltip (status bar) cell <TD> */
  
/*.calendar tfoot .hilite { 
  background: #B8DAF0;
  border: 1px solid #178AEB;
  color:#206A9B;
  padding: 1px;
}  Si ho trec no passa res  Hover style for buttons in footer */


 /*.calendar tfoot .active { background: #006AA9;
  padding: 2px 0px 0px 2px;
} Ho he tret i no fa res de nou Active (pressed) style for buttons in footer */
  

/* Combo boxes (menus that display months/years for direct selection)
Si treus això apareix al dessota la llista de mesos */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #655;
  background: #def;
  color:#206A9B;
  font-size: 9px;
  z-index: 100;
}
/*.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}  */

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

/* Ho he tret i no fa res  .calendar .combo .hilite {
  background: #34ABFA;
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  font-weight: bold;
}
   */

/*
.calendar .combo .active {
  border-top: 1px solid #46a;
  border-bottom: 1px solid #46a;
  background: #F1F8FC;
  font-weight: bold;
}*/
/*
.calendar td.time {
  border-top: 1px solid #000;
  padding: 1px 0px;
  text-align: center;
  background-color: #E3F0F9;
}
*/
