/* The main calendar widget.  DIV containing a table. */
#calendar-container {
margin-bottom: 20px;
width: 240px;
font-family: arial;
}

.calendar {
  position: relative;
  display: none;
  color: #000;
  cursor:pointer;
  width:100%;
background: #f8f4ab;
padding-bottom: 12px;
}
#calendar-container:after, .calendar:after {
	content:".";
	display:block;
	clear:both;
	visibility:hidden;
	height:0px;
	font-size:0px;
}
.calendar table {
  border: none;
  color: #000;
  cursor:pointer;
background: #f8f4ab;
border-spacing:7px;
}
.calendar table td {
  border: 1px solid #a3a64b;
width: 20px;

}
#cal_nm, #cal_pm {
	padding:2px;
background: #F9BA0D;
color: white;
margin: 12px 12px 0 12px;
width: 90px;
float: left;
  border: 1px solid #a3a64b;

}

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

.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
  text-align: center;
}

.nav {
	color:#000;
}

.calendar thead .title { /* This holds the current "month, year" */
  font-weight: bold;
  padding: 1px;
  background: #F9BA0D;
  color: #fff;
  text-align: center;
}

.calendar thead .headrow { /* Row <TR> containing navigation buttons */
	padding: 1px;
}

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

.calendar thead .name { /* Cells <TD> containing the day names */
  border: none;
  padding: 2px;
  text-align: center;
background: transparent;
font-size:12px;
color:#7b7c1e;
}

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

.calendar thead .hilite { /* How do the buttons in header appear when hover */
  background-color: #83bed9;
}

.calendar thead .active { /* Active (pressed) buttons in header */
  background-color: #83bed9;
}

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

.calendar tbody .day { /* Cells <TD> containing month days dates */
  width: 2em;
  text-align: center;
  padding: 2px 4px 2px 2px;
color:#9f820c;
background: white;
width: 23px;
font-size:12px;
}

.calendar tbody .day.othermonth {
  font-size: 11px;
color:#9f820c;
background: #e1e1e1;
  color: #aaa;
}
.calendar tbody .day.othermonth.oweekend {
}

.calendar table .wn {
  padding: 2px 3px 2px 2px;
  border-right: 1px solid #000;
  background: #e2f4fd;
}

.calendar tbody .rowhilite td {
}

.calendar tbody .rowhilite td.wn {
  background: #d4d0c8;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
  background: #F9BA0D;
color:white;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
  background: #F9BA0D;
color:white;
}

.calendar tbody td.selected { /* Cell showing selected date */
  background: #F9BA0D;
color:white;
}

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

.calendar tbody td.today { /* Cell showing today date */
  font-weight: bold;
}

.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) */
}


.calendar tfoot .hilite { /* Hover style for buttons in footer */
  border-top: 1px solid #fff;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  border-left: 1px solid #fff;
  padding: 1px;
  background: #e2f4fd;
}

.calendar tfoot .active { /* Active (pressed) style for buttons in footer */
  padding: 2px 0px 0px 2px;
  border-top: 1px solid #000;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-left: 1px solid #000;
}

div.button {
display: block;
}
