/* Datepicker
----------------------------------*/
.ui-datepicker { width: 253px; background: #FFF; }
.ui-datepicker .ui-datepicker-header { position:relative; padding: 8px 0; border-bottom: 1px solid #FFF; }
.ui-datepicker a.ui-datepicker-prev { display: block; position:absolute; top: 8px; left: 8px; width: 10px; height: 14px; z-index: 99999 !important; background: url(../../images/calendar-prev.png) no-repeat 0 0; }
.ui-datepicker a.ui-datepicker-prev:hover { background: url(../../images/calendar-prev.png) no-repeat 0 -14px; cursor: pointer; }
.ui-datepicker a.ui-datepicker-prev:active { background: url(../../images/calendar-prev.png) no-repeat 0 -28px; cursor: pointer; }
.ui-datepicker a.ui-datepicker-next { display: block; position: absolute; top: 8px; right: 8px; width: 10px; height: 14px; z-index: 99999 !important; background: url(../../images/calendar-next.png) no-repeat 0 0; }
.ui-datepicker a.ui-datepicker-next:hover { background: url(../../images/calendar-next.png) no-repeat 0 -14px; cursor: pointer; }
.ui-datepicker a.ui-datepicker-next:active { background: url(../../images/calendar-next.png) no-repeat 0 -28px; cursor: pointer; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: none; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title { margin: 0 auto; text-align:center;}
.ui-datepicker .ui-datepicker-title select { margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month, 
.ui-datepicker select.ui-datepicker-year { width: 40%;}
.ui-datepicker table {width: 253px; border-collapse: collapse; margin:0; }
.ui-datepicker th { padding: 5px; border: 0; }
.ui-datepicker td { border-top: 1px solid #e9e9e9; border-right: 1px solid #e9e9e9; width: 36px; text-align: center;}
.ui-datepicker td:last-child { width: 36px; border-right:none;}
.ui-datepicker td span, .ui-datepicker td a { display: block; line-height:28px; color:#444;}
.ui-datepicker td span:hover, .ui-datepicker td a:hover { background: #EEE; color:#444;}
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }
.ui-datepicker .ui-state-active, .ui-datepicker .ui-state-active:hover { 
  background-color:#098ac6;
  color:#fff;
}
.ui-datepicker-unselectable {cursor:default;}

#ui-datepicker-div {
   border: 0px solid #FFF;
   background: #FFF;
}

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi { width:auto; }
.ui-datepicker-multi .ui-datepicker-group { float:left; }
.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }
.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }
.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }
.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }
.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }
.ui-datepicker-row-break { clear:both; width:100%; }

/* RTL support */
.ui-datepicker-rtl { direction: rtl; }
.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }
.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }
.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }
.ui-datepicker-rtl .ui-datepicker-group { float:right; }
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
    display: none; /*sorry for IE5*/
    display/**/: block; /*sorry for IE5*/
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 200px; /*must have*/
    height: 200px; /*must have*/
}