﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --h-top: 30px;
    --h-doc-tool: 90px;
    --h-doc-tool2: 102px;
    --h-list-tool: 34px;
    --h-nav-tool: 300px;
    --h-profilo-tool: 80px;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.warn {
    color: red;
    font-weight:bold;
}

select {
    padding:2px;
    margin: 2px;
}

select:disabled {
    border: solid gray 1px;
    margin: 3px;
}

select:enabled {
    border: solid #4da4a4 2px;
}



#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


#uo-select-control {
    margin-left: 10px;
    min-width: 160px;
    border: solid 1px #0366d6;
    color: #0366d6;
    padding: 2px;
}

.int-nav-item {
    cursor: pointer;
    width: 100%;
    border: solid 1px gray;
    background-color: snow;
    padding: 0px 0;
}
.int-nav-item:hover {
    background-color: lightgoldenrodyellow;
}

.nav-item {
    padding-bottom: 0px;
}

.navbar-brand {
    margin-top: -4px;
    padding-top: 0px;
    font-size: 1rem;
    /* line-height: inherit; */
    white-space: nowrap;
}

.item-attivita {
    margin: 1px;
    font-size: smaller;
    color: gray;
}

.item-attivita-nota {
    font-size: small;
    color: brown;
    padding: 1px;
}


.lista-documenti-container {
    margin: 0;
    padding: 0;
    min-width: 250px;
    height: 100%;
}

.top-row {
    height: var(--h-top);
    max-height: var(--h-top);
}

.list-box {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.content {
    margin: 0;
    padding: 0;
}

.trasparente {
    background-color: transparent;
    border: transparent;
}

.bottoncino {
    background-color: transparent;
    border: solid .5px transparent;
    vertical-align: middle;
    text-align: center;
    cursor: pointer;
    padding: 4px;
    margin: 2px;
}

.bottoncino:hover {
    border: solid 1px lightgray;
    background-color: azure
}

.block {
    height: calc(99vh - var(--h-top));
}

.vert-scroll {
    overflow-y: auto;
}

.vert-fill {
    height: 100%;
}

.h-fill {
    width: 100%;
}

.hv-fill {
    width: 100%;
    height: 100%;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-vtab {
    width: 70px;
    margin-bottom: 2px;
    font-size: large;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
}

.button-smista {
    border: none;
    width: 30px;
    height: 30px;
    opacity: .05;
}

.button-smista:hover {
        background-color: aliceblue;
        border: solid 1px gray;
        opacity: 1;
    }

.button-azione-documento {
    width: 80px;
    height: 24px;
    margin: 2px;
    font-size: small;
    color: black;
    padding: 1px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.button-azione-tratta {
    background-color: lightgreen;
}

.button-azione-atti {
    background-color: orange;
}

.button-azione-scarta {
    background-color: #fcdcdc;
}

.button-azione-protocolla {
    background-color: blueviolet;
    color: white;
}

.button-azione-documento:hover {
    border: 1px solid black;
}


.doc-list-item {
    background-color: white;
    border: solid 1px lightgray;
    padding: 1px;
    margin-right: 2px;
    margin-top: 1px;
    margin-bottom: 2px;
    cursor: pointer;
}

.doc-list-item:hover {
        background-color: lightgoldenrodyellow;
    }

.doc-list-item-selected {
    background-color: mistyrose;
}

    .doc-list-item-selected:hover {
        background-color: pink;
    }


.doc-view {
    height: calc(100% - var(--h-doc-tool));
    max-height: calc(100% - var(--h-doc-tool));
    background-color: green;
}

#nav-box {
    height: calc(100% - var(--h-nav-tool));
}

#nav-tool-box {
    min-height: var(--h-nav-tool);
}

#doc-list-tool-box {
    height: var(--h-list-tool);
    background-image: linear-gradient(90deg, #f1edf7 0%, #dbc6ec 70%);
}

#doc-list-box {
    height: calc(100% - var(--h-list-tool));
}

