/* CSS Document */

/* The main calendar widget.  DIV containing a table. */

div.calendar {
	position: relative;
	z-index: 100;
}

.contenedor ~ .calendar {
	padding: 8px;
	border: 1px solid #999999;
	background: #EBEBE8;
	
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.5);	
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.5);	
	box-shadow: 0 0 5px rgba(0,0,0,0.5);	
}

.calendar, .calendar table {
  font-size: 11px;
  color: #333;
  cursor: default;
  font-family: Verdana, Geneva, sans-serif;
}

.calendar table {
	border-collapse: separate;
}

.calendar td {
	padding: 4px;
	text-align: center;
}

/* Header part -- contains navigation buttons and day names. */

.calendar thead td.button {
	height: 16px;
}



.calendar .headrow td.button div {
	background-repeat: no-repeat;
	height: 16px;
	width: 9px;
	display: inline-block;
	text-indent: -9999px;
	cursor: pointer;
}
.calendar thead td.button.nav:first-child {
	text-align: left;	
}
.calendar thead td.title + td.button.nav {
	text-align: right;	
}

.calendar thead td.button.nav:first-child div{
	background-image: url(../../imagenes/flecha_izq.png);
	background-position: 0 0;	
}
.calendar thead td.title + td.button.nav div{
	background-image: url(../../imagenes/flecha_der.png);
	background-position: 100% 0;	
}
.calendar thead td.button.nav:first-child div:hover, .calendar thead td.button.nav:first-child div:focus{
	background-position: 0 -40px;
}
.calendar thead td.title + td.button.nav div:hover, .calendar thead td.title + td.button.nav div:focus{
	background-position: 100% -40px;
}
/*.calendar .headrow td.button div:hover, .calendar .headrow td.button div:focus {
	background-color: #00A8EA;
	
	-moz-box-shadow: 0 0 3px #00A8EA;
	-webkit-box-shadow: 0 0 3px #00A8EA;
	box-shadow: 0 0 3px #00A8EA;
}
.calendar .headrow td.button div:active {
	background-color: #00B1F4;	
	
	-moz-box-shadow: 0 0 3px #00B1F4;
	-webkit-box-shadow: 0 0 3px #00B1F4;
	box-shadow: 0 0 3px #00B1F4;
}*/


.calendar tbody {
	background: #FFFFFF;
	
	-moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.5) inset;	
	-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.5) inset;	
	box-shadow: 2px 2px 2px rgba(0,0,0,0.5) inset;	
}



.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;      /* Pressing it will take you to the current date */
  text-align: center;
  color: #008ED2;
  font-size: 12px;
  padding: 4px;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
  color: #008ED2;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
  background: #EBEBE8;
}

.calendar thead td.name { /* Cells <TD> containing the day names */
  border-bottom: 1px solid #CCCCCC;
  padding: 4px 2px;
  text-align: center;
  color: #008ED2;
  font-weight:bold;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #EB6E3C;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
/*  background-color: #51866B;
  color: #333;
  border: 1px solid #51866B;
  padding: 1px;*/
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #51866B;
  padding: 2px 0px 0px 2px;
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  color: #008ED2;
  padding: 4px;
}

.calendar tbody .daynames .day {
	color: #6C8489;
	font-weight: bold;	
}
.calendar tbody .daynames .day.weekend {
	color: #EB6E3C;
}
.calendar tbody .day.othermonth {
  font-size: 80%;
  color: #999999;
}
.calendar tbody .day.othermonth.oweekend {
  color: #C63;
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #EBEBE8;
}

.calendar tbody .rowhilite td {
/*  background: #FFFFFF;  Para no mostrar resalte en la linea*/ 
}

.calendar tbody .rowhilite td.wn {
/*  background: #51866B; Para no mostrar resalte en la linea los fines de semana*/
}

.calendar tbody td.hilite, .calendar tbody td:hover { /* Hovered cells <TD> */
  background: #EBEBE8;
  border: 1px solid #00B1F4;
  cursor: pointer;
  padding: 3px;
  color: #005B88;
  
  -moz-box-shadow: 0 0 2px #51866B;
  -webkit-box-shadow: 0 0 2px #51866B;
  box-shadow: 0 0 2px #51866B;
}

.calendar tbody td.weekend.hilite, .calendar tbody td.weekend:hover {
	color: #600;
}

