html {
   height: 100%;
}

body {
   /* background: #f8f8f8 url("../images/logo/background6.png") no-repeat top left; */
   background: #f8f8f8;
   height: 98%;
   width: 100%;
}

body#pulse {
   /*background: #f8f8f8 url("../images/logo/pulse/background.png") no-repeat  150px -100px;*/
   /* background: #f8f8f8 url("../images/logo/pulse/background.png") no-repeat center -100px; */
   background: #f8f8f8;
   /* url("../images/logo/pulse/background.png") no-repeat center center; */
   height: 98%;
   width: 100%;
   /* overflow-x: hidden; */
}

body#abilitazioni {
   /* background: #f8f8f8 url("../images/logo/background-cl.png") no-repeat center; */
   /* background-size: 60%; */
   height: 98%;
   width: 100%;
}

body#login {
   background: #f8f8f8;
}

label{
   cursor: pointer;
}

form {
   background: #f8f8f8;
}

input.integer, input.decimal { text-align: right;}

.web2py-menu-active {
   background: #f8f8f8 !important;
   /* -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.25);
   box-shadow: inset 0 2px 4px rgba(0,0,0,.25); */
}

span#image_plus_new {
   position: relative;
   top: -5px;
   left: 2px;
   font-size: 8px;
   color: yellow;
   font-weight: bold;
}

.web2py-menu-active > a > div > span#image_plus_new {
   color: red;
}

.navbar-inverse .navbar-nav > li.web2py-menu-active > a { color: #333333; }

.web2py-menu-first a[href='/sel_app'] { 
   padding:0px;
}

span#spanSelApp { 
   display: inline-block;
   width: 22px; 
   height: 22px; 
   background-image: url("../images/sel_app.png");
   /*background-position: center center;*/
   background-repeat: repeat-x;
   position: relative;
   top: 4px;
   margin: 0 9px 0px 4px;
}

span#spanSelApp:hover { 
   background-image: url("../images/sel_app-active.png");
   /*background-position: center center;*/
   background-repeat: repeat-x; 
}

div#div_header_bdg {
   display: none;
   position: absolute;
   top:0;
   min-height: 100%;
   min-width: 100%;
   background: #EDEDED none repeat scroll 0 0;
   opacity: 0.8;
   padding: 4px 0px;
   z-index: 1000;
}

div#div_header_new {
   display: none;
   position: absolute;
   top: 0px;
   /*background-color: #4e9dd4;*/
   background-color:#88C1E8;
   min-height: 98.5%;
   min-width: 300px;
   width: 300px;
   z-index: 9999;
   margin: 4px;
   padding: 4px 6px;
}

div.filtri_ricerca {
   background: #f8f8f8;
   /* background-image: linear-gradient(to bottom, #F8F8F8 0px, #D7D7D7 100%); */
   background-repeat: repeat-x;
   border-radius: 4px;
   border-width: 1px;
   border-color: #D7D7D7;
   color: #333;
   font-weight: 400;
   margin: 0px;
   /*min-height: 410px;*/
   opacity: 1;
   /* padding: 8px 4px; */
   right: auto;
   vertical-align: baseline;
}

#avvia_ricerca {
   margin-left: 0;
}

/* per Firefox */
@supports (-moz-appearance:none) {
   input, button, textarea { outline: none !important; }
}

div.filtri_ricerca table tr {
   /* la riga sottostante comporta problemi di visualizzazione in IE*/
   /* min-height: 40px; */
}

div.filtri_ricerca table tr td {
   white-space: nowrap;
   padding-right:10px;
   padding-bottom:4px;
}

div.sx-arrow {
   background-image: url("../images/sx-arrow.png");
   background-position: center center;
   background-repeat: no-repeat;
   width:20px;
}

div.dx-arrow {
   background-image: url("../images/dx-arrow.png");
   background-position: center center;
   background-repeat: no-repeat;
   width:20px;
}

ul.albero_gruppo_documento{
   position:relative;
   left:-10px;
   top:4px;
}

ul.albero_gruppo_documento, ul.albero_gruppo_documento ul {
   list-style-type: none;
   margin:0px;
   padding:0px;
}

ul.albero_gruppo_documento li {
   padding-left:10px;
}

ul.albero_gruppo_documento span:hover, ul.albero_gruppo_documento label:hover {
   text-decoration: underline;
   cursor:pointer;
}

table.table_gruppo_documento {
   width:100%;
   border-collapse: collapse;
}

table.table_gruppo_documento td {
   border: 1px solid lightgray;
}

table.table_gruppo_documento td#td_albero{
   min-width:500px;
   width:500px;
}

table.table_gruppo_documento td#td_modifica{
   vertical-align: top;
   min-width: 500px;
}