#doc-list-status {
    color: gray;
    font-size: x-small;
    padding: 1px;
    padding-right: 10px;
    border-top: 1px solid gray;
    text-align: right;
}

#doc-tool-box {
    height: var(--h-doc-tool);
}

#doc-box {
    height: calc(100% - var(--h-doc-tool2));
}

#profilo-tool-box {
    height: var(--h-profilo-tool);
}

#profilo-box {
    height: calc(100% - var(--h-profilo-tool));
}


.doc-tipo-bar {
    font-size: small;
    padding: 1px;
    padding-right: 10px;
    border-bottom: 1px solid gray;
    text-align: right;
}





.doc-e {
    color: #1b6a14;
    font-weight: bold;
    background-image: linear-gradient(90deg, #1b6a14 0%, #c2faa9 70%);
}

.doc-u {
    color: #8c160f;
    font-weight: bold;
    background-image: linear-gradient(90deg, #8c160f 0%, #fc7f6e 70%);
}

.doc-i {
    background-color: orange;
}

#doc-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doc-header-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: #eFeFeF;
}

.doc-header-label {
    text-align: right;
    padding-right: 4px;
    width: 100px;
    min-width: 100px;
    font-size: small;
    background-color: #e0e0e0;
}

.doc-header-text {
    font-weight: 400;
    width: 100%;
    font-size: small;
    padding-left: 4px;
}

#LoginBox {
}

#username {
    padding: 3px;
    color: black;
    font-weight: bolder;
}

#aooid {
    border: .5px solid gray;
    background-color: azure;
    padding: 2px;
    color: black;
}

.rz-tabview-panels .rz-tabview-panel {
    height: 100%;
    padding: 2px;
}

.rz-treenode-label {
    width: 100%;
}

.rz-dropdown {
    width: 100%;
}

.titolario-root {
    font-size: larger;
    font-weight: bold;
}

.titolo-pagina {
    color: navy;
    padding-left: 6px;
    height: var(--h-top);
    background-image: linear-gradient(90deg, #cae9f9 10%, #0366d6 50%);
}

.corpo-pagina {
    height: calc(100% - var(--h-top))
}

.proprieta_oggetto {
    background-color: white;
    font-size: large;
}

.p-o-l {
    padding: 4px;
    width: 10%;
    color: brown;
}

.p-o-v {
    padding: 4px;
    width: 90%;
    font-weight: bold;
}

.stato-smistamento-visione {
    font-size: 18px;
    color: yellow;
    background-color: red;
}

.stato-smistamento-trattazione {
    font-size: 18px;
    color: black;
    background-color: lightgreen;
}

.stato-smistamento-atti {
    font-size: 18px;
    color: black;
    background-color: lightgrey;
}

.stato-smistamento-da-smistare {
    color: snow;
}

.numerino-documenti {
    color: mistyrose;
    font-family: 'Courier New';
}

.star-0 {
    border: 1px solid transparent;
    margin: 1px;
    color: lightgray;
    -webkit-text-stroke: 1px gray;
    opacity: .15;
}

.star-0:hover {
    border: 1px solid gray;
    margin: 1px;
    color: yellow;
    -webkit-text-stroke: 1px gray;
    opacity: .3;
}

.star-1 {
    border: 1px solid transparent;
    margin: 1px;
    color: yellow;
    -webkit-text-stroke: 1px black;
    opacity: .8;
}

    .star-1:hover {
        border: 1px solid gray;
        margin: 1px;
        color: yellow;
        -webkit-text-stroke: 1px black;
        opacity: 1;
    }

#scaled-frame {
    zoom: 0.71;
    -moz-transform: scale(0.71);
    -moz-transform-origin: 0 0;
    -o-transform: scale(0.71);
    -o-transform-origin: 0 0;
    -webkit-transform: scale(0.71);
    -webkit-transform-origin: 0 0;
}

.t-voci {
    font-size: small;
    width: 99%;
    margin: 1px;
}

