/*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://ui.jquery.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
*/

/* Layout helpers
----------------------------------*/
.ui-helper-hidden { display: none; }
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; list-style: none; }
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.ui-helper-clearfix { display: inline-block; }
/* required comment for clearfix to work in Opera \*/
* html .ui-helper-clearfix { height:1%; }
.ui-helper-clearfix { display:block; }
/* end clearfix */
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }

/* Interaction Cues
----------------------------------*/
.ui-state-disabled { cursor: default !important; }

/* Icons
----------------------------------*/

/* states and images */
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }

/* Misc visuals
----------------------------------*/

/* Overlays */
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color:#000; opacity:.35; filter:alpha(opacity:35); }

/* Modal
----------------------------------*/
.ui-dialog                { background:transparent url(images/sfondoModal.png) no-repeat center center; padding:25px 35px; width:240px !important; height:160px !important; }
.dialog-long            { background:transparent url(images/sfondoModalLong.png) no-repeat center center; height:345px !important; }
.ui-dialog-titlebar       { border-bottom:1px solid #b9b3ac; padding-top:2px; height:19px; font-size:15px; font-weight:bold; letter-spacing:-1px; color:#594938; margin-bottom:20px; cursor:move; }
.ui-dialog-titlebar-close { position:absolute; top:30px; left:265px; width:8px; height:10px; background:transparent url(images/icoClose.png) no-repeat center center; }

.ui-dialog                { _background-image:url(images/sfondoModal.gif); }
.dialog-long            { _background-image:url(images/sfondoModalLong.gif); }
.ui-dialog-titlebar-close { _background-image:url(images/icoClose.gif); }

/* Datepicker
----------------------------------*/
.ui-datepicker { width: 17em; padding:4px; z-index:2000; }
.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; cursor:pointer; }
.ui-datepicker .ui-datepicker-prev { left:2px; }
.ui-datepicker .ui-datepicker-next { right:2px; }
.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 { float:left; 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 .ui-datepicker-title select.ui-datepicker-year { float: right; }
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; }
.ui-datepicker th { 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: 0; 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:left; 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*/
}

/* Component containers
----------------------------------*/
#ui-datepicker-div { font-family: Arial,sans-serif; font-size: 11px; display:none; }
#ui-datepicker-div input, #ui-datepicker-div select, #ui-datepicker-div textarea, #ui-datepicker-div button { font-family: Arial,sans-serif; font-size: 11px; }
#ui-datepicker-div .ui-widget-header { color: #111; font-weight: bold; }
#ui-datepicker-div .ui-widget-header a { color: #ffffff; }
#ui-datepicker-div { border: 1px solid #d8dcdf; background-color:#fff; color: #5d5d5d; }
#ui-datepicker-div a { color: #d8dcdf; }

/* Interaction states
----------------------------------*/
#ui-datepicker-div .ui-state-default { font-weight: bold; color: #333; outline: none; }
#ui-datepicker-div .ui-state-default a { color: #004276; text-decoration: none; outline: none; }
#ui-datepicker-div .ui-state-hover, #ui-datepicker-div .ui-state-focus { font-weight: bold; color: #dd0033; outline: none; }
#ui-datepicker-div .ui-state-hover a { color: #dd0033; text-decoration: none; outline: none; }
#ui-datepicker-div .ui-state-active { font-weight: bold; color: #dd0033; outline: none; }
#ui-datepicker-div .ui-state-active a { color: #dd0033; outline: none; text-decoration: none; }

/* Interaction Cues
----------------------------------*/
#ui-datepicker-div .ui-state-highlight {border: 1px solid #d8dcdf; background: #EEE; color: #777; }

/* Icons
----------------------------------*/

/* states and images */
#ui-datepicker-div .ui-icon { width: 16px; height: 16px; }

/* positioning */
.ui-icon-circle-triangle-e { background-image: url(images/freccia_right.jpg); }
.ui-icon-circle-triangle-w { background-image: url(images/freccia_left.jpg); }

.ui-icon-triangle-1-e, .ui-icon-triangle-1-s { display:none; }
