/* @override Credits */

/* -------------------------------------------------------------- 
Mise à jour le : 20.03.2009
Auteur : Adrien Heury
Commentaire : Date picker
-------------------------------------------------------------- */

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

/* The wrapper div */
div.datePicker
        {
        position:absolute;
        min-width:24em;
        width:24em;
        z-index:9999;
        text-align:center;

        /* Change the font-size to suit your design's CSS. The following line is for the demo that has a 12px font-size defined on the body tag */
        font: 900 0.8em/0.8em "Lucida Grande", Lucida, Verdana, sans-serif;
        
        /* For Example: If using the YUI font CSS, uncomment the following line to get a 10px font-size within the datePicker */
        /* font:900 77%/77% Verdana; */

        background: transparent;

        /* Mozilla & Webkit extensions to stop text-selection. Remove if you wish to validate the CSS */
        -moz-user-select:none;
        -khtml-user-select:none;
        }
/* Styles for the static datePickers */
div.staticDP
        {
        position:relative;
        top:5px;
        left:0;
        }
/* The iframe hack to cover selectlists in Internet Explorer <= v6 */
iframe.iehack
        {
        position:absolute;
        background:#fff;
        z-index:9998;
        padding:0;
        border:0;
        display:none;
        margin:0;
        }
/* The "button" created beside each input for non-static datePickers */
a.date-picker-control:link,
a.date-picker-control:visited,
a.date-picker-control:hover,
a.date-picker-control:active,
a.date-picker-control:focus
        {
        /*position:relative;*/
        /* Moz & FF */
        display: -moz-inline-stack;
        border:0 none;
        padding:0;
        margin:0 0 3px 1px;
        background:transparent url(../graphics/cal.gif) no-repeat 50% 50%;
        min-width:20px;
        cursor:pointer;
        visibility:visible;
        text-decoration:none;
        vertical-align:middle;
        }
/* Feed IE6 the following rule, IE7 should handle the min-width declared above */
* html a.date-picker-control
        {
        width:20px;
        }
a.date-picker-control
        {
        /* IE, Safari & Opera. Seperate CSS rule seems to be required. */
        display:inline-block;
        }
a.date-picker-control span
        {
        display:block;
        width:20px;
        height:17px;
        margin:auto 0;
        }
      
        
div.datePicker tr {
	height: 22px;
	background: #333;
}
        
/* The next & previous buttons */
div.datePicker th span
        {
        display:inline;
        padding:0;
        margin:0;
        color:#fff;
        text-align:center;
        border-width:0;
        font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
        font-weight:bold;
        cursor:pointer;
        }
div.datePicker th span.month-display,
div.datePicker th span.year-display
        {
        cursor:default;
        }
div.datePicker th span.prev-but,
div.datePicker th span.next-but
        {
        font-size:1.4em;
        cursor:pointer !important;
        font-weight: normal;
        color: #00c9ed;
        }

div.datePicker th span.today-but
        {
        text-align:center;
        margin:0 auto;
        font: normal 1em/1.6em "Lucida Grande", Lucida, Verdana, sans-serif;
        width:100%;
        text-decoration:none;
        cursor:pointer !important;
        }

div.datePicker th span.today-but:hover {
		color: #ccc;
}
div.datePicker thead th span.fd-disabled
        {
        color:#aaa;
        cursor:default !important;
        }
/* The mon, tue, wed etc day buttons */
div.datePicker th span.fd-day-header
        {
        text-align:center;
        margin:0 auto;
        font: 900 0.8em/1.2em "Lucida Grande", Lucida, Verdana, sans-serif;
        height:1.2em;
        width:2em;
        text-decoration:none;
        text-transform: uppercase;
        cursor: default;
        }


/* The table */
div.datePicker table
        {
        position:relative;
        margin:0;
        padding:0;
        border:1px solid #ccc;
        background:#fff url(../graphics/gradient-e5e5e5-ffffff.gif) repeat-x 0 -20px;
        text-align:center;
        width:180px;
        border-spacing:2px;
        table-layout:fixed;
        border-collapse: collapse;
		-webkit-box-shadow: 0px 0px 10px #AAA;
        }
/* Common TD & TH styling */
div.datePicker table td
        {
        /*border:1px solid #ccc;*/
        padding:0;
        text-align:center;
        vertical-align:middle;
        /* Opera requires a line-height bigger than 1em in order to redraw properly */
        cursor:pointer;
        background:#fff url(../graphics/gradient-e5e5e5-ffffff.gif) repeat-x 0 -40px;
        width:3em;
        height: 10px !important;
        outline:none;
        }
div.datePicker table th
        {
        border:0 none;
        padding:0;
        font-weight:bold;
        color:#222;
        text-align:center;
        vertical-align:middle;
        }
div.datePicker table td.date-picker-unused
        {
        background:#fff url(../graphics/backstripes.gif);
        border-color:#dcdcdc;
        padding:0;
        cursor:default !important;
        }
div.datePicker table thead th.date-picker-title
        {
        width:auto;
        padding: 0 !important;
        margin: 0 !important;
        height: 10px !important;
		background: #5b5b5b url(../../../images/bkg-button-grad.png) top left repeat-x;
		color: #fff;
		text-shadow: rgba(0,0,0,0.4) 0px -1px 0px;
		font: normal 10px "Lucida Grande", Lucida, Verdana, sans-serif;
}
/* The "mon tue wed etc" day header button styles */
div.datePicker table th.date-picker-day-header
        {
        text-align:center;
        margin:0 auto;
        font: 900 0.8em/1.2em "Lucida Grande", Lucida, Verdana, sans-serif;
        height:1.2em;
        width:2em;
        text-decoration:none;
        text-transform: uppercase;
        cursor: default;
        color: #fff;
        }
div.datePicker table th.date-picker-day-header span
        {
        display:block;
        }
/* The "todays date" style */
div.datePicker table td.date-picker-today
        {
        background:#fff url(../graphics/bullet2.gif) no-repeat 0 0;
        color:rgb(100,100,100) !important;
        }
/* The "selected date" style */
div.datePicker table td.date-picker-selected-date
        {
        color:#333 !important;
       
        }
/* the "highlight days" style */
td.date-picker-highlight
        {
        color:#e40066;
        }
/* The date "out of range" style */
div.datePicker table td.out-of-range
        {
        color:#ccc !important;
        font-style:oblique;
        background:#fcfcfc !important;
        cursor:default !important;
        }
/* The "disabled days" style */
div.datePicker table td.day-disabled
        {
        color:#aaa !important;
        background:transparent !important;
        cursor:default !important;
        }
/* The "active cursor" style */
div.datePicker table tbody td.date-picker-hover
        {
        cursor:pointer;
        font-weight: bold;
        color: #00e49c;
        }
/*
   Quirksmode necessity?
   ---------------------

   If your HTML document renders in quirksmode (i.e. has no doctype declaration)
   then uncomment the following CSS rule to set a less drastic font-size in IE

div.datePicker table th,
div.datePicker table td
        {
        font-size:100%;
        }
*/

/* Remove the images for Internet Explorer <= v6 using the "* html" hack */
* html div.datePicker table td
        {
        background-image:none;
        }
* html div.datePicker table td.date-picker-unused
        {
        background:#f2f2f2;
        }

