/*!
 * jQuery UI Datepicker 1.9.1
 * http://jqueryui.com
 *
 * Copyright 2012 jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Datepicker#theming
 */
.right .ui-datepicker { width: 153px; padding: 0; display: none; /*margin-top:20px !important;*/}
.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }
.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px;  }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; 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: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0;  }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.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; }

/* 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%; font-size:0em; }

/* 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 {
    position: absolute; /*must have*/
    z-index: -1; /*must have*/
    filter: mask(); /*must have*/
    top: -4px; /*must have*/
    left: -4px; /*must have*/
    width: 153px; /*must have*/
    height: 200px; /*must have*/
}

/* HIGHLIGHT */

.right .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default{
    background:none !important;
}

.right table.ui-datepicker-calendar tbody td.highlight a{
    /*background-color: #db2237 !important;*/
    color: #0055A0;
    font-weight:bold;
    background-color:#dce2dd !important;
    /*border: 1px solid #FFDE2E;*/
    cursor:pointer !important;
}
.right table.ui-datepicker-calendar tbody td.highlight.eventhl a{
    /*color: #0055A0;*/
    font-weight:normal !important;
    color:white;
    background-color:#E30613 !important;
}

/* CUSTOM */

.right .ui-widget{
    font-family: 'PT Sans', sans-serif !important;
}

.right .ui-widget-content{
    background: none !important;
    border: none !important;
}

.right .ui-widget-header{
    border: none !important;
    background:none !important;
    background-color: #676c6f !important;
    color:white;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    
}

.right .ui-datepicker .ui-datepicker-header{
    padding:3px 1px;
}

.right .ui-datepicker .ui-datepicker-title{
    height:21px !important; 
    line-height:21px;
    font-weight:normal !important;
    font-size:12px;
}

.right .ui-datepicker .ui-datepicker-prev, .right .ui-datepicker .ui-datepicker-next{
    height:19px;
    top:1px;
}
.right .ui-datepicker .ui-datepicker-prev-hover, .right .ui-datepicker .ui-datepicker-next-hover{
    height:19px !important;
    top:1px !important;
}

.right .ui-state-default, .right .ui-widget-content .ui-state-default, .right .ui-widget-header .ui-state-default{
    border:none !important;
    background-color:#f7f9f9 !important;
    cursor:default;
}

.right a.ui-state-default:hover{
    -webkit-box-shadow: inset 0px 0px 0px 1px #878787;
        
        box-shadow: inset 0px 0px 0px 1px #878787;
}

.right .ui-datepicker-title{
    font-size:15px;
}

.right .ui-widget-content{
    color:#878787 !important;
}
.right .ui-datepicker table{
    border-spacing:0px !important;
    border-collapse:separate !important;
    margin-bottom:0px;
}
.right .ui-datepicker th{
    padding:1px;
    font-weight:400 !important;
}

.right .ui-datepicker td{
    background-color:white !important;
    color:#878787 !important;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding:0px 1px !important;
}

.righ .ui-datepicker td span, .right .ui-datepicker td a{
    padding:3px 2px;
}

.right .ui-datepicker{
    width:153px;
    margin:0;
}

.right .ui-state-highlight{
    font-weight:bold;
}

.right .ui-state-disabled, .right .ui-widget-content .ui-state-disabled, .right .ui-widget-header .ui-state-disabled{
    opacity:0;
}

.ui-datepicker .ui-datepicker-prev span{
    background-image: url("/images/calendar-left.png") !important;
    background-repeat:no-repeat;
    background-position:0 0;
    margin-top:-5px;
    margin-left:-7px;
    text-indent:9999px;
}
.ui-datepicker-prev-hover,.ui-datepicker-next-hover, .ui-state-hover{
    background:none !important;
    border:none !important;
}
.ui-datepicker .ui-datepicker-next span{
    background-image: url("/images/calendar-right.png") !important;
    background-repeat:no-repeat;
    background-position:0 0;
    margin-top:-5px;
    text-indent:9999px;
}