body {
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif, Helvetica;
    font-size: 12px;
    color: #000000;
}

a {
    text-decoration: none;
    color: #000000;
}

.chiudi {
    clear: both;
}

.sizing {
    box-sizing: border-box;
}
.nero {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #000000;
    background-color: rgba(0,0,0, 0.5);
    z-index: 50;
    display: none;
}

.oscura {
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #000000;
    background-color: rgba(0,0,0, 0.5);
    z-index: 99999;
    display: none;
    text-align: center;
}

.oscura img {
    margin-top: 200px;
}

/* top gestionale */

.top {
    position: fixed;
    width: 100%;
    height: 50px;
    z-index: 10;
    background-image: url('/immagini/bkg_top.png');
}
.logo {
    position: absolute;
    height: 50px;
    width: auto;
    left: 20px;
}

.top_link {
    position: absolute;
    left: 250px;
    height: 50px;
    width: auto;
}

.top_link a {
    display: block;
    float: left;
    height: 30px;
    width: auto;
    margin-right: 5px;
    margin-top: 10px;
    padding: 0px 10px;
    background-color: #023759;
    color: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 30px;
    border-right: 1px solid #1a6a9d;
    border-bottom: 1px solid #1a6a9d;
    border-top: 1px solid #002c53;
    border-left: 1px solid #002c53;
}

.top_link a:hover {
    background-color: #074E84;
}

.top_link_rgt {
    position: absolute;
    right: 20px;
    height: 50px;
    width: auto;
}

.top_link_rgt a {
    display: block;
    float: left;
    height: 30px;
    width: auto;
    margin-left: 5px;
    margin-top: 10px;
    padding: 0px 10px;
    background-color: #023759;
    color: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 30px;
    border-right: 1px solid #1a6a9d;
    border-bottom: 1px solid #1a6a9d;
    border-top: 1px solid #002c53;
    border-left: 1px solid #002c53;
}

.top_link_rgt a:hover {
    background-color: #074E84;
}

/* fine top gestionale */

/* login */