.box-titolo-voce {
    background-color:snow;
    font-size: x-small;
    font-weight: 600;
}

.box-voce {
    text-align:right;
    min-width: 2rem;
    border: solid .4px gray;
    padding-left: .2rem;
    padding-right: .2rem;
    padding-top: .1rem;
    padding-bottom: .1rem;
}

.box-voce-gruppo {
    text-align: right;
    min-width: 2rem;
    border: solid .4px gray;
    background-color:mintcream;
    font-weight:bold;
    padding-left: .2rem;
    padding-right: .2rem;
    padding-top: .1rem;
    padding-bottom: .1rem;
}


.border-bold {
    border: solid 1px black;
}

.compressed {
    height: 20px;
    max-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drag-over-box {
    border: red 4px dotted;
    padding: 3px;
    margin-bottom:4px;
}

.drag-over-line {
    margin:4px;
    border-top: green 5px dotted;
    padding: 3px;
}

.drag-over-line-box {
    border-top: green 5px dotted;
    border-left: red 4px dotted;
    border-right: red 4px dotted;
    border-bottom: red 4px dotted;

    padding: 3px;
    margin-bottom: 4px;
}


.drag-over-bottom-line {
    margin: 2px;
    border-bottom: green 5px dotted;
    padding: 3px;
}


.show-on-hoover:hover {
  opacity: 1;
}

.show-on-hoover {
    opacity: .2;
}


.row-voce {
    background-color: white;
}

.row-voce:hover :nth-child(3) {
    opacity: 1;
}

.row-voce :nth-child(3) {
    opacity: .3;
}

.opaque {
    opacity: 1;
}


.vis-hover {
    opacity: .05;
}

.vis-hover:hover {
    opacity: 1;
}


.row-voce:hover {
        background-color: #ddf1fb;
    }

.row-misura-False:hover {
    background-color: #ddf1fb;
}

.row-misura-True:hover {
    background-color: #ddf1fb;
}

.row-misura-False:hover :nth-child(1) {
        opacity:1;
}

.row-misura-False :nth-child(1) {
    opacity: .3;
}

.box-nodo:hover {
    background-color: #ddf1fb;
}

.box-nodo-True:hover {
    background-color: #ddf1fb;
}

.box-nodo-False:hover :nth-child(3) {
    opacity: 1;
}

.box-nodo-False :nth-child(3) {
    opacity: .3;
}

.txt-box {
    padding: 0px;
    width: 100%;
    min-width: 40px;
}

.nodo-root {
    color: black;
    font-size:large;
    font-weight:bold;
    border-bottom: solid 3px blue;
}

.a-dedurre-True {
    color:red;
    font-weight:bold;
}

.form-label {
    font-size:small;
    color:saddlebrown;
}

.stile-nodo-True{
    border-bottom: .5px dotted lightgray;
}

.stile-nodo-False {

}

.row-allegato {
    cursor:pointer;
    background-color: white;
}

.row-allegato:hover {
    background-color: #ddf1fb;
}


.table_proprieta_oggetto {
    background-color: white;
}

.table_proprieta_oggetto tr {
}

.table_proprieta_oggetto td {
        background-color: white;
        border-bottom: 1px solid lightgray;
    }
.table_proprieta_oggetto tr:hover {
    background-color: mistyrose;
}

.label_tab {
    color:gray;
    white-space:nowrap;
    width: 10%;
    text-align: right;
    padding: 2px;
}

.value_tab {
    color:black;
    font-weight:bold;
    white-space: nowrap;
    width: 90%;
    text-align: left;
    padding: 2px;
}

.elemento-lista {
    cursor: pointer;
    background-color: aliceblue;
    margin: 1px;
    border: 1px solid white;
}

.elemento-lista:hover {
    background-color: mistyrose;
    border: 1px solid lightgray;
}
.elemento-lista-selected {
        background-color: lightblue ;
        border: 1px solid lightgray;
}
