/* WPPROT - File rules CSS extracted in v1.6.282. */
/* v1.6.238 - Regole file: azioni modifica/cancella sempre visibili */
.wpprot-file-rules-table-wrap{
    position:relative!important;
}
.wpprot-file-rules-table .wpprot-file-rule-actions-col{
    position:sticky!important;
    right:0!important;
    z-index:12!important;
    width:190px!important;
    min-width:190px!important;
    max-width:190px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    background:#fff!important;
    box-shadow:-8px 0 14px rgba(15,23,42,.08)!important;
}
.wpprot-file-rules-table thead .wpprot-file-rule-actions-col{
    z-index:22!important;
    background:#f0f6fc!important;
}
.wpprot-file-rules-table tbody tr:hover .wpprot-file-rule-actions-col{
    background:#f6fbff!important;
}
.wpprot-file-rules-table .wpprot-file-rule-actions-col .wpprot-row-edit-toggle,
.wpprot-file-rules-table .wpprot-file-rule-actions-col .wpprot-row-delete-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:78px!important;
    margin:0 4px 4px 0!important;
    white-space:nowrap!important;
}
@media (max-width:782px){
    .wpprot-file-rules-table .wpprot-file-rule-actions-col{
        width:168px!important;
        min-width:168px!important;
        max-width:168px!important;
    }
    .wpprot-file-rules-table .wpprot-file-rule-actions-col .wpprot-row-edit-toggle,
    .wpprot-file-rules-table .wpprot-file-rule-actions-col .wpprot-row-delete-toggle{
        min-width:70px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}

/* v1.6.239 - Griglie admin: colonna azioni sempre raggiungibile */
.wpprot-related-table-page .wpprot-related-table{
    table-layout:auto!important;
}
.wpprot-related-table-page .wpprot-related-table th:last-child,
.wpprot-related-table-page .wpprot-related-table td.wpprot-row-actions,
.wpprot-protocols-table th:last-child,
.wpprot-protocols-table td.wpprot-row-actions{
    position:sticky!important;
    right:0!important;
    z-index:14!important;
    min-width:168px!important;
    width:168px!important;
    max-width:190px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    background:#fff!important;
    box-shadow:-8px 0 14px rgba(15,23,42,.08)!important;
}
.wpprot-related-table-page .wpprot-related-table thead th:last-child,
.wpprot-protocols-table thead th:last-child{
    z-index:24!important;
    background:#f0f6fc!important;
}
.wpprot-related-table-page .wpprot-related-table tbody tr:hover td.wpprot-row-actions,
.wpprot-protocols-table tbody tr:hover td.wpprot-row-actions{
    background:#f6fbff!important;
}
.wpprot-related-table-page .wpprot-related-table td.wpprot-row-actions,
.wpprot-protocols-table td.wpprot-row-actions{
    display:table-cell!important;
}
.wpprot-related-table-page .wpprot-related-table td.wpprot-row-actions > .button,
.wpprot-protocols-table td.wpprot-row-actions > .button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:74px!important;
    margin:0 4px 4px 0!important;
    white-space:nowrap!important;
}
.wpprot-related-table-page .wpprot-related-filter-row th:last-child{
    min-width:168px!important;
}
@media (max-width:782px){
    .wpprot-related-table-page .wpprot-related-table th:last-child,
    .wpprot-related-table-page .wpprot-related-table td.wpprot-row-actions,
    .wpprot-protocols-table th:last-child,
    .wpprot-protocols-table td.wpprot-row-actions{
        min-width:150px!important;
        width:150px!important;
        max-width:168px!important;
    }
    .wpprot-related-table-page .wpprot-related-table td.wpprot-row-actions > .button,
    .wpprot-protocols-table td.wpprot-row-actions > .button{
        min-width:64px!important;
        padding-left:8px!important;
        padding-right:8px!important;
    }
}