.calendar tbody .daynames td.hilite, .calendar tbody .daynames td:hover { /* Hovered cells <TD> */
  background: transparent;
  border: 0;
  cursor: default;
  padding: 4px;
  color: #6C8489;
  
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.calendar tbody td.weekend.hilite, .calendar tbody td.weekend:hover {
	color: #EB6E3C;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #EBEBE8;
  border: 1px solid #00B1F4;
  cursor: pointer;
  padding: 3px;
  color: #005B88;
  
  -moz-box-shadow: 0 0 2px #51866B inset;
  -webkit-box-shadow: 0 0 2px #51866B inset;
  box-shadow: 0 0 2px #51866B inset;
}

.calendar tbody td.selected, .calendar tbody td.selected:hover { /* Cell showing today date */
  /*font-weight: bold;*/
  /*background: #ECE226!important;*/
  /*background: #D3D2D2!important;*/
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #EB6E3C;
}

.calendar tbody td.today { /* Cell showing selected date */
  /*font-weight: bold;
  background: #00B1F4;
  color: #FFFFFF;*/
}

.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;
}

.calendar tbody tr.rowhilite, .calendar tbody tr:hover {
	background-color: #F4F4F2;	
}
.calendar tbody tr.daynames.rowhilite, .calendar tbody tr.daynames:hover {
	background-color: transparent;	
}

/* The footer part -- status bar and "Close" button */

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */
  font-size: 9px;
  text-align: center;
  background: #EBEBE8;
  color: #333333;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
  font-size: 10px;
  color: #333333;
  border-top: 1px solid #CCC;
  padding: 2px;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #D2D2CC;
  color: #333;
  padding: 1px;
  
  -moz-box-shadow: 0 0 3px #D2D2CC;
  -webkit-box-shadow: 0 0 3px #D2D2CC;
  box-shadow: 0 0 3px #D2D2CC;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #C2C2BA;
  padding: 2px 0px 0px 2px;
}

/* Combo boxes (menus that display months/years for direct selection) */

.calendar .combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 4em;
  cursor: default;
  border: 1px solid #526169;
  background: #FFFFFF;
  color: #333;
  font-size: 90%;
  z-index: 100;
}

.calendar .combo .label,
.calendar .combo .label-IEfix {
  text-align: center;
  padding: 1px;
}

.calendar .combo .label-IEfix {
  width: 4em;
}

.calendar .combo .hilite {
  background: #EBEBE8;
}

.calendar .combo .active {
  border-top: 1px solid #00B1F4;
  border-bottom: 1px solid #00B1F4;
  background: #00B1F4;
  font-weight: bold;
}

.calendar td.time {
  border-top: 1px solid #333;
  padding: 1px 0px;
  text-align: center;
  background-color: #EBEBE8;
}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
  border: 1px solid #00B1F4;
  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: #333;
  background-color: #667;
  color: #fff;
}

.calendar td.time span.active {
  border-color: #f00;
  background-color: #333;
  color: #0f0;
}

.special {/*dias festivos nacionales*/
  background-color: #D3D2D2;
  text-align:center;
}

.propuesta {/*dias festivos nacionales*/
  font-weight: bold;
  background: #00B1F4;
  color: #FFFFFF;
}

.special_local {
	background-color:#FFE8C4;
    text-align:center;
}

.special_sabado { 
	background-color: #ECE226;
	font-weight:bold;
    text-align:center;
}
.special_feria{
	background-color:#FFE8C4;
    text-align:center;
}

.calendar tbody td.hilite.special, .calendar tbody td.special:hover { /* Hovered cells <TD> */
  background: #FFB7B7;
  border: 1px solid #CC0000;
  
  -moz-box-shadow: 0 0 2px #CC0000;
  -webkit-box-shadow: 0 0 2px #CC0000;
  box-shadow: 0 0 2px #CC0000;
}

.calendar tbody td.hilite.special, .calendar tbody td.special:hover { /* Hovered cells <TD> */
  background: #FFB7B7;
  border: 1px solid #CC0000;
  
  -moz-box-shadow: 0 0 2px #CC0000;
  -webkit-box-shadow: 0 0 2px #CC0000;
  box-shadow: 0 0 2px #CC0000;
}

.calendar tbody td.hilite.special_local, .calendar tbody td.special_local:hover,
.calendar tbody td.hilite.special_feria, .calendar tbody td.special_feria:hover { /* Hovered cells <TD> */
  background: #FFD79B;
  border: 1px solid #F09100;
  
  -moz-box-shadow: 0 0 2px #F09100;
  -webkit-box-shadow: 0 0 2px #F09100;
  box-shadow: 0 0 2px #F09100;
}

.calendar tbody td.hilite.special_sabado, .calendar tbody td.special_sabado:hover { /* Hovered cells <TD> */
  background: #FF9393;
  border: 1px solid #CC0000;
  
  -moz-box-shadow: 0 0 2px #CC0000;
  -webkit-box-shadow: 0 0 2px #CC0000;
  box-shadow: 0 0 2px #CC0000;
}
