﻿body {
    font-family: Calibri,Tahoma,Verdana,Arial;
    font-size: 12px;
}

.content {
    display: table;
    background-color: #dbdfdd;
    width: 930px;
    margin: 0 auto;
    height: 580px;
    box-shadow: inset 0 0 10px #000000;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-box-shadow: 5px 5px 10px #ccc;
    -webkit-box-shadow: 5px 5px 10px #ccc;
    overflow: hidden;
    border: 1px solid #ccc;
    margin: 20px auto;
}

.login {
    width: 500px;
    height: 250px;
    box-shadow: inset 0 0 10px #000000;
    background-color: white;
    padding: 25px;
    overflow: hidden;
    margin: 0 auto;
}

.dialogError .ui-dialog-titlebar {
    background: red;
}

.displayNone {
    display: none;
}
/* input*/
label, input, textarea {
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
}

.lbTab {
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
    font-weight: bold;
    /*color: maroon;*/
}

/*Drinkable*/
/*.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #aaaaaa*/ /*{borderColorActive}*/ /*;
    background: #ffffff*/ /*{bgColorActive}*/ /*url(images/ui-bg_glass_65_ffffff_1x400.png)*/ /*{bgImgUrlActive}*/ /*50%*/ /*{bgActiveXPos}*/ /*50%*/ /*{bgActiveYPos}*/ /*repeat-x*/ /*{bgActiveRepeat}*/ /*;
    font-weight: normal*/ /*{fwDefault}*/ /*;
    color: #212121*/ /*{fcActive}*/ /*;
}

.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
    color: #212121*/ /*{fcActive}*/ /*;
    text-decoration: none;
}*/


.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid #aaaaaa;
    background: #ffffff;
    font-weight: normal;
    color: #212121;
}

    .ui-icon-background,
    .ui-state-active .ui-icon-background {
        border: #aaaaaa;
        background-color: #ffffff;
    }

input[type="text"] {
    width: 180px;
    height: 16px;
    overflow: hidden;
    border: 1px solid darkgray;
    border-radius: 5px;
    font-size: 12px;
    padding-left: 10px;
}

    input[type="text"]:hover {
        background-color: gainsboro;
        border-width: 1px;
        border-color: steelblue;
    }

.styled-select {
    width: 180px;
    height: 18px;
    overflow: hidden;
    background: url('/Images/arrow-down.png') no-repeat right white;
    border: 1px solid darkgray;
    border-radius: 5px;
}

    .styled-select select {
        background: transparent;
        width: 180px;
        padding: 3px;
        font-size: 12px;
        line-height: 1;
        border: 0;
        border-radius: 0;
        height: 18px;
        -webkit-appearance: none;
        font-family: Calibri,Tahoma,Verdana,Arial;
        color: black;
    }

.textbox.right {
    text-align: right;
}

.dropdownlist {
    height: 20px;
    overflow: hidden;
    border: 1px solid darkgray;
    border-radius: 5px;
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
    padding-left: 5px;
}

.Dati {
    border-bottom: #99b4d1 1px solid;
    border-left: #99b4d1 1px solid;
    background-color: white;
    width: 98%;
    margin: 0 auto;
    font-family: Calibri,Tahoma,Verdana,Arial;
    color: black;
    font-size: 8pt;
    border-top: #99b4d1 1px solid;
    border-right: #99b4d1 1px solid
}

.labelLog {
    color: lightgray;
    font-family: Calibri,Tahoma,Verdana,Arial;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}
/*Tabelle*/
table {
    font-family: Calibri,Tahoma,Verdana,Arial;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 9px;
    border-spacing: 2px;
}

    table.border {
        border: solid 1px black;
    }

    table.menuPiccolo {
        border: solid 1px black;
        width: 350px;
        float: left;
    }

td.menuPiccolo {
    width: 70px;
    text-align: center;
    vertical-align: middle;
}

table.menu {
    border: solid 1px;
    background-color: lightgrey;
    border-spacing: 7px;
    border-collapse: separate;
    height: 35px;
    width: 98%;
    margin: 0 auto;
}

td.centrato {
    text-align: center;
}

td.destra {
    text-align: right;
}

td {
    padding-left: 1px;
    vertical-align: top;
    height: 24px;
}

tr.anagrafica.sfondo {
    background-color: #F0F0F0;
}

/*Tabella Dettaglio*/
table.dettaglio {
    width: 98%;
    border: solid 1px grey;
    margin: 0 auto;
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
    border-spacing: 2px;
    border-collapse: separate;
}

