﻿body {
    font-family: Calibri;
    font-size: 13px;
}

table td, table th {
    font-family: Calibri;
    font-size: 13px;
}

label {
    color: navy;
    display: block;
    text-align: right;
}

.editor {
    /*font-family: 'Roboto', sans-serif;
    border: 1px solid gainsboro;
    font-size: 15px;*/
    /*padding: 0 0 0 8px; */
    font-family: 'Roboto', sans-serif;
    border: 1px solid gainsboro;
    font-size: 13px !important;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #fff;
    background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(20%, #ffffff), color-stop(50%, #f6f6f6), color-stop(52%, #eeeeee), color-stop(100%, #f4f4f4));
    background: -webkit-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
    background: -moz-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
    background: -o-linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
    background: linear-gradient(top, #ffffff 20%, #f6f6f6 50%, #eeeeee 52%, #f4f4f4 100%);
    background-clip: padding-box;
    box-shadow: 0 0 3px white inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #444;
    padding: 4px;
    box-sizing: border-box;
}

    .editor:disabled {
        color: #4e4e4e;
        background-color: #d2d2d2;
        background-image: none;
    }

    .editor.editorText {
        width: 100%;
    }

    .editor.editorLongText {
        width: 100%;
    }

    .editor.editorDate {
        width: 100px;
        background-image: url(/img/calendar.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

        .editor.editorDate:disabled {
            width: 100px;
            background-image: url(/img/calendar-disabled.svg);
            background-repeat: no-repeat;
            background-position: right;
        }

    .editor.editorTime {
        width: 65px;
        background-image: url(/img/clock.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

    .editor.editorNumber {
        width: 100px;
        text-align: right;
    }

    .editor.editorCurrency {
        width: 100px;
        text-align: right;
        padding-right: 23px;
        background-image: url(/img/euro.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

    .editor.editorPercent {
        width: 100px;
        text-align: right;
        padding-right: 23px;
        background-image: url(/img/percent2.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

    .editor.err {
        background: none !important;
        background-color: red !important;
        color: white !important;
    }

.err {
    background: none !important;
    background-color: red !important;
    color: white !important;
}

    .err > a {
        background-image: none !important;
        color: white !important;
    }

.editor.no-err {
    background: none !important;
    background-color: green !important;
    color: white !important;
}

.no-err {
    background: none !important;
    background-color: green !important;
    color: white !important;
}

    .no-err > a {
        background-image: none !important;
        color: white !important;
    }

input[type=checkbox] {
    background-image: url(/img/uncheck.svg);
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 18px;
    width: 18px;
    border: none;
    margin: 0px 0 0px 0;
}

    input[type=checkbox]:checked {
        background-image: url(/img/check.svg);
        border: none;
    }

    input[type=checkbox]:disabled {
        background-image: url(/img/uncheck-disabled.svg);
        border: none;
    }

    input[type=checkbox][disabled][checked] {
        background-image: url(/img/check-disabled.svg);
        border: none;
    }

    input[type=checkbox][disabled][spuntaverde][checked] {
        background-image: url(/img/check.svg);
        border: none;
    }

input[type=radio] {
    background-image: url(/img/uncheck.svg);
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 18px;
    width: 18px;
    border: none;
    margin: 0px 0 0px 0;
}

    input[type=radio]:checked {
        background-image: url(/img/radio.svg);
        border: none;
    }

button > img {
    vertical-align: middle;
    width: 20px;
    margin-right: 3px;
}


.titoloGriglia {
    color: white;
    background-color: navy;
}

.palotto {
    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 50%;
    margin-right: 3px;
    border: 1px solid gray;
    box-shadow: inset -3px -3px 8px rgba(0,0,0,.5);
}

.ui-selectmenu-button {
    padding: 2px;
}

.imageTree {
    width: 22px;
    vertical-align: middle;
    margin-right: 3px;
}

.selectIcon {
    width: 24px;
    border: 2px solid white;
    cursor: pointer;
}

    .selectIcon.selected {
        border: 2px solid red;
    }

.documento.block {
    display: inline-block;
    width: 150px;
    height: 100px;
    float: left;
    border: 1px solid gainsboro;
    text-align: center;
    cursor: pointer;
    margin: 2px;
}

    .documento.block:hover {
        background-color: #cee7ff;
    }

    .documento.block img {
        width: 48px;
    }

    .documento.block .fileName {
        display: block;
        text-align: center;
        font-weight: bold;
    }

    .documento.block .description {
        display: block;
        text-align: center;
        font-size: 12px;
    }

.documento.list {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid gainsboro;
    text-align: left;
    cursor: pointer;
    margin: 2px;
    position: relative;
}

    .documento.list:hover {
        background-color: #cee7ff;
    }

    .documento.list div.immagine {
        float: left;
        width: 48px;
        vertical-align: middle;
    }

        .documento.list div.immagine img {
            float: left;
            width: 48px;
        }

            .documento.list div.immagine img.link {
                float: left;
                width: 16px;
                position: absolute;
                left: 24px;
                top: 36px;
            }

    .documento.list img.delete {
        width: 16px;
        right: 0px;
        vertical-align: middle;
        position: absolute;
        top: 0px;
    }

    .documento.list img.edit {
        width: 16px;
        right: 18px;
        vertical-align: middle;
        position: absolute;
        top: 0px;
    }

    .documento.list img.download {
        width: 16px;
        right: 36px;
        vertical-align: middle;
        position: absolute;
        top: 0px;
    }

.document.list .container {
    float: left;
}

.documento.list .fileName {
    display: block;
    font-weight: bold;
}

.documento.list .description {
    display: block;
    font-size: 12px;
    margin-left: 38px;
}

.ui-tabs-anchor img {
    width: 22px;
    vertical-align: middle;
    outline: 0px;
}

.icoManuale {
    width: 16px !important;
    vertical-align: middle !important;
    margin: 2px !important;
    cursor: help !important;
}

.certificato {
    background-image: url(/Upload/cert.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: 0px;
}

.licenziato {
    text-decoration: line-through;
}

.multiline-chosen {
}

    .multiline-chosen > a {
        height: 100px !important;
        white-space: normal !important;
        line-height: 16px !important;
    }

        .multiline-chosen > a > span {
            white-space: normal !important;
        }

.small-refresh {
    width: 13px;
    margin-right: 5px;
    cursor: pointer;
}

.app {
    border: 1px solid gainsboro;
    height: 30px;
    width: 30px;
    margin: auto;
}

    .app.select {
        /*background-color: lightblue;*/
        box-shadow: grey 2px 2px 2px 0px;
    }

        .app.select.over {
            background-color: lightcoral;
        }

    .app.ico {
        background-position: center center;
        background-repeat: no-repeat;
    }

    .app.select.ico.fattura {
        /*background-image: url(/img/dollars.svg);*/
        background-position: top;
        font-size: 9px;
        padding-top: 32px;
    }

    .app.no-select.ico {
        background-image: none !important;
    }

/*.app.select.ico.pest {
        background-image: url(/img/pest.svg);
    }

    .app.select.ico.tampone {
        background-image: url(/img/pipetta.svg);
    }

    .app.select.ico.visita {
        background-image: url(/img/search.svg);
    }

    .app.select.ico.legionella {
        background-image: url(/img/bacter.svg);
    }

    .app.select.ico.lavoro {
        background-image: url(/img/lavoro.svg);
    }*/

.tag {
    /*border: 1px solid gray;*/
    display: inline-block;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 12px;
    margin: 3px;
    /*padding: 2px;*/
    padding: 2px 5px;
}

    .tag span.only-text {
        padding: 2px 5px;
        /*-webkit-filter: invert(100%);
        filter: invert(100%);*/
        color: black;
        /*font-weight: bold;
        text-shadow: 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff*/
    }

    .tag img {
        width: 16px;
        vertical-align: bottom;
        margin-right: 2px;
    }

    .tag span.img {
        border-left: 1px solid gray;
        border-top: 1px solid gray;
        border-bottom: 1px solid gray;
        border-radius: 10px 0 0 10px;
        background-color: white;
    }

        .tag span.img img {
            width: 16px;
            /*vertical-align: bottom;*/
        }

.diverso {
    background-color: lightcoral;
}


.lampeggia {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}


.timeEntry-control {
    display: none !important
}

.posizionaPalla {
    position: absolute;
    left: 15px;
    top: 2px;
}

.palla {
    border-radius: 10px;
    border: 1px solid gray;
    background-color: yellow;
    padding: 1px;
    padding-right: 4px;
    color: black;
    padding-left: 4px;
    font-size: 11px;
    min-width: 7px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
}

.allerta0 {
    background-color: white;
    color: black;
}

.allerta1 {
    background-color: green;
    color: white;
}

.allerta2 {
    background-color: yellow;
    color: black;
}

.allerta3 {
    background-color: orange;
    color: black;
}

.allerta4 {
    background-color: red;
    color: white;
}

.allerta5 {
    background-color: black;
    color: white;
}

.allerta6 {
    background-color: black;
    color: white;
    animation: blinker 1s linear infinite;
}

.allertaDaLeggere {
    background-color: lightgoldenrodyellow !important;
    font-weight: bold;
}


.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
    padding: 1px 7px;
}

.control-label {
    float: left;
    width: 150px;
    margin: 5px;
}

.form-group {
    clear: both
}

    .form-group input[type=checkbox] {
        float: left;
    }

.tag-color {
    display: inline-block;
    font-weight: bold;
    border-radius: 10px;
    white-space: nowrap;
    font-size: 12px;
    margin: 3px;
    padding: 2px 5px;
}

    .tag-color.red {
        background-color: red;
        color: white;
    }

    .tag-color.green {
        background-color: green;
        color: white;
    }

    .tag-color.yellow {
        background-color: orange;
        color: black;
    }

    .tag-color.gray {
        background-color: gray;
        color: white;
    }


.testoPercent {
    width: 100%;
    position: absolute;
    text-align: center;
    height: 100%;
    top: 0;
    left: 0;
    line-height: 250%;
    mix-blend-mode: difference;
    color: white;
}

.barra {
    background-color: red;
    height: 100%;
    display: inline-block;
    border: 1px solid white;
    box-sizing: border-box;
}
