/* The main calendar widget.  DIV containing a table. */

div.calendar { position:relative; }

.calendar, .calendar .tablaprincipal {
 position:relative;
  border:0.063em solid #343540;
  font-size:0.625em;
  color:#FFF;
  cursor:default;
  background:#fff;
  font-family:tahoma,verdana,sans-serif;
  z-index:2;
  margin:0em 0em;
  padding-right:0em;

}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align:center;    /* They are the navigation buttons */
  padding:0.13em;          /* Make the buttons seem like they're pressing */
  background:#C6A94B;

}

.calendar .nav {
  background:#EAE97C; /*url(menuarrow.gif) no-repeat 100% 100%;*/
  background-color: #C6A94B;
  /*background-image:url(../img/fondo_calendnomdias.gif);*/
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight:bold;      /* Pressing it will take you to the current date */
  text-align:center;
  background:#EAE97C;
  color:#000;
  padding:0.13em;
  background-color:#C6A94B;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background:#C6A94B;
  color:#fff;
  /*background-image:url(../img/fondo_calendnomdias.gif);*/
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background:red;
  background-color: #C6A94B;
  /*background-image:url(../img/fondo_calendnomdias.gif);*/
}

.calendar thead .name { /* Cells <TD> containing the day names */
  padding:0.13em;
  text-align:center;
  color:#fff;
  background-color: #C6A94B;
  /*background-image:url(../img/fondo_calendnomdias.gif);*/
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color:#fff;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  color:#000;
  border:0em solid  #C6A94B;
  padding:0.13em;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color:#ececec;
  padding:0.13em 0em 0em 0.13em;;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width:2em;
  color:#222;
  text-align:right;
  padding:0.13em 0.25em 0.13em 0.13em;
}
.calendar tbody .day.othermonth {
  font-size:80%;
  color:#bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color:#fbb;
}

.calendar table .wn {
  padding:0.13em 0.19em 0.13em 0.13em;
  border-right:0.063em solid #000;
  background:#bdf;
}

.calendar tbody .rowhilite td {
  background:#fff;
}

.calendar tbody .rowhilite td.wn {
  background:#fff;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background:#6d767d;
  color :#ffffff;
  padding:0.063em 0.19em 0.063em 0.063em;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background:#6d767d;
  padding:0.13em 0.13em 0em 0.13em;
}

.calendar tbody td.selected { /* Cell showing today date */
  text-decoration:underline;
  font-weight:bold;
  padding:0.063em 0.19em 0.063em 0.063em;
  color:#000;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color:#A90000;
}

.calendar tbody td.weekend.day.hilite{ /* Cells showing weekend days */
  background:#6d767d;
  color :#ffffff;
  padding:0.063em 0.19em 0.063em 0.063em;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight:bold;
  color:#000;
  background:#ececec;
}

.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) */
  text-align:center;
  background:#EAE97C;
  color:#fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  background:#EAE97C;
  color:#fff;
  border-top:0.063em solid #556;
  padding:0.063em;
background-color:#C6A94B;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background:#aaf;
  border:0.063em solid #04f;
  color:#000;
  padding:0.063em;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background:#77c;
  padding:0.13em 0em 0em 0.13em;

}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position:absolute;
  display:none;
  top:0em;
  left:0em;
  width:4em;
  cursor:default;
  border:0.063em solid #655;
  background:#ececec;
  color:#000;
  font-size:90%;
  z-index:100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align:center;
  padding:0.063em;
}

.calendar .combo .label-IEfix {
  width:4em;
}

.calendar .combo .hilite {
  background:#6d767d;
  color:#fff;
}

.calendar .combo .active {
  border-top:0.063em solid #fff;
  border-bottom:0.063em solid #fff;
  background:#C6A94B;
  font-weight:bold;
  color:#fff;
}

.calendar td.time {
  border-top:0.063em solid #000;
  padding:0.063em 0em;
  text-align:center;
  background-color:#f4f0e8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding:0em 0.19em 0em 0.25em;
  border:0.063em solid #889;
  font-weight:bold;
  background-color:#fff;
}

.calendar td.time .ampm {
  text-align:center;
}

.calendar td.time .colon {
  padding:0em 0.13em 0em 0.19em;
  font-weight:bold;
}

.calendar td.time span.hilite {
  border-color:#000;
  background-color:#EAE97C;
  color:#fff;
}

.calendar td.time span.active {
  border-color:#f00;
  background-color:#EAE97C;
  color:#0f0;
}
