/* The main calendar widget.  DIV containing a table. */



div.calendar {
	  width:125px;
	/*float:left;*/
	  position: absolute;
	 /* margin-top:300px;*/
	   }



.calendar, .calendar table {



  font-size: 10px;

  color: black;

  cursor: default;

  background: whitesmoke;

  font-family: tahoma,verdana,sans-serif;

}



/* Header part -- contains navigation buttons and day names. */



.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */

  text-align: center;    /* They are the navigation buttons */

  

  background: #d3d3d3;

  color: black;

  font-size: 90%;

  font-weight:bold ;

  border:solid 1px silver;

  border-collapse: separate 

  

  

}



.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: Gainsboro;

  color: #59af23;

}



.calendar thead .headrow { /* Row <TR> containing navigation buttons */

	background: red;

}



.calendar thead .name { /* Cells <TD> containing the day names */

  border-bottom: 1px solid gaisboro;

  

  text-align: center;

  color: #000;

  

}



.calendar thead .weekend { /* How a weekend day name shows in header */

  color: #59af23;

}



.calendar thead .hilite { /* How do the buttons in header appear when hover */

  

  cursor:hand

 

}



.calendar thead .active { /* Active (pressed) buttons in header */

  background: #5f5f5f;



}



.calendar thead .daynames { /* Row <TR> containing the day names */

  background: gaisboro;

}



/* The body part -- contains all the days in month. */



.calendar tbody .day { /* Cells <TD> containing month days dates */

  width: 2em;

  color: black;

  text-align: right;

  border: solid 1px gainsboro;



}



.calendar tbody .hilite { /* Hovered cells <TD> */

  background: silver;



  border: 1px solid #bbb;

}



.calendar tbody .active { /* Active (pressed) cells <TD> */

  background: #5F5F5F;

  

  color:white

}



.calendar tbody .selected { /* Cell showing today date */

  font-weight: bold;

  border: 1px solid #000;

  

  background:Gold;

  color: DarkBlue;

}



.calendar tbody .weekend { /* Cells showing weekend days */

  color: #59af23;

  



}



.calendar tbody .today { font-weight: bold; color: #1D5DFF; }



.calendar tbody .disabled { color: #999; }



.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */

  visibility: hidden;

  border:solid 1px black;

}



.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */

  display: none;

}



/* The footer part -- status bar and "Close" button */

.calendar tfoot 

{

  display: none;

	}

.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */

  text-align: center;

  background: #565;

  color: #fff;

}



.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */

  

  background: #250;

  color: #efa;

}



.calendar tfoot .hilite { /* Hover style for buttons in footer */

  background: #afa;

  border: 1px solid #084;

  color: #000;

  

}



.calendar tfoot .active { /* Active (pressed) style for buttons in footer */

  background: #7c7;

  

}



/* Combo boxes (menus that display months/years for direct selection) */



.combo {

  position: absolute;

  display: none;

  top: 0px;

  left: 0px;

  width: 5em;

  cursor: default;

  border: 1px solid gainsboro;

  background: gainsboro;

  color: #000;

  font-size:7PT;

  visibility:hidden;

 

}



.combo .label {

  width: 100%;

  text-align: center;

}



.combo .hilite {

  background: silver;

  font-weight:bolder;

  

  

}



.combo .active {

  border-top: 1px solid black;

  border-bottom: 1px solid black;

  background: gray;



  color:white

}

