
/*//////////////////////////////////////////////////////////////////
[ FONT ]*/


/*@font-face {
  font-family: Poppins-Regular;
  src: url('../fonts/poppins/Poppins-Regular.ttf'); 
}

@font-face {
  font-family: Poppins-Bold;
  src: url('../fonts/poppins/Poppins-Bold.ttf'); 
}*/

/*//////////////////////////////////////////////////////////////////
[ RESTYLE TAG ]*/
/** {
	margin: 0px; 
	padding: 0px; 
	box-sizing: border-box;
}

body, html {
	height: 100%;
	font-family: sans-serif;
}*/

/* ------------------------------------ */
/*a {
	margin: 0px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
}

a:focus {
	outline: none !important;
}

a:hover {
	text-decoration: none;
}*/

/* ------------------------------------ */
/*h1,h2,h3,h4,h5,h6 {margin: 0px;}

p {margin: 0px;}

ul, li {
	margin: 0px;
	list-style-type: none;
}*/


/* ------------------------------------ */
/*input {
  display: block;
	outline: none;
	border: none !important;
}

textarea {
  display: block;
  outline: none;
}

textarea:focus, input:focus {
  border-color: transparent !important;
}*/

/* ------------------------------------ */
/*button {
	outline: none !important;
	border: none;
	background: transparent;
}

button:hover {
    cursor: pointer;
}

iframe {
	border: none !important;
}*/


/* Tabella responsive */
/* Vedi: https://webdesignerwall.com/wdw-snippet/responsive-table-v2 */

/*//////////////////////////////////////////////////////////////////
[ Table ]*/

.limiter {
  width: 100%;
  margin: 0 auto;
}

.container-table100 {
    width: 100%;
    /*
        min-height: 100vh;
        background: #c4d3f6;
    */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 30px; /* 33px 30px; */
}

.wrap-table100 {
    width: 1400px; /* 960px */
    border-radius: 10px;
    border: 1px solid #f2f2f2;
    overflow: hidden;
}

.table {
  width: 100%;
  display: table;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .table {
    display: block;
  }
}

/*
    Uso la classe xrow, perché usando la row interferisco con lo stile del sito, in particolare con le sezioni e i titoli
*/
.xrow {
  display: table-row;
  background: #fff;
}

/* Tabella classiva responsive, per le ricerche */
/* Nota: l'elemento tbody è presente nell'HTML della tabella anche se non lo si inserisce esplicitamente */
table.responsive {
    border: none;
}
        table.responsive > tbody > tr:first-child {
            background: #bee2f6;
            border-bottom: 1px solid #f2f2f2;
        }
        table.responsive > tbody > tr:last-child {
            background: #bee2f6;
            border: none;
        }

        table.responsive > tbody > tr > td {
            border: none;
            font-size: 16px;
            line-height: 1.2;
            font-weight: unset !important;
            padding-left: 4px;
            padding-right: 4px;
            text-align: left;
        }

    table.responsive > tbody > tr:first-child > td {
        padding-top: 6px;
        padding-bottom: 6px;
    }
        table.responsive > tbody > tr:last-child > td {
            padding-top: 12px;
            padding-bottom: 12px;
        }

        table.responsive > tbody > tr:first-child > td:first-child {
            border-right: 1px solid #f2f2f2;
        }

        table.responsive > tbody > tr:last-child > td:nth-child(2n),
        table.responsive > tbody > tr:last-child > td:nth-child(11),
        table.responsive > tbody > tr:last-child > td:nth-child(13) {
            border-right: 1px solid #f2f2f2;
        }
        table.responsive > tbody > tr:last-child > td:nth-last-child(1) {
            border-right: none;
        }

