﻿.editor {
    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: 110px;
        background-image: url(/imgsvg/calendar.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

        .editor.editorDate:disabled {
            width: 100px;
            background-image: url(/imgsvg/calendar-disabled.svg);
            background-repeat: no-repeat;
            background-position: right;
        }

    .editor.editorTime {
        width: 65px;
        background-image: url(/imgsvg/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(/imgsvg/euro.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

    .editor.editorPercent {
        width: 100px;
        text-align: right;
        padding-right: 23px;
        background-image: url(/imgsvg/percent2.svg);
        background-repeat: no-repeat;
        background-position: right;
    }

    .editor.error {
        border: 2px solid red;
    }

.editor-icon {
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: right;
}

    .editor-icon.editor-icon-email {
        background-image: url("/imgsvg/at.svg")
    }

    .editor-icon.editor-icon-telefono {
        background-image: url("/imgsvg/telefono.svg")
    }

    .editor-icon.editor-icon-calendar {
        background-image: url("/imgsvg/calendar.svg")
    }

.tableFields {
    width: 100%;
    border-collapse: collapse;
}

    .tableFields > tbody > tr > td {
        padding: 3px;
    }

    .tableFields > tbody > tr:nth-child(2n+1) {
        background-color: #efefef;
    }

    .tableFields label {
        text-align: right;
        display: block;
        font-family: 'Roboto', sans-serif;
        font-size: 13px;
    }


.dlg-icon {
    width: 45px;
    display: inline-block;
    height: 45px;
}

    .dlg-icon.icon-question {
        background-image: url(/imgsvg/question.svg);
    }

    .dlg-icon.icon-exclamation {
        background-image: url(/imgsvg/exclamation.svg);
    }

    .dlg-icon.icon-info {
        background-image: url(/imgsvg/info.svg);
    }

    .dlg-icon.icon-error {
        background-image: url(/imgsvg/error-square.svg);
    }


.sezione-opzioni {
    padding: 5px;
    margin-bottom: 8px;
    border: 1px solid gainsboro;
    border-radius: 5px;
    border-left: 3px solid gray;
}

    .sezione-opzioni .titolo {
        color: navy;
        font-size: 18px;
        border-bottom: 1px solid gainsboro;
        padding: 5px;
    }

    .sezione-opzioni a.allegato {
        display: inline-block;
        width: 100px;
        height: 75px;
        background-image: url(/imgsvg/pdf.svg);
        background-repeat: no-repeat;
        background-position: top center;
        background-size: 70px 60px;
        text-align: center;
        position: relative;
        border: 1px solid gainsboro;
        padding: 3px;
        margin: 8px;
    }

        .sezione-opzioni a.allegato:hover {
            background-color: gainsboro;
        }

        .sezione-opzioni a.allegato div {
            position: absolute;
            bottom: 0px;
            height: 20px;
            width: 100%;
            text-align: center;
            font-size: 14px;
            color: gray
        }

.alert-block {
    font-family: 'Roboto', sans-serif;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid gainsboro;
    margin: 5px;
    padding-left: 35px;
    background-repeat: no-repeat;
    background-size: 22px;
    background-position: 5px center;
    font-size: 13PX;
}

    .alert-block .alert-block-title {
        font-size: 16px;
        font-weight: bold;
        border-bottom: 1px solid gray;
        margin-bottom: 10px;
    }

    .alert-block.alert-block-info {
        border-left: 3px solid #448dff;
        background-color: #f5f9ff;
        background-image: url(/imgsvg/info.svg);
    }

    .alert-block.alert-block-warning {
        border-left: 3px solid #fe9c49;
        background-color: #fff9f3;
        background-image: url(/imgsvg/alert.svg);
    }

    .alert-block.alert-block-error {
        border-left: 3px solid #fe4949;
        background-color: #ffe8e8;
        background-image: url(/imgsvg/error-square.svg);
    }

    .alert-block.alert-block-no-permission {
        border-left: 3px solid #fe4949;
        background-color: #ffe8e8;
        background-image: url(/imgsvg/nopermission.svg);
    }

    .alert-block.alert-block-manual {
        border-left: 3px solid #02a000;
        background-color: #eeffe3;
        background-image: url(/imgsvg/book.svg);
    }

    .alert-block.alert-block-operation {
        border-left: 3px solid #4e4e4e;
        background-color: gainsboro;
        background-image: url(/imgsvg/gear.svg);
    }

input[type=checkbox] {
    background-image: url(/imgsvg/uncheck.svg);
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 18px;
    width: 18px;
    border: none;
    margin: 0px 0 0px 0;
    vertical-align: sub;
    margin-right: 3px;
}

    input[type=checkbox]:disabled:checked {
        background-image: url(/imgsvg/check-disabled.svg);
        border: none;
    }

    input[type=checkbox]:checked {
        background-image: url(/imgsvg/check.svg);
        border: none;
    }

    input[type=checkbox]:disabled {
        background-image: url(/imgsvg/uncheck-disabled.svg);
        border: none;
    }


    input[type=checkbox][disabled][spuntaverde][checked] {
        background-image: url(/imgsvg/check.svg);
        border: none;
    }

input[type=radio] {
    background-image: url(/imgsvg/uncheck.svg);
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 18px;
    width: 18px;
    border: none;
    margin: 0px 0 0px 0;
}

    input[type=radio]:checked {
        background-image: url(/imgsvg/radio.svg);
        border: none;
    }

    input[type=radio]:disabled {
        background-image: url(/imgsvg/uncheck-disabled.svg);
        border: none;
    }

    input[type=radio]:disabled:checked {
        background-image: url(/imgsvg/uncheck-disabled-check.svg);
        border: none;
    }

    input[type=radio][disabled][spuntaverde][checked] {
        background-image: url(/imgsvg/check.svg);
        border: none;
    }


.jconfirm-content .ico {
    width: 22px;
    vertical-align: middle;
}

.praticaRifiutata td {
    text-decoration: line-through;
}