table.table_gruppo_documento td#td_modifica table td{
   border:0px;
}

table.table_gruppo_documento td#td_modifica table td:first-child{
   width:130px;
   padding-left:10px;
}

span.select2-selection--single {
   border-left:1px solid #C7E2F1 !important;
   border-bottom: 1px solid #C7E2F1 !important;
   border-right:1px solid #C7E2F1 !important;
   cursor: default !important;
}

span.select2-selection--single:hover {
   border-left:1px solid C7E2F1 !important;
   border-bottom:1px solid #C7E2F1 !important;
   border-top:1px solid #3C7FB1 !important;
   border-right:1px solid #3C7FB1 !important;
   
}

span.select2.freccia-giu {
   background: url('../images/freccia-giu.png') no-repeat;
   display:block;
   width:16px;
   height:16px;
   position: relative;
   top: 2px;
   left: 4px;
   border-radius:0px 2px 2px 0px;
}

span.select2.freccia-giu-hover  {
   background: url('../images/freccia-giu-active.png') no-repeat 0px 1px;
   border:1px solid #3C7FB1;
   border-top:0px;
   position:relative;
   top:1px;
   left:3px;
   width:18px;
   height:18px;
}

.context-menu-icon {
   display:block;
   width:16px;
   height:16px;
   
   bottom: 0;
   left: 0.2em;
   margin: auto 0;
   position: absolute;
   top: 0;
}

.context-menu-icon.icon-fileopen{
   background: url('../images/icone/fileopen.png') no-repeat;
}

.context-menu-icon.icon-details{
   background: url('../images/icone/dettagli.png') no-repeat;
}

.context-menu-icon.icon-selectall{
   background: url('../images/icone/selectall.png') no-repeat;
}

.context-menu-icon.icon-download{
   background: url('../images/icone/download.png') no-repeat;
}

.context-menu-icon.icon-xls{
   background: url('../images/icone/xls.png') no-repeat;
}

/*background: url('/share_plus/static/images/icone/condividi.png') no-repeat;*/
.context-menu-icon.icon-condividi{
   background: url('../images/icone/condividi.png') no-repeat;
}

span.icon-exit{
   display:inline-block;
   width:16px;
   height:20px;
   margin: auto 0;
   background: url('../images/icone/icon-exit.png') no-repeat 0 1px;
   cursor:pointer;
}

span.icon {
   border: 1px outset gray;
   border-collapse: separate;
   border-radius: 5px;
   box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.3);
   color: white;
   cursor: pointer;
   margin: 1px;
   padding: 5px 6px;
   width: 27px;
   height: 27px;
}

input.icon.icon-bacheca{
   background: url('../images/pulsanti/bacheca_long.png') no-repeat;
   padding-left: 30px;
   padding-right: 6px;
}

input.icon.icon-bacheca:hover{
   background: url('../images/pulsanti/bacheca_icon-active.png') no-repeat;
   padding-left: 30px;
   padding-right: 6px;
}

span.icon.icon-search{
   background: url('../images/pulsanti/search_long.png') no-repeat;
   padding-left: 14px;
   padding-right: 10px;
}

span.icon.icon-search:hover{
   background: url('../images/pulsanti/search_long-active.png') no-repeat;
}

span.icon.icon-search_small{
   background: url('../images/pulsanti/search_small.png') no-repeat;
   padding-left:14px;
   padding-right:10px;
}

span.icon.icon-search_small:hover{
   background: url('../images/pulsanti/search_small-active.png') no-repeat;
}

span.icon.icon-favourite{
   background: url('../images/pulsanti/favourite.png') no-repeat;
   padding: 4px 10px 5px 15px;
   position:relative;
   top:1px;
}

span.icon.icon-favourite:hover{
   background: url('../images/pulsanti/favourite-active.png') no-repeat;
}

span.icon.icon-favourite-add{
   background: url('../images/pulsanti/favourite_add.png') no-repeat;
   padding: 4px 10px 4px 15px;
}

span.icon.icon-favourite-add:hover{
   background: url('../images/pulsanti/favourite_add-active.png') no-repeat;
}

span.icon.icon_green-search{
   background: url('../images/pulsanti/search_long_green.png') no-repeat;
   padding-left:14px;
   padding-right:10px;
}

span.icon.icon_green-search:hover{
   background: url('../images/pulsanti/search_long_green-active.png') no-repeat;
}


input.icon.icon-search {
   background: url('../images/pulsanti/search_long.png') no-repeat;
   padding-left:25px;
   padding-right:10px;
}

input.icon.icon-search:hover {
   background: url('../images/pulsanti/search_long-active.png') no-repeat;
}

input.icon.icon_green-search {
   background: url('../images/pulsanti/search_long_green.png') no-repeat;
   padding-left:25px;
   padding-right:10px;
}

