/* Main Style Sheet for jQuery UI date picker */
.ui-datepicker-trigger { margin-left: 5px; vertical-align:bottom; }
.ui-helper-clearfix { display:inline-block; overflow:hidden; }
.ui-helper-clearfix { display:block; }

#ui-datepicker-div, .ui-datepicker-inline {
	/*resets*/margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 70%; list-style: none;
	font-family: Verdana, Arial, sans-serif;
	background: #fff;
	border: 4px solid #d3d3d3;
	width: 15.6em;
	padding: .3em;
	position: relative;
}
#ui-datepicker-div {
	z-index: 9999; /*must have*/
	display: none;
	background: #fff;
}
.ui-datepicker-inline { float: left; display: block; }
.ui-datepicker-header { font-size: 0.9em; margin-bottom: 3px; position: relative; text-align:center; padding:1px 0; }
.ui-datepicker-header div { width: 77%; cursor: pointer; color: #555555; margin:0 auto; }
.ui-datepicker-title { height: 18px; width: 100%; position: relative; }
.ui-datepicker-next, .ui-datepicker-prev {
	top: 1px;
	position: absolute;
	text-indent: -999999px;
	width: 16px;
	height:16px;
	cursor: pointer;
	background: #e6e6e6 url(../images/calendar/arrow-dark-left.gif) 50% 50% no-repeat;
	border: 1px solid #d3d3d3;
	font-size: 1em;
	display: block;
}
.ui-datepicker-prev { left: 1px; }
.ui-datepicker-next { right: 1px; }
.ui-datepicker-next:hover, .ui-datepicker-prev:hover { background: #dadada; }
.ui-datepicker-next { background: #e6e6e6 url(../images/calendar/arrow-dark-right.gif) 50% 50% no-repeat; }
.ui-datepicker-prev:hover { background: url(../images/calendar/arrow-light-left.gif) 50% 50% no-repeat; }
.ui-datepicker-next:hover { background: url(../images/calendar/arrow-light-right.gif) 50% 50% no-repeat; }

.ui-datepicker-header select {
	border: 1px solid #d3d3d3;
	color: #555555;
	background: #e6e6e6;
	font-size: 1em;
	line-height: 1.4em;
	margin: 0 !important;
}
.ui-datepicker-header select.ui-datepicker-new-month {
width: 7em;
left: 2em;
}
.ui-datepicker-header select.ui-datepicker-new-year {
width: 5em;
left: 9.2em;
}
table.ui-datepicker-calendar {
	width: 15.5em;
	text-align: right;
}
table.ui-datepicker-calendar th {
	padding: .3em 0;
	text-align: center;
	font-size: .9em;
	color: #222222;
	text-transform: uppercase;
	font-weight:normal;
}
table.ui-datepicker-calendar td a {
	padding: .1em .3em .1em 0;
	display: block;
	color: #555555;
	background: #e6e6e6;
	cursor: pointer;
	border: 1px solid #ffffff;
	text-decoration:none;
}
table.ui-datepicker-calendar td a:hover {
	border: 1px solid #999999;
	color: #212121;
	background: #dadada;
}
table.ui-datepicker-calendar td a:active {
	border: 1px solid #af6262;
	color: #222222;
	background: #dadada;
}

table.ui-datepicker-calendar .ui-datepicker-unselectable { color: #ddd; }
table.ui-datepicker-calendar .ui-datepicker-current-day a { border: 1px solid #af6262; }

/* 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*/
}