table.calendar {
	font-size: 0.9em;
	border-collapse: collapse;
	border:5px solid #409181;
	border-width:5px 0;
	background:#409181;
	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, table.calendar select { font-size:0.9em; }
table.calendar .mainheading select { margin:0 2px; }
table.calendar .mainheading input {
	margin:0 4px;
	border:none;
	cursor:pointer;
	background:transparent;
	color:#FFF;
	font-weight:bold;
}
table.calendar option { padding-right:6px; }
table.calendar td {
	border: 0;
	text-align: center !important;
}
div.mainheading {
	margin: 2px;
}
table.caldayheading {
	border-collapse: collapse;
	empty-cells: show;
	margin: 0 6px 0 6px;
}
table.caldayheading td {
	border: solid #CCCCCC 1px;
	background:#fff;
	text-align: left;
	color: #F35B00;
	font-weight: bold;
	width: 26px !important; /*should match calendar cell's width*/
}
table.caldayheading td.wkhead {
	border-right: double #CCCCCC 3px;
	display:none;
}
table.calcells {
	border-collapse: collapse;
	cursor: pointer;
	margin: 0 6px;
}
table.calcells td {
	border: solid #CCCCCC 1px;
	font-weight: bold;
	color:#000;
	width: 26px;
	height: 20px; /*IE doesn't like ems*/
}
table.calcells td div {
	padding: 1px;
	margin: 0;
}
table.calcells td.wkhead {
	background-color: white;
	text-align: center;
	border-right: double #CCCCCC 3px;
	color: #1A5C4E;
	display:none;
}
table.calcells td.wkday {
	background-color: #F3F5F5;
}
table.calcells td.wkend {
	background-color: #F3F5F5;
}
table.calcells td.cell_selected {
	background-color: #F35B00;
	color:#fff;
}
table.calcells td.notmnth {
	background-color: #FFFFFF;
	color: #CCCCCC;
}
table.calcells td.notallowed {
	background-color: white;
	color: #EEEEEE;
	font-style: italic;
}
table.calcells td.hover {
	background-color: #216052;
	color:#fff;
}
table.calendar div { display:none; }
table.calendar div.mainheading {
	display:block;
	padding-bottom:5px;
}