input.icon.icon_green-search:hover {
   background: url('../images/pulsanti/search_long_green-active.png') no-repeat;
}


span.icon.icon-change{
   background: url('../images/pulsanti/change.png') no-repeat;
}

span.icon.icon-change:hover{
   background: url('../images/pulsanti/change-active.png') no-repeat;
}

span.icon.icon-delete{
   background: url('../images/pulsanti/delete.png') no-repeat;
}

span.icon.icon-delete:hover{
   background: url('../images/pulsanti/delete-active.png') no-repeat;
}

span.icon.icon-fileopen{
   background: url('../images/pulsanti/fileopen.png') no-repeat;
}

span.icon.icon-fileopen:hover{
   background: url('../images/pulsanti/fileopen-active.png') no-repeat;
}

span.icon.icon-selectall{
   background: url('../images/pulsanti/selectall.png') no-repeat;
}

span.icon.icon-selectall:hover{
   background: url('../images/pulsanti/selectall-active.png') no-repeat;
}

span.icon.icon-download{
   background: url('../images/pulsanti/download.png') no-repeat;
}

span.icon.icon-download:hover{
   background: url('../images/pulsanti/download-active.png') no-repeat;
}

span.icon.icon_green-download{
   background: url('../images/pulsanti/download_green.png') no-repeat;
}

span.icon.icon_green-download:hover{
   background: url('../images/pulsanti/download_green-active.png') no-repeat;
}

span.icon.icon-conferma{
   background: url('../images/pulsanti/conferma.png') no-repeat;
}

span.icon.icon-conferma:hover{
   background: url('../images/pulsanti/conferma-active.png') no-repeat;
}

span.icon.icon-conferma.icon-conferma-default{
   position:absolute;
   top:1px;
   right:25px;
   background-size:19px 19px;
   width:20px;
   height:20px;
}

span.icon.icon-rifiuta{
   background: url('../images/pulsanti/rifiuta.png') no-repeat;
}

span.icon.icon-rifiuta:hover{
   background: url('../images/pulsanti/rifiuta-active.png') no-repeat;
}

span.icon.icon-rifiuta.icon-rifiuta-default{
   position:absolute;
   top:1px;
   right:25px;
   background-size:19px 19px;
   width:20px;
   height:20px;
}

span.icon.icon-upload{
   background: url('../images/pulsanti/upload.png') no-repeat;
}

span.icon.icon-upload:hover{
   background: url('../images/pulsanti/upload-active.png') no-repeat;
}

span.icon.icon-restituito{
   background: url('../images/icone/restituito.png') no-repeat;
   box-shadow: none;
   border: 0px;
   top: 2px !important;
   right: -2px !important;
   background-size:auto !important;
   cursor: default;
}

span.icon.icon-upload.icon-upload-default,
span.icon.icon-restituito.icon-restituito-default{
   position:absolute;
   top:1px;
   right:1px;
   background-size:19px 19px;
   width:20px;
   height:20px;
}

span.icon.icon-xls{
   background: url('../images/pulsanti/xls.png') no-repeat;
}

span.icon.icon-xls:hover{
   background: url('../images/pulsanti/xls-active.png') no-repeat;
}
/*background: url('/share_plus/static/images/pulsanti/condividi.png') no-repeat;*/
span.icon.icon-condividi{
   background: url('../images/pulsanti/condividi.png') no-repeat;
}
/*background: url('/share_plus/static/images/pulsanti/condividi-active.png') no-repeat;*/
span.icon.icon-condividi:hover{
   background: url('../images/pulsanti/condividi-active.png') no-repeat;
}


span.icon.icon_green-xls{
   background: url('../images/pulsanti/xls_green.png') no-repeat;
}

span.icon.icon_green-xls:hover{
   background: url('../images/pulsanti/xls_green-active.png') no-repeat;
}

span.icon.icon-sospeso{
   margin-right: 10px;
   border: 0px;
   box-shadow: none;
}

span.icon.icon-scadenza{
   border: 0px;
   box-shadow: none;
}

.ui-progressbar .ui-progressbar-value {
   margin:0px;
}

button.btn-evento { 
   color: darkred;
   /* background: yellow;  */
   /* background: url("../images/tasto-bg_yellow.png") repeat-x scroll 0 -1px transparent; */
   background: rgb(255, 217, 0);
   border: 1px solid #ffac00;
}

button.btn-evento:hover {
   color: darkred;
   /* background: #D9D900; */   
   /* background: url("../images/tasto-bg_yellow-active.png") repeat-x scroll 0 -1px transparent; */
   background: rgb(255, 240, 150);
}

button.btn-evento:active, button.btn-evento:focus {
   background: rgb(255, 240, 150);
   border-color:#dbdbdb;
}