
.uni_loading {visibility: hidden;}
/* 14 mar 2018 - testiamo visibililty al posto di display none
.uni_loading {display: none;}
*/
[data-el = export-excel] {top:0; left: 0; width: 100%; height: 100%; background: url(/uni/img/xls.gif) center center no-repeat;}
[data-el = export-excel] a {position: static !important; margin: 0 auto;}


#uni_debug_box {display: none; position: fixed; top: 40px; left: 40px; width: 600px; height: 700px; 
    overflow: auto; z-index: 101; background-color: whitesmoke; border: 2px ridge dimgray;}
#uni_debug_box div {height: 18px; line-height: 18px;}
#uni_debug_box .label {font-weight: bold; padding: 0 5px;}
#uni_debug_box .tag {color: navy; padding-right: 10px;}
#uni_debug_box .value {color: firebrick; text-indent: 5px; }
#uni_debug_box td {vertical-align: top;}

.uni-default-modal-timeout {max-width:400px;width:100%;margin:150px auto;background-color:white;padding:30px 20px;text-align:center}
.uni-default-modal-timeout div {margin:20px}

[data-el = div-modal] {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;  z-index: 3000;
    background: rgba(20, 20, 20, 0.7);
}

[data-el = div-modal].modal_on {display:block;}

[data-el = div-modal] > div {width: 70%; margin: 0 auto; margin-top: 100px; padding: 5px; background-color: whitesmoke;}

[data-el = div-modal] .btn-close-tb-modal {position: absolute; right: 0; top: -40px; color: cornflowerblue;}


    /* 3 nov 2026 - x gestione lingue */
    #dropdown_lang {width:125px;}
    #dropdown_lang li {display: inline; margin-right: 3px;}
    #dropdown_lang > li > img {cursor: pointer}


/*
 tutta la formattazione uni-form-responsive (nuovo standard per versione mobile) e 
 uni-form-absolute (vecchio standard per versione desktop) sono state introdotte il 17 ott 2019
 per la gestione delle form su pwa da Paolo Barra
 */
/* 
 * form-modal è quella che contiene l'IO della form
 * form-internal-modal è la modale interna alla form per la gallery dell'upload
 * uni-thinking è la modale di tutti gli oggetti quando fanno le chiamate ajax al server 
 * modal-timeout è per gestire la scadenza della session
*/

/* SPECIAL */
[data-el = form-modal], [data-el = uni-thinking], [data-el = modal-timeout], [data-el = form-internal-modal] {
    position: absolute; top: 0; left: 0;
    display:none;  
    width: 100%; height: 100%;  z-index: 2099; /* 12 ott 2020 Paolo Barra Aumentato da z-index 99 */
    background: rgba(25, 25, 25, 0.5);
}


/* 12 ott 2020 Paolo Barra uni-thinking dev'essere position fixed */
[data-el = uni-thinking] {position: fixed} 

[data-el = modal-timeout] {
    z-index: 10000;
}

/* 12 ott 2020 Paolo Barra il uni-thinking deve avere lo z-index maggiore rispetto la modale rispetto a modale */
[data-el = uni-thinking] {z-index: 3032;text-align: center;} 
[data-el = uni-thinking] .spinner { position: relative; z-index:101;  margin:25% auto;}

[data-el = uni-thinking] .box_site .site {position:absolute;top:40px;left:0;margin:auto}
[data-el = uni-thinking] .spinner {width:auto;}