/* v1.6.241 - Fix definitivo visibilita azioni Regole file dopo init griglia */
body .wpprot-wrap .wpprot-file-rules-table-wrap{
    overflow-x:auto!important;
    overflow-y:visible!important;
    max-width:100%!important;
}
body .wpprot-wrap table.wpprot-file-rules-table{
    min-width:1280px!important;
    width:max-content!important;
    overflow:visible!important;
}
body .wpprot-wrap table.wpprot-file-rules-table th.wpprot-file-rule-actions-col,
body .wpprot-wrap table.wpprot-file-rules-table td.wpprot-row-actions.wpprot-file-rule-actions-col,
body .wpprot-wrap table.wpprot-file-rules-table td.wpprot-file-rule-actions-col:nth-child(8){
    display:table-cell!important;
    position:sticky!important;
    right:0!important;
    z-index:60!important;
    width:210px!important;
    min-width:210px!important;
    max-width:210px!important;
    padding:10px!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    background:#fff!important;
    box-shadow:-10px 0 16px rgba(15,23,42,.10)!important;
}
body .wpprot-wrap table.wpprot-file-rules-table thead th.wpprot-file-rule-actions-col{
    z-index:80!important;
    background:#f0f6fc!important;
}
body .wpprot-wrap table.wpprot-file-rules-table tbody tr:hover td.wpprot-file-rule-actions-col{
    background:#f6fbff!important;
}
body .wpprot-wrap table.wpprot-file-rules-table td.wpprot-file-rule-actions-col > button.wpprot-row-edit-toggle,
body .wpprot-wrap table.wpprot-file-rules-table td.wpprot-file-rule-actions-col > button.wpprot-row-delete-toggle{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:84px!important;
    max-width:none!important;
    min-height:32px!important;
    margin:0 6px 6px 0!important;
    padding:0 12px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-indent:0!important;
}
body .wpprot-wrap table.wpprot-file-rules-table td.wpprot-file-rule-actions-col .wpprot-row-edit-panel[hidden]{
    display:none!important;
}

/* v1.6.243 - Regole file: colonna azioni stabile, senza salto al refresh */
body .wpprot-wrap .wpprot-file-rules-table-wrap{
    overflow-x:auto!important;
    overflow-y:visible!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table{
    table-layout:fixed!important;
    width:1280px!important;
    min-width:1280px!important;
    max-width:none!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th,
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td{
    position:static!important;
    box-shadow:none!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(1),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(1){width:110px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(2),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(2){width:310px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(3),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(3){width:110px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(4),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(4){width:120px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(5),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(5){width:110px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(6),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(6){width:110px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th:nth-child(7),
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td:nth-child(7){width:250px!important;}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th.wpprot-file-rule-actions-col,
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td.wpprot-file-rule-actions-col,
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-filter-row th:last-child{
    width:160px!important;
    min-width:160px!important;
    max-width:160px!important;
    overflow:visible!important;
    white-space:normal!important;
    text-overflow:clip!important;
    background:inherit!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td.wpprot-file-rule-actions-col > button.wpprot-row-edit-toggle,
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table td.wpprot-file-rule-actions-col > button.wpprot-row-delete-toggle{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0 0 6px!important;
}

/* v1.6.244 - Regole file: niente filtro interno sopra la colonna Azioni */
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-filter-row{
    display:none!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table th.wpprot-related-sortable{
    cursor:default!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-sort-arrow{
    display:none!important;
}

/* v1.6.245 - Regole file: filtri ripristinati, nessun filtro sulla colonna Azioni */
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-filter-row{
    display:table-row!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-filter-row th{
    position:static!important;
    box-shadow:none!important;
    background:#f8fafc!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-filter-row th.wpprot-file-rule-actions-filter-spacer{
    background:#f8fafc!important;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-filter-row th.wpprot-file-rule-actions-filter-spacer::before{
    content:"";
    display:block;
    min-height:30px;
}
body .wpprot-wrap table.wpprot-file-rules-table.wpprot-related-table .wpprot-related-sort-arrow{
    display:inline-block!important;
}
