:root {
    --defaultbackgrouncolor:rgb(255, 255, 255);
    --backgrouncolor:var(--appcolor);
/*rgb(102, 102, 102);*/
    --labelcolor:rgb(255, 255, 255);
    --defaultordericon:rgb(255, 255, 255);
    --selectedordericon:#E5AE0C;
    --footerbackground:#f7f7f7;
    --headerricerca:#E5AE0C;
    

    --grigio:rgb(204, 204, 204);
    --red: rgb(174, 42, 42);
    --green:rgb(20, 91, 5);
    --disabled:rgb(128,128,128);
}

.filtrotop,.filtra{
    background: var(--backgrouncolor) !important;
    border: 1px solid var(--backgrouncolor);
    border-radius: 4px;
}

.filtra .input-group-btn button{
    background: var(--backgrouncolor) !important;
    color:var(--labelcolor) !important;
}

.filtra i.cerca{
    position: absolute;
    color: var(--grigio);
    top: 14px;
    font-size: 20px;
    z-index: 9;
}

.filtra i.resetcerca{
    position: absolute;
    color: var(--grigio);
    top: 14px;
    right: 60px;
    cursor: pointer;
    font-size: 20px;
    z-index: 999;
}
.filtra-testo{
    padding:24px !important;
}

.filtra i.filtra{
    margin-right: 5px
}
.filta div.filtra-btn{
    width:1% !important;
}


.tabella .table-responsive{
    border-radius: 4px;
}
.tabella.border .table-responsive{
    border:1px solid lightgray;
    border-bottom: 0PX;
}
.tabella .footer{
    background: var(--footerbackground) ;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px
}

.table-hover thead{
    background: var(--backgrouncolor) !important;
    /*    font-size: 12px;*/
    position: sticky;
    z-index: 1;
    top: 0;
    height: 50px;
}



.table tr{
    font-size: 1.3rem;
}

.tabella .footer .skippages{
    display:inline-flex;
    margin:0;
    padding:0;
    list-style:none;
    align-items: center;
}


.tabella .footer .skippages li span {
    cursor: pointer;
    width: 25px;
    font-size: 30px;
    display: block;
}

.tabella .footer .skippages li span a {
    background:inherit;
    border:0;
    padding:6px 0;
}

.tabella .footer label.pageskip,.tabella .footer label.pagecounter{
    font-size:12px;
    font-weight:normal;
    margin:0 5px 0 5px
}

.tabella .footer input.pageskip{
    min-height:30px;
    height:30px;
    font-size:14px;
    width:50px;
    border:1px solid lightgray;
    text-align:center;
    border-radius:8px;
}



.tabella .footer .recordscounter{
    text-align: center;
}


.skippage{
    color:var(--backgrouncolor)  !important;
}

.skippage.disabled{
    color:var(--disabled) !important;
}


th a.order ,.headerbtnorder i{  /*icona orine non selezionata*/
    color:var(--labelcolor)  !important;
    margin-left: 4px;
    position: relative;
    top: 5px;
    cursor: pointer;
    font-size: 2.5rem;

}

th a.active,.headerbtnorder.active i{ /*icona orine selezionata*/
    color:var(--selectedordericon)  !important;
}

/*.headerbtnorder.active previous:has(+ next) {
    color:purple
}*/

.table-hover thead tr th:last-child{
    order: 2;
}

.table-hover thead tr th,.filtrotop button{
    color:var(--labelcolor) ;
    background: inherit !important
}

.tabella tr th i.search {
    text-decoration: underline;
    margin-right:5px;
    color:var(--headerricerca);
}

.table-hover thead tr th:nth-last-child(-1n+2){
    border-right: none !important
}

.table-hover tbody tr.selected{
    background: var(--backgrouncolor) !important;
    opacity: 0.5
}

.table-hover>tbody>tr.selected >td ,.table-hover>tbody>tr.selected >td> a{
    color:var(--labelcolor) !important;
}

.table-hover>tbody>tr:not(.norecord):hover  ,.table-hover>tbody>tr:not(.norecord):hover>td>a   {
    color:var(--labelcolor)  !important;
}

.table-hover tbody tr:not(.norecord):hover  {
    background: var(--backgrouncolor) !important;
    opacity: 0.3
}

.table-hover tbody tr.norecord:hover  {
    background: var(--defaultbackgrouncolor) !important;
    color:red !important;
    opacity: 1 !important;
}

.table-hover tbody tr.norecord:hover >td  {
    color:red;

}

.sub-table:hover,.sub-table *:hover,.sub-table tbody:hover,.sub-table thead:hover,.sub-table tbody tr:hover, .sub-table tbody tr:hover>td, .sub-table tbody tr:hover>td>a  {
    background-color: white !important;
    color:black !important;
    opacity: 1 !important;

}



.table-hover tbody tr.cancella{
    opacity: 1 !important;
}


.table-hover .red {
    color:var(--red) !important;
}

.table-hover .green {
    color:var(--green) !important;
}

.table-hover .blu {
    color:var(--blu) !important;
}


.table-hover .input-group{
    border: 1px solid #ccc;
    border-radius: 4px;
}

.table-hover .input-group-addon, .table-hover .input-group-btn {
    width: 120px;
    border: 0px;
}

.table-hover .input-group{
    border: 1px solid #ccc;
    border-radius: 4px;
    width:100%;
    height:46px;
    min-width:300px;
}

.table-hover.input-group-addon,.table-hover.input-group-btn {
    width:120px;
    height:100%;
    border: 0px;
}

.table-hover nav ul li a.disabled{
    color:var(--disabled)  !important;
}

.table tr td i{
    font-size: 18px;
}



::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
}
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: rgba(0,0,0,0.25) transparent; }



 