td.dettaglio {
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
    padding-left: 2px;
}

    td.dettaglio.etichetta {
        width: 120px;
        font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
        font-size: 12px;
        padding-left: 2px;
    }

    td.dettaglio.dati {
        width: 250px;
        font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
        font-size: 12px;
    }

tr.dettaglio.etichetta {
    background-color: grey;
    color: white;
    font-weight: bold;
}
/*Tabella Dettaglio Sub*/
table.dettagliosub {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
    /*border-spacing: 2px;*/
}

td.dettagliosub {
    font-family: Calibri,Tahoma,Verdana,Arial; /* Tipo di carattere per il testo */
    font-size: 12px;
    padding-left: 2px;
}

/*Ricerca*/
table.ricerca {
    width: 98%;
    border: solid 1px dimgrey;
    margin-left: auto;
    margin-right: auto;
    font-size: 11px;
}

    table.ricerca td {
        vertical-align: middle;
    }


tr.ricerca.sfondo {
    background-color: #404040;
    color: white;
}

/*Pulsanti*/
.button {
    border: 1px solid #CCCCCC;
    -webkit-box-shadow: #FEFFFF 0px 1px 1px;
    -moz-box-shadow: #FEFFFF 0px 1px 1px;
    box-shadow: #FEFFFF 0px 1px 1px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    width: 80px;
    font-family: tahoma, verdana, arial, sans-serif;
    text-shadow: 0px 1px 0 rgba(255,255,255,1);
    text-align: center;
    font-weight: bold;
    color: #4A4A4A;
    background-color: #F7F5F6;
    background-image: linear-gradient(top, #F7F5F6, #DDDDDD);
    font-size: 8pt;
    height: 16pt;
}

    .button:disabled {
        cursor: not-allowed;
        pointer-events: none;
        border: 1px solid #ADADAD;
        background-color: lightgray;
    }

    .button:hover {
        border: 1px solid #ADADAD;
        background-color: lightblue;
        background-image: linear-gradient(top, #E0E0E0, #BDBBBC);
        cursor: pointer;
    }

    .button.center {
        border: 1px solid #CCCCCC;
        -webkit-box-shadow: #FEFFFF 0px 1px 1px;
        -moz-box-shadow: #FEFFFF 0px 1px 1px;
        box-shadow: #FEFFFF 0px 1px 1px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        width: 80px;
        font-family: tahoma, verdana, arial, sans-serif;
        text-shadow: 0px 1px 0 rgba(255,255,255,1);
        text-align: center;
        font-weight: bold;
        color: #4A4A4A;
        background-color: #F7F5F6;
        background-image: linear-gradient(top, #F7F5F6, #DDDDDD);
        height: 25px;
        font-size: 8pt;
        margin-left: auto;
        margin-right: auto;
    }

        .button.center:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
            background-image: linear-gradient(top, #E0E0E0, #BDBBBC);
            cursor: pointer;
            margin-left: auto;
            margin-right: auto;
        }

    .button.excel {
        background: url(/images/icons8-xls-export-16.png) no-repeat left+2px center;
        background-color: #F7F5F6;
    }

        .button.excel:hover {
            background: url(/images/icons8-xls-export-16.png) no-repeat left+2px center;
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.xml {
        background: url(/images/ICDWP.GIF) no-repeat left+2px center;
        background-color: #F7F5F6;
    }

        .button.xml:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.esito {
        background: url(/icon/16x16/mail.png) no-repeat left+2px center;
        background-color: #F7F5F6;
    }

        .button.esito:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.logoff {
        text-align: left;
        background: url(/images/navicons-small/129.png) no-repeat right+4px center;
        background-color: #F7F5F6;
        width: 100px;
        float: right;
    }

        .button.logoff:hover {
            border: 1px solid #ADADAD;
            background-color: gainsboro;
        }

    .button.salva {
        background: url(/icon/16x16/compose-3.png) no-repeat left+2px center;
        background-color: #F7F5F6;
    }

        .button.salva:disabled {
            cursor: not-allowed;
            pointer-events: none;
            border: 1px solid #ADADAD;
            background-color: lightgray;
        }

        .button.salva:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.Email {
        background: url(/icon/16x16/envelope.png) no-repeat left+1px center;
        background-color: #F7F5F6;
    }

        .button.Email:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.nuovo {
        background: url(/icon/16x16/plus.png) no-repeat left+1px center;
        background-color: #F7F5F6;
    }

        .button.nuovo:disabled {
            cursor: not-allowed;
            pointer-events: none;
            border: 1px solid #ADADAD;
            background-color: lightgray;
        }

        .button.nuovo:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.elimina {
        background: url(/icon/16x16/delete.png) no-repeat left+1px center;
        background-color: #F7F5F6;
    }

        .button.elimina:disabled {
            cursor: not-allowed;
            pointer-events: none;
            border: 1px solid #ADADAD;
            background-color: lightgray;
        }

        .button.elimina:hover {
            border: 1px solid #ADADAD;
            background-color: yellow;
        }

    .button.numera {
        background: url(/icon/16x16/pull.png) no-repeat left+1px center;
        background-color: #F7F5F6;
    }

        .button.numera:disabled {
            cursor: not-allowed;
            pointer-events: none;
            border: 1px solid #ADADAD;
            background-color: lightgray;
        }

        .button.numera:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.numeram {
        background: url(/icon/16x16/pull.png) no-repeat left+1px center;
        background-color: #F7F5F6;
        width: 160px;
    }

        .button.numeram:disabled {
            cursor: not-allowed;
            pointer-events: none;
            border: 1px solid #ADADAD;
            background-color: lightgray;
        }

        .button.numeram:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.print {
        background: url(/icon/16x16/print.png) no-repeat left+1px center;
        background-color: #F7F5F6;
        width: 100px;
    }

        .button.print:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.fine {
        background: url(/icon/16x16/cross.png) no-repeat left+1px center;
        background-color: #F7F5F6;
    }

        .button.fine:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.list {
        background: url(/icon/16x16/list.png) no-repeat left+1px center;
        background-color: #F7F5F6;
    }

        .button.list:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.privacy {
        background: url(/icon/16x16/document.png) no-repeat left+1px center;
        background-color: #F7F5F6;
        width: 100px;
    }

        .button.privacy:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.Log {
        background: url(/icon/16x16/database-add.png) no-repeat left+1px center;
        background-color: #F7F5F6;
        width: 100px;
    }

        .button.Log:hover {
            border: 1px solid #ADADAD;
            background-color: lightgreen;
        }

    .button.toolbar {
        width: 22px;
    }

        .button.toolbar:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

    .button.sblocca {
        background: url(/icon/16x16/compose-3.png) no-repeat left+2px center;
        background-color: #F7F5F6;
        width: 230px;
    }

        .button.sblocca:disabled {
            cursor: not-allowed;
            pointer-events: none;
            border: 1px solid #ADADAD;
            background-color: lightgray;
        }

        .button.sblocca:hover {
            border: 1px solid #ADADAD;
            background-color: lightblue;
        }

.buttonicon:hover {
    background-color: lightblue;
}

.button.lungo {
    background-color: #F7F5F6;
    width: 250px;
}

    .button.lungo:hover {
        border: 1px solid #ADADAD;
        background-color: lightgreen;
    }

.button.cerca {
    background: url(/images/navicons-small/06.png) no-repeat left+2px center;
    background-color: #F7F5F6;
}

    .button.cerca:hover {
        border: 1px solid #ADADAD;
        background-color: lightblue;
    }

.button.esporta {
    background: url(/icon/16x16/in.png) no-repeat left+2px center;
    background-color: #F7F5F6;
}

    .button.esporta:hover {
        border: 1px solid #ADADAD;
        background-color: lightblue;
    }

.chiuso {
    background: url(/icon/16x16/cross.png) no-repeat center;
    background-color: #F7F5F6;
    height: 16px;
}

    .chiuso:hover {
        border: 1px solid #ADADAD;
        background-color: lightblue;
    }


/* Maschera di attesa */
.PrProgress {
    display: block;
    position: absolute;
    padding: 2px 3px;
}

.PrContainer {
    border: solid 1px #808080;
    border-width: 1px 0px;
}

.PrHeader {
    background: url(/App_Themes/Default/Images/sprite.png) repeat-x 0px 0px;
    border-color: #808080 #808080 #ccc;
    border-style: solid;
    border-width: 0px 1px 1px;
    padding: 0px 10px;
    color: #000000;
    font-size: 10pt;
    font-weight: bold;
    line-height: 1.9;
    white-space: nowrap;
    font-family: arial,helvetica,clean,sans-serif;
}

.PrBody {
    background-color: #f2f2f2;
    border-color: #808080;
    border-style: solid;
    border-width: 0px 1px;
    padding: 10px;
    height: 60px;
    font-size: 10pt;
    font-weight: bold;
}
/*GridView*/
.mGrid {
    background-color: #fff;
    border: solid 1px #525252;
    border-collapse: collapse;
    font-size: 8pt;
}

    .mGrid td {
        border: solid 1px #c1c1c1;
        color: #717171;
        vertical-align: top;
    }

    .mGrid.pratiche td {
        border: solid 1px #c1c1c1;
        color: unset;
        vertical-align: top;
    }

    .mGrid th {
        background-image: url(/images/gdvHead.png);
        height: 25px;
        font-weight: bold;
        border: 0;
    }

    .mGrid .alt {
        background-color: #eee7e7;
    }

    .mGrid .pgr {
        background-color: #eee7e7;
    }

        .mGrid .pgr td {
            border-width: 0;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
        }

        .mGrid .pgr a {
            color: #666;
            text-decoration: none;
        }

            .mGrid .pgr a:hover {
                color: #000;
                text-decoration: none;
            }

    .mGrid pgr.tr:not(:last-child):hover, .mGrid tr:not(:last-child):hover {
        background-color: yellow;
        color: black;
    }

    .mGrid th.sortasc a {
        display: block;
        padding: 0 4px 0 15px;
        background: url(/images/sortAsc.gif) no-repeat;
        background-position: right;
    }

    .mGrid th.sortdesc a {
        display: block;
        padding: 0 4px 0 15px;
        background: url(/images/sortDesc.gif) no-repeat;
    }
/*Calendario*/
.calendario {
    width: 850px;
    margin: 0 auto;
    height: 300px;
}
/*Login*/
.login-card {
    padding: 40px;
    width: 274px;
    background-color: #F7F7F7;
    margin: 0 auto 10px;
    border-radius: 2px;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

    .login-card h1 {
        font-weight: 100;
        text-align: center;
        font-size: 2.3em;
    }

    .login-card input[type=submit] {
        width: 100%;
        display: block;
        margin-bottom: 10px;
        position: relative;
    }

    .login-card input[type=text], input[type=password] {
        height: 44px;
        font-size: 16px;
        width: 100%;
        margin-bottom: 10px;
        -webkit-appearance: none;
        background: #fff;
        border: 1px solid #d9d9d9;
        border-top: 1px solid #c0c0c0;
        /* border-radius: 2px; */
        padding: 0 8px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

        .login-card input[type=text]:hover, input[type=password]:hover {
            border: 1px solid #b9b9b9;
            border-top: 1px solid #a0a0a0;
            -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
            -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
            box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
        }

.login {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    height: 36px;
    padding: 0 8px;
    /* border-radius: 3px; */
    /* -webkit-user-select: none;
  user-select: none; */
}

.login-submit {
    /* border: 1px solid #3079ed; */
    border: 0px;
    color: #fff;
    text-shadow: 0 1px rgba(0,0,0,0.1);
    background-color: #4d90fe;
    /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#4787ed)); */
}

    .login-submit:hover {
        /* border: 1px solid #2f5bb7; */
        border: 0px;
        text-shadow: 0 1px rgba(0,0,0,0.3);
        background-color: #357ae8;
        /* background-image: -webkit-gradient(linear, 0 0, 0 100%,   from(#4d90fe), to(#357ae8)); */
    }

.login-card a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    text-align: center;
    display: inline-block;
    opacity: 0.6;
    transition: opacity ease 0.5s;
}

    .login-card a:hover {
        opacity: 1;
    }

.login-help {
    width: 100%;
    text-align: center;
    font-size: 12px;
}

.user {
    right: 0px;
    width: 300px;
    padding: 10px;
}

.GridPager a, .GridPager span {
    display: block;
    height: 23px;
    width: 15px;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background-color: black;
    color: white;
    border: 1px solid black;
}

.mGrid .empty td {
    color: red !important;
    font-weight: bold;
    font-size: 8pt;
    content: "Test";
    /* text-align: center;*/
}

#AlertDiv {
    font-family: Tahoma;
    left: 40%;
    top: 40%;
    position: absolute;
    width: 200px;
    padding: 12px;
    border: #000000 1px solid;
    background-color: red;
    text-align: left;
    visibility: hidden;
    z-index: 99;
}

#AlertButtons {
    font-family: Tahoma;
    position: absolute;
    right: 5%;
    bottom: 5%;
}
