html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    position: relative;
    z-index: 1;
    font: normal 62.5% "Trebuchet MS", Tahoma, Verdana, Arial, Helvetica, sans-serif;
    color: #444444;
    text-align: center;
}

body.piccolo {
    font-size: 62.5%;
}
 
body.medio {
    font-size: 70%;
}
 
body.grande {
    font-size: 80%;
}

a {
    color: #004276;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

.login img#logo{
    margin: 60px auto 0 auto;
}
.login .flogin{
    margin: 0 auto;
    width: 600px;
}

form .row{
    margin: 10px auto;
}

.inputbotton{
    text-align: left;
    margin-left: 30px;
}

/* utilità */
.hide {
    display: none;
}
.pointer {
    cursor: pointer;
}
.floatleft {
    float: left;
}
.floatright {
    float: right;
}
.floatclear {
    clear: both;
}   
.titoletto {
    font-weight: bolder;
    text-align: center;
}
.icon-link {
    text-decoration: none;
    color: inherit;
    background: url(../pix/link-icon.png) no-repeat center right;
    padding-right: 12px;
}
.theredone {
    color: #cc0000;
}

input.readonly {
    border: none;
    background-color: inherit;
}
/* fine utilità */

#main-menu {
    padding-left: 30px;
    list-style-type: none;
    float: left;
    display: inline;
}
    #main-menu li {
        float: left;
        display: inline;
    }
    #main-menu li:hover{
        border-bottom: 3px solid #cc0000;
    }
        #main-menu li a {
            display: inline;
            float: left;
            font-size: 1.1em;
            font-weight: bold;
            height: 2em;
            margin: 0.5em;
            padding: 0 0.25em;
            color: #777;
            text-decoration: none;
        }
        #main-menu li a:hover, #main-menu li a.current {
            color: #cc0000;
        }

#service-menu {
    float: right;
    padding-right: 30px;
    list-style-type: none;
    display: inline;
}
    #service-menu li {
        float: left;
        display: inline;
    }
        #service-menu li a {
            display: inline;
            float: left;
            font-size: 0.9em;
            font-weight: bold;
            height: 1.2em;
            margin: 0.5em;
            padding: 0.25em;
            color: #777;
            text-decoration: none;
        }
        #service-menu li a:hover {
            color: #cc0000;
        }

#mainwrapper {
    width: 98%;
    height: 90%;
    text-align: left;
}

#footerwrapper {
    position: relative;
    z-index: 1;
    clear: both;
}

#header {
    height: 3.5em;
    width: 100%;
    color: #cc0000;
    background-color: #fff;
    padding: 1em;
    border-bottom: 1px solid #777;
    position: fixed;
    z-index: 99;
}
#header h1 {
    font-size: 24px;
    letter-spacing: 0;
    font-family: Sans, Arial;
    margin: 0;
    padding-left: 50px;
    background: url(../pix/pj50.png) 0 0 no-repeat;
    float: left;
    
}
#header h1 a{
    text-decoration: none;
    font-family: Arial, Sans;
}
#header .subtitle-em{
    display: block;
    clear: left;
    font-size: 10px;
    text-align: right;
    letter-spacing: -0.05em;
}
#header a {
    color: #000;
}

table.panelTable{
    float:right;
    margin: 5px 50px 0 0;
    display: inline;
}

table.panelTable select {
    font-size: 1em;
    font-weight: bolder;
    background-color: #777;
    color: #fff;
    padding: 4px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

table.panelTable select > option:first-child {
    background-color: #cc0000;
}

table.panelTable a {
    font-size: 1em;
    font-weight: bolder;
    padding: 2px;
}

table.panelTable a label {
    cursor: pointer;
}


.tableHeaderLink{
    font-size: 0.9em;
}

/* default edit interface */
div.smartEditFieldLabel {
    font-size: 1.2em;
    font-weight: bolder;
    padding: 0.5em;
}
div.smartEditFielddetail {
    font-size: 1.1em;
    margin-left: 0.5em;
}
div.smartEditFieldLabel span.smartEditFieldRequired {
    font-size: 0.9em;
    color: #cc0000;
}
div.smartEditFieldinsert input {
    font-size: 1.1em;
    margin-left: 24px;
}
div.smartEditButtonsIn {
    margin: 1em;
}
/* EOF default edit interface */

#maincol {
    float: left;
    display: inline;
    margin-left: 160px;
    margin-top: 1em;
}

#leftcol {
    float: left;
    width: 155px;
    margin-top: 5em;
    padding: 2px;
    min-height: 550px;
    position: fixed;
}

