﻿body {
    padding:0px;
    margin:0px;
}
/*body > form {
    font-family: "Roboto", sans-serif;
    font-size:13px;
}*/
/*body > form > div {
    margin: 0px auto;
    width: 1580px; 
}*/

form > div > div > .corpo {
    padding:10px;
}

.width915 {
    width: 915px; /* 915px su 1580px totali */
}
.width1560, div.width1560 {
    width: 1560px; /* 1560px su 1580px totali */
}
.width610 {
    width: 610px; /* 610px su 1580px totali */
}

input {
    font-family: "Roboto", sans-serif;
    padding: 4px 10px;
    border: 1px solid #e5e5e5;
    transition: border-color ease-in-out 150ms, box-shadow ease-in-out 150ms;
    -webkit-transition: border-color ease-in-out 150ms, box-shadow ease-in-out 150ms;
}
    input:focus {
        outline: 0;
        border-color:gray;
    }
input[type=text] {
    width: 100px;
}
input[type=button]:hover {
    /*background-color: lightgray;*/
    cursor:pointer;
}

table th {
    font-weight: 600;
}

/* 20px in più rispetto al textbox */
select {
    font-family: "Roboto", sans-serif;
    width:120px;
    padding:3px 10px;
    border: 1px solid #e5e5e5;
    transition: border-color ease-in-out 150ms, box-shadow ease-in-out 150ms;
    -webkit-transition: border-color ease-in-out 150ms, box-shadow ease-in-out 150ms;
}
    select:focus {
        outline: 0;
        border-color:gray;
    }


.glyphicon {
    position:inherit;
    background-color:transparent; /*background-color: rgb(229, 229, 229);*/
    padding: 5px;
}
.glyphicon:hover {
    background-color: lightgray;
}
.glyphicon.glyphicon-plus:before {
    color:#4cae4c;
}

/* i pulsanti devono avere la classe .btn
    possono essere: btn-default, btn-primary, btn-success, btn-warning, btn-danger, btn-info */
