#ui-datepicker-div, .ui-datepicker-inline {

	padding: 0;
	margin: 0 0 0 0px;
	width: 185px;
}
#ui-datepicker-div {
	display: none;
	background: #ffffff;
	z-index: 9999; /*must have*/
}
.ui-datepicker-inline {
	
	display: block;
	border: 0;
}
.ui-datepicker-rtl {
	direction: rtl;
}
.ui-datepicker-dialog {
	padding: 5px !important;
	border: 4px ridge #ddd !important;
}
button.ui-datepicker-trigger {
	width: 25px;
}
img.ui-datepicker-trigger {
	margin: 2px;
	vertical-align: middle;
}
.ui-datepicker-prompt {
	float: left;
	padding: 2px;
	color: #000;
}
* html .datepicker_prompt {
	width: 185px;
}

.ui-datepicker-control, .ui-datepicker-links, .ui-datepicker-header, .ui-datepicker {
	clear: both;
	float: left;
	width: 100%;
	color: #00326E !important;
}

.ui-datepicker-control {
	background: #CBCBCB;
}

.ui-datepicker-links {
	padding: 10px 0px;
	color: #3F638C;
}

.ui-datepicker-control, .ui-datepicker-links {
	font-weight: bold;
	font-size: 80%;
	letter-spacing: 1px;
	color: #cc0000;
}

.ui-datepicker-links label { /* disabled links */
	color: #888;
}

.ui-datepicker-clear, .ui-datepicker-prev {
	float: left;
	width: 34%;
}

.ui-datepicker-rtl .ui-datepicker-clear, .ui-datepicker-rtl .ui-datepicker-prev {
	float: right;
	text-align: right;
}

table.ui-datepicker {
	margin-top:4px;
}

.ui-datepicker-current {
	float: left;
	width: 30%;
	text-align: center;
}

.ui-datepicker-close, .ui-datepicker-next {
	float: right;
	width: 34%;
	text-align: right;
}
.ui-datepicker-rtl .ui-datepicker-close, .ui-datepicker-rtl .ui-datepicker-next {
	float: left;
	text-align: left;
}

/* contine la select dell'anno/mese */
.ui-datepicker-header {
	padding: 1px 0 3px;
	text-align: center;
	height: 1.3em;
}
.ui-datepicker-header select {
	color: #000000;
	border: 1px solid #f0f0f0 !important;
	margin-right:5px;
}
.ui-datepicker {
	/*background: #ccc;
	
text-align: center;
	font-size: 100%;
*/
}

.ui-datepicker a {
	display: block;
	width: 20px;
	height: 20px;
	padding: 0;
	color: #00326E;
	text-align: center;
	font-size: 10px !important;
	line-height: 20px;
}

.ui-datepicker-title-row {
	color: #00326E !important;
}
.ui-datepicker-title-row a {
	color: #000000 !important;
	font-weight:bold;
}

.ui-datepicker-daysRow {
	background: #eee;
	color: #00326E !important;
}

.ui-datepicker-weekCol {
	color: #00326E !important;
}

.ui-datepicker-days-cell {
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	color: #00336F;
	border: 1px solid #fff;
	font-size: 10px !important;
	background-color: #f0f0f0;
}

/* celle rosse */
.ui-datepicker-daysCell-red {
	color: #ffffff !important;
	border: 1px solid #ddd;
	background: url(../../img/css/ag/calendar_day_bg_red.gif);
}
/* celle arancioni */
.ui-datepicker-daysCell-orange {
	color: #ffffff !important;
	border: 1px solid #ddd;
	background: url(../../img/css/ag/calendar_day_bg_orange.gif);
}
/* celle verdi */
.ui-datepicker-daysCell-green {
	color: #ffffff !important;
	border: 1px solid #ddd;
	background: url(../../img/css/ag/calendar_day_bg_green.gif);
}

.ui-datepicker-daysCell-red a,
.ui-datepicker-daysCell-orange a,
.ui-datepicker-daysCell-green a {
	color: #ffffff !important;
}

.ui-datepicker-daysCell a{
	display: block;
	color: black !important;
}

.ui-datepicker-weekEndCell {
	color: #00336F;
}

.ui-datepicker-daysCellOver {
	background: #fff;
}

.ui-datepicker-unselectable {
	color: #888;
	background-color: #f0f0f0;
}

.ui-datepicker-unselectable a {
	width: 18px;
	height: 18px;
} 

.ui-datepicker-today {
	background: #ffffff !important;
}

.ui-datepicker-currentDay {
	background: #ffffff !important;
}

.ui-datepicker-status {
	width: 100%;
	font-size: 80%;
	text-align: center;
}

/* ________ Datepicker Links _______

** Reset link properties and then override them with !important */
#ui-datepicker-div a, .ui-datepicker-inline a {
	cursor: pointer;
	margin: 0;
	padding: 0;
	background: none;
	color: #000;
}
.ui-datepicker-inline .ui-datepicker-links a {
	padding: 0 5px !important;
}
.ui-datepicker-control a, .ui-datepicker-links a {
	padding: 2px 5px !important;
	color: #000000 !important;
}

.ui-datepicker-control a:hover {
	background: #fdd !important;
	color: #cc0000 !important;
}
.ui-datepicker-links a:hover, .ui-datepicker-titleRow a:hover {
	color: #cc0000 !important;
}

/* ___________ MULTIPLE MONTHS _________*/

.ui-datepicker-multi .datepicker {
	/*
border: 1px solid #777;
*/
}
.ui-datepicker-oneMonth {
	float: left;
	width: 185px;
}
.ui-datepicker-newRow {
	clear: left;
}

/* ___________ IE6 IFRAME FIX ________ */

.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*/
}

#ui-datepicker-div table.ui-datepicker {
	border-collapse: separate !important;
	border-spacing: 1px 1px !important;
	border: 1px solid #ddd;
}

/* stile per le date con eventi associati */
.is_calendar_event {
	background: #339900 !important;
	color: #ffffff !important;
}

.is_calendar_event a {
	color: #ffffff !important;
}

.is_calendar_event_for_1 {
	background: #C37D0D !important;
	color: #ffffff !important;
}

.is_calendar_event_for_1 a {
	color: #ffffff !important;
}

.is_calendar_event_for_2 {
	background: #B3D0EF !important;
	color: #ffffff !important;
}

.is_calendar_event_for_2 a {
	color: #ffffff !important;
}

.is_calendar_event_for_3 {
	background: #023469 !important;
	color: #ffffff !important;
}

.is_calendar_event_for_3 a {
	color: #ffffff !important;
}

.is_calendar_event_for_4 {
 background: #009933 !important;
 color: #ffffff !important;
}

.is_calendar_event_for_4 a {
 color: #ffffff !important;
}

.is_calendar_event_for_5 {
 background: #FF3366 !important;
 color: #ffffff !important;
}

.is_calendar_event_for_5 a {
 color: #ffffff !important;
}