.box_login {
    position: fixed;
    height: 340px;
    width: 340px;
    left: 50%;
    margin-left: -200px;
    top: 50%;
    margin-top: -200px;
    background-color: #ffffff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}

.login {
    position: relative;
    height: auto;
    width: auto;
    margin-top: 50px;
}

.login input {
    height: 40px;
    width: 316px;
    padding: 0px 10px;
    margin-top: 10px;
    border: 2px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.login input[type="submit"] {
    height: 40px;
    width: 340px;
    padding: 0px 10px;
    margin-top: 10px;
    border: 2px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    color: #696969;
    font-weight: bolder;
    font-size: 1.2em;
    background-color: #dddddd;
}

.tit_login {
    position: relative;
    width: 100%;
    height: auto;
    color: #696969;
    font-size: 3em;
    font-weight: bolder;
}

.recupera {
    position: absolute;
    width: 340px;
    height: auto;
    color: #696969;
    font-size: 0.9em;
    bottom: 10px;
}

.recupera a {
    color: #696969;
}

.recupera a:hover {
    color: #074E84;
}

.errore_login {
    position: absolute;
    top: 285px;
    height: 75px;
    line-height: 75px;
    width: 298px;
    padding: 0px 20px;
    background-color: darksalmon;
    border: 1px solid darkred;
    color: darkred;
    display: none;
    z-index: 4;
}

.ok_send {
    position: absolute;
    top: 285px;
    height: 75px;
    line-height: 75px;
    width: 298px;
    padding: 0px 20px;
    background-color: #00FF00;
    border: 1px solid #339900;
    color: #006600;
    display: none;
    z-index: 4;
}

.recupera_pass {
    position: absolute;
    bottom: 40px;
    height: auto;
    line-height: 50px;
    width: 320px;
    padding: 10px;
    background-color: #cccccc;
    display: none;
}

.recupera_pass input {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    width: 200px;
    font-size: 0.9em;
    padding: 5px;    
}

.recupera_pass input[type="submit"] {
    border: 1px solid #cccccc;
    background-color: #696969;
    width: 70px;
    font-size: 0.9em;
    padding: 5px;    
    color: #ffffff;
    font-weight: bolder;
}

/* fine login */

/* errori validate */

input:focus {
    border: 2px solid #074E84;
}

input.error {
    border: 2px solid red;
}

select.error {
    border: 2px solid red;
}

/* fine errori validate */

/* colonna sx */

.col_sx {
    position: fixed;
    width: 230px;
    height: 100%;
    border-right: 2px solid #cccccc;
    top: 50px;
    background-color: #ffffff;
}

.tit_sx {
    position: relative;
    height: 30px;
    line-height: 30px;
    width: 210px;
    padding: 0px 10px;
    border-bottom: 1px solid #cccccc;
    font-size: 0.9em;
    background-image: url('/immagini/bkg_tit_sx.png');
    margin-bottom: 10px;
    font-weight: bolder;
}

.online {
    position: absolute;
    height: auto;
    width: 230px;
    bottom: 50px;
    padding-bottom: 20px;
    background-color: #ffffff;
}

.col_sx_txt {
    position: relative;
    height: auto;
    width: auto;
    padding: 0px 15px 15px 20px;
    line-height: 22px;
}

.col_sx_txt a {
    color: #000000;
}

.col_sx_txt input {
    border: 1px solid #cccccc;
    padding: 2px;
    width: 180px;
    height: auto;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.col_sx_txt input[type="submit"] {
    border: 1px solid #c6c6c6;
    padding: 5px 10px;
    width: auto;
    height: 30px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image:url('/immagini/bkg_submit.png');
    font-size: 0.9em;
    float: left;
}

.col_sx_txt input[type="checkbox"],.col_sx_txt input[type="radio"] {
    width: 20px;
    margin-right: 5px;
}


.col_sx_txt select {
    border: 1px solid #cccccc;
    padding: 2px;
    width: 180px;
    height: auto;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
    background-color: #ffffff;
}

.col_sx_txt a:hover {
    color: #074E84;
}

/* online */

.img_online {
    position: relative;
    height: 16px;
    width: 16px;
    float: left;
    margin-right: 5px;
}

.txt_online {
    position: relative;
    height: auto;
    width: auto;
    line-height: 16px;
    float: left;
}

/* col dx */

.col_dx {
    position: relative;
    height: auto;
    float: left;
    margin-left: 250px;
    margin-top: 70px;
}

.box_dati {
    position: relative;
    height: auto;
    width: 100%;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
}

.box_testa {
    position: relative;
    height: 35px;
    width: 100%;
    line-height: 35px;
    background-image: url('/immagini/bkg_testa.png');
}

.txt_testa {
    padding: 0px 10px;
}

.content_dati {
    position: relative;
    width: 100%;
    height: auto;
}

.txt_dati {
    padding: 20px;
}

.ok_msg {
    position: relative;
    height: auto;
    padding: 10px;
    line-height: 20px;
    background-color: #00FF00;
    border: 1px solid #339900;
    color: #006600;
    display: none;
    z-index: 4;
}

.ko_msg {
    position: relative;
    height: auto;
    padding: 10px;
    line-height: 20px;
    background-color: #FF0000;
    border: 1px solid #339900;
    color: #006600;
    display: none;
    z-index: 4;
}

#msg-scarico-ok {
    position: relative;
    height: auto;
    padding: 10px;
    line-height: 20px;
    background-color: #00FF00;
    border: 1px solid #339900;
    color: #006600;
    display: none;
    z-index: 4;
}

#msg-scarico-ko {
    position: relative;
    height: auto;
    padding: 10px;
    line-height: 20px;
    background-color: #FF0000;
    border: 1px solid #FF0000;
    color: #000000;
    display: none;
    z-index: 4;
}

.txt_dati input {
    border: 1px solid #cccccc;
    padding: 5px;
    width: 95%;
    height: auto;
    margin-bottom: 5px;
}

.txt_dati input[type="submit"] {
    border: 1px solid #c6c6c6;
    padding: 5px 10px;
    width: auto;
    height: 30px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image:url('/immagini/bkg_submit.png');
    font-size: 0.9em;
}

.txt_dati textarea {
    border: 1px solid #cccccc;
    padding: 5px;
    width: 95%;
    height: 50px;
    margin-bottom: 5px;
}

.txt_dati input.error {
    border: 1px solid red;
}
.comando {
    position: relative;    
    font-size: 1em;
}

.comando a {
    float: left;
    padding: 0px 10px;
    width: auto;
    height: 30px;
    line-height: 30px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image:url('/immagini/bkg_submit.png');
    color: #000000;
    margin-right: 10px;
}

.comando a:hover {
    background-image:url('/immagini/bkg_submit_b.png');
}

.comando img {
    vertical-align: middle;
}

/* box aggiunta/modifica */

.box_form {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #ffffff; 
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px 5px 0px 0px;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
}

.box_add_mod {
    position: fixed;
    width: 800px;
    height: 500px;
    left: 50%;
    margin-left: -400px;
    top: 50%;
    margin-top: -250px;
    display: none;
}

.box_add_mod_cant {
    position: relative;
    width: 90%;
    height: auto;
    margin: 0px 0 50px 0;
}

.testa_form {
    position: absolute;
    height: 35px;
    width: 780px;
    padding: 0px 10px;
    line-height: 35px;
    background-image: url('/immagini/bkg_testa.png');
    font-weight: bolder;
    z-index: 3;
}

.testa_form_cantieri {
    position: relative;
}

.content_dati_form {
    position: absolute;
    width: 760px;    
    height: 425px;
    padding: 20px;
    bottom: 0px;
    overflow: auto;    
}

.form_cantieri {
    position: relative;
    width: 100%;
    height: auto;
}

.content_dati_form input {
    border: 1px solid #cccccc;
    padding: 5px;
    width: 340px;
    height: auto;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.content_dati_form input[type="text"]:focus {

}

.content_dati_form input[type="submit"] {
    border: 1px solid #c6c6c6;
    padding: 5px 10px;
    width: auto;
    height: 30px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image:url('/immagini/bkg_submit.png');
    font-size: 0.9em;
    float: left;
}

.content_dati_form input[type="checkbox"] {
    float: left;
}

.content_dati_form select {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 5px;
    width: 352px;
    height: 30px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.content_dati_form textarea {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 5px;
    width: 340px;
    height: 80px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.content_dati_form > input[type="button"] {
    border: 1px solid #c6c6c6;
    padding: 5px 10px;
    width: auto;
    height: 30px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image:url('/immagini/bkg_submit.png');
    font-size: 0.9em;
    float: left;
}

.content_dati_form input.error {
    border: 1px solid red;
}

.content_dati_form select.error {
    border: 1px solid red;
}

.close {
    position: absolute;
    height: 24px;
    width: 24px;
    right: -10px;
    top: -10px;
    z-index: 4;
}
.caricafile {
    position: relative;
}

.caricafile a {
    display: block;
    padding: 0px 10px;
    width: 100px;
    height: 30px;
    line-height: 30px;
    border: 1px solid #cccccc;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background-image:url('/immagini/bkg_invia.png');
    color: #ffffff;
    margin-right: 10px;
    text-align: center;
    margin-top: 10px;
}

.caricafile a:hover {
    background-image:url('/immagini/bkg_invia-b.png');
}

.caricafile img {
    vertical-align: middle;
}

.img-del-riga {
    float: left;
    cursor: pointer;
    margin-top: 10px;
}

.riga-fattura-gruppo {
    position: relative;
    float: left;
    width: 100%;
    border-bottom: 1px solid #CCCCCC;
    margin: 10px 0;
    padding: 5px 0;
    font-size: 1em;
    font-weight: bold;
}
.riga-fattura-cc {
    position: relative;
    float: left;
    width: 98%;
    margin: 10px 0;
    padding: 5px 0 5px 10px;
    font-size: 1em;
    font-weight: normal;
}
.riga-fattura-cc-ddt {
    position: relative;
    float: left;
    width: 97%;
    margin: 10px 0;
    padding: 5px 0 5px 18px;
    font-size: 1em;
    font-weight: normal;
}
.riga-fattura-cc-prev {
    position: relative;
    float: left;
    width: 97%;
    margin: 10px 0;
    padding: 5px 0 5px 18px;
    font-size: 1em;
    font-weight: normal;
}
.riga-fattura-cc {
    position: relative;
    float: left;
    width: 98%;
    margin: 10px 0;
    padding: 5px 0 5px 10px;
    font-size: 1em;
    font-weight: normal;
}
.box-righe-cc {
    position: relative;
    float: left;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 10px;
}
#formaddmodfattura select {

}
.riga-fattura-ddt {
    position: relative;
    float: left;
    width: 98%;
    margin: 10px 0;
    padding: 5px 0 5px 10px;
    font-size: 1em;
    font-weight: normal;
}
.box-righe-ddt {
    position: relative;
    float: left;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 10px;
}
.img-del-riga-ddt {
    float: left;
    cursor: pointer;
    margin-top: 10px;
}
.riga-fattura-prev {
    position: relative;
    float: left;
    width: 98%;
    margin: 10px 0;
    padding: 5px 0 5px 10px;
    font-size: 1em;
    font-weight: normal;
}
.box-righe-prev {
    position: relative;
    float: left;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 10px;
}
.img-del-riga-prev {
    float: left;
    cursor: pointer;
    margin-top: 10px;
}

.testo_import {
    position: relative;
    height: auto;
    width: 100%;
    color: #696969;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 18px;
}

.edit:hover {
    background-color: #faf79d;
    cursor: pointer;
}

.edit textarea {
    border: 1px solid #cccccc;
}

.edit input {
    border: 1px solid #cccccc;
}

/* menu di sinistra a scroll */
.menusx {
    position: fixed;
    top: 50px;
    width: 230px;
    z-index: 10;
    overflow-y: auto;
    overflow-x: hidden;
}

/* stampa */
@media print
{
    #print_ana {
        margin: 0;
    }

    #print_ana img {
        display: none;
    }

    #print_ana table {
        font-size: 12pt;
        margin: 0;
    }
}

