
/* This is a very basic stylesheet for the date-picker. Feel free to create your own. */

/* The wrapper div (note: ie7 hack at bottom of file) */
.datePicker
        {
        position:absolute;
        min-width:21em;
        width:21em;
        z-index:9999;
        text-align:center;
        font:900 0.8em/0.8em Verdana, Sans-Serif;
        background-color: #FFF;
        }
/*
   Quirksmode necessity
   --------------------
   
   If your HTML document renders in quirksmode (i.e. has no doctype declaration)
   then uncomment the following CSS rule or the datePicker will be HUGE in IE...

.datePicker th,
.datePicker td
        {
        font-size:11px;
        }
*/
/* The iframe hack to cover selectlists in Internet Explorer <= v6 */
.iehack
        {
        position:absolute;
        background:#fff;
        z-index:9998;
        padding:0;
        border:0;
        display:none;
        }
/* The button created beside each input. (position:relative required for correct positioning of datePicker in IE) */
.date-picker-control
        {
        position:relative;
        border:0 none;
        padding:0;
        margin-left:4px;
        background: #fff url('../images/cal.gif') no-repeat 0 0;
        width:16px;
        height:16px;
        margin-top:0;
        vertical-align:top;
        cursor:pointer;
        }
/* The next & previous buttons */
.datePicker th button
        {
		position: relative;
		top: 0;
        display:inline;
        padding:0;
        margin:2px 4px 2px 0;
        color:#000;
        width:0.8em;
        line-height:0.8em;
        border-width:0;
        font-family: georgia, times new roman, palatino, times, bookman, serif;
        font-weight:bold;
        cursor:pointer;
        /* Remove the next line (or add it to an IE specific stylesheet imported using conditional comments) should you wish to validate the css */
        outline:expression(hideFocus="true");
		background: #fff;
        }
.datePicker th button:active,
.datePicker th button:focus,
.date-picker-control:active,
.date-picker-control:focus,
.datePicker th button.disabled
        {
        outline:none !important;
        /* Remove the next line should you need to validate the css */
        -moz-outline-style:none;
        }
.datePicker th button.prev-but
        {
        text-align:left;
        }
.datePicker th button.next-but
        {
        text-align:right;
        }
.datePicker th button.disabled
        {
        color:#aaa;
        cursor:default;
        }
/* The spacing between the buttons */
.but-spacer
        {
        margin-right:.2em !important;
        }
/* The mon, tue, wed etc day buttons */
.datePicker th button.fd-day-header
        {
        text-align:center;
        margin:0 auto;
        font:900 1em Verdana, Sans-Serif;
        height:auto;
		color: #666;
        width:auto;
        text-decoration:none;
        line-height:1.4em;
		padding-bottom: 2px;
        }
/* The table */
.datePicker table
        {
        position:relative;
        margin:0;
        padding:0;
		border-right: 2px solid #777;
		border-bottom: 2px solid #777;
		border-left: 1px solid #777;
		border-top: 1px solid #777;
        text-align:center;
        width:100%;
        font-size: 11px;
        }

/* Common TD & TH styling */
.datePicker table td
        {
        border-top: 1px solid #fff;
		border-right: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border-left: 1px solid #fff;
		margin: 1px;
        padding:0.6em 0.5em 0.5em 0.5em;
        vertical-align:middle;
        /* Opera requires a line-height bigger than 1em in order to redraw properly */
        line-height:1.2em;
		font-weight: normal;
        cursor:default;

        }
.datePicker table th
        {
        border:0 none;
        padding:0;
        line-height:1em;
        font-weight:bold;
        color:#222;
        text-align:center;
        vertical-align:middle;
        }

/* The "mon tue wed etc" day header button styles */
.datePicker table th.date-picker-day-header
        {
        text-transform:lowercase;
		color: #666;
        }
/* The "todays date" style */
.datePicker table td.date-picker-today
        {
        font-weight: bold;
        }
/* The "selected date" style */
.datePicker table td.date-picker-selected-date
        {
        color:#fff !important;
		font-weight: bold;
		background: #bbb;
		border: 1px solid #bbb;
        }
/* the "highlight days" style */
td.date-picker-highlight
        {
        color:#666;
		font-weight: normal;
        }
/* The date "out of range" style */
.datePicker table td.out-of-range
        {
        color:#ccc !important;
        font-style:oblique;
        cursor:default !important;
        }
/* The "disabled days" style */
.datePicker table td.day-disabled
        {
        color:#aaa !important;
        cursor:default !important;
        }
/* The "active cursor" style */
.datePicker table td#date-picker-hover
        {
        cursor:pointer;
		border: 1px solid #0C65CF;
		color: #fff;
		font-weight: bold;
		background: #C2D5EE;
        }
/* Remove the images for Internet Explorer <= v6 using the "* html" hack */
* html .datePicker table td.date-picker-selected,
* html .datePicker table td.date-picker-hover,
* html .datePicker table td
        {
        background-image:none;
        }
/* Target ie7 only */
*:first-child+html .datePicker
        {
        min-width:23em;
        width:23em;
        }