#leftcol hr {
    border-left: none;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid #ccc;
    margin: 10px 0;
}

#leftcol ul {
    list-style-type: none;
    margin: 0;
    padding: 0.5em 1em;
    font-size: 1.3em;
}
#leftcol ul li{
    margin-bottom: 0.3em;
    display: block;

}
#leftcol ul li a{
   
    display: block;
    padding: 0.2em 0.5em;
    font-weight: bolder;
    
}
#leftcol ul li a:hover{
    color: #777;
    background: #f4f4f4;

}
#leftcol ul li span.ui-icon {
    float: left;
    vertical-align: middle;
}
#leftcol .screma {
    margin: 4px;
}
#leftcol .screma *{
    width: 148px;
}


div.leftcol-title {
    font-size: 1.4em;
    font-weight: bold;
    color: #cc0000;
    text-align: center;
    border: 1px solid #777;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    margin: 4px;
    padding: 4px;
}
#table-nav {
    padding: 1em;
    float:left;
    width:100%;
}

#table-nav .firstblock{
    float: left;
    width:81%;
}

#content {
    float: left;
    min-height: 550px;
    margin: 50px 0;
    font-size: 1.2em;
    display: inline;
}

table.data-table {
    border: 1px solid #777;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    margin: 4px;
    padding: 4px;
}

table.data-table td {
    font-size: 1.1em;
    padding: 0.2em 0.5em;
    border-bottom: 1px solid #777;
}
table.data-table .tableHeaderCell {
    color: #fff;
    font-size: 1.4em;
    font-weight: bolder;
    background-color: #999;
    padding: 0.2em 0.5em;
}
table.data-table .tableHeaderCell a {
    color: #fff;
    text-decoration: none;
    padding-left: 20px;
}
table.data-table tbody tr:first-child td:first-child {
    border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
}
table.data-table tbody tr:first-child  td:last-child {
    border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
}

table.data-table .tableHeaderCell a:hover {
    color: #ffc000;
    background: url(../pix/triangolodellordine.png) left center no-repeat;
    padding-left: 20px;
}

table.data-table-detail td, table.data-table-detail th {
    padding: 0.5em;
}
table.data-table-detail th {
    color: #777;
}

table.data-table a.open-table-inner-detail {
    color: #777;
    text-decoration: underline;
}
table.data-table a.open-table-inner-detail:hover {
    color: #ffc000;
}

table.data-table-inner-detail {
    width: 100%;
    display: none;
}

table.vcard {
    width: 960px;
}
table.vcard input.tiny {
    width: 8em;
}
table.vcard input {
    width: 16em;
}
table.vcard textarea {
    width: 16em;
}
table.vcard div.ui-tabs ul.ui-tabs-nav li a {
    color: #777;
}

div.ui-tabs table.rel-table {
    margin-top: 0.5em;
}
div.ui-tabs table.rel-table th{
    padding: 0.25em;
}
div.ui-tabs table.rel-table td{
    border-bottom: 1px solid #777;
    padding: 0.25em;
}

div.vfs-commands {
    margin: 1em;
    padding: 1em;
    border: 1px solid #333;
    border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
}
div.vfs-commands span{
    color: #aaa;
    font-weight: bolder;
}

div.vfs-path {
    font-size: 1.4em;
    margin: 1em 0;
    text-decoration: underline;
}
ul.vfs-tree {
    list-style-type: none;
    width: 350px;
}
ul.vfs-tree li {
    margin: 4px;
    clear: both;
    border-bottom: 1px solid #333;
    font-size: 1.2em;
    font-weight: bolder;
}
ul.vfs-tree li a{
    text-decoration: none;
    padding: 4px;
    color: #777;
}
ul.vfs-tree li a:hover {
    color: #333;
}
ul.vfs-tree li a img {
    margin-right: 8px;
    border: none;
    vertical-align: middle;
}
ul.vfs-tree li span{
    text-decoration: none;
    color: #aaa;
    font-style: italic;
    padding: 4px;
    font-size: 0.9em;
    font-weight: normal;
}
ul.vfs-tree span form {
    position: relative;
    float: right;
}

#footer {
    width: 100%;
    height: 2em;
    bottom: 40px;
}