.legenda {
    position: relative;
    float: right;
    width: auto;
    height: auto;
    line-height: 30px;
    display: table-cell;
    vertical-align: middle;
}
/* riepilogo intervento */
.tit_intervento {
    position: relative;
    width: auto;
    height: auto;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #efefef;
    line-height: 19px;
}

.intervento {
    position: relative;
    width: auto;
    height: auto;
    margin-bottom: 10px;
    padding: 10px;
    line-height: 19px;
    border-bottom: 1px solid #cccccc;
    background-color: #efefef;
}

.intervento img {
    vertical-align: middle;
}

.preventivi_int {
    position: relative;
    height: auto;
    width: auto;
    border-top: 1px solid #ff0000;
    padding-top: 20px;
    margin-top: 20px;
}

.dettddtrdl {
    position: fixed;
    display: none;
    height: 460px;
    width: 500px;
    padding: 10px;
    left: 50%;
    top: 50%;
    margin-top: -240px;
    margin-left: -260px;
    background-color: #000000;
    background-color: rgba(0,0,0, 0.8);
    z-index: 300;
    color: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
}

.riga_files {
    position: relative;
    width: auto;
    height: auto;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #cccccc;
}

.riga_txt {
    float: left;
}

.riga_comandi {
    float: right;
}

.urgente {
    padding: 5px 5px 5px 20px;
    background-image: url(../immagini/urgente.png);
    background-repeat: no-repeat;
    background-position: center left;
}

