/* Distributed as part of The Coolest DHTML Calendar
   Author: Mihai Bazon, www.bazon.net/mishoo
   Copyright Dynarch.com 2005, www.dynarch.com
*/

/* The main calendar widget.  DIV containing a table. */

div.calendar { 
	position: relative; 
	z-index: 2000;
	font-size: 1em;
	font-family:Arial,sans-serif;
	padding: 0em 0em 2em;
}

.calendar, .calendar table {
  color: #000;
  cursor: default;
}

.calendar {
	background: #F6EFE9 url("../img/calendario/fondo_cal.jpg") no-repeat center bottom;		
	border: 0.0625em solid #bdb2bf;
}
.calendar table{
	margin:0px 5px 15px;
}
/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 0.125em;          /* Make the buttons seem like they're pressing */
  color: #000000;
  font-weight: bold;
  font-size:0.75em;
}


.calendar thead .title { /* This holds the current "month, year" */
	font-size:0.875em;
	font-weight: bold;      /* Pressing it will take you to the current date */
  	text-align: center;
  	padding: 0.125em;
  	background: none; 
  	color: #c9530a;  
}
.calendar thead .name { /* Cells <TD> containing the day names */
  border-bottom: 0.25em solid #c9530a;
  padding: 0.125em;
  margin:0em 0.125em;
  text-align: center;
  color: #FFFFFF;
  background-color: #C3C3C3;
  font-size:0.75em;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #FFFFFF;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
	cursor:pointer;
	color:#7D1119;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  color: #7D1119;

}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #000;
  text-align: center;
  padding: 0.125em;
  font-size:0.75em;
  border: 0.0625em solid #F6EFE9;
  
}
.calendar tbody .day.othermonth {
  /*font-size: 80%;*/
  color: #999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #f99;
}

/*Week numbers*/
.calendar table .wn {
  padding: 0.125em 0.1875em 0.125em 0.125em;
  border-right: 0.0625em solid #797979;
}

.calendar tbody td.today { 
	font-weight: bold; 
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  border-color: #BBBBBB;
  border-width:0em 0.0625em 0.0625em 0em;  
  cursor:pointer;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #cc5500;
  background-color:#ffeecc;
}

.calendar tbody td.selected { /* Cell showing selected date */
  font-weight: bold;
  border: 0.0625em solid #797979;
  border-width:0em 0.0625em 0.0625em 0em;  
  padding: 0.0625em 0.1875em 0.0625em 0.0625em;
}

.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;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  padding: 0.125em;
  color: #337099;
  font-size:0.675em;
}

/* 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-width: 0 0.0625em 0.0625em 0.0625em;
  border-style: solid;
  border-color: #797979;
  background-color: #F6EFE9;
  color: #000000;
  z-index: 100;
  font-size: 0.675em;
  border-collapse: collapse;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 0.0625em;
  border: 0.0625em solid transparent;
}

.calendar .combo .label-IEfix {
/*  width: 4em;*/
}

.calendar .combo .hilite {
  color: #000;
  border: 0.0625em solid #797979;
}

.calendar .combo .active {
  font-weight: bold;
  border: 0.0625em solid #797979;
}

.calendar td.time {
  border-top: 0.0625em solid #797979;
  text-align: center;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0em 0.3125em 0em 0.375em;
  font-weight: bold;
  color: #000000;
}

.calendar td.time .ampm {
  text-align: center;
}

.calendar td.time .colon {
  padding: 0em 0.125em 0em 0.1875em;
  font-weight: bold;
}

.calendar td.time span.hilite {
  color: #000000;
}

.calendar td.time span.active {
  color: #FFFFFF;
}
