﻿@media print {
    body {
        zoom: 50%;
    }

    div.dgvActions, #ndMnuApp, a.logout {
        display: none;
    }
}

/*#region General */

.ndBtnOpacity {
    opacity: 0.5;
}

body {
    /*background: url("/_resources/sfondi/sfondo.jpg");*/
    margin: 5px;
}

* {
    font-family: "verdana";
    font-size: 11px;
}

a {
    text-decoration: none;
    color: #3f477a;
    cursor: pointer;
}

.pointer {
    cursor: pointer;
}

.hide {
    display: none;
}

span.hidden {
    display: none;
}

table.dataTable td.ndBtnDgv.hiddenContent {
    cursor: default;
}

    table.dataTable td.ndBtnDgv.hiddenContent * {
        display: none;
    }

.ndMessageOnClick {
    text-decoration: underline;
    cursor: pointer;
}

a.block {
    display: block;
}

a > img {
    border: 0;
}

#divWrapper {
    margin: 5px auto;
    border: 0px;
    box-shadow: 2px 0 3px 1px #444444;
    color: #3F477A;
    padding: 0px;
    position: relative;
}

div.nd-qtip-menu {
    padding: 2px 10px 5px 10px;
    background-color: white;
    border-color: #3f477a;
}

    div.nd-qtip-menu div {
        padding: 0px;
        font-weight: normal;
        letter-spacing: 0px;
    }

    div.nd-qtip-menu ul {
        margin: 0;
        padding: 0;
    }

    div.nd-qtip-menu li {
        border-bottom: 1px solid #044062;
        color: #3f477a;
        display: block;
        line-height: 25px;
        list-style-type: none;
        text-align: center;
    }

        div.nd-qtip-menu li:hover {
            background: linear-gradient(#6facd5, #4272a4) repeat scroll 0 0 #4b88b6;
            cursor: pointer;
        }

div.ndMessage {
    background: #E6E6FA;
    border: 1px solid #3F477A;
    border-radius: 7px;
    box-shadow: 0 0 5px 1px #444444;
    text-align: justify;
}

    div.ndMessage div.ui-dialog-titlebar {
        display: none;
    }

    div.ndMessage h1 {
        font-size: 16px;
        font-style: italic;
        font-variant: small-caps;
        font-weight: bold;
        color: #0804C6;
        border-bottom: 1px dotted #0000FF;
        line-height: 1.5;
    }

    div.ndMessage .ui-widget-content {
        background: #E6E6FA;
        font-size: 14px;
        font-weight: bold;
        color: #3F477A;
        letter-spacing: 0.3px;
        line-height: 1.6;
    }

        div.ndMessage .ui-widget-content button {
            background-image: url("/_linkND/image/blueToWhite.png");
            border: medium none;
            color: #FFFFFF;
        }

div.ndMessage2 .ui-widget-content {
    font-weight: normal;
    /*font-size: 12px;*/
}

/*#endregion*/

/*#region Header */

#divHeader {
    background-image: url("/_resources/sfondi/header.png");
    padding: 0 5px;
}

    #divHeader a {
        color: Blue;
        cursor: pointer;
        text-decoration: none;
    }

        #divHeader a.logout {
            background-image: url("/_resources/icone/logout.png");
            background-position: left center;
            background-repeat: no-repeat;
            padding: 8px 0 8px 38px;
            font-family: Arial;
            font-weight: bold;
            font-size: 12px;
        }

    #divHeader td.other {
        text-align: right;
    }

/*#endregion*/

/*#region Menu */

#ndMnuApp {
    background-color: #627aad;
    color: #fff;
    font-size: 11px;
    height: 25px;
}

.mbmenu {
    display: none;
}

.rootVoices {
    padding-bottom: 0;
}

    .rootVoices td.rootVoice {
        cursor: pointer;
        border-right: 1px solid #fcfcfc;
        border-bottom: 1px solid #fcfcfc;
        width: 170px;
        padding: 5px;
    }

        .rootVoices td.rootVoice.selected {
            background: #5279B5 url("/_link/controls/mbMenu/images/bgnd_sel_4.png");
        }

/*.rootVoices td.rootVoice.disabled.selected {
            -moz-box-shadow: #ddd 2px 2px 10px;
            -webkit-box-shadow: #ddd 2px 2px 10px;
            background: #f9f9f9 !important;
            color: #aaa;
            text-shadow: #fff 1px 1px 1px;
        }*/

