
.productTable {
  margin: auto;
  width: 100%;
  border-collapse: collapse;
}

tbody tr:nth-child(2n){
  background-color: #f0f0f0;
}

.productTable th {
  position: sticky;
  top: 52px;
  background-color: rgb(215,215,215);
  transition: all 0.2s ease;
  text-decoration: none;  
  cursor: pointer;  
}

.productTable th:hover {
    text-decoration: underline;
    color: #800000;
}

.productTable tr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.productTable th {
  display: none;
  white-space: nowrap;
}

.productTable td {
  display: block;
}

.productTable td:first-child,
.productTable th:first-child{
  margin-top: .5em;
  text-align: left;
}

.productTable td:last-child {
  margin-bottom: .5em;
}

.productTable td:before {
  content: attr(data-th) ": ";
  font-weight: bold;
  width: 120px;
  display: inline-block;
  color: #000;
}

.productTable th,
.productTable td {
  text-align: center;
  margin: 0;
}

.productTable {
  color: #333;
  border-radius: .4em;
}

.productTable tr {
  border-color: #bfbfbf;
}

.productTable th,
.productTable td {
  padding: .5em 1em;
}
.productTable tr:hover:not(:first-child) {
    background-color: #d8e7f3;
}
.productTable td:before {
    display: none;
}
.productTable th,
.productTable td {
    display: table-cell;
    padding: .25em .5em;
}
.productTable th:first-child,
.productTable td:first-child {
    padding-left: 0;
}
.productTable th:last-child,
.productTable td:last-child {
    padding-right: 0;
}
.productTable th,
.productTable td {
    padding: 1em !important;
}

/* THE END OF THE IMPORTANT STUFF */
@-webkit-keyframes leftRight {
  0%    { -webkit-transform: translateX(0)}
  25%   { -webkit-transform: translateX(-10px)}
  75%   { -webkit-transform: translateX(10px)}
  100%  { -webkit-transform: translateX(0)}
}
@keyframes leftRight {
  0%    { transform: translateX(0)}
  25%   { transform: translateX(-10px)}
  75%   { transform: translateX(10px)}
  100%  { transform: translateX(0)}
}

@media print {
    body {
      counter-reset: page;
      margin: 0;
      padding: 0;
    }
    #id-top,
    .side-nav
    {
        display: none;
    }
    .productTable {
        display: block;
    }
    .productTable th {
      top: 0 !important;
    }
    
    .footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        text-align: center;
        font-size: 12px;
    }

    /* Numérotation des pages */
    .footer::after {
        content: "Page " counter(page);
        counter-increment: page;
    }

    /* Initialisation du compteur de pages */
    body {
        counter-reset: page;
    }
            
} 