#footer p {
    background: #f8f8f8;
    border-top: 1px solid #777;
    margin: 0;
    padding: 5px;
    font: normal 1em Tahoma, Verdana, Arial, Helvetica, sans-serif;
    color: #cc0000;
}
#footer p a {
    color: #cc0000;
}
#footer p a:hover {
}
#footer p.error {
    margin: 0;
    padding: 10px 0 10px 0;
    font-size: 1.4em;
    font-weight: bolder;
    color: #cc0000;
    background: #f8f8f8;
}

div.ui-tabs ul.ui-tabs-nav li a {
    cursor: pointer !important;
}
ul.ui-nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
}
li.ui-nav-button {
    padding: 4px;
    text-align: center;
    float: left;
    margin-right: 0.25em;
}
li.ui-nav-button input {
    border: none;
    background-color: transparent;
    cursor: pointer;
}
li.ui-nav-button select {
    border: none;
    background-color: transparent;
}

#tools{
    display:inline;
    float:right;
    margin:0;
    padding:0;
    width:150px;
}
#tools li{
    float: left;
    margin: 0 5px;
    display: inline;
}
#tools ol li{
    list-style: none;
    line-height: 14px;
    height: 14px;
}
#tools ol.font-resizing{
     line-height: 14px;
    height: 14px;
    padding: 0 !important;
    margin: 0;

    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;

}
#tools ol.font-resizing li a{
    color: #CC0000;
    line-height: 14px;
    height: 14px;
    padding: 0 !important;
    margin: 0;
    font-weight:bold;
    text-decoration:none;
    text-transform:uppercase;

}
#tools ol.font-resizing li a.piccolo{ font-size: 1em;}
#tools ol.font-resizing li a.medio{font-size: 1.4em;}
#tools ol.font-resizing li a.grande{font-size: 1.8em;}

#tools .print{
    color: #CC0000;
}

/* PREVENTIVI */
table.table-preventivo {
    -moz-box-shadow: 5px 5px 10px #666;
    -webkit-box-shadow: 5px 5px 10px #666;
    box-shadow: 5px 5px 10px #666;
    width: 900px;
    border: 1px solid #e9e9e9;
    padding: 5px 5px 5px 15px;
}
    table.table-preventivo h3.ui-accordion-header, table.table-preventivo div.ui-accordion-content,{

    }
    table.offerta-table-tipologia {
        width: 100%;
        border-bottom: 1px solid #e9e9e9;
    }
        table.offerta-table-tipologia td {
            vertical-align: top;
        }
        table.offerta-table-tipologia td.offerta-table-prezzototale {
            vertical-align: bottom;
        }
        table.offerta-table-tipologia td, table.offerta-table-tipologia th {
            padding: 4px;
        }
        table.offerta-table-tipologia td.offerta-table-tipocosto {
            width: 14em;
        }
        table.offerta-table-tipologia td.offerta-table-tipocosto label {
            font-weight: bold;
        }
        table.offerta-table-tipologia input.offerta-nome {
            width: 80%;
            font-weight: bold;
            font-size: 1.1em;
        }
    table.table-preventivo td.td-preventivo-firma {
        text-align: right;
        padding-top: 5em;
        padding-right: 5em;
        font-size: 1.2em;
    }
    table.table-preventivo td.td-preventivo-oggetto {
        padding-top: 3em;
    }

#td-preventivo-disclaimer {
    padding-top: 2em;
    font-size: 0.86em;
}
#prezzo-parziale, #prezzo-totale, #prezzo-iva, #prezzo-sconto, #prezzo-parziale-scontato {
    font-size: 1.2em;
    text-align: right;
    margin-right: 3em;
}

.dati-destinatario, #firma {
    font-weight: bold;
    font-size: 1.2em;
}

/* PRIMO CONTATTO */
table#table-primocontatto {
    font-size: 1.1em;
    width: 600px;
}
    table#table-primocontatto td {
        vertical-align: top;
    }
        table#table-primocontatto td label {
            font-weight: bold;
        }
div#box-contatti {
    font-size: 1.1em;
    margin-left: 1em;
    margin-top: 0.5em;
    aborder-left: 1px solid #666;
    apadding: 1em;
}
    div#box-contatti h3 {
        margin-top: 0;
    }

table.rel-table-contatto{
    width: 400px;
    margin-top: 1em;
    padding: 0.5em;
}
table.rel-table-contatto:hover{
    -moz-box-shadow: 5px 5px 10px #666;
    -webkit-box-shadow: 5px 5px 10px #666;
    box-shadow: 5px 5px 10px #666;
}
    table.rel-table-contatto td{
        padding: 0.3em;
    }
        table.rel-table-contatto td a{
            color: #004276;
        }
    table.rel-table-contatto td.rel-table-contatto-header span{
        display: block;
        width: 16px;
        height: 16px;
        float: left;
        background-position: -32px -112px;
        background-image: url(blitzer/images/ui-icons_cc0000_256x240.png);
        background-repeat: no-repeat;
        abackground-attachment: scroll;
    }
        