.menuContainer {
    /*overflow:hidden;*/
    position: absolute;
    top: -3px;
    left: -4px;
    background-color: #f3f3f3;
    border-top: 3px solid #fff;
    padding: 0;
    box-shadow: #999 2px 5px 10px;
}

    .menuContainer td a {
        text-decoration: none;
        color: #666;
        text-shadow: #fff 1px 1px 1px;
    }

    .menuContainer td.voice {
        font-size: 12px;
    }

    .menuContainer .separator {
        background-color: #999;
        height: 1px;
        padding: 0;
        margin: 0;
    }

    .menuContainer td.img {
        text-align: center;
        font-size: 12px;
        color: #c3c3c3;
        background-color: transparent;
        width: 24px;
    }

        .menuContainer td.img img {
            width: 20px;
        }

    .menuContainer .selected td {
        background-color: #f3f3f3;
        background-image: url("/_link/controls/mbMenu/images/bgnd_sel_2.jpg");
    }

        .menuContainer .selected td a {
            color: #000;
            text-shadow: #fff 2px 2px 1px;
            display: block;
        }

/*#endregion*/

/*#region Content */

#divContent {
    border-radius: 2px;
    border: 1px solid lightgray;
    background-color: #F6F6F6;
    /*background-color: yellow;*/
    box-shadow: 0px 2px 1px gray;
    padding: 5px;
    line-height: 1.4;
    text-align: justify;
    min-height: 390px;
}

    #divContent h2 {
        font-size: 1.4em;
        color: #0804C6;
        border-bottom: 1px solid #DDDDDD;
    }

#qtip-growl-container {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
}

div.ui-tooltip {
    box-shadow: 0 0 5px #3F477A;
}

div.ui-tooltip-titlebar {
    color: #3F477A;
    font-size: 16px;
}

.ui-tooltip-default .ui-tooltip-titlebar {
    background-color: lavender;
}

div.ui-tooltip-content {
    color: #3F477A;
    background-color: white;
    font-size: 11px;
    letter-spacing: 0.3px;
    line-height: 1.6;
    font-weight: bold;
}

#qtip-growl-container .qtip {
    position: static;
    min-height: 0;
    overflow: hidden;
    margin: 0 0 5px 0;
}

/*#endregion*/

/*#region Footer */

#divFooter {
    height: 50px;
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

/*#endregion*/

/*#region PopUp richiesta dati */

.ui-widget-content {
    font-weight: bold;
    letter-spacing: 0.3px;
    line-height: 1.6;
    color: #3F477A;
    font-size: 13px;
}

/*.ui-widget-content input
    {
        border: 1px solid #3F477A;
    }*/

span.has-error span.form-error.help-block {
    width: 100%;
}

/*#endregion*/

/*#region dgv */

div.ui-widget-header {
    border-radius: 2px;
}

div.dataTables_wrapper div.ui-toolbar {
    padding: 0px;
}

div.dgvFilters {
    background-color: #ffffcc;
    border: 1px solid #ffcc33;
    display: inline-block;
    font-size: 10px;
    margin: 5px 0;
    padding: 5px;
    width: 650px;
}

    div.dgvFilters legend {
        font-weight: bold;
        font-variant: small-caps;
    }

    div.dgvFilters input.ndFilter {
        margin-left: 5px;
        padding: 0 3px;
    }

    div.dgvFilters p.btnApplicaFiltro {
        font-size: 11px;
        font-variant: small-caps;
        font-weight: bold;
        padding-top: 2px;
        text-align: center;
        width: 100%;
    }

        div.dgvFilters p.btnApplicaFiltro span {
            border: 1px solid black;
            color: black;
            padding: 3px;
            cursor: pointer;
        }

            div.dgvFilters p.btnApplicaFiltro span:hover {
                background-color: #ddd;
            }

div.dgvActions {
    margin: 12px 0;
    float: right;
    overflow: auto; /*Importante per far crescere in altezza il div anche se contiene oggetti float*/
}

    div.dgvActions span.ndBtnDgv {
        cursor: pointer;
        margin: 0 5px;
        font-weight: bold;
        float: left;
    }

        div.dgvActions span.ndBtnDgv img {
            vertical-align: middle;
            margin-right: 3px;
        }