[data-el = form-internal-modal][data-uni-class = G] img { position:absolute; top:0; left:0; width:100%; margin-top: 5%;}
[data-el = form-internal-modal][data-uni-class = G] img { border-top:1px solid #FFF; border-bottom: 1px solid #FFF;}
[data-el = form-internal-modal][data-uni-class = G] .caption > div {position:absolute; top:17px; left:20px; color: #FFF;}
[data-el = form-internal-modal] [data-el = close] {position:absolute;top:20px;right:0;line-height:30px;font-size:10pt;width:75px} /* 12 ott 2020 Paolo Barra bottone close form-internal-modal */


/*
.uni-form-absolute
.uni-form-responsive
*/

[data-el = form-modal].modal_on, [data-el = modal-timeout].modal_on {display:block;}

[data-uni-class = F] [data-status = invisible] {visibility: hidden;}
[data-uni-class = F] [data-status = hidden] {display: none;}
[data-uni-class = F] [data-status = readonly] input,
[data-uni-class = F] [data-status = readonly] select,
[data-uni-class = F] [data-status = readonly] textarea {color: silver;}

[data-uni-class = F] {background-color: whitesmoke;}
[data-uni-class = F] {position: relative; margin: auto;}

.uni-form-absolute form div       {position: absolute;} /* NOBOOSTRAP */
.uni-form-absolute form label     {position: absolute;} /* NOBOOSTRAP */
.uni-form-absolute form input     {position: absolute;} /* NOBOOSTRAP */
.uni-form-absolute form textarea  {position: absolute;} /* NOBOOSTRAP */
.uni-form-absolute form img       {position: absolute;} /* NOBOOSTRAP */
.uni-form-absolute form a         {position: absolute;} /* NOBOOSTRAP */
.uni-form-absolute form table     {position: absolute;} /* NOBOOSTRAP */
[data-uni-class = F] form textarea {resize: none; border:1px solid lightgray} 

/* LABEL */
.uni-form-absolute   form [data-el = label]                 {position: absolute;}
[data-uni-class = F] form [data-el = label].pos_top_center	{text-align: center; width:  100%;}
.uni-form-absolute   form [data-el = label].pos_top_center	{top: -18px; left: 0;}
[data-uni-class = F] form [data-el = label].pos_top_left	{text-align: left; width:  100%;}
.uni-form-absolute   form [data-el = label].pos_top_left	{top: -18px; left: 0; }
[data-uni-class = F] form [data-el = label].pos_left	    {text-align: right;}
.uni-form-absolute   form [data-el = label].pos_left	    {top:   3px; left: -60px; width:  60px;}
[data-uni-class = F] form [data-el = label].pos_top_right	{text-align: right;width:  100%;}
.uni-form-absolute   form [data-el = label].pos_top_right	{top: -18px; right: 0;}
[data-uni-class = F] form [data-el = label].pos_right	    {text-align: left;}
.uni-form-absolute   form [data-el = label].pos_right	    {top:   3px; right: -60px;width: -60px;}
[data-uni-class = F] form [data-el = label].pos_inside	    {}
[data-uni-class = F] form [data-el = label].mandatory	i   {margin-left: 5px;}
[data-uni-class = F] form [data-el = label].pos_top_left i  {margin-right: 5px;}
[data-uni-class = F] form [data-el = label] [data-el = infolink] {margin: 5px;}

/* CONTROLS */
[data-uni-class = F] form [type = hidden] {display: none;}
[data-uni-class = F] form li.hover {background-color: lightgray;}
[data-uni-class = F] form [data-el = control] {width: 100%; }
.uni-form-absolute   form [data-el = control] {height: 100%; top: 0; left: 0;}
.uni-form-responsive form > [data-ks] {display:inline-block; vertical-align:top; width:100%; margin:0 10px 5px 0} /* il > serve perchè se istanzi altri oggetti dentro la form fa pasticcio */ 
.uni-form-responsive form [data-box-io-cmd = self] {text-align:right} 
.uni-form-responsive form [data-box-io-cmd = self] .uni_BTN {margin:5px} 
.uni-form-responsive form .uni-full-width {display:block; max-width:100%; margin-left:0; margin-right:0} 
.uni-form-responsive form [data-obj-type = div].uni-full-width > [data-el = label] {display:none}  /* 25 ott 2019 Paolo Barra aggiunta xkè nei div di solito non voglio la label dentro, in piu la label dentro fa gonfiare il div inutilmente */

.uni-form-responsive[data-form-level = "1"] {padding:20px} 

/* parti accomunate responsive */
.uni-form-responsive form [data-obj-type = select] [data-el = text],
.uni-form-responsive form [data-obj-type = search] [data-el = text],
/*.uni-form-responsive form [data-obj-type = button] [data-el = control], controlla bootstrap, rivedere ... */
.uni-form-responsive form [data-obj-type = text] [data-el = control] {height:40px; line-height:40px} 
.uni-form-responsive form [data-obj-type = booleano] [data-el = control] {height:20px; margin:10px 0}  
/* PB white-space: nowrap; (non va a capo) quindi ridimensiona ul con la larghezza massima della voce + lunga */
.uni-form-responsive form [data-obj-type = select] [data-el = list] > li,
.uni-form-responsive form [data-obj-type = search] [data-el = list] > li 
    {list-style-type: none; line-height:30px; white-space:nowrap; padding:0 15px 0 5px} /* 5 nov 2019 Paolo Barra cambiato da 5px a 15px xke quando c'è la barra si vede male */ 
.uni-form-responsive form [data-obj-type = search] [data-el = list],
.uni-form-responsive form [data-obj-type = select] [data-el = list] {left: 0; margin:0; padding:0; max-height: 300px;overflow: auto;}


/** matrix **/
[data-uni-class = F] form [data-obj-type = matrix] [data-row = recordset],
[data-uni-class = F] form [data-obj-type = matrix] [data-row = io] { background-color: whitesmoke; }
[data-uni-class = F] form [data-obj-type = matrix] [data-row = recordset] {
    border-top: 1px solid lightgrey; 
    border-left: 1px solid lightgrey; 
    border-right: 1px solid lightgrey; 
} 
[data-uni-class = F] form [data-obj-type = matrix] [data-row = io] {
    border-bottom: 1px solid lightgrey; 
    border-left: 1px solid lightgrey; 
    border-right: 1px solid lightgrey; 
} 

[data-uni-class = F] form [data-obj-type = matrix] [data-field = io_icon] , 
[data-uni-class = F] form [data-obj-type = matrix] [data-field = del] {display: inline-block; width: 10%; padding: 0; text-align: center;} 

/** select **/
[data-uni-class = F] form [data-obj-type = select] {z-index: 1; cursor: pointer;} /* rivedere bene gli z-index */
[data-uni-class = F] form [data-obj-type = select] img {z-index: 2;}
.uni-form-absolute   form [data-obj-type = select] img {right: 0; top: 0;}
.uni-form-responsive form [data-obj-type = select] {position:relative}
.uni-form-responsive form [data-obj-type = select] img {display:none}
.uni-form-responsive form [data-obj-type = select] {width:100%}
[data-uni-class = F] form [data-obj-type = select] li {z-index:3; text-align: left;}
.uni-form-absolute   form [data-obj-type = select] [data-el = text], 
.uni-form-absolute   form [data-obj-type = select] [data-el = item] {text-indent: 5px; }
[data-uni-class = F] form [data-obj-type = select] li i {margin-right: 5px;}

[data-uni-class = F] form [data-obj-type = select] [data-el = text] {text-indent: 5px;}
.uni-form-absolute   form [data-obj-type = select] [data-el = text] {top: 0; left: 0;}
.uni-form-responsive form [data-obj-type = select] [data-el = text] {text-align:right;
    background:#FFF url(/uni/img/freccia_select_responsive.png) no-repeat right center; border:1px solid lightgray;padding-right:25px}

[data-uni-class = F] form [data-obj-type = select] [data-el = list] {
    position: absolute; cursor: pointer; background-color: #FFF;  display: none;
    border: 1px solid gray; z-index: 2;
}

.uni-form-absolute form [data-obj-type = select] [data-el = list] {
     top: 0; left: 0;
}

[data-uni-class = F] form [data-obj-type = select] ul li span {display: inline-block;}



/** search **/
[data-uni-class = F] form [data-obj-type = search] [data-el = text] {width: 100%;background:#FFF url('/uni/img/search.gif') no-repeat right center;}
.uni-form-absolute form [data-obj-type = search] [data-el = text]   {top: 0; left: 0; height: 100%}
.uni-form-responsive form [data-obj-type = search] [data-el = text] {border:1px solid lightgray;padding-right:25px}
.uni-form-responsive form [data-obj-type = search] {position:relative}

[data-uni-class = F] form [data-obj-type = search] [data-el = list] {
    position: absolute; cursor: pointer; background-color: #FFF; left: 0; display: none; 
    border: 1px solid gray;
    z-index: 2; overflow: auto; white-space: nowrap;
}
.uni-form-absolute form [data-obj-type = search] [data-el = list] {
    top: 20px;width: 100%;text-indent: 5px;  max-height: 300px; 
}

[data-uni-class = F] form [data-obj-type = search] [data-el = list] li { z-index:3; text-align:left;}

[data-uni-class = F] form [data-obj-type = search] ul li span {display: inline-block;}
[data-uni-class = F] [data-obj-type = search] li:hover  {background-color: aliceblue;}
[data-uni-class = F] form [data-obj-type = search] [data-el = list] li[data-form] {border-bottom: 1px solid lightgrey ;}

/* BOOLEANO */
.uni-form-absolute form [data-obj-type = booleano] [data-el = control] {width:20px; height:20px;}


/* label */ 
.uni-form-responsive form [data-obj-type = label] [data-el = control] {display:none}  

/** Hidden **/
[data-uni-class = F] form [data-obj-type = hidden] {display:none;}

/** button **/
[data-uni-class = F] form [data-obj-type = button] a {}
.uni-form-absolute form [data-obj-type = button] a {text-align: center;height: 100%; width: 100%;line-height: 24px; 
    margin: 0 auto; background-color: gray; color: #FFF; }
.uni-form-absolute form [data-obj-type = button].btn_fat a {line-height: 27px;} 
.uni-form-absolute form [data-obj-type = button].btn_slim a {line-height: 21px; font-size: 9pt;} 

[data-uni-class = F] form [data-obj-type = button] label {visibility: hidden;}


/* CHECKBOX */
.uni-form-absolute form [data-obj-type = checkbox] [data-el = list] {width:100%; height:100%; overflow-y:auto;}
/* checkbox & radio */
.uni-form-responsive form [data-obj-type = checkbox] [data-el = list] [data-dispose = col],
.uni-form-responsive form [data-obj-type = radio]    [data-el = list] [data-dispose = col] {}
.uni-form-responsive form [data-obj-type = checkbox] [data-el = list] [data-dispose = row], 
.uni-form-responsive form [data-obj-type = radio]    [data-el = list] [data-dispose = row] {display:inline-block;padding-left:5px}
.uni-form-responsive form [data-obj-type = radio]    [data-el = list] label,
.uni-form-responsive form [data-obj-type = checkbox] [data-el = list] label {margin-left:5px}


/** upload **/
.uni-form-absolute form [data-obj-type = upload] {border-top:1px solid grey;}
[data-uni-class = F] form [data-obj-type = upload] a {position: static;}                                        /* NOBOOSTRAP */
[data-uni-class = F] form [data-obj-type = upload] [data-el = input-div] {width: 100%; height: 26px;}           /* NOBOOSTRAP */
[data-uni-class = F] form [data-obj-type = upload] [data-el = input-div] {top: 0; left: 0; position:relative;}  /* NOBOOSTRAP */
[data-uni-class = F] form [data-obj-type = upload] [data-el = table] {width: 100%; border-top: 1px solid grey;}
[data-uni-class = F] form [data-obj-type = upload] [data-el = table] {top: 26px; position: relative;}           /* NOBOOSTRAP */
[data-uni-class = F] form [data-obj-type = upload] input[type = file] {position: absolute; top: 0; left: 0;}    /* NOBOOSTRAP */

[data-uni-class = F] form [data-obj-type = upload] input[type = file] {width: 100%; height: 26px;} 
[data-uni-class = F] form [data-obj-type = upload] [data-el = table] table {width: 100%; }
[data-uni-class = F] form [data-obj-type = upload] [data-el = table] table {top: 0; left: 0; position: relative;} /* NOBOOSTRAP */


[data-uni-class = F] form [data-obj-type = upload] td {height: 23px; line-height: 23px; }
[data-uni-class = F] form [data-obj-type = upload] [data-field = title] {text-align: left; text-indent: 5px;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = size] {text-align: right;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = name] {display: none;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = img] {width: 36px;text-align:center; background-repeat:no-repeat; background-position: center center;} /* 15 mag 2019 Paolo Barra */
[data-uni-class = F] form [data-obj-type = upload] [data-field = img] a {display: block; width: 100%; height: 100%;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = btn] a {width: 40px; border: 1px solid gray; border-radius: 3px; padding: 4px; height: 22px; line-height: 13px;} /* NOBOOSTRAP */
[data-uni-class = F] form [data-obj-type = upload] [data-field = n] [data-change]           {width: 25px; text-align: center; display: none;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = description] [data-change] {display:none;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = area] [data-change]        {display:none;}
.uni-form-absolute   form [data-obj-type = upload] [data-field = description] [data-change] {position:static;}
.uni-form-absolute   form [data-obj-type = upload] [data-field = area] [data-change]        {position:static;}
[data-uni-class = F] form [data-obj-type = upload] [data-field = dirty]                     {display:none;}
/* 8 feb 2024 - PC - nuove regole dopo implementazione FA */    
[data-uni-class = F] [data-obj-type = upload] [data-field = img]  a > i {font-size:  20px !important; color: steelblue;}

/* 9 ago 2019 Paolo Barra x drag-n-drop */
/* in teoria drag-n-drop è solo uni-form-absolute, valutare se passare  */
[data-uni-class = F] form [data-obj-type = upload] [data-el = table] [data-el = drag-n-drop] {width:100%;height:100px;border:1.25px dashed red;}
[data-uni-class = F] form [data-obj-type = upload] [data-el = table] [data-el = drag-n-drop] {position:static}  /* NOBOOSTRAP */
[data-uni-class = F] form [data-obj-type = upload] .uni_show_drag_n_drop [data-el = drag-n-drop] {display:block}
[data-uni-class = F] form [data-obj-type = upload] .uni_show_drag_n_drop table {display:none}
[data-uni-class = F] form [data-obj-type = upload] .uni_hide_drag_n_drop [data-el = drag-n-drop] {display:none}
[data-uni-class = F] form [data-obj-type = upload] .uni_show_drag_n_drop [data-el = drag-n-drop]:after {content:"DROP ME HERE";color:red}

/** node **/
[data-uni-class = F] form [data-obj-type = node] {min-height: 40px;}
[data-uni-class = F] form [data-obj-type = node] [data-el = node-children] {position: relative; width: 100%; } 
[data-uni-class = F] form [data-obj-type = node] [data-el = node-child] {position:relative; border-bottom: 1px solid lightgray;}
.uni-form-absolute form [data-obj-type = node] [data-el = node-child] {height: 36px;}

/* Modale con video */
div[data-el = div-modal] div[data-el = div-video-modal] {position: relative; max-width: 700px; max-height: 700px; margin: 100px auto; display: block;} 
div[data-el = div-modal] video[data-el = video-modal] {width: 100%;} 

/************************** giu da passaare ************************/


/* smart cell */
#smart_cell {position: relative; background-color:transparent; width:100%; height:auto}
#smart_cell [data-obj-type = select] {width:100% !important;height: 25px !important; line-height: 25px !important;}
#smart_cell [data-obj-type = select] [data-el = text] {text-indent:0;background-color:transparent;width:100% !important}
#smart_cell [data-obj-type = select] [data-el = list] {padding:0;width:100% !important}
#smart_cell [data-obj-type = select] img {display: none;}
#smart_cell [data-obj-type = select] li {border-bottom: 1px solid lightgrey;}
#smart_cell form > div {top: 0 !important; left: 0 !important; width: 100% !important;}    

/* wording */
[data-uni-class = F] [data-el = wording] {position: absolute; z-index: 5; display: none; border: 1px solid grey; 
    background-color: white; color: mediumblue;
    left: 0; margin:0; padding:0; max-height: 300px; overflow: auto; padding-bottom: 10px;}
[data-uni-class = F] [data-el = wording] li {text-align: left; height: 24px; cursor: pointer; padding: 5px;}

/************************** su da passare ************************/




/** comandi IO **/
.uni-form-absolute [data-box-io-cmd = parent] {position: absolute; bottom: 20px; right: 20px; height: 21px;} /* NOBOOSTRAP */ 
.uni-form-absolute [data-box-io-cmd = self] {position: absolute; bottom: 20px; right: 20px; height: 21px;}  

[data-uni-class = F] [data-box-io-cmd = esito] {font-size: 8pt; text-align: center; line-height: 20px;border: 1px solid lightgrey;} 
.uni-form-absolute   [data-box-io-cmd = esito] {bottom: 18px; right: 140px; height: 21px; width: 100px; } 
[data-uni-class = F] [data-box-io-cmd = esito].no_change {color: gray;}
[data-uni-class = F] [data-box-io-cmd = esito].change_ok {color: green;}
[data-uni-class = F] [data-box-io-cmd = esito].change_failed {color: red;}


.uni-form-absolute form [data-obj-type = node] [data-box-io-cmd] {width: 116px;} /* NOBOOSTRAP */
.uni-form-absolute form [data-obj-type = node] [data-box-io-cmd = self] {right: 0; bottom: 6px;}
.uni-form-absolute form [data-obj-type = node] [data-box-io-cmd = node]  {clear: both; width: 50px; bottom: -30px; right: 0px;} /* NOBOOSTRAP */
.uni-form-absolute form [data-obj-type = node] [data-box-io-cmd] .btn {width: 26px; height: 26px; padding: 1px;} 
.uni-form-absolute form [data-obj-type = node] [data-box-io-cmd] i {font-size: 8pt;} 






/** **/

    [data-uni-class = TB] table {width: 100%; border-collapse: collapse;}
    [data-uni-class = TB]:focus { outline: 0;}
    [data-uni-class = TB] tr {text-align:center; height:30px;}
    [data-uni-class = TB] tbody td {text-indent: 5px; }
    [data-uni-class = TB] tbody .dispari td {background-color:#FBF9F8;}
    [data-uni-class = TB] tbody .selected td {background-color: mistyrose; }

    [data-uni-class = TB] tfoot td {position: relative; border-top: 1px solid gray; }
    [data-uni-class = TB] tbody input[type = checkbox] {position: relative;}

/* box filtri */
    [data-el = box-filtri] > div[data-obj-type = radio] label[data-label = radio] {  margin-right: 5px;}
    [data-el = box-filtri] > div[data-obj-type = radio] input[type = radio]{width: 20px; height: 20px;}
    [data-el = box-filtri] > div[data-obj-type = checkbox] label[data-label = checkbox] {  margin-right: 5px;}
    [data-el = box-filtri] > div[data-obj-type = checkbox] input[type = checkbox]{width: 20px; height: 20px;}
    [data-el = box-filtri] a {margin-right: 10px;}
    [data-el = box-filtri] [data-label = field] {display: block;}
    [data-el = box-filtri] [data-obj-type = button] .uni_BTN {width:auto;height:auto}
    [data-el = box-filtri] [data-obj-type = button] [data-active = on]  {background-color:blue}
    [data-el = box-filtri] [data-obj-type = button] [data-active = off] {background-color:lightgray}

/* tabelle con scroll */
    .uni_tb_scroll {position:relative; padding-top:30px;}
    .uni_tb_scroll [data-uni-class = TB] {overflow-y:auto; height:200px; width: 100%; position: static;}
    .uni_tb_scroll [data-uni-class = TB] table {position: static;}
    .uni_tb_scroll tfoot {display:none}
    .uni_tb_scroll .thead_0 {height:0}
    .uni_tb_scroll .thead_0 td { color:transparent; border:none; white-space:nowrap;}
    .uni_tb_scroll .thead_0 td a {position:absolute; top: 0; line-height:30px; display:block; width: inherit;}
    .uni_tb_scroll .thead_0 td:first-child a {border:none;}



[data-uni-class = G] [data-field = thumb_anchor]{position:relative;display:block;float:left}
[data-uni-class = G] [data-field = thumb]       {position:absolute;top:0;left:0;z-index:2}
[data-uni-class = G] [data-field = caption]     {position:absolute;z-index:2}
[data-uni-class = G] [data-field = frecce]      {position:absolute;z-index:3}
[data-uni-class = G] [data-field = frecce] .prev,
[data-uni-class = G] [data-field = frecce] .next {position:absolute;top:0;left:0;display:block;width:100%;height:100%;text-align:center}
[data-uni-class = G] [data-field = frecce] .prev > i,
[data-uni-class = G] [data-field = frecce] .next > i {position:absolute;top:50%;}
[data-field = lightbox].lightbox                {position:absolute;z-index:3;top:0;left:0;width:100%}




.uni_BTN {
    display: block; width: 100%; height: 100%; 
    text-align: center; color: gray; border: none; 
}

/* 22 mar 2017 - questa regola è solo per il button close della gallery dell'upload , valutare se risolvere in altro modo  */
[data-el = form-internal-modal] .uni_BTN {width: 100px; height: 40px; line-height: 40px; font-size: 16px; 
background-color: #495C7F; color: white; position: absolute; top:0px; right: 0px;}


/* nel caso di bootsptrap per ora non viene compilata */
[data-box-io-cmd] .uni_BTN { float: right; position: static; width: 50px; height: 21px; line-height: 20px; 
		margin-left: 5px; background-color: lightgrey; border: 1px solid dimgray;}


/*  */
    [data-uni-class = PAG] .tot_rec {display: none; float: right;}
    [data-uni-class = PAG] {position: relative; width: 250px; height: 32px;}
    [data-uni-class = PAG] img {cursor: pointer; margin-left: 5px;} 
    [data-uni-class = PAG] span {font-size: 18px; margin-left: 5px; margin-top:3px;}
    [data-uni-class = PAG] input {font-size: 16px; text-align: center; width: 35px; margin-left: 5px; margin-top: 2px;} 

    [data-uni-class = PAG] [data-btn = rpg] {display: none;}





    [data-uni-class = TREE] {z-index: 3;}
    [data-uni-class = TREE] ul {text-align: left;}
    [data-uni-class = TREE] ul ul {margin-left: 20px; display: block;}
    [data-uni-class = TREE] ul li {height: 22px; line-height: 22px; cursor: pointer; position: relative; }
    [data-uni-class = TREE] ul [el-type = branch] {color: navy;}
    [data-uni-class = TREE] ul [el-type = branch] a {position: absolute; left: -13px; top: 4px; font-size: 12pt; color: darkorange;}
    [data-uni-class = TREE] ul [el-type = leaf] {margin-left: 20px; color: steelblue; }
    [data-uni-class = TREE] ul li.selected {border-bottom: 1px solid navy; bckground: rgba(34,45,67,0.5);}
    
    [data-uni-class = TREE] ul[data-status = esploso] ul {display: block;}
    [data-uni-class = TREE] ul[data-status = esploso] > [el-type = leaf] {display: block;}
    [data-uni-class = TREE] ul[data-status = compresso] ul {display: none;}
    [data-uni-class = TREE] ul[data-status = compresso] > [el-type = leaf] {display: none;}

    /* box comandi */
    [data-uni-class = TREE] [data-box = cmd] {display: none; position: absolute; border: 1px solid dimgrey; 
        background: rgba(45, 73, 118, 0.66);}
    [data-uni-class = TREE] [data-box = cmd] [data-cmd] {width: 50px; height: 27px; line-height: 27px; border-bottom: 1px dotted whitesmoke;
        color: #FFF; text-align: left; text-indent: 5px; cursor: pointer;
    }
    [data-uni-class = TREE] [data-box = cmd] [data-cmd = exit] {border-bottom: none;}
    
    /* altri comandi nella pagina */
    [data-uni-class = TREE]  [data-ks = export_to] {position: absolute; bottom: 20px; right: 20px; width: 80px; height: 24px; line-height: 24px;
        border: 1px solid dimgrey; background-color: gainsboro; color: #000;
    }

    /* form tree */
    [data-uni-class = TREE] [data-uni-class = F] {position: absolute; top: -1px; left: 50px; width: 370px; height: 95px; 
        display: none; border: 1px solid dimgrey;}
    [data-uni-class = TREE] [data-uni-class = F] form [data-el = label].pos_left {left: -63px;}
    [data-uni-class = TREE] [data-uni-class = F] form .tree_attribute {display: none;}
    [data-uni-class = TREE] [data-uni-class = F] form .tree_attribute [data-el = label] img {position: relative;}
    [data-uni-class = TREE] [data-uni-class = F] [data-ks = ks] [data-el = control] {background-color: aliceblue;}




#res_cookie_policy_testo {vertical-align:top; text-align:left; width:85%; display:inline-block}
#res_cookie_policy_testo > div {margin:10px; color:#FFF;}
#res_cookie_policy_testo > div > a {color:#FFF}
#res_cookie_policy_container_button {vertical-align:top; width:15%; min-width:100px; display:inline-block}
#res_cookie_policy_container_button > a {display:block; margin:10px; background-color:#FFF; line-height:20px; text-align:center; width:100px}

@media screen and (max-width: 800px) { 
    body #res_cookie_policy_testo {width:100%}
}



[data-uni-class = LIST] [data-obj-type = head] > [data-obj-type = filter-box],
[data-uni-class = LIST] [data-obj-type = head] > [data-obj-type = filter-box-cmd] {display:inline-block;}
/* modello thead a 2 el form_filtri + cmd reset cerca */ 
[data-uni-class = LIST] [data-obj-type = head] > [data-obj-type = filter-box],
[data-uni-class = LIST] [data-obj-type = head] > [data-obj-type = filter-box-cmd] {width:100%}
[data-uni-class = LIST] [data-obj-type = head] > [data-obj-type = filter-box-cmd] [filter-cmd = reset] {width:50%}
[data-uni-class = LIST] [data-obj-type = head] > [data-obj-type = filter-box-cmd] [filter-cmd = filtra] {width:49%;margin-right:1%}




    /* CAL tmp 4 set 2025 */

    [data-el = cal-tip] {width: 100px; min-height: 50px; height: auto; z-index: 100; background-color: black; color: white;
        opacity: 0.75; font-size: 8pt; text-align: left; padding: 10px; border-radius: 5px; position: absolute; 
        display: none;}

