div.calendar{
	position: relative;
}
.calendar, .calendar table {
  border: 5px solid #026db1;
  background-color:#026db1;
}
.calendar td{
	font-family:arial;
	font-size:10px;
	color:#FFFFFF;
	text-align:center;
	font-weight:bold;
}
/* Header part -- contains navigation buttons and day names. */

.calendar .button { /* "<<", "<", ">", ">" buttons have this class */
	text-align: center;    /* They are the navigation buttons */
	font-family:arial;
	font-size:12px;
	font-weight:bold;
	color:#fa9416;    
	background: #026db1;   /* Make the buttons seem like they're pressing */
}

.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: #026db1;
  color: #FFFFFF;
}

.calendar thead .daynames { /* Row <TR> containing the day names */
	height:28px;
	font-family:arial;
	font-size:10px;
	color:#fa9416;
	text-align:center;
	background-color:#FFFFFF;
	font-weight:bold;
	border-bottom:1px solid #026db1;
}

.calendar thead .name { /* Cells <TD> containing the day names */
  	height:28px;
	vertical-align:middle;
	font-family:arial;
	font-size:10px;
	color:#fa9416;
	text-align:center;
	background-color:#FFFFFF;
	font-weight:bold;
	border-bottom:1px solid #026db1;
}

.calendar thead .weekend { /* How a weekend day name shows in header */
  color: #fa9416;
}

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  color: #FFFFFF;
  cursor:pointer;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  /*background: #77c;
  padding: 2px 0px 0px 2px;*/
}

/* The body part -- contains all the days in month. */

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 25px;
  height:25px;
  vertical-align:middle;
  text-align: center;
  color:#797ab5;
}

.calendar table .wn { /* week numbers column*/
  padding: 0px;
  background: #026db1;
  background-color:#FFFFFF;
}

.calendar tbody .rowhilite td { /* on mouseover the cells that are not selected*/
  background-color:#FFF;
}

.calendar tbody .rowhilite td.wn {/* weeknumber on mouseover when we highlightanother date*/
  background: #FFF;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #FFF;
  cursor:pointer;
	color:#fa9416;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #FFFFFF;
  cursor:pointer;
	color:#fa9416;
}

.calendar tbody td.selected { /* Cell showing today date */
  font-weight: bold;
  background: #FFFFFF;
  cursor:pointer;
color:#fa9416;
}

.calendar tbody td.weekend { /* Cells showing weekend days */
  color: #797ab5;
}

.calendar tbody td.today { /* Cell showing selected date */
  font-weight: bold;
  color: #fa9416;
}

.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 .ttip { /* Tooltip (status bar) cell <TD> */
  background: #FFFFFF;
  color: #fa9416;
  height:25px;
  vertical-align:middle;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  background: #77c;
}

/* Combo boxes (menus that display months/years for direct selection) */

.combo {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  width: 45px;
  cursor: default;
  border: 1px solid #026db1;
  background: #FFFFFF;
  color: #797ab5;
  font-size: smaller;
}

.combo .label {
  width: 100%;
  text-align: center;
}

.combo .hilite {
  background: #fa9416;
}

.combo .active {
  background: #fa9416;
}
