﻿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 #ebedf3;
    font-size: 13px !important;
    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: 123px;
        background-image: url(/img/calendar.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

        .editor.editorDate:disabled {
            width: 123px;
            background-image: url(/img/calendar-disabled.svg);
            background-repeat: no-repeat;
            background-position: right;
        }

        .editor.editorDate[readonly] {
            width: 123px;
            background-image: url(/img/calendar-disabled.svg);
            background-repeat: no-repeat;
            background-position: right;
        }

    .editor.editorTime {
        width: 93px;
        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: 27px;
        background-image: url(/img/euro.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

    .editor.editorPercent {
        width: 100px;
        text-align: right;
        padding-right: 27px;
        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);
    background-repeat: no-repeat;
    background-position: center center;
    -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);
    background-repeat: no-repeat;
    background-position: center center;
    -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 .fileNameMime {
        color: lightgray;
    }

    .documento.block .fileName:hover {
        color: blue;
        text-decoration: underline;
    }

    .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.minify div.immagine {
        width: 16px;
    }

    .documento.list div.immagine img {
        float: left;
        width: 48px;
        max-height: 48px;
        /*image-rendering: pixelated;*/
    }

    .documento.list.minify div.immagine img {
        width: 16px;
    }

    .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 .fileName:hover {
        color: blue;
        text-decoration: underline;
    }

.documento.list .description {
    display: block;
    font-size: 12px;
    margin-left: 38px;
}

.ui-tabs-anchor img {
    width: 22px;
    vertical-align: middle;
    outline: 0px;
}

.icoManuale {
    width: 20px !important;
    height: 16px !important;
    vertical-align: middle !important;
    margin: 0px !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: 11px;
    margin: 3px;
    /* padding: 2px; */
    padding: 2px 5px;
    background-color: red;
    color: white;
    position: absolute;
    top: -10px;
    right: -3px;
    cursor: pointer
}

    .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;
}

    .allerta4 td {
        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;
    font-size: 16px;
}

.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.white {
        background-color: white;
        color: white;
        border: 1px solid gray;
    }

        .tag-color.white a {
            color: black;
            vertical-align: middle;
        }

    .tag-color.red {
        background-color: red;
        color: white;
    }

    .tag-color.green {
        background-color: green;
        color: white;
    }

    .tag-color.green2 {
        background-color: #00c20a;
        color: white;
    }

    .tag-color.yellow {
        background-color: orange;
        color: black;
    }

    .tag-color.gray {
        background-color: gray;
        color: white;
    }

    .tag-color.blue {
        background-color: blue;
        color: white;
    }

    .tag-color.pink {
        background-color: deeppink;
        color: white;
    }

    .tag-color.limone {
        background-color: yellow;
        color: black;
        border: 1px solid black;
    }

    .tag-color.orange {
        background-color: orange;
        color: black;
        border: 1px solid black;
    }

    .tag-color.white {
        background-color: gainsboro;
        color: black;
        border: 1px solid black;
    }

.pulsantino {
    font-size: 1.1em;
    box-shadow: gray 2px 2px 3px;
    padding: 6px;
    font-weight: normal;
    margin: auto;
    cursor: pointer;
}

.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-left: 1px solid white;
    box-sizing: border-box;
}

.box {
    border: 1px solid gainsboro;
    border-radius: 3px;
    padding: 5px;
    font-size: 18px;
    padding-left: 35px;
    background-position: 5px center;
    background-size: 25px;
    background-repeat: no-repeat
}

    .box.info {
        background-color: #eeffee;
        background-image: url(/img/info.svg);
    }

    .box.alert {
        background-color: #fff6ee;
        background-image: url(/img/alert.svg);
    }


.mancaFattura td {
    background-color: lightcoral;
}


.starRating {
    display: inline-block;
    background-image: url('/img/star-voto-no.svg');
}

    .starRating div {
        background-image: url('/img/star-voto.svg');
        display: inline-block;
        width: 100%;
        height: 100%;
    }


.numeroElementi {
    font-weight: bold;
}


li.ui-tabs-active.tabRed a {
    text-decoration: underline !important;
}

.tabRed {
    background-color: red !important;
    color: white !important;
}

    .tabRed a {
        background-color: red !important;
        color: white !important;
    }

li.ui-tabs-active.tabGreen a {
    text-decoration: underline !important;
}

.tabGreen {
    background-color: green !important;
    color: white !important;
}

    .tabGreen a {
        background-color: green !important;
        color: white !important;
    }

.usrborder {
    border-left: 5px solid;
    border-radius: 5px;
}

    .usrborder.green {
        border-left-color: green
    }



.modello {
    width: 150px;
    height: 150px;
    display: inline-block;
    border: 2px solid gray;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    filter: drop-shadow(3px 5px 4px black);
    background-color: wheat;
}

    .modello > img {
        width: 40%;
    }

    .modello > h3 {
        font-size: 22px;
        line-height: 35px;
        margin-block-start: 0px;
        margin-block-end: 0px;
    }

    .modello .downloadType {
        width: 25%;
        margin: 5px;
        filter: drop-shadow(3px 5px 4px black);
        cursor: pointer;
    }


        .modello .downloadType:hover {
            filter: drop-shadow(1px 3px 4px gray);
        }