/* Celle tabella di ricerca */

        /* Etichetta azienda */
        table.responsive > tbody > tr:first-child > td:nth-child(2) {
            width: 55px;
            text-align: left;
        }

        table.responsive > tbody > tr:last-child > td:nth-child(1) {
            width: 20px;
            padding-left: 6px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(2) {
            width: 170px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(3) {
            width: 20px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(4) {
            width: 170px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(5) {
            width: 30px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(6) {
            width: 170px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(7) {
            width: 35px;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(8) {
            width: 170px;
        }
        /* Etichetta cliente */
        table.responsive > tbody > tr:last-child > td:nth-child(9) {
            width: 55px;
        }
        /* Campo cliente */
        table.responsive > tbody > tr:last-child > td:nth-child(10) {
            width: 210px;
        }
        /* Paginazione */
        table.responsive > tbody > tr:last-child > td:nth-child(11) {
            width: 90px;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(12) {
            width: 90px;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(13) {
            width: 50px;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(14) {
            width: 70px;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(15) {
            width: 50px;
            text-align: center;
        }

@media screen and (max-width: 768px) {

    table.responsive {
        display: grid;
        grid-auto-flow: row;
        grid-auto-rows: 40px;
        /*grid-template-rows: 40px 40px 40px 40px 40px 40px;*/
        grid-template-columns: 22% 53% 25%;
        align-items: center;
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 7px;
        padding-right: 7px;
        background: #bee2f6;
    }

        table.responsive > tbody,
        table.responsive > tbody > tr {
            display: contents;
        }

        table.responsive > tbody > tr:first-child > td:nth-child(n) {           
            width: auto;
            margin-left: 0;
            margin-right: 0;
            text-align: left;
            border-right: none;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(n) {
            width: auto;
            margin-left: 0;
            margin-right: 0;
            text-align: left;
            border-right: none;
        }

        /* Azienda, se presente */
        table.responsive > tbody > tr:first-child > td:nth-child(2) {
            grid-row: 1;
            grid-column: 1;
        }
        table.responsive > tbody > tr:first-child > td:nth-child(3) {
            grid-row: 1;
            grid-column: 2;
        }

        /* Date */
        table.responsive > tbody > tr:last-child > td:nth-child(1) {
            grid-row: 2;
            grid-column: 1;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(2) {
            grid-row: 2;
            grid-column: 2;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(3) {
            grid-row: 3;
            grid-column: 1;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(4) {
            grid-row: 3;
            grid-column: 2;
        }

        /* Tipo e targa */
        table.responsive > tbody > tr:last-child > td:nth-child(5) {
            grid-row: 4;
            grid-column: 1;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(6) {
            grid-row: 4;
            grid-column: 2;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(7) {
            grid-row: 5;
            grid-column: 1;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(8) {
            grid-row: 5;
            grid-column: 2;
        }

        /* Cliente */
        table.responsive > tbody > tr:last-child > td:nth-child(9) {
            grid-row: 6;
            grid-column: 1;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(10) {
            grid-row: 6;
            grid-column: 2;
        }

        /* Pulsanti cerca e svuota */
        table.responsive > tbody > tr:last-child > td:nth-child(11) {
            grid-row: 2;
            grid-column: 3;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(12) {
            grid-row: 3;
            grid-column: 3;
            text-align: center;
        }

        /* Paginazione */
        table.responsive > tbody > tr:last-child > td:nth-child(13) {
            grid-row: 4;
            grid-column: 3;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(14) {
            grid-row: 5;
            grid-column: 3;
            text-align: center;
        }
        table.responsive > tbody > tr:last-child > td:nth-child(15) {
            grid-row: 6;
            grid-column: 3;
            text-align: center;
        }
}

/* Fine tabella responsive per le ricerche */

.xrow.header {
  color: #ffffff;
  background: #1b9ce3;
}

@media screen and (max-width: 768px) {
    .xrow {
        display: block;
    }

    .xrow.header {
        padding: 0;
        height: 0px;
        border-bottom: none; /* Niente bordo in basso per le celle dell'header */
    }

        .xrow.header .cell {
            display: none;
        }

        .xrow .cell {
            --minWidth: 98px; /* Variabile per poter agire sul CSS da jQuery per lo pseudo-elemento ::before */
        }

        .xrow .cell:before {
            font-size: 14px; /* 12px */
            color: #808080;
            line-height: 1.2;
            text-transform: uppercase;
            font-weight: unset !important;
            margin-bottom: 13px;
            content: attr(data-title);
            min-width: var(--minWidth); /* Uso una variabile per poter agire sul CSS da jQuery per lo pseudo-elemento ::before */
            display: block;             /* Vedi: https://forum.freecodecamp.org/t/how-can-select-before-with-jquery/204671/2 */
        }
}

.cell {
  display: table-cell;
}

@media screen and (max-width: 768px) {
  .cell {
    display: block;
  }
}

.xrow .cell {
    /* color: #666666; */
    font-size: 15px;
    line-height: 1.2;
    font-weight: unset !important;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f2f2f2; /* Bordo in basso */
}

.xrow:nth-last-child(1) .cell {
    border-bottom: none; /* Niente bordo in basso per le celle dell'ultima riga */
}

.xrow:not(.header) .cell {
    border-right: 1px solid #f2f2f2; /* Bordo destro per le celle non appartenenti all'header */
}

.xrow.header .cell {
    /*  font-family: Poppins-Regular;
*/
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: unset !important;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: none; /* Niente bordo in basso per le celle dell'header */
}

.xrow.header .cell:nth-child(1) {
    width: 90px;
    padding-left: 32px;
}

.xrow:not(.header) .cell:nth-child(1) {
    font-size: 10px;
}

.xrow .cell:nth-child(1) {
    width: 90px;
    padding-left: 15px;
}

.xrow .cell:nth-child(2) {
  width: 110px;
}

.xrow .cell:nth-child(3) {
  width: 70px;
}

.xrow .cell:nth-child(4) {
  width: 340px;
}

.xrow .cell:nth-child(5) {
  width: 110px;
}

.xrow .cell:nth-child(6) {
  width: 490px;
}

.xrow .cell:nth-child(7) {
    width: 190px;
    padding-right: 15px;
    border-right: none; /* Niente bordo destro per le celle più a destra */
}

.table, .xrow {
  width: 100% !important;
}

.xrow:not(.header):hover { /* hover solo per le celle non nell'header */
    background-color: #ececff;
    cursor: pointer;
}


@media (max-width: 768px) {
    .xrow {
        padding-bottom: 18px;
        padding-top: 30px;
        padding-right: 15px;
        margin: 0;
    }

    .xrow {
        border-bottom: 1px solid #f2f2f2; /* Bordo in basso */
    }

    .xrow:nth-last-child(1) {
        border-bottom: none; /* Niente bordo in basso per l'ultima riga */
    }

/*    .xrow .cell {
        border: none;
        padding-left: 30px;
        padding-top: 16px;
        padding-bottom: 16px;
    }
*/

        .xrow .cell {
            border: none;
            padding-left: 30px;
            padding-top: 16px;
            padding-bottom: 16px;
            font-size: 18px;
            color: #555555;
            line-height: 1.2;
            font-weight: unset !important;
            width: 100%;
        }

        .xrow:not(.header) .cell:nth-child(1) {
            font-size: 18px;
            width: 100%;
        }

        .xrow .cell:nth-child(1) {
            padding-left: 30px;
        }

    .xrow:not(.header) .cell {
        border-right: none; /* Niente bordo destro per le celle non appartenenti all'header */
    }

    .table, .xrow {
        width: 100% !important;
    }
}

.form-control2 {
    display: block;
    width: 100%;
    /*height: calc(1.5em + 0.75rem + 2px);*/
    padding: 0.125rem 0.3rem;
/*    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
*/  color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .form-control2 {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.form-control2::-ms-expand {
    background-color: transparent;
    border: 0;
}

.btn2 {
    display: inline-block;
    /*font-weight: 400;*/
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background-color: transparent;*/
    border: 1px solid transparent;
    padding: 0.275rem 0.55rem;
/*    font-size: 1rem;
    line-height: 1.5;
*/    border-radius: 0.25rem;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn2 {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

.btn2:focus, .btn2.focus {
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn2.disabled, .btn2:disabled {
    opacity: 0.8;
}