#dettaglio-contatto {
    text-align: left;
    font-size: 1.1em;
}
    #dettaglio-contatto table td {
        padding: 0.3em;
    }

.primocontatto-rating {
}
.primocontatto-rating span{
    padding: 9px;
}

table.dettaglio-contatto-primo-contatto th {
    vertical-align: top;
    text-align: left;
}
table.dettaglio-contatto-primo-contatto td {
    vertical-align: top;
}
table.dettaglio-contatto-primo-contatto ul {
    margin: 0;
    list-style-type: square;
}

/* PREFERENZE */
fieldset.preferenze-fieldset {
    padding: 0.5em;
    float: left;
}
fieldset.preferenze-fieldset legend {
    font-size: 1.2em;
    font-weight: bold;
}
fieldset.preferenze-fieldset div {
    margin: 1em;
}
fieldset.preferenze-fieldset label {
    margin: 0.5em;
    font-weight: bold;
}
#preferenze-salva {
    text-align: center;
    padding: 2em;
}

/* DASHBOARD */
#dashboard {
    width: 100%;
    margin: 8px;
    padding: 8px;
}
    
    #dashboard div.widget-content {
        padding: 0.5em;
    }
        #dashboard div.widget-content h4.widget-sub-title{
            text-decoration: underline;
        }
        #dashboard div.widget-content dt {
            font-weight: bold;
        }
        #dashboard div.widget-content dd {
            
        }
#dashboard-controls {
    position: absolute;
    margin-left: 0.5em;
    z-index: 999;
    font-weight: bold;
}
#widgets-list {
    list-style-type: none;
    position: absolute;
    z-index: 999;
    background-color: #777;
    margin: 2.5em 0 0 0;
    -moz-box-shadow: 5px 5px 10px #666;
    -webkit-box-shadow: 5px 5px 10px #666;
    box-shadow: 5px 5px 10px #666;
}
    #widgets-list li {
        border-bottom: 1px solid #aaa;
        padding: 4px;
    }
    #widgets-list li a {
        display: block;
        padding: 2px;
        color: #fff;
    }
    
.alert{
    background: #f8f8f8;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    
}

#resoconto-servizi-annuali {
    font-size: 1.2em;
    padding: 8px;
    margin: 8px 0;
}

/* BIGSEARCH ON LEFTCOL */
.bigsearch-noresults {
    padding: 1em;
    font-weight: bold;
}

#leftcol fieldset.bigsearch-form-col {
    margin: 8px 0;
    width: 145px;
    font-size: 0.9em;
    border: none;
}
    #leftcol fieldset.bigsearch-form-col input.bigsearch-input {
        width: 10em;
    }
    #leftcol fieldset.bigsearch-form-col ul.bigsearch-results {
        margin: 4px 0;
        padding: 0;
        list-style-type: none;
        width: 145px;
        height: 300px;
        overflow: auto;
    }
        #leftcol fieldset.bigsearch-form-col ul.bigsearch-results li {
            margin-bottom: 2px 0;
        }
        #leftcol fieldset.bigsearch-form-col ul.bigsearch-results li h5 {
            margin: 0;
            padding: 0;
        }
        #leftcol fieldset.bigsearch-form-col ul.bigsearch-results li a {
            font-size: 0.9em;
            padding: 0;
            margin: 0;
        }
        #leftcol fieldset.bigsearch-form-col ul.bigsearch-results li p.bigsearch-results-testo {
            font-size: 0.85em;
            padding: 0;
            margin: 2px;
        }
/* BIGSEARCH ON WIDGET */

ul.bigsearch-results {
    margin: 4px 0;
    padding: 0;
    list-style-type: none;
    height: 300px;
    overflow: auto;
}
    ul.bigsearch-results li {
        margin-bottom: 2px 0;
    }
    ul.bigsearch-results li h5 {
        margin: 4px 0 0 0;
        padding: 0;
    }
    ul.bigsearch-results li a {
        font-size: 1.1em;
        padding: 0;
        margin: 0;
        color: #3a7f3c;
    }
    ul.bigsearch-results li p.bigsearch-results-testo {
        font-size: 0.85em;
        padding: 0;
        margin: 2px;
    }

#panel-comunicazione {
    display: none;
}

