/* Calendar: a Javascript class for Mootools that adds accessible and unobtrusive date pickers to your form elements <http://electricprism.com/aeron/calendar> */
/* Default CSS for Calendar (navigation: 1), Copyright (c) 2007 Aeron Glemann <http://electricprism.com/aeron>, MIT Style License. */

/* Calendar button */
button.calendar { background:url("calendar-icon.gif"); border:0; cursor:pointer; height:20px; width:25px; vertical-align:top; margin-top:2px; }
/*button.calendar:hover, button.calendar.active { background-position:0 20px; }*/

/* Calendar */
div.calendar { background:url("calendar.png"); margin-left:3px; height:195px; padding:0 6px; text-align:center; width:147px; }
div.calendar div { background:none !important; cursor:move; height:185px; overflow:hidden; padding-top:10px; position:relative;}
div.calendar caption { overflow:hidden; padding-top:6px; color:#666966; font:normal 12px/16px Arial, Helvetica, sans-serif; text-align:center; width:100%; }
div.calendar caption a { cursor:pointer; display:block; height:12px; overflow:hidden; position:absolute; text-indent:-100px; top:17px; width:11px; color:#6A86A5;}
div.calendar caption a.prev { background-image:url("calendar-prev.gif"); left:0; }
div.calendar caption a.next { background-image:url("calendar-next.gif"); right:0; }
div.calendar caption a:hover { background-position:0 12px; }
div.calendar caption span { height:17px; position:relative; text-align:center; }
div.calendar caption span.month { float:left; width:89px; }
div.calendar caption span.month:after { content:''; }
div.calendar caption span a { top:1px; }
div.calendar caption span.year { float:right; width:58px; }
div.calendar table { background:#fff; cursor:default; border-collapse:collapse; margin:0 auto; overflow:hidden; width:100%; }
div.calendar td, div.calendar th { height:21px; vertical-align:middle; text-align:center; border:0; color:#6A86A5; font:normal 11px Arial, Helvetica, sans-serif; }
div.calendar td { background:url("calendar-td.gif"); color:#fff; font-size:11px; }
div.calendar td.invalid { color:#999; }
div.calendar td.valid { background:url("calendar-valid.gif"); color:#6A86A5; cursor:pointer; }
div.calendar td.inactive { background:url("calendar-td.gif") 0 100%; color:#fff; }
div.calendar td.active, div.calendar td.hover { background:url("calendar-valid.gif") 0 100%; color:#fff; cursor:pointer; }

/* IE6 fixes */
* html div.calendar th { height:17px; }
* html div.calendar td { height:19px; }
* html div.calendar caption span a { top:2px; }
* html div.calendar caption span { height:18px; }
* html button.calendar { margin-left:3px; }

/* IE7 fixes */
*:first-child+html div.calendar th { height:17px; }
*:first-child+html div.calendar td { height:19px; }
*:first-child+html div.calendar caption span a { top:2px; }
*:first-child+html div.calendar caption span { height:18px; }
*:first-child+html button.calendar { margin-left:3px; }