/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 23-ott-2020, 15.00.41
    Author     : a.lazzarini
*/

#main-container {
    margin-top: 65px !important;
}
#azioni {
    margin-top: -70px !important;
}
* {
    border-radius: 10 !important;
}

.select2-container .select2-selection--single {
    height: 38px !important;
}
.select2-selection__arrow {
    height: 34px !important;
}
.select2-selection__rendered {
    line-height: 34px !important;
}
input::-webkit-outer-spin-button,

input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;

}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;

}

.custom-btn-file {
    position: relative !important;
    overflow: hidden;
}
.custom-btn-file input[type=file] {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    min-width: 100% !important;
    min-height: 100% !important;
    font-size: 100px !important;
    text-align: right !important;
    filter: alpha(opacity=0) !important;
    opacity: 0 !important;
    outline: none !important;
    background: white !important;
    cursor: inherit !important;
    display: block !important;
}

.modal-content {
    position: absolute;
    margin: 2px auto;
    z-index: 1100 !important;
}

table.custom_table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

table.custom_table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table.custom_table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
}

table.custom_table th,
table td {
    padding: .625em;
    text-align: center;
}

table.custom_table  {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media screen and (max-width: 600px) {
    #header-bar {
        display: none;
    }

    table.custom_table {
        border: 0;
    }

    table.custom_table  caption {
        font-size: 1.3em;
    }

    .custom_table Z table thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    table.custom_table tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    table.custom_table td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    table.custom_table td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table.custom_table td:last-child {
        border-bottom: 0;
    }

}
table.custom_table {
    width: auto !important;
    table-layout: auto !important;
}
table.custom_table thead th, table.table-fit tfoot th {
    width: auto !important;
}
table.custom_table tbody td, table.table-fit tfoot td {
    width: auto !important;
}
.center {
    margin: 0 auto;
}
body {
    font-size: 12px !important;
}

.row_selected tr {
    background-color: #00838F !important; /* Add !important to make sure override datables base styles */
}

.buttons-nav-color {
    padding: 0px 3px 0px 3px; 
    color: #00838F !important;
    background-color: transparent !important;
}

.row_selected> tr >td { 
    color:#FFF !important;
}
body{
    color:#505C6D !important;
}
table{
    color:#505C6D !important;
}
:root {
    --dt-row-selected: 0 131 143 !important;
    --color-green:0 131 143;
    --color-green-light:#505C6D;
}

.page-item.active .page-link {
    background-color: #00838F !important;
    border-color: #00838F !important;
}

.page-link {
    color: #00838F;
    background-color: #fff;
    border: 1px solid #00838F !important;
}

table.dataTable > thead > tr > th,
table.dataTable > thead > tr > td {
    padding: 3px;
    border-bottom: 1px solid rgba(0, 131,143, 0.5);
}
table.dataTable > tbody > tr > th,
table.dataTable > tbody > tr > td {
    padding: 3px;
    border-bottom: 1px solid rgba(0, 131,143, 0.5);
}
table.dataTable td.dt-type-numeric{
    text-align: left !important;
}
table.dataTable th.dt-type-numeric{
     text-align: left !important;
}



    #licenzeTable_wrapper .dataTables_filter {
        display: none !important;
    }
    table.dataTable tbody td {
        vertical-align: middle;
    }

    /* Colonna di espansione child-row */
    td.details-control {
        cursor: pointer;
        text-align: center;
        width: 32px;
        color: #007bff;
    }
    td.details-control:before {
        content: "\f0fe";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
    }
    tr.shown td.details-control:before {
        content: "\f146";
    }

    /* Box della tabella annidata */
    .child-wrap {
        background: #f4f7fb;
        padding: .9rem 1rem;
        border-left: 3px solid #007bff;
    }
    .child-wrap .table {
        background: #fff;
        margin-bottom: 0;
    }
    .detail-label {
        font-size: .7rem;
        font-weight: 700;
        color: #6c757d;
        text-transform: uppercase;
        letter-spacing: .05em;
        margin-bottom: 3px;
    }
    .detail-value {
        background: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: .25rem;
        padding: .4rem .65rem;
        font-size: .875rem;
        min-height: 34px;
        word-break: break-word;
    }
    /* Nasconde la barra di ricerca nativa di DataTables */
    #accessiTable_wrapper .dataTables_filter { display: none !important; }
    table.dataTable tbody td { vertical-align: middle; }
    .pwd-dots { letter-spacing: 2px; }
    
     .detail-label {
        font-size: .7rem; font-weight: 700; color: #6c757d;
        text-transform: uppercase; letter-spacing: .05em; margin-bottom: 3px;
    }
    .detail-value {
        background: #f8f9fa; border: 1px solid #dee2e6; border-radius: .25rem;
        padding: .4rem .65rem; font-size: .875rem; min-height: 34px; word-break: break-word;
    }
    #licenzeTable_wrapper .dataTables_filter { display: none !important; }
    table.dataTable tbody td { vertical-align: middle; }

    /* Colonna di espansione child-row */
    td.details-control {
        cursor: pointer; text-align: center; width: 32px; color: #007bff;
    }
    td.details-control:before { content: "\f0fe"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
    tr.shown td.details-control:before { content: "\f146"; }

    /* Box della tabella annidata */
    .child-wrap { background: #f4f7fb; padding: .9rem 1rem; border-left: 3px solid #007bff; }
    .child-wrap .table { background: #fff; margin-bottom: 0; }
