/* The main calendar widget.  DIV containing a table. */

div.calendar { position: relative; }

.calendar{
  border: 0em;       
  font-size: 0.78em;
  color: #000;
  cursor: default;
  font-family: tahoma,verdana,sans-serif;
}


.calendar table {  
  border: 0.2em solid #424F5C;       
  font-size: 0.78em;
  color: #000;
  cursor: default;
  font-family: tahoma,verdana,sans-serif;
  margin-left: 0em; 
  margin-right: 0em; 
  background: #FBF5DB; 
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 0.5em;          /* Make the buttons seem like they're pressing */
}

.calendar .nav {
  background: #edc url(menuarrow.gif) no-repeat 100% 100%;
}

.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: #424F5C;
  color: #FFC000;
  padding: 0.2em;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  background: #C3B050;
  color: #000;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 0.25em solid #C3B050;
  padding: 0.5em;
  text-align: center;
  color: #000;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #f00;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #E7E0B9;
  color: #000;
  border: 0.15em solid #C3B050;
  padding: 0.15em;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #C3B050;
  padding: 0.5em 0em 0em 0.5em;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #E7E0B9;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2.7em;
  text-align: right;
  padding: 0.25em 0.75em 0.25em 0.25em;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #bbb;
}
.calendar tbody .day.othermonth.oweekend {
  color: #fbb;
}

.calendar table .wn {
  padding: 0.25em 0.25em 0.25em 0.25em;
  border-right: 0.2em solid #000;
  background: #E7E0B9;
}

.calendar tbody .rowhilite td {
  background: #ddf;
}

.calendar tbody .rowhilite td.wn {
  background: #efe;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #E7E0B9;
  padding: 0.05em 0.2em 0.05em 0.05em;
  border: 0.1em solid #C3B050;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #E7E0B9;
  padding: 0em 0em 0em 0em;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  border: 0.1em solid #000;
  padding: 0.25em 0.25em 0.25em 0.25em;
  background: #C3B050;
}
.calendar tbody td {
	background: transparent;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #f00;
}

.calendar tbody td.today { font-weight: bold; }

.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: #7B848D;
  color: white;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  border-top: 0.25em solid #C3B050;
  background: #7B848D;
  color: white;
  text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #faa;
  border: 0.2em solid #f40;
  padding: 0.2em;
  text-align: center;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #c77;
  padding: 0.25em 0px 0px 0.25em;
  text-align: center;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0em;
  left: 0em;
  width: 2.65em;
  cursor: default;
  border: 0.2em solid #655;
  background: #ffe;
  color: #000;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 0.2em;
}

.calendar .combo .label-IEfix {
  width: 2.4em;
}

.calendar .combo .hilite {
  background: #E7E0B9;
}

.calendar .combo .active {
  border-top: 0.1em solid #a64;
  border-bottom: 0.1em solid #a64;
  background: #E7E0B9;
  font-weight: bold;
}

.calendar td.time {
  border-top: 0.2em solid #a88;
  padding: 0.2em 0em;
  text-align: center;
  background-color: #fed;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0em 0.75em 0em 0.4em;
  border: 0.2em solid #988;
  font-weight: bold;
  background-color: #fff;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0em 1em 0em 0.75em;
  font-weight: bold;
}

.calendar td.time span.hilite {
  border-color: #000;
  background-color: #866;
  color: #fff;
}

.calendar td.time span.active {
  border-color: red;
  background-color: red;
  color: red;
}

.bcalendar {
	  border: 0;
	  background-image:url("/diseno/popupCalendar/calendar.gif");
	  background-repeat:no-repeat;	
	  margin-left:0.5em;
	  padding:0.8em 0.2em 0 0.8em;
}
