table.calendar {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	border-collapse: collapse;
	background-color:#1C5C63;
	border: 0;
	width: 200px;
	text-align: center;
	/*prevent user from selecting text in Mozilla & Safari - check calendar constructor for IE code)*/
	-moz-user-select: none;
    /*-khtml-user-select: none;*/
}
table.calendar input {
	font-size: 10px;
	color:#9E8002;
	background:#E5C22E url(../cssimages/button_bg.gif) repeat-x top left;
	padding: 3px;
	border-top:1px solid #FFF;
	border-left:1px solid #FFF;
	border-bottom:1px solid #B7960D;
	border-right:1px solid #B7960D;
	cursor:pointer;
	margin:3px;
}
table.calendar select { 
	font-size:10px;
	margin:2px 1px;
	float:left;
	}
table.calendar input.leftbutton {
	float:left;
	margin-right:28px;
	}
table.calendar input.rightbutton {
	float:right;
	}
table.calendar td {
	border: 0;
	font-size: 10px;
	text-align: center;
}
div.mainheading {
	margin: 2px;
	text-align:center;
}
table.caldayheading {
	border-collapse: collapse;
	cursor: pointer;
	empty-cells: show;
	margin: 0 6px 0 6px;
}
table.caldayheading td {
	border: 1px solid #1C5C63;
	text-align: left;
	color: #1C5C63;
	background:#79B9C3;
	font-weight: bold;
	width: 28px; /*should match calendar cell's width*/
}
table.caldayheading td.wkhead {
	border-right: double #1C5C63 3px;
}
table.calcells {
	border-collapse: collapse;
	cursor: pointer;
	margin: 0 6px 0 6px;
}
table.calcells td {
	border: solid #1C5C63 1px;
	vertical-align: top;
	text-align: left;
	font-weight: bold;
	width: 28px;
	height: 20px; /*IE doesn't like ems*/
}
table.calcells td {
padding-left:1px;
}
table.calcells td div {
	padding: 1px;
	margin: 0;
}
table.calcells td.wkhead {
	background-color: #8DC8CE;
	text-align: center;
	border-right: double #1C5C63 3px;
	color: #0054E3;
}
table.calcells td.wkday {
	background-color: #D7EAED;
}
table.calcells td.wkend {
	background-color: #D7EAED;
}
table.calcells td.curdate {

}
table.calcells td.cell_selected {
	background-color: #E5C22E;
	color: black;
}
table.calcells td.notmnth {
	background-color: #5EA3AA;
	color: #1C5C63;
}
table.calcells td.notallowed {
	background-color: #39797C;
	color: #1C5C63;
	font-style: italic;
	text-decoration:line-through;
}
table.calcells td.notallowed .hover {
	background-color: #39797C;
	
}
table.calcells td.hover {
	background-color: #E5C22E;
}
