/* This is a very basic stylesheet for the date-picker. Feel free to create your own. */

/* The wrapper div */
div.datePicker
          { font: 900 0.8em/0.8em Verdana, Sans-Serif; background: transparent; text-align: center; position: absolute; z-index: 9999; right: 24em; width: 150px; -khtml-user-select: none; -moz-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
         { line-height: 1; text-decoration: none; background: url(../media/cal.gif) no-repeat 50% 50%; visibility: visible; cursor: pointer; display: -moz-inline-stack; margin: 0 0 0 4px; padding: 0; right: 16px; vertical-align: top; border: 0 }
/* Feed IE6 the following rule, IE7 should handle the min-width declared above */
* html a.date-picker-control
        {
        width:16px;
        }
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:16px;
        height:16px;
        margin:auto 0;
        }
/* The next & previous buttons */
div.datePicker th span
           { color: #000; font-size: 1.2em; font-family: verdana; font-weight: bold; line-height: normal; background: transparent; text-align: center; cursor: pointer; display: inline; margin: 0; padding: 0; border-width: 0 }
        
/* Hier kann man die Schriftgrösse des Monats und der Jahreszahl festlegen*/
div.datePicker th span.month-display,
div.datePicker th span.year-display
          { font: bold 1em Verdana, Sans-Serif; text-transform: uppercase; letter-spacing: 1px; cursor: default }

/* Hier kann man die Schriftgrösse der Vor und zurückpfeile festlegen*/
div.datePicker th span.prev-but,
div.datePicker th span.next-but
          { font-size: 1.2em; font-family: verdana; cursor: pointer !important }

/* Hier kann man die Schriftgrösse für den heutigen Tag festlegen*/
div.datePicker th span.today-but
          { font: 1em Verdana, Sans-Serif; text-decoration: none; text-align: center; text-transform: uppercase; cursor: pointer !important; margin: 0 auto; width: 100% }
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
           { font: 700 0.9em Verdana, Sans-Serif; text-decoration: none; text-align: center; text-transform: uppercase; margin: 0 auto; width: 1em; height: 1.4em }
/* The table durch festlegen der Breite in % macht man den Kalender kleiner oder grösser*/
div.datePicker table
           { font-size: 1.1em; font-family: verdana; background: #fff url(../media/gradient-e5e5e5-ffffff.gif) repeat-x 0 -20px; text-align: center; margin: 0; padding: 0; position: relative; width: 150%; border: solid 1px #ccc; border-collapse: separate; border-spacing: 2px; table-layout: fixed   }
/* Common TD & TH styling */
div.datePicker table td
         { line-height: 1.6em; background: #fff url(../media/gradient-e5e5e5-ffffff.gif) repeat-x 0 -40px; text-align: center; cursor: pointer; padding: 0; width: 4em; vertical-align: middle; border: solid 1px #ccc; outline: none medium }
div.datePicker table th
          { color: #222; font-size: 1.1em; font-weight: bold; line-height: 1em; text-align: center; padding: 0; vertical-align: middle; border: 0 }
div.datePicker table td.date-picker-unused
          { font-size: 1.1em; background: #fff url(../media/backstripes.gif); cursor: default !important; padding: 0; border-color: #dcdcdc }
div.datePicker table thead th.date-picker-title
          { font-size: 1.1em; font-family: Verdana, Arial, Helvetica, sans-serif; padding: 0.4em 0; width: auto; height: auto }
/* The "mon tue wed etc" day header button styles */
div.datePicker table th.date-picker-day-header
        {
        text-transform:lowercase;
        width:3em;
        }
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(../media/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;
        border-color:#333 !important;
        }
/* the "highlight days" style */
td.date-picker-highlight
        {
        color:#a86666;
        }
/* 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
        {
        background:#fff url(../media/bg_header.jpg) no-repeat 0 0;
        cursor:pointer;
        border-color:rgb(100,130,170);
        color:rgb(100,130,170);
        }
/*
   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;
