/* The main calendar widget.  DIV containing a table. */

div.calendar { position: relative; z-index:100}

.calendar, .calendar table {
	width:200px;
	top:30px;
	left:30px;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
		background-color:#dbe4d6;
}

/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;    /* They are the navigation buttons */
  padding: 0px;          /* Make the buttons seem like they're pressing */
}

.calendar .nav {
 
}

.calendar thead .title { /* This holds the current "month, year" */
	border-width:0px;
	background-image:url(../img/obrazy/kalendar_08.jpg);
	background-repeat:repeat-x;
	height:22px;
	color:#707b0c;
	font-weight:bold;
}

.calendar thead tr { /* Row <TR> containing navigation buttons */
	font-weight:bold;
	color:#707b0c;
	background-image:url(../img/obrazy/kalendar_08.jpg);
	background-repeat:repeat-x;
	height:22px;
	line-height:22px;
	text-align:center;
	width:100%;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
	background-color:#84cec7;
	color:#FFFFFF;
	background-image:none;
}

.calendar thead .name { /* Cells <TD> containing the day names */
	border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
  padding: 0px;
  text-align: center;
  color:#FFFFFF;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
 
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */

  color:#7a860f;
 border-style:solid;
	border-color:#ffffff;
	border-width:0px;
  padding: 0px;
  text-decoration:underline
}

.calendar thead .active { /* Active (pressed) buttons in header */
  color:#7a860f;
 border-style:solid;
	border-color:#ffffff;
	border-width:0px;
  padding: 0px;
  text-decoration:underline
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
	border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
	background-color:#dbe4d6;
	font-weight:bold;
	color:#7a860f;
	height:22px;
	line-height:22px;
	text-align:center;
	width:20px;
}
.calendar tbody .day.othermonth {
 
}
.calendar tbody .day.othermonth.oweekend {

}

.calendar table .wn {
  padding: 0px 0px 0px 0px;
  border-right: 1px solid #000;
	border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
	background-color:#c3d3b9;
}

.calendar tbody .rowhilite td {
  background: #eaf1e7;
}

.calendar tbody .rowhilite td.wn {
  background: #eaf1e7;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  padding: 0px;
  text-decoration:underline;
  border: 0px solid #FFFFFF;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #cde;
  padding: 0px 0px 0px 0px;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  border: 1px solid #000;
  padding: 0px;
  background: #fff;
 
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #7a860f;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #7a860f;
}

.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: #206A9B;
  color: #fff;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	border-width:0px;
	background-image:url(../img/obrazy/kalendar_08.jpg);
	background-repeat:repeat-x;
	height:22px;
	color:#707b0c;
	font-weight:bold;
  
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
  background: #B8DAF0;
  border: 0px solid #178AEB;
  color: #000;
  padding: 1px;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #006AA9;
  padding: 0px;
}

/* 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-style:solid;
	border-color:#fffcd8;
	border-width:1px;
		background-color:#dbe4d6;
	color:#7a860f;
  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 {
border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
		background-color:#dbe4d6;
  font-weight: bold;
}

.calendar .combo .active {
border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
		background-color:#dbe4d6;
  font-weight: bold;
}

.calendar td.time {
border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
		background-color:#dbe4d6;
  padding: 1px 0px;
  text-align: center;

}

.calendar td.time .hour,
.calendar td.time .minute,
.calendar td.time .ampm {
  padding: 0px 3px 0px 4px;
border-style:solid;
	border-color:#fffcd8;
	border-width:1px;
		background-color:#dbe4d6;
  font-weight: bold;

}

.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: #000;

  color: #fff;
}

.calendar td.time span.active {
  border-color: red;
  background-color: #000;
  color: #A5FF00;
}