.urgentissimo {
    padding: 5px 5px 5px 20px;
    background-image: url(../immagini/urgentissimo.png);
    background-repeat: no-repeat;
    background-position: center left;
}

.ico_cliente {
    padding: 5px 5px 5px 20px !important;
    background-image: url(../immagini/cliente-16.png);
    background-repeat: no-repeat;
    background-position: center left;
}

.ico_cliente_urgente {
    padding: 5px 5px 5px 40px !important;
    background-image: url(../immagini/cliente-urgente.png);
    background-repeat: no-repeat;
    background-position: center left;
}
.ico_cliente_urgentissimo {
    padding: 5px 5px 5px 40px !important;
    background-image: url(../immagini/cliente-urgentissimo.png);
    background-repeat: no-repeat;
    background-position: center left;
}

.eventi {
    padding: 5px;
}

.confermato {
    padding: 5px 5px 5px 20px;
    background-image: url(../immagini/confermato.png);
    background-repeat: no-repeat;
    background-position: center left;
}

.programma {
    float: left;
    width: 600px;
    padding: 10px;
    border: 1px solid silver;
    margin: 10px 0;
}

.programma h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 5px 0 10px 0;
}

.programma select {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 5px;
    width: 300px;
    height: 30px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.programma input {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 5px;
    width: 100px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.cerca_chiamate {
    float: left;
    width: 600px;
    padding: 10px;
    border: 1px solid silver;
    margin: 10px 0 10px 10px;
}

.cerca_chiamate h2 {
    font-size: 1.1em;
    font-weight: bold;
    margin: 5px 0 10px 0;
}

.cerca_chiamate input, .cerca_chiamate select {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 5px;
    width: 80px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
}

.cont-carico { margin: 10px;border:1px solid silver;padding:10px;width: 600px; }

.cont-carico input, .cont-carico select {
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 5px;
    width: 300px;
    margin-bottom: 10px;
    margin-right: 10px;
    float: left;
    font-size: 1.1em;
}

/* CANTIERI */
.cnt-costi-cantiere {position: relative;margin:20px 0 0 0;width:97%;}
.cnt-tb-cantiere {position: relative;margin:20px 0 0 0;width:97%;}
tr.total-row td {font-size: 1.3em;font-weight: bold;}