.btn {
    display: inline-block; margin-bottom: 0; padding: 4px 10px; font-size: 13px;
    font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle;
    -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer;
    -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    background-image: none; border: 1px solid transparent; 
    transition:background-color 200ms; -webkit-transition:background-color 200ms;
}
.btn:hover, .btn:focus, .btn.focus { color: #333333; text-decoration: none; }
.btn:active, .btn.active { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); }
.btn.disabled, .btn[disabled], fieldset[disabled] .btn { pointer-events: none; cursor: not-allowed; -webkit-box-shadow: none; box-shadow: none; filter: alpha(opacity=65); opacity: .65;}
.btn-default { color: #333; background-color: #fff; border-color: #ccc;   background-color: #E5E5E5; }
.btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled.focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default.focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active { background-color: #fff; border-color: #ccc; }
.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { color: #333333; background-color: #e6e6e6; border-color: #adadad; }
.btn-primary { color: #fff; background-color: #337ab7; border-color: #2e6da4; }
.btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #337ab7; border-color: #2e6da4; }
.btn-primary:hover, .btn-primary:focus, .btn-primary.focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { color: #ffffff; background-color: #286090; border-color: #204d74; }
.btn-success { color: #fff; background-color: #5cb85c; border-color: #4cae4c; }
.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled.focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success.focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active { background-color: #5cb85c; border-color: #4cae4c; }
.btn-success:hover, .btn-success:focus, .btn-success.focus, .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { color: #ffffff; background-color: #449d44; border-color: #398439; }
.btn-warning { color: #fff; background-color: #f0ad4e; border-color: #eea236; }
.btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled.focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning.focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active { background-color: #f0ad4e; border-color: #eea236; }
.btn-warning:hover, .btn-warning:focus, .btn-warning.focus, .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { color: #ffffff; background-color: #ec971f; border-color: #d58512; }
.btn-danger { color: #fff; background-color: #d9534f; border-color: #d43f3a; }
.btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled.focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger.focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active { background-color: #d9534f; border-color: #d43f3a; }
.btn-danger:hover, .btn-danger:focus, .btn-danger.focus, .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { color: #ffffff; background-color: #c9302c; border-color: #ac2925; }
.btn-info {color: #fff; background-color: #5bc0de; border-color: #46b8da; }
.btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled.focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info.focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active { background-color: #5bc0de; border-color: #46b8da; }
.btn-info:hover, .btn-info:focus, .btn-info.focus, .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { color: #ffffff; background-color: #31b0d5; border-color: #269abc; }
.btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { border-color: transparent; }
.btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; }
.btn-link { font-weight: 400; color: #337ab7; border-radius: 0; }
.btn-lg, .btn-group-lg>.btn { padding: 10px 16px; font-size: 18px; line-height: 1.33; border-radius: 6px; }
.btn-sm, .btn-group-sm>.btn { padding: 5px 10px; font-size: 13px; line-height: 1.5; border-radius: 3px; }
.btn-xs, .btn-group-xs>.btn { padding: 1px 5px; font-size: 13px; line-height: 1.5; border-radius: 3px; }

.l {
    float:left;
}
.r {
    float:right;
}
.b {
    clear:both;
}

.errore {
    color: red;
}


/* si applica sul footer ad un popup */
div.messaggioErrore {
    color: red;
    float:left;
    text-align:left;
    margin-bottom:10px;
}

.spaziatura_h10px { /* nota:utilizzata per ora solo in iwebDETTAGLIO per la spaziatura tra il modifica e il resto */
    width:auto;
    height:10px;
    display:block;
}


.ContentPlaceHolder {
    /*border:solid 1px black;*/
}

.TitoloPagina {
  padding: 0px;
  font-size: 28px;
  letter-spacing: -1px;
  display: block;
  /*color: #666;*/ /* solo nel gestionale */
  margin: 10px 10px 10px 0px;
  font-weight: 300;
}

.footersopra {
    border-top: 1px solid rgb(43, 54, 67);
}

.link {
    text-decoration:underline;
    cursor:pointer; color:blue;
}

tr.iwebTRsupporto {
    font-style:italic;
    color:gray;
}

tr.iwebTRsupporto input[type=text] {
    font-style:italic;
    color:gray;
}




.iwebCliccabile {
    cursor: pointer;
}
.iwebNascosto {
    display:none;
}

/* iwebSQL */
.iwebSQLSELECT, .iwebSQLUPDATE, .iwebSQLINSERT, .iwebSQLDELETE, .iwebSQLTOTAL {
    display:none; /* cancellando questo "display:none" leggo le query in pagina */
    color:lightgray;
    position:absolute;
    width:100px;
    height:20px;
    overflow:hidden;
}
    .iwebSQLSELECT:hover, .iwebSQLUPDATE:hover, .iwebSQLINSERT:hover, .iwebSQLDELETE:hover {
        overflow:auto;
        width:auto;
        height:auto;
    }

.sqlParameter {
    display:none;
}
/* fine iwebSQL */


/* INIZIO CSS MENU */
.contenitoreMenu_a_2livelli { /* il secondo div è il menu in alto */
    margin: 0px auto;
    width: auto;
    background-color: rgb(43, 54, 67);
    /* i grafici usano z-index 2 e si sovrappongono al menu in alto se non do un importanza maggiore a questo elemento */
    position:relative; z-index:3;
}
.contenitoreMenu_a_2livelli > div{ /* padre di ul.menu_a_2livelli  */
    width: 1580px; /* 1580px totali */
    margin:0 auto;
    display:block;
    background-color: rgb(43, 54, 67);
    padding: 0px;
}

ul.menu_a_2livelli span.glyphicon { /* glyphicon più piccola per il menu */
    font-size:10px;
    padding:2px 0px 0px 5px;
    background-color:transparent;
    color: #788ea8;
}
ul.menu_a_2livelli span.glyphicon.glyphiconSottomenu { /* glyphicon a sinistra per i sottomenu */
    padding:2px 5px 0px 0px;
}

ul.menu_a_2livelli  {
    /*font-family: 'Roboto', sans-serif;
    font-size:14px;*/
    list-style:none;
    float: left;
    margin: 0px;
    border: 0px;
    padding: 0px;
}

ul.menu_a_2livelli  li{
    list-style:none;
}
ul.menu_a_2livelli > li { /* li del menu (livello 0) */
    background-color: rgb(43, 54, 67);
    float:left;
    margin: 0;
    padding: 0;
}

    div > ul.menu_a_2livelli  > li > ul li a:hover {
        background-color: rgb(71, 89, 110);
    }
ul.menu_a_2livelli a {
    display: block;
    text-decoration: none;
    color: rgb(198, 207, 218); /* colore di default NON hover */
    transition:background-color 300ms;
    -webkit-transition:background-color 300ms;
}
    ul.menu_a_2livelli a:hover{
        /* background-color: rgb(163, 79, 98); colore hover background */
        color: rgb(213, 220, 228); /* colore hover */
        text-decoration: none;
    }
    ul.menu_a_2livelli li:hover a { /* serve per mantenere selezionato il menu padre anche quando non c'è l'hover specifico su di lui, ma su un suo elemento figlio */
        background-color: rgb(63, 79, 98);
        text-decoration: none;
    }

ul.menu_a_2livelli  > li > a { /* testo del livello 0 */
    padding: 14px;
}
ul.menu_a_2livelli  > li > ul{ /* di default i menu sono nascosti */
    display: none;
}
    ul.menu_a_2livelli  > li:hover ul{ /* all'hover su un menu questo diventa visibile e ottiene le seguenti proprietà */ /* li:hover ul -> non è un errore */
        display: block;
        position: absolute;
        z-index:1;
        width:130px;
        padding: 0;
    }
    ul.menu_a_2livelli  ul > li > a { /* testo all'interno di ogni livello di sottomenu */
        padding: 10px;
        width: 175px;
    }

li.menu_a_3livelli {
    position: relative;
}
ul.menu_a_2livelli li.menu_a_3livelli > ul  {
    display:none;
    top:0px;
    left:195px; /* width + padding */
}
ul.menu_a_2livelli li.menu_a_3livelli:hover > ul {
    display:block;
}


.menu_a_2livelli_Right {
    float:right;
    color: rgb(198, 207, 218); /* colore di default NON hover */
    margin-right:10px;
}
.menu_a_2livelli_Right div {
    margin:14px 0 0 0;
}
.menu_a_2livelli_Right div.loginName {
    float:left;
    margin:14px 10px 0 0;
    cursor:default;
}
.menu_a_2livelli_Right .loginStatus {
    float:left;
}
.menu_a_2livelli_Right a{
    display:block;
    color: rgb(198, 207, 218); /* colore di default NON hover */
}

/* FINE CSS MENU */


/* iwebTABELLA */
.iwebTABELLAWrapper {
    /*padding:10px 10px 10px 0px;*/
}
div.iwebTABELLAAzioniPerSelezionati {
    /*padding-top:0.5px;*/
    padding-bottom:5px;
}
div.iwebTABELLAAzioniPerSelezionati > span {
    float:left;
    line-height:28px;
}
div.iwebTABELLAAzioniPerSelezionati > select {
    display:block;
    float:left;
    margin:0 6px;
}
div.iwebTABELLAAzioniPerSelezionati > input[button] {
    display:block;
    float:left;
}

table.iwebTABELLA, table.iwebDETTAGLIO {
    border-collapse:collapse;
    text-align:left;
    width:inherit;
}
table.iwebTABELLA > thead > tr {
    background-color:white;
    vertical-align:top;
    line-height:28px;
}
table.iwebTABELLA > thead > tr:first-child {
    background-color:rgb(238, 238, 238);
    line-height:16px;
}
table.iwebTABELLA th {
    text-align:center;
}

.iwebTABFIGLIO > table.iwebDETTAGLIO > tr {
    vertical-align:top;
}
table.iwebTABELLA tbody > tr, table.iwebDETTAGLIO tbody > tr {
    background-color: white;
}
table.iwebTABELLA tbody > tr:nth-child(odd), table.iwebDETTAGLIO tbody > tr:nth-child(odd) { /* css 3 */
    background-color: rgb(249, 249, 249);
}
table.iwebTABELLA tbody > tr:hover {
    background-color: rgb(238, 238, 238);
}
table.iwebTABELLA th, table.iwebTABELLA td, table.iwebDETTAGLIO th, table.iwebDETTAGLIO td {
    border:solid 1px #dddddd;
    padding:5px 10px 5px 10px;
}

table.iwebTABELLA > tbody > tr.iwebRigaSelezionata{
    background-color: lightgray !important;
}

table.iwebTABELLA tfoot tr.iwebTABELLAFooterTotali td {
    background-color: rgb(238, 238, 238);
    line-height: 16px;
    vertical-align: top;
    font-weight: 600;
    border: solid 1px #dddddd;
}

table.iwebTABELLA > tfoot td {
    /*background-color:rgb(238, 238, 238);*/
    border-color:transparent;
    line-height:25px;
    width:auto; /*per IE8*/
}
table.iwebTABELLA .iwebTABELLAFooterPaginazione > td > div {
    float: left;
    padding: 0 5px 0 5px;
    text-align: center;
}
table.iwebTABELLA .iwebTABELLAFooterPaginazione > td > div > span {
    float: left;
}
table.iwebTABELLA .iwebTABELLAFooterPaginazione input {
    width:50px;
    margin:0px;
    text-align:center;
}
/* fine iwebTABELLA */


/* TAB */
.iwebTABPADRE { /* senza div a precedere iwebTabPadre, altrimenti non posso ovrascrivere la larghezza */
    float:right;
    width:620px;
    /*padding:10px;*/
}
div.iwebTABPADRE > div.headerTab > div.iwebTABFIGLIO { /* default */
    float:left;
    min-width:110px;
    height:20px;
    padding:5px;
    cursor:pointer;
    border-top-right-radius:10px;
    border-top-left-radius:10px;
        border:solid 1px #dddddd;
    border-bottom:none;
}
div.iwebTABPADRE > div.headerTab > div.iwebTABFIGLIO.nonUsato {
    background-color: transparent;
    cursor:default;
}
div.iwebTABPADRE > div.headerTab > div.iwebTABFIGLIO.nonUsato:hover {
    background-color: transparent;
}
div.iwebTABPADRE > div.headerTab > div.iwebTABFIGLIO:hover { /* tab hover */
    background-color: rgb(238, 238, 238);
}
div.iwebTABPADRE > div.headerTab > .iwebINIZIOTAB{ /* prima del primo tab */
}
div.iwebTABPADRE > div.headerTab > div[class~=iwebINIZIOTAB] ~ div { /* dal primo tab al tab selezionato */
    /*border-bottom:solid 1px #dddddd;*/
}
div.iwebTABPADRE > div.headerTab > div.iwebTABFIGLIO.selectedTab { /* il tab selezionato */
    background-color: rgb(238, 238, 238);
    cursor:default;
}
div.iwebTABPADRE > div.headerTab > div[class~=selectedTab] ~ div { /* dal tab selezionato all'ultimo tab */
}
div.iwebTABPADRE > div.headerTab > div.iwebFINETAB { /* dopo l'ultimo tab */
    border:none !important;
    clear:both;
}

div.iwebTABPADRE > div.corpoTab {
    padding:10px;
    background-color: rgb(238, 238, 238);
    border:solid 1px #dddddd;
}
div.iwebTABPADRE > div.corpoTab > .iwebTABFIGLIO {
    display:none;
}
div.iwebTABPADRE > div.corpoTab > .iwebTABFIGLIO.selectedTab{
    display:block;
}
div.iwebTABPADRE .iwebTABFIGLIO .iwebDETTAGLIO {
    max-width:500px;
}

div.iwebTABPADRE .selectedTab {
    position: relative;
}
div.iwebTABPADRE .selectedTab .lineaSotto {
    position:absolute;
    top: 30px;
    left: 0px;
    border-top:1px solid rgb(238, 238, 238);
    width:100%;
    height:0px;
}
/* fine TAB */


/* File upload */
.iwebFILEUPLOAD {
    border: 1px solid #e5e5e5;
    text-align:center;
    width:320px;
}
.iwebFILEUPLOAD > div.iwebDivNomeFileUpload {
    margin: 5px 0 5px 5px;
}
.iwebFILEUPLOAD > div.iwebDivNomeFileUpload > input{
    width:288px;
}
.iwebFILEUPLOAD > .iwebDivNomeFileUpload + div.btn { /* primo pulsante, quello di upload */
    margin-right:6px;
}
.iwebFILEUPLOAD > div.btn {
    position: relative;
    overflow: hidden;
    width:130px;
    margin-bottom:5px;
}
.iwebFILEUPLOAD > div.btn > input {
    position: absolute;
    cursor: pointer;
    top: -1px; right: -1px; left: -1px; bottom: -1px;
    margin: 0; padding: 0;
    opacity: 0; filter: alpha(opacity=0);
}
.iwebFILEUPLOAD .iwebDivImmagineFileUpload {
    font-size:0px;
}
.iwebFILEUPLOAD .iwebDivImmagineFileUpload > img {
    max-width:310px;
    max-height:195px;
    /*padding-bottom:5px;*/
}
.iwebFILEUPLOAD .iwebContenutoFileUpload, .iwebFILEUPLOAD .iwebPathFileUpload, .iwebFILEUPLOAD .iwebPathDaWebConfigFileUpload {
    display:none;
}
/* fine File upload */

/* da mettere nell'head */

/* iwebDDL */
/*.iwebFILTRO select[multiple] {
    position: absolute;
}
.iwebFILTRO select[multiple]:focus{
    height: 200px;
}*/
.contenitoreSelectMultiple { /* classe da assegnare al th che contiene una DDL a scelta multipla */
    text-align:left;
    width:120px; /* 120px è comunque di default ereditato dal tag select generico */
    height:84px;
}
.contenitoreSelectMultiple > select:focus { /* classe da assegnare al th che contiene una DDL a scelta multipla */
    position: absolute;
    z-index:1;
    width:auto;
    height:200px;
}
.iwebSELECTSELECTED {
    display:none;
}
.contenitoreIwebDDL { /* da mettere nell'elemento genitore di una select */
    text-align:left;
}
/* fine iwebDDL */

/* iwebTIPOCAMPO */
select.iwebTIPOCAMPO_varchar {
    width:322px;
}
input[type=text].iwebTIPOCAMPO_varchar {
    width:300px;
}
input[type=text].iwebTIPOCAMPO_date {
    text-align:center;
    width:70px;
    /*width:98px;*/
}
textarea {
    /*width:300px;*/
    width: calc(100% - 24px);
    height:45px;
    padding:4px 10px;
    border: 1px solid #e5e5e5;
    margin: 0px;
        /*margin: 0px 0px -4px 0px; todo: solo per chrome*/
    transition: border-color ease-in-out 150ms, box-shadow ease-in-out 150ms;
    -webkit-transition: border-color ease-in-out 150ms, box-shadow ease-in-out 150ms;
}
    textarea:focus {
        outline: 0;
        border-color:gray;
    }

.iwebCodice_tdPadre {
    text-align:center;
}
.iwebCodice {
}

.iwebTitolo_tdPadre {
    text-align:left;
}
.iwebTitolo {
}

.iwebDescrizione_tdPadre {
    text-align:left;
}
.iwebDescrizione {
    font-size:12px;
    padding:0px;
    line-height:10px;
}

.iwebValuta_tdPadre { /* viene aggiunto automaticamente */
    text-align:right;
}
.iwebValuta {
    width:60px;
    display:inline-block;
} /*.iwebValuta:after { content:' €'; }*/

.iwebQuantita_tdPadre { /* viene aggiunto automaticamente */
    text-align:right;
}
.iwebQuantita {
    width:60px;
    display:inline-block;
}
.iwebData_tdPadre { /* viene aggiunto automaticamente */
    text-align:center;
}
.iwebData {
}

input[type=checkbox].iwebCheckbox {
    display:block;
    margin:0 auto;
    width:20px;
}
/* fine iwebTIPOCAMPO */


/* iwebAUTOCOMPLETAMENTO */
/*  questo serve a farlo funzionare anche se si trova sull'header di una iwebTABELLA
.iwebAUTOCOMPLETAMENTO {
    line-height:initial;
    font-weight:initial;
    text-align:initial;
}*/
.iwebAUTOCOMPLETAMENTO {
    display:inline-block;
}

.iwebAUTOCOMPLETAMENTO input{ /* immagine lente di sfondo all'input */
    background-image: url('/gestionale/immagini/lente-18-c.png');
    background-repeat: no-repeat;
    background-position: 98%;
}
.iwebAUTOCOMPLETAMENTO input:hover { /* immagine lente di sfondo all'input */
    background-image: url('/gestionale/immagini/lente-18-a.png');
}
.iwebAUTOCOMPLETAMENTO input:focus { /* immagine lente di sfondo all'input */
    background-image: url('/gestionale/immagini/lente-18-d.png');
}

.iwebAUTOCOMPLETAMENTO .iwebAUTOCOMPLETAMENTO_risultato {
    cursor:pointer;
    padding:3px 5px;
}
.iwebAUTOCOMPLETAMENTO .iwebAUTOCOMPLETAMENTO_risultato:hover {
    background-color: rgb(238, 238, 238);
}
.iwebAUTOCOMPLETAMENTO .iwebAUTOCOMPLETAMENTO_risultatoSelezionato {
    cursor:pointer;
    padding:3px 5px;
    background-color: rgb(238, 238, 238);
}
.iwebAUTOCOMPLETAMENTO > .iwebAUTOCOMPLETAMENTO_risultatiRicerca {
    position:absolute;
    display:block;
    background-color: white;
}
.iwebAUTOCOMPLETAMENTO > .iwebAUTOCOMPLETAMENTO_risultatiRicerca > span:first-child {
    position:relative;
    display:block;
    padding:0 7px 2px 7px;
    border-bottom:solid 1px gray; 
    border-left:solid 1px gray;
    float:right;
    cursor:pointer;
}
.iwebAUTOCOMPLETAMENTO > .iwebAUTOCOMPLETAMENTO_risultatiRicerca > span:first-child + span {
    display:block;
}
/* fine iwebAUTOCOMPLETAMENTO */

label.iwebMostraImmagini {
    cursor:pointer;
}
label.iwebMostraImmagini > input {
    cursor:pointer;
    vertical-align:text-top;
    margin-right:0px;
}


/* iwebImmagine */
.iwebImmagine {
    text-align:center;
}
.iwebImmagine img {
    max-width:150px;
    width:100%;
    display:inline-block;
}
.iwebImmagine .iwebImmagineSRC {
    display:none;
}
.iwebImmagine .iwebImmagineNOMEORIGINALE {
    display:block;
    font-size: 12px;
}


/* iwebVideo */
.iwebVideo {
    text-align: center;
}
.iwebVideo > video {
    text-align:center;
    max-width:150px;
    max-height:150px;
}
.iwebVideo .iwebVideoSRC {
    display:none;
}
.iwebVideo .iwebVideoNOMEORIGINALE {
    display:block;
    font-size: 12px;
}

/* iwebGRAFICO */
.contenitoreIwebGrafico {
    position:relative;
    display:inline-block; /* la dimensione del blocco viene data da .iwebGRAFICO */
}
.contenitoreIwebGrafico > div:first-child {
    position:absolute;
    z-index:2;
    width:100%
}
.contenitoreIwebGrafico-titolo {
    padding:7px 0 0 14%; /* 14% deve essere lo stesso specificato come left sul js */
    display:inline-block;
    font-weight:bold;
}
.iwebGRAFICO {
    position:relative;
    width:calc(621px - 2px); height:calc(621px * 2 / 3 - 2px); /* mantenere un rapporto di 3/2 */
    border:solid 1px lightgray;
}
.iwebGRAFICO > div:first-child {
    position:absolute; z-index:1;
    left:0; top:0; right:0; bottom:0;
    background-image:url('/gestionale/immagini/opacity.png');
}
.iwebGRAFICO > div:first-child > div[id|=google-visualization-errors] {
    width:100%; height:100%;
    position: absolute;
    top: 0;
    padding: 23% 29%;
    box-sizing: border-box;
    text-align:center;
}
.iwebGRAFICO > div:first-child > div[id|=google-visualization-errors] > span {
    font-family: "Roboto", sans-serif;
    height: 100%;
    font-size:20px;
    display: block;
}

.titoloGrafico {
    font-size:18px;
    padding:0 0 10px 10px;
}

/* iwebLISTAPULSANTI */
ul.iwebLISTAPULSANTI {
    list-style-type: none;
    margin:0;
    padding:0;
    padding-bottom:5px;
}
ul.iwebLISTAPULSANTI > li {
    float: left;
    margin-left:-1px;
    border:solid 1px silver;
    cursor:pointer;
    padding: 5px 10px;
}
ul.iwebLISTAPULSANTI > li.selected {
    background-color: rgb(238, 238, 238);
    box-shadow: inset 0px 1px 5px lightgray;
}
ul.iwebLISTAPULSANTI > li:hover {
    border-color: #adadad;
    box-shadow: inset 0px 1px 5px lightgray;
    /*border-color: gray;*/
    position:relative;
    z-index:1;
}
ul.iwebLISTAPULSANTI > li:active {
    outline: 0;
    background-image: none;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
/* fine iwebGRAFICO */