table.dataTable {
    table-layout: fixed;
    width: 0px;
}

    table.dataTable td, th {
        overflow: hidden;
        word-wrap: break-word;
    }

    table.dataTable th.dgvTh {
        text-align: center;
        font-variant: small-caps;
    }

    table.dataTable td.ndBtnDgv {
        text-align: center;
        cursor: pointer;
    }

div.dataTables_scrollBody table.dataTable {
    margin-left: 0px;
}

.hidden {
    display: none;
}

.dataTables_filter {
    float: left !important;
    margin: 5px;
}

#tbl_paginate .ui-state-default {
    background: none;
}

div.dataTables_wrapper table.dataTable thead th {
    padding: 5px;
}

table.dataTable td {
    border: 1px solid lightgray;
    color: #000;
    padding: 3px !important;
    text-align: left;
}

    table.dataTable td.ndEvidenzia {
        background-color: yellow;
    }

table.dataTable tr.gray td {
    color: gray;
}
/*#endregion*/
/*#region ndGrigliaMolti */
table.ndGrigliaMolti {
    border: none;
}

    table.ndGrigliaMolti th {
        background-color: #d7ebf9;
        color: #2779aa;
    }

    table.ndGrigliaMolti tr.button td {
        border: none;
    }

    table.ndGrigliaMolti input.new {
        margin-top: 5px;
    }

/*#endregion*/

/*#region qTip ui-tooltip-nav */

div.ui-tooltip-nav {
    padding: 0;
    margin: 5px 0 0 3px;
    border: 1px solid #ADD3EF;
    border-radius: 3px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
}

    div.ui-tooltip-nav ul {
        margin: 0;
        padding: 0;
        border-radius: 3px;
        min-width: 200px;
    }

    div.ui-tooltip-nav li {
        display: block;
        padding-left: 5px;
        list-style-type: none;
        border-bottom: 1px solid #ADD3EF;
        line-height: 30px;
        font-family: Helvetica;
        font-size: 12px;
        color: #2179AD;
        font-weight: bold;
        background: linear-gradient(#E7F3FF, #DEEFFF);
    }

        div.ui-tooltip-nav li.first {
            border-radius: 3px 3px 0 0;
        }

        div.ui-tooltip-nav li.last {
            border-radius: 0 0 3px 3px;
        }

        div.ui-tooltip-nav li.center {
            text-align: center;
        }

        div.ui-tooltip-nav li:hover {
            cursor: pointer;
            background: linear-gradient(#FFFFFF, #E7F3FF) repeat scroll 0 0 #4B88B6;
        }

div.qtip-content {
    padding: 0;
}

/*#endregion*/

/*#region frmAll, div.allegati (form elenco allegati) */

#frmAll {
    background-color: #f2f5f7;
}

div.allegati {
    max-height: 400px;
    min-height: 60px;
    overflow: auto;
}

    div.allegati table {
        width: 100%;
    }

    div.allegati tr {
        height: 40px;
        outline: 1px solid lightgray;
        font-weight: normal;
        background-color: aliceblue;
    }

        div.allegati tr:nth-child(odd) {
            background-color: white;
        }

    div.allegati td {
        padding: 5px;
    }

        div.allegati td.img {
            cursor: pointer;
            width: 0px;
        }

    div.allegati div.buttons {
        padding: 5px;
        text-align: right;
    }

    div.allegati span.ndBtnDgv {
        cursor: pointer;
    }

        div.allegati span.ndBtnDgv img {
            margin-right: 3px;
            vertical-align: middle;
        }

/*#endregion*/

/*#region controllo ndUploadFile */

span.ndUploadFile span {
    position: relative;
    overflow: hidden;
}

span.ndUploadFile input {
    display: block;
    cursor: pointer;
    direction: ltr;
    font-size: 200px;
    margin: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    height: 14px;
}

#frmMNuovoAllegato-note-0 {
    width: 670px;
}

/*#endregion*/

#fltPanel fieldset {
    text-align: left;
}

#fltPanel label span {
    width: 110px;
    display: inline-block;
    text-align: right;
}

#fltPanel label input {
    margin-right: 15px;
    margin-top: 5px;
}

span.help {
    font-size: 9px;
    font-family: cursive;
    color: gray;
}

.green {
    background-color: lightgreen;
}

.red {
    background-color: red;
}