.daPagare {
    background-color: red !important;
    color: white;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}


.lezioniKO {
    background-color: lightcoral;
}

.lezioniOK {
    background-color: lightgreen;
}


.ui-dialog {
    width: 100% !important;
    height: 100% !important;
    position: fixed !important;
    overflow: auto;
}

    .ui-dialog .ui-dialog-content {
        overflow: hidden;
    }

.boxAlert {
    border: 1px solid gray;
    border-radius: 3px;
    padding: 10px;
    font-size: 1.5em;
}

    .boxAlert.alert {
        background-color: #ffc107;
    }

    .boxAlert.ok {
        background-color: #28a745;
        color: white;
    }

    .boxAlert img {
        width: 30px;
        -webkit-filter: drop-shadow(1px 1px 5px white);
        vertical-align: middle;
        margin: 3px;
    }




.menu .parent {
    display: block;
    position: relative;
    float: left;
    line-height: 30px;
    background-color: #4FA0D8;
    border-right: #CCC 1px solid;
}

    .menu .parent a {
        margin: 10px;
        color: #FFFFFF;
        text-decoration: none;
    }

    .menu .parent:hover > ul {
        display: block;
        position: absolute;
    }

.menu .child {
    display: none;
    box-shadow: 2px 2px 9px gray;
}

    .menu .child li {
        background-color: #E4EFF7;
        line-height: 30px;
        border-right: #CCC 1px solid;
        width: 100%;
        white-space: nowrap;
        margin-right: 24px;
    }

        .menu .child li.separator {
            line-height: 1px;
            border-bottom: #CCC 1px solid;
            width: 100%;
        }

        .menu .child li a {
            color: #000000;
            width: 100%;
            display: inline-block;
            padding: 0;
            margin: 0;
            margin-left: 9px;
        }

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0px;
    min-width: 10em;
}

    .menu ul ul ul {
        left: 100%;
        top: 0;
        margin-left: 1px;
    }

.menu li:hover {
    background-color: #95B4CA;
}

.menu .parent li:hover {
    background-color: #F0F0F0;
}

.menu .expand {
    font-size: 12px;
    float: right;
    margin-right: 5px;
}

.menu .expander {
    float: right;
    position: absolute;
    right: 5px;
    font-weight: bold;
}

.menu img {
    width: 21px;
    height: 21px;
    vertical-align: middle;
    margin-right: 3px;
    border: 0px;
    visibility: hidden;
}

.popup-container {
    position: fixed;
    bottom: 0;
    right: 0;
}

    .popup-container .popup {
        display: block;
        max-height: 200px;
        border: 2px solid gray;
        border-radius: 5px;
        padding: 5px;
        background-color: #ffffeb;
        box-shadow: -3px -3px 20px 0px gray;
        overflow-y: scroll;
        overflow-x: hidden;
    }

.center-in-screen {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100000;
    margin: auto;
    display: flex;
    backdrop-filter: blur(5px);
}

.popup-container.center-in-screen .popup {
    display: block;
    border: 0;
    border-radius: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    overflow-y: hidden;
    overflow-x: hidden;
    max-height: fit-content;
    margin: auto;
    text-align: center;
}


.html-editor {
    border: 1px solid gray;
    padding: 8px
}

    .html-editor .toolbar {
        border: 1px solid gray;
        padding: 3px;
    }

        .html-editor .toolbar > span {
            display: inline-block;
            text-align: center;
            border: 1px solid gray;
            width: 30px;
            height: 30px;
            padding: 3px;
            cursor: pointer;
            background-color: gainsboro;
            box-shadow: 1px 1px 1px black;
        }

            .html-editor .toolbar > span img {
                width: 100%;
            }


    .html-editor .editor {
        margin-top: 5px;
    }

        .html-editor .editor table td {
            border: 3px double gainsboro;
        }

        .html-editor .editor .editor-tag {
            background-color: yellow;
            color: black;
            border: 1px solid gainsboro;
        }

    .html-editor table td {
        border: 1px dotted gray;
    }




.context-menu {
    position: fixed;
    z-index: 10000000;
}

    .context-menu .menu {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 10px 20px rgb(0 0 0 / 36%);
        padding: 10px 0;
        list-style: none;
    }

        .context-menu .menu > li > a {
            font: inherit;
            border: 0;
            padding: 5px 30px 5px 10px;
            width: 100%;
            display: flex;
            align-items: center;
            position: relative;
            text-decoration: unset;
            color: #000;
            font-weight: 500;
            cursor: pointer;
        }


            .context-menu .menu > li > a > i {
                padding-right: 10px;
            }

        .context-menu .menu > li.trash > a:hover {
            color: red;
